Dear all, Thanks for your response. I find that the output is mp2 if I use ffmpeg -i input.mp4 output.mp3. Of course, I can use lame to further convert the mp2 file to mp3. How can I achieve the same mp3 by one command?
I tried add the command mentioned by Sjoerd, but it says "Unknown encoder 'libmp3lame'", what package should I install to make it works? Thanks. Ronggui On Sun, Jun 7, 2009 at 1:44 AM, Kelly Clowers<kelly.clow...@gmail.com> wrote: > On Sat, Jun 6, 2009 at 09:14, ronggui wong <ronggui.w...@gmail.com> wrote: >> Dear all, >> >> I have some MTV in *.mp4 format, and I would to convert them to mp3 >> format. What software should I use? >> I try ffmpeg using ffmpeg -i in.mp4 out.mp3, but it seems something >> goes wrong as I can not play the out.mp3 with audacious player. > > hmmm, I just that same command to get mp3 audio out of > a mp4/h.264/aac file. > > Does ffmpeg giv you info about what it is doing, like this: > > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'LarryOstermanWin7Audio.mp4': > Duration: 00:56:39.79, start: 0.000000, bitrate: 454 kb/s > Stream #0.0(und): Video: h264, yuv420p, 320x240, 29.97 tbr, 29.97 > tbn, 59.94 tbc > Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16 > Output #0, mp3, to 'test.mp3': > Stream #0.0(und): Audio: libmp3lame, 48000 Hz, stereo, s16, 64 kb/s > Stream mapping: > Stream #0.1 -> #0.0 > > Have you tried playing the mp3 with mpg123 or mplayer? > > > Cheers, > Kelly Clowers > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org