I'm trying to convert some mp4 videos to mp3 (to extract the sound)
I have ffmpeg and lame (tcz) extensions.
Tried, the following:
ffmpeg -i myfile.mp4 -vn -acodec libmp3lame -ab 128000 output.mp3
[apparently that is how someone does it on Puppy Linux; I've still to try on that, but want to use TC!]
and received the following error message:
FFmpeg version SVN-r18347, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --prefix=/usr/local
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.25. 0 / 52.25. 0
libavformat 52.32. 0 / 52.32. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
built on Apr 7 2009 13:48:16, gcc: 4.2.2
Seems stream 1 codec frame rate differs from container frame rate: 60.00 (60/1) -> 30.00 (30/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'myfile.mp4':
Duration: 00:03:05.15, start: 0.000000, bitrate: 440 kb/s
Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16
Stream #0.1(und): Video: h264, yuv420p, 480x360 [PAR 1:1 DAR 4:3], 30 tbr, 30 tbn, 60 tbc
Unknown encoder 'libmp3lame'
I do have libmp3lame.so in /usr/local/lib
Any ideas why it won't work? Is ffmpeg not compiled to support libmp3lame [I know nothing about ffmpeg compilation]?