Thursday, June 2, 2011

Converting Media in Ubuntu using FFMPEG

Let's say, we have a media in FLV format that we got it somewhere. Ubuntu's default ffmpeg wasn't compile with conversion option into MP3 (at least from what I understood). In order to make use of FFMPEG to the most is by getting FFMPEG straight from it's farm (terbaik dari ladang, so to speak).

The complete HOWTOS is here

The only thing that I could say important is libmp3lame support, which could allow the conversion. After the steps from the website that I linked before being done, we can check the flag of the compiled, installed FFMPEG;


najmi@vostro:~/ffmpeg-git$ ffmpeg
ffmpeg version git-N-30459-g58fd70b, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun  2 2011 19:52:29 with gcc 4.5.2
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libxvid --enable-x11grab
  libavutil    51.  3. 0 / 51.  3. 0
  libavcodec   53.  6. 1 / 53.  6. 1
  libavformat  53.  2. 0 / 53.  2. 0
  libavdevice  53.  1. 0 / 53.  1. 0
  libavfilter   2. 11. 0 /  2. 11. 0
  libswscale    0. 14. 0 /  0. 14. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...


Use -h to get full help or, even better, run 'man ffmpeg'


As we can see, given the right flag being ENABLED, we can make use FFMPEG to the most. 

No comments: