The simple and naive command, which I think, be fitted to almost all situation, is

 avconv -i input.ogg output.mp3

, because of its man page as follows:

     By default avconv tries to pick the "best" stream of each type present in input
       files and add them to each output file. For video, this means the highest
       resolution, for audio the highest channel count. For subtitle it's simply the
       first subtitle stream.


ffmpeg will be discarded soon.

저작자 표시 비영리 변경 금지
신고
블로그 이미지

citadel

memory, life, and logs


transcode -i cd1.avi -1 -a 0 -y raw -m cd1.mp3



http://www.transcoding.org/
저작자 표시 비영리 변경 금지
신고

'Computer > linux' 카테고리의 다른 글

prepare to do very crazy thing  (0) 2011.10.20
make an audio cd from an avi source  (0) 2011.10.09
create a thumbnail by command line  (0) 2011.09.27
Crop a pdf file to reduce a page margin in Linux  (0) 2011.06.23
블로그 이미지

citadel

memory, life, and logs


M4A to wav

 for nam in *.M4A; do nice mplayer -ao pcm "$nam" -ao pcm:file="$nam.wav" done

wav to mp3

 for nam in *.wav; do nice lame -h "$nam" "$nam.mp3" ;done


reference
http://gimpel.gi.funpic.de/wiki/index.php?title=Howto:convert_aac/mp4_to_wav/mp3/ogg_on_Linux
신고
블로그 이미지

citadel

memory, life, and logs

Tag aac, lame, m4a, mp3, mp4, Mplayer, wav

티스토리 툴바