Saturday, August 21, 2010

Installing Ubuntu Restricted Extras to convert Flash to MP3

I installed Ubuntu Restricted Extras because ffmpeg failed to convert Flash files to MP3 files.

$ ffmpeg -i 'My Youtube File' -ar 44100 -ab 160k -ac 2 'My New File.mp3'
....
Unsupported codec for output stream #0.0

1. Open Software Center.
2. Find and Install "Ubuntu restricted extras"

Now ffmpeg works!

$ ffmpeg -i 'My Youtube File' -ar 44100 -ab 160k -ac 2 'My New File.mp3'
....
size= 6872kB time=351.84 bitrate= 160.0kbits/s
video:0kB audio:6872kB global headers:0kB muxing overhead 0.000455%


Apparently I needed libmp3lame, which was included in the extras.
(See:http://lame.sourceforge.net/)

No comments:

Post a Comment