FREEDOM. FRIENDS. FEATURES. FIRST.
페도라 한국 사용자 모임

Command Line Tools for Audio(mp3) on Linux

게시판 Tech/Tip Command Line Tools for Audio(mp3) on Linux

  • This topic has 1개 답변, 2명 참여, and was last updated 11 years 전에 by ELem. This post has been viewed 27 times
  • 만든이
    게시글
  • #12075
    인베인
    참가자
    • 게시글141
    • 댓글379
    • 총합520
    • ★★
    @leemgs


    1. cmus
    cmus is a music player using the ncurses interface, with a Vi-style of maneuvering it.
    For example, you will type :a ~/music/ to add directory ~/music/ to the playlist, and :q to quit.

    For those who like the Vi editor, cmus will probably make a great CLI audio player

    2. ogg123
    Official Ogg Vorbis player included in the vorbis-tools package,
    this nice command line player will also read Vorbis tags and play your audio files encoded as Vorbis.

    3. mpg123
    This is the well-known command line MP3 player.

    4. oggenc
    Official tool from xiph.org capable of encoding from FLAC or WAV to Ogg Vorbis.
    It takes many options as arguments, like bitrate or quality.

    5. flac
    flac will encode and decode FLAC files (Free Lossless Audio Codec), and also convert FLAC
    to WAV and vice-versa. It has many parameters available and you can also select
    the compression level. FLAC is a format which lately got popular since it offers lossless audio quality
    at lower compression sizes than WAV, and it's completely free.

    6. vorbiscomment
    Included in the vorbis-tools package, this tool allows to edit or remove any tag(s) from an Ogg Vorbis file.
    You can also add any tag name and value. I use this in scripts to perform several edits on tags,
    like the one below, which clears all the tags in an Ogg Vorbis file:

    #!/bin/bash

    echo "OGG Tag Remover"
    echo "Creating empty file..."
    touch file

    echo "Starting to remove all tags in OGG files..."
    for i in *.ogg; do
    echo "Executing command 'vorbiscomment -w \"$i\" -c file'..."
    nice -n 15 vorbiscomment -w "$i" -c file
    done

    echo "Removing empty file..."
    rm file

    echo "Done! All tags removed."

    7. cuebreakpoints
    Used together with shnsplit, cuebreakpoints helps you split FLAC or WAV files according to a CUE file.

    8. shnsplit
    From the manual page, "is a command‐line utility to view and/or modify WAVE data and properties".
    Use it with cuebreakpoints to split WAV or FLAC files like this:

    cuebreakpoints audio_file.cue | shnsplit audio_file.flac

    9. mp3blaster
    mp3blaster is a popular MP3 and Vorbis player with a TUI (Text User Interface).

    10. ogginfo
    Shows detailed information about Ogg files.

    11. mpd
    The Music Player Daemon is a server that allows to play audio files, like FLAC, MP3, Ogg Vorbis,
    WAV and AIFF. You will also need a client, like XMMS2.

    12. ripit
    According to the manual page, ripit is a 'Perl script to create .flac .ogg .mp3 or .m4a (aac) files
    from an audio CD.'

    13. music123
    music123 is a CLI audio player which can play Ogg, MP3, WAV and it behaves pretty much
    like mpg123 or ogg123.

    Conclusion
    As a conclusion, you may ask if these are really useful considering there are so many good-looking
    and full-featured GUI audio players out there. Well, yes, they are! I use oggenc,
    ogginfo and flac all the time, I like those over any GUI frontend. mpd can prove very useful
    for those who like to have a music server on their own PC or remotely connect to it from another.
    mp3blaster is just great if you want to use less resources, and eventually leave the player somewhere
    in a console window. As for mpg123 and ogg123, well I used those heavily in the past
    on an old AMD K6/2 with Debian 3.1, when I used to work a lot only in command line,
    without starting the X Window System.

    Not to mention frontends like soundKonverter, where are those powerful tools are used
    for encoding/decoding and converting between formats.

    * 오픈소스는 Open Innovationa & 윈윈전략을 도모할 지언정 절대 공짜(무료)임을 뜻하지 않는다.치

0 답변 글타래를 보이고 있습니다
  • 글쓴이
    답변
    • #12652
      ELem
      참가자
      • 게시글67
      • 댓글672
      • 총합739
      • ★★
      @Bardisch

      커맨드라인용 뮤직플레이어라니;;
      전 그냥 리듬박스나 아마록을...

0 답변 글타래를 보이고 있습니다
  • 답변은 로그인 후 가능합니다.