Hello there,

I would like to know how can I configure libmp3lame with ffmpeg on windows.

As I just downloaded ffmpeg.exe for windows, And I assume that it would work for all files. But It certainly not. It works very well for avi mov mpg mp4 extensions... But when I try to convert "3gp 3g2 wmv" to flv using media mover, It just gives error.

So when I debug I got below command which media mover trying to use...

ffmpeg -i sample_3GPP2.3g2 -acodec libmp3lame -ar 22050 -ab 64k -vcodec flv -b 50k -r 25 sample_3GPP2_1.flv

Tricky part of the command "-acodec libmp3lame", which means that use libmp3lame encoder for audio conversion... And I feel somehow my ffmpeg.exe was not containing this libmp3lame.. !! Any help?

Also when I removed "-acodec libmp3lame" from above command and added "-an" instead, It works good but the resulted flv file only have video... audio content was stripped off using -an.

Any help would be greatly appreciated..... How can I have that "libmp3lame" stuff on my windows Or linux even!!!

I think when I get correct version of ffmpeg.exe on windows Or say correct way to configure ffmpeg and libmp3lame on linux, mediamover should convert it easily.

Thanks in Advance.

Sajal

Comments

arthurf’s picture

Hi-

One good tool you can use in FFmpeg Wrapper is the option to test convert a file. Use drupal's upload attachment function and upload your file in question. Once you have the file uploaded on a node, go to that node/X/edit screen and look at the file list. If FFmpeg Wrapper thinks it can decode that file, it will put a link on that file so you can test it out. This will take you to the FFmpeg test screen where you can play with different encoding options.

Unfortunately, I'm not familiar with FFmpeg on windows, but I'd be glad to document any solutions you find.

sajalsoni’s picture

Hello,

FIrst of all thanks for your feedback.!!

I think i have fixed it. I recently came to know that the problem was that libamr (one of the codec library which can be configued with FFMPEG at install tiim) was missing NOT libmp3lame!!

Ok, Anyways I have configued that on my linux system.. but not yet on windows.. I think most of it takes to configure the FFMPEG properly on your server and of course with all audio and video codecs support to work any flash conversion to work properly.

Thanks,
Sajal

sajalsoni’s picture

Hello,

This might be useful link to those who are pulling their hair to installing FFMPEG on linux.

http://hubpages.com/hub/Install-ffmpeg-on-CentOS-64-bit-to-convert-3gp-v...

Thanks,
Sajal

arthurf’s picture

You might also want to check my site for a binary- http://24b6.net/ffmpeg or a tutorial on ubuntu/debian systems: http://24b6.net/2007/06/15/ffmpeg-wmv-mp4