FFMPEG alternative?

They have: 3 posts

Joined: Apr 2007

History

Trying to get FFMPEG working in my UNIX server. Eventually compiled it, but couldn't get audio. So installed Lame. Also needed FAAC and FAAD, but couldn't make the makefiles. Anyway, resorted to RPM files and after installing 1001 dependencies settled for the latest version I can find: ffmpeg-0.4.9-0.8.20070109.e14.rf.i386.rpm - installed OK.

All good then? Well no. I want to convert files from popular formats to flv for integration on a classifieds web site. Sound is required. A lot of people use 3gp, but I seem to have issues with SOME 3gp files like the one from my SE K800i. The input stream #0.1 (audio) is unrecognised, even if I force -acodec mp3. But I have another 3gp file (converted from a YouTube FLV file ages ago) and it works fine. It is important that this works ...

Solution?

I don't know, probably either:

* A way of getting audio for 3gp -> flv working, perhaps newer RPM file (can't compile due to so many dependencies)
* An alternative, even if not open source (I don't mind paying). Just must be command line and work on my UNIX box.

Any ideas?

Thanks

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

There are two options that spring to mind: Mencoder and Mpeg2enc (which I can't seem to find any information on and seems to only do mpeg anyway). There may be others but am not sure what they are, you should also check that Mencoder does what you want and that it isn't based on ffmpeg anyway.

I checked and you're using the latest version of ffmpeg, you might want to try grabbing a copy of the code from SVN. If you have a Redhat system at the office/home--with a package manager (yum isn't it?)--you'll be able to resolve those dependencies relatively easily, create an RPM yourself, then install it on your server. This option seems a pain, but might be your only one left!

Hope this helps. Smiling

a Padded Cell our articles site!

They have: 3 posts

Joined: Apr 2007

mencoder uses the same codecs as ffmpeg - bugger

Hmmmn, will keep investigating if not will have to check the output for errors (somehow) and just compile some videos with no audio ...

Thanks mate - appreciated

They have: 3 posts

Joined: Apr 2007

As for creating an RPM myself - good god, are you mad - LOL Wink

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

Quote: As for creating an RPM myself - good god, are you mad - LOL

LOL, no just nieve to the complexities of creating RPM's. I tried creating deb packages once, think I got bored shortly after creating a CHROOT environment and installing ten tonnes of dev packages. Can imagine the RPM experience would be much the same. Will learn how to do that one day, time permitting.

Quote: Hmmmn, will keep investigating if not will have to check the output for errors (somehow) and just compile some videos with no audio ...

A post on the FFMPEG mailing list might not be a bad idea either. Only problem with that is they expect you to be running the latest SVN version. You could see if you can recreate the problem locally with the latest version, if you can't it means the problem is with FFMPEG. Otherwise it's something else and you will be justified in posting a message on the mailing list.

How's that for a plan? Smiling

a Padded Cell our articles site!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.