PDA

View Full Version : HOWTO: Install and use the latest FFmpeg and x264



Pages : 1 2 3 4 5 6 [7] 8 9 10

claracc
February 11th, 2011, 03:32 PM
Hello ron999,

Thankyou very much, I have followed your recommendation, and yes, I could, at last, to convert the real audio file to a wav one, and now I can listen to it with rhythmbox.:P

It is clear, I need to read more about ffmpeg in ordert to use it properly.

Regards

ron999
February 11th, 2011, 03:42 PM
@claracc
ffmpeg is a great program.
But if you want to use those ram links then mplayer is much better.
Try mplayer, you'll find it's much quicker than ffmpeg for this job.
The 37 second clip takes exactly 37 seconds to download with ffmpeg.
With mplayer it downloads in a twinkle.
Just try it please.

mplayer -bandwidth 9999999 -playlist http://www.bbc.co.uk/worldservice/learningenglish/multimedia/btp/ram_files/winchester_audio1.ram -vc null -vo null -ao pcm:fast:waveheader:file=winchester_audio2.wav

claracc
February 11th, 2011, 03:58 PM
Hello ron999, I have tried the coneversion with mplayer as you have adviced, and it is as fast as a ray, much more than ffmpeg.

So I will use mplayer to do the format conversion for .ram files.

I see that I have to learn more about mplayer too.

Thanks and regards

FakeOutdoorsman
February 11th, 2011, 10:41 PM
Hmmmm..... this is not much of an improvement I guess:


$ ./version.sh | grep 'POINT' | cut -d '"' -f 2 | sed 's/ /+git/'
0.114.189+git60ef1f8

Big advantage for me is that I don't understand awk :)

Thanks for the alternate command. I don't understand awk very well and every time I use it I have to re-learn by fumbling around with it. I've shortened my command by combining the seds. I guess I just have to decide which one should replace the ubercommand in the pkgversion.

andrew.46
February 12th, 2011, 10:02 PM
I've shortened my command by combining the seds.

I see you have used this:


$ ./version.sh | awk '/POINT/{print $3,$4}' | sed 's/"//g;s/ /+git/'

which certainly works, although I am more used to seeing the following:


$ ./version.sh | awk '/POINT/{print $3,$4}' | sed -e 's/"//g' -e 's/ /+git/'

I read some discussion concerning use of either the semicolon or the -e option and was none the wiser as to which was the better, or more correct option :(.

undercash
February 13th, 2011, 02:41 PM
well no luck for me trying to compile ffmpeg as a shared library. But it seems I don't need ffmpeg-php anyway so I ll just use as it.

Before you had a link for the http://code.google.com/p/x264-ffmpeg-up-to-date/ script on your tutorial. Is this in a sort of standbye because ffmpeg moved to git?

FakeOutdoorsman
February 13th, 2011, 06:55 PM
Before you had a link for the http://code.google.com/p/x264-ffmpeg-up-to-date/ script on your tutorial. Is this in a sort of standbye because ffmpeg moved to git?

I removed the link to that script because the author has failed to keep it reasonably up to date.

undercash
February 13th, 2011, 07:04 PM
ah I see. it's a pity even though it' s not really hard to update manually

andrew.46
February 13th, 2011, 11:00 PM
I see you have used this:



$ ./version.sh | awk '/POINT/{print $3,$4}' | sed 's/"//g;s/ /+git/'


I consulted the experts on comp.unix.shell and the following syntax might be what you are after:



$ ./version.sh | awk -F'[" ]' '/POINT/{print $4"+git"$5}'


It is nicely done and probably hints to me that I really need to drag that awk book down from the shelf :)

FakeOutdoorsman
February 14th, 2011, 01:39 AM
Yes, that's perfect. Thanks Andrew. I'll add this to the guide soon.

I'll admit that I've never posted on a Usenet group before.

andrew.46
February 14th, 2011, 04:21 AM
Yes, that's perfect. Thanks Andrew. I'll add this to the guide soon.

I'll admit that I've never posted on a Usenet group before.

Courtesy of Janis Papana :). comp.unix.shell is a great newsgroup with some very knowledgeable people, if you ever decide to indulge in Usenet the magic news server is individual.net, best usenet client is slrn and best proxy server is leafnode 2 IMHO!

LinuxPhreak
February 15th, 2011, 12:07 AM
After compiling FFMPEG by following this tutorial I no longer can play DVD movies. I was able to play them before by installing the ubntu-restricted-extras and sudo /usr/share/doc/libdvdread4/install-css.sh. However after compiling the FFMPEG I no longer can play my DVD movies. Any idea why?

qyot27
February 16th, 2011, 01:03 AM
After compiling FFMPEG by following this tutorial I no longer can play DVD movies. I was able to play them before by installing the ubntu-restricted-extras and sudo /usr/share/doc/libdvdread4/install-css.sh. However after compiling the FFMPEG I no longer can play my DVD movies. Any idea why?
I don't see why it would break, as libdvdcss should be separate from all of that. FFmpeg doesn't incorporate that library, but if you're using mplayer (which does use it) then you may be running into shared library issues - recompiling FFmpeg might have played a bit of havoc on mplayer. It may be fixable by just grabbing libdvdcss from Medibuntu.

You could try to recompile mplayer and see if that fixes it. http://repo.or.cz/w/mplayer-build.git makes the process near-totally painless:

git clone git://repo.or.cz/mplayer-build.git
cd mplayer-build
./init
./enable-mt or ./disable-mt (as needed; enable-mt is the default behavior now, but on single-core processors I'd disable it)
make
sudo make install (or a suitable checkinstall command)
You could further customize the FFmpeg, libass, or mplayer specific options before the 'make' step, but I don't think that's really necessary on Linux. It may be necessary to install libdvdcss-dev as well beforehand so it could find it.

akemzo
February 16th, 2011, 12:37 PM
tried the above, it installed but still my vidoes don't play, something about ffmpeg version r19000 or above required, any idea?

FakeOutdoorsman
February 16th, 2011, 07:29 PM
tried the above, it installed but still my vidoes don't play, something about ffmpeg version r19000 or above required, any idea?

That's not much to work with so I'm going to need more information before I can even make a guess:

What version of Ubuntu are you using?
What are you using to play the videos?
Are there any error messages?
What's telling you that r19000 or above required?

kicker4546
February 17th, 2011, 07:50 PM
Hi,

this is my first post here at Ubuntu forums.

I'm running Ubuntu 10.10 64-bit version. I have tried updating my x264. I followed the instructions on page 1 and I get an error.


andy@g:~/x264$ make
gcc -o x264 x264.o input/input.o input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/cache.o filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o filters/video/depth.o input/thread.o input/lavf.o output/mp4.o libx264.a -lgpac_static -L. -pthread -L/usr/local/lib -lavformat -lavcodec -ldl -lX11 -lXext -lXfixes -ljack -lasound -lxvidcore -lx264 -lvpx -lvorbisenc -lvorbis -ltheoraenc -ltheoradec -logg -lopencore-amrwb -lopencore-amrnb -lmp3lame -lfaac -lva -lm -lbz2 -lz -lavcore -lswscale -lavutil -L/usr/local/lib -lswscale -lavutil -lm -lpthread -s
/usr/local/lib/libavcodec.a(libx264.o): In function `X264_init':
/home/andy/ffmpeg/libavcodec/libx264.c:308: undefined reference to `x264_encoder_open_113'
collect2: ld returned 1 exit status
make: *** [x264] error 1
What's that? Does any of you have an idea what's wrong here?

Nom du Clavier
February 18th, 2011, 01:11 AM
Hi,

this is my first post here at Ubuntu forums.

I'm running Ubuntu 10.10 64-bit version. I have tried updating my x264. I followed the instructions on page 1 and I get an error.


andy@g:~/x264$ make
gcc -o x264 x264.o input/input.o input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/cache.o filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o filters/video/depth.o input/thread.o input/lavf.o output/mp4.o libx264.a -lgpac_static -L. -pthread -L/usr/local/lib -lavformat -lavcodec -ldl -lX11 -lXext -lXfixes -ljack -lasound -lxvidcore -lx264 -lvpx -lvorbisenc -lvorbis -ltheoraenc -ltheoradec -logg -lopencore-amrwb -lopencore-amrnb -lmp3lame -lfaac -lva -lm -lbz2 -lz -lavcore -lswscale -lavutil -L/usr/local/lib -lswscale -lavutil -lm -lpthread -s
/usr/local/lib/libavcodec.a(libx264.o): In function `X264_init':
/home/andy/ffmpeg/libavcodec/libx264.c:308: undefined reference to `x264_encoder_open_113'
collect2: ld returned 1 exit status
make: *** [x264] error 1
What's that? Does any of you have an idea what's wrong here?

It might be - and I'm not saying this is definitely the case - that this latest and greatest version which you're trying to compile had a patch applied which left it with this error. Usually care is taken so that each distinct version can be compiled, but things do slip through from time to time - the contributors to x264 are only human, after all.

You could try issuing the following commands:

git checkout HEAD~2
make
which will rewind a few change sets, thus hopefully bypassing this error - if that's what it's caused by. Then it tries again to build to see if this helped.

You'd then resume your usual commands from the HowTo where you left off, after the 'make' command, if indeed this error was now solved.

I hope this helps!

kicker4546
February 18th, 2011, 01:17 AM
It might be - and I'm not saying this is definitely the case - that this latest and greatest version which you're trying to compile had a patch applied which left it with this error. Usually care is taken so that each distinct version can be compiled, but things do slip through from time to time - the contributors to x264 are only human, after all.

You could try issuing the following commands:

git checkout HEAD~2
makewhich will rewind a few change sets, thus hopefully bypassing this error - if that's what it's caused by. Then it tries again to build to see if this helped.

You'd then resume your usual commands from the HowTo where you left off, after the 'make' command, if indeed this error was now solved.

I hope this helps!

First of all I wanna thank you for your reply. Hopefully this is going to work for me. I'll try later and let you know whether the issue is resolved that way.

Thanks again,

kicker

FakeOutdoorsman
February 18th, 2011, 01:28 AM
Does any of you have an idea what's wrong here?
You probably have old x264 files interfering with the installation. Did you make sure to remove any x264 and libx264 packages first?

Edit: I bet it will work if you add --disable-lavf to your x264 ./configure. If that is the case then you need to also remove FFmpeg before updating x264. See the Updating FFmpeg and x264 section of the guide.

kicker4546
February 18th, 2011, 04:09 PM
You probably have old x264 files interfering with the installation. Did you make sure to remove any x264 and libx264 packages first?

Edit: I bet it will work if you add --disable-lavf to your x264 ./configure. If that is the case then you need to also remove FFmpeg before updating x264. See the Updating FFmpeg and x264 section of the guide.


Yeah, exactly as you said. When I set --disable-lavf it worked pretty well. It seems I had to update ffmpeg too instead of only my x264.

I was able to successfully build it now. Thanks for your help!

LuizCB
February 21st, 2011, 05:46 PM
Hello

Did anyone tried already the guide from post #1 on Natty? If so, it goes/works with the same steps?

looking back I see this posts:
1431 (http://ubuntuforums.org/showpost.php?p=10333180&postcount=1431) through
1441 (http://ubuntuforums.org/showpost.php?p=10335429&postcount=1441)


Is this a final and effective way of doing it?

Regards

FakeOutdoorsman
February 21st, 2011, 06:35 PM
I haven't tried since those posts so I'm not sure what the current status is. You can try adding --enable-shared to both x264 and FFmpeg, and then running sudo ldconfig after everything installs.

LuizCB
February 21st, 2011, 06:47 PM
Thanks FakeOutdoorsman (http://ubuntuforums.org/member.php?u=162846)

I'm installing it following your guide and logging all CLI. I'll post it here as soon as i finish it, for good or for .... bad :)

Wastrelway
February 21st, 2011, 11:25 PM
I'd suggest alternate and (perhaps for us old-school guys) simpler instructions that do not use git. I am behind a firewall and proxy server and could not get the totally BOGUS "git clone git://git.videolan.org/x264.git" command to do anything except create an error. (I did try. I reconfigured the proxy etc.) You don't NEED git. Get the latest source and compile, unless your paycheck depends on your use of git.
Eric

FakeOutdoorsman
February 22nd, 2011, 12:46 AM
Git makes it easy to keep up with upstream changes. It's also useful for viewing the commit log and for making patches. It would be less efficient to download a full tarball each time I wanted to update. This guide is about using the latest x264 and FFmpeg and both of these projects use Git.

I had daily tarball links until recently. I removed them during FFmpeg's turmoiled transition from SVN to Git but perhaps I'll re-introduce them.

mc4man
February 22nd, 2011, 01:05 AM
You can try adding --enable-shared to both x264 and FFmpeg, and then running sudo ldconfig after everything installs.
assuming this refers to 11.04
You can probably just build x264 as shared, then ffmpeg as static
(if not inclined to introduce new shared ffmpeg libs

Otherwise building a static x264 as normal, (w/ the current default gcc-4.5+), then ffmpeg w/ gcc-4.4 will also work fine
(or both w/ gcc-4.4

Or figure out what the issue is, has been mentioned the default gcc flag of --as-needed may be a factor

qyot27
February 22nd, 2011, 04:54 PM
I'd suggest alternate and (perhaps for us old-school guys) simpler instructions that do not use git. I am behind a firewall and proxy server and could not get the totally BOGUS "git clone git://git.videolan.org/x264.git" command to do anything except create an error. (I did try. I reconfigured the proxy etc.) You don't NEED git. Get the latest source and compile, unless your paycheck depends on your use of git.
Eric
Git may not be 'necessary', but it is far more convenient from a Terminal-only situation - wget-snagged tarballs are only as updated as the auto-package system is set to make them (in x264's case, that's once-daily; I can't see any links to such code on FFmpeg's download page, only their periodic release tarballs), whereas Git is always the absolute latest code because you're tapping into the direct development pipeline. The proxy/firewall thing is a known issue, and probably screws up other source management systems like CVS and SVN too, like the note on FFmpeg's download page says.

I'd think it rather safe to assume that those who cannot access Git because of a proxy or firewall interfering are in the relative minority compared to those who can access it with no problems. It would be a good idea to provide relevant links to tarballs, but you aren't guaranteed to have the latest code that way. Direct 'latest' tarball links from the git repository aren't possible, because the name changes constantly with the git hash.

The alternate solution is to add x264's and FFmpeg's git commit log RSS feeds and manually snag the latest commit snapshot through the web browser. The only caveat is that the RSS commit links drop you to a page with no snapshot link - you have to click the header bar with the commit message in bold or the 'commit' link to get the page with the actual tarball.

http://git.videolan.org/?p=x264.git;a=summary
http://git.ffmpeg.org/?p=ffmpeg.git;a=summary





As a relative aside, I've always considered git.ffmpeg.org the official Git repo, since it was kept in sync with SVN and was the only one listed on ffmpeg.org/download.html for years until things blew up last month (now all 5 'major' - I guess - repos are listed there).

FakeOutdoorsman
February 22nd, 2011, 08:26 PM
Git snapshots for FFmpeg are available, but it isn't very obvious on the Gitweb interface. Not particularly wget friendly, but it works fine like this:

wget "http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=HEAD;sf=tgz" -O ffmpeg-latest-$(date +%Y%m%d%H%M%S).tar.gz

As a relative aside, I've always considered git.ffmpeg.org the official Git repo, since it was kept in sync with SVN and was the only one listed on ffmpeg.org/download.html for years until things blew up last month (now all 5 'major' - I guess - repos are listed there).
The whole series of events is unfortunate. During SVN usage the official Git mirror was git.ffmpeg.org, but I don't consider any of them to be "official" yet. I'm actually using the videolan repository lately because of a certain useful commit that may never make it into git.ffmpeg.org.

LuizCB
February 22nd, 2011, 08:32 PM
FakeOutdoorsman (http://ubuntuforums.org/member.php?u=162846)

There we go...

http://paste.ubuntu.com/570730/

All steps on 11.04

lcb@srvr:~$ uname -a
Linux srvr.kcasa.lan 2.6.38-4-generic-pae #31-Ubuntu SMP Thu Feb 17 01:24:59 UTC 2011 i686 i686 i386 GNU/Linux
lcb@srvr:~$ cat /proc/version
Linux version 2.6.38-4-generic-pae (buildd@vernadsky) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-2ubuntu3) ) #31-Ubuntu SMP Thu Feb 17 01:24:59 UTC 2011
*x264* *git x264* *configure x264* *make x264* *checkinstall x264* *ffmpeg* *git ffmpeg* *configure ffmpeg* *make ffmpeg* *checkinstall ffmpeg* *hash* *qt-faststart*

Tell me if anything's wrong, missing things, errors, etc...
(I had a hard time to put putty log together - some sections messed up, don't know why - but it looks better now)

Glad to help you. Keep it up ;)

Regards,

Luiz

qyot27
February 22nd, 2011, 09:42 PM
I'm actually using the videolan repository lately because of a certain useful commit that may never make it into git.ffmpeg.org.
The expanded list of video filters in libavfilter/libmpcodecs, I presume? Or something else?

FakeOutdoorsman
February 23rd, 2011, 01:31 AM
Change yadif to not use out of picture lines (http://git.videolan.org/?p=ffmpeg.git;a=commit;h=bad82d3d7d98c1cf0d6790cc2 e1d6b2ea60fcadd). Nothing too important, but it fixes issue2272 which was annoying me and now I don't need to pad,yadif,crop.

I'm curious how issues will be dealt with in Roundup with the multiple repos. issue2272 is "fixed", but I assume only on the videolan repo.

qyot27
February 23rd, 2011, 02:22 AM
Ah, I see. Makes me wonder if - and how many - other things separate them. I suppose it depends on what sort of things one does. If you don't plan on doing any deinterlacing then it wouldn't really matter, but for coverage's sake that would do better.

Of course, the three things I'd most like to see incorporated into FFmpeg are completely not addressed at all. Two of them are outdated patches/branch versions (the MLP encoder and MKV Ordered Chapters support), and the last I have no clue if there has been any effort to resolve (hardcoding of subtitles, without demuxing, and with embedded font support for libass).

Piping the output from mplayer* to ffmpeg accomplishes the ordered chapters and embedded fonts tasks, but it really shouldn't have to. Using mencoder for hardcoding subtitles is borked in several ways, and the patch that allowed mencoder to use embedded fonts with ASS subtitles has been broken since January of 2010 (which also means that MKVs using header removal compression don't work with it at all).

*the branch version hosted on repo.or.cz. Now officially 'MPlayer2' (http://www.mplayer2.org/mplayer1_comparison.html) (I bet that's gonna be somewhat confusing for some Windows XP users: WMP6.4's filename is mplayer2.exe). It's the result of Uoti Urpala's split with the main mplayer devs due to politics over coding practices, apparently.

andrew.46
February 23rd, 2011, 06:57 AM
*the branch version hosted on repo.or.cz. Now officially 'MPlayer2' (http://www.mplayer2.org/mplayer1_comparison.html) (I bet that's gonna be somewhat confusing for some Windows XP users: WMP6.4's filename is mplayer2.exe). It's the result of Uoti Urpala's split with the main mplayer devs due to politics over coding practices, apparently.

There is an added cleanup in this fork that is well overdue in the MPlayer code:



MEncoder is no longer available

The MEncoder codebase was thoroughly rotten and has been deleted. A different solution to provide some encoding functionality will be added in a future version.

Internal GUI has been removed

The bad internal GUI (gmplayer) has been deleted. Future work will concentrate on improving the interface for external GUI implementations instead.


But I am sure we all wish that the developers could heal their differences and work together :(.

Andrew

qyot27
February 23rd, 2011, 07:53 PM
There is an added cleanup in this fork that is well overdue in the MPlayer code:



But I am sure we all wish that the developers could heal their differences and work together :(.

Andrew
True. My main draw is that compilation is much more streamlined. On Linux I can just leave everything at the defaults if I wanted, although on Windows there's some things that need to be adjusted (on Windows it's also pretty much mandatory to use Cygwin unless you do some code adjustments).

I do have particular uses for mencoder that make it more attractive than ffmpeg (the way the template system works*, and some of the syntactical differences), which is why I end up feeling the rub sometimes. The point about a future encoding platform for the fork is good, though. At least it would overcome mencoder's deficiencies.

*or rather, the fact that mencoder can be set to user defaults very easily - I have my mencoder installs set to always output ffvhuff if I declare input and output only. ffmpeg can't do that, and some of the encoding parameter syntax is confusing.

jwcalla
February 23rd, 2011, 08:19 PM
Of course, the three things I'd most like to see incorporated into FFmpeg are completely not addressed at all. Two of them are outdated patches/branch versions (the MLP encoder and MKV Ordered Chapters support), and the last I have no clue if there has been any effort to resolve (hardcoding of subtitles, without demuxing, and with embedded font support for libass).

I've been frustrated about the various branches out there. I built a multi-threaded mplayer / ffmpeg a few months ago but I still like the convenience of having synaptic tell me when there are updates available. The whole thing seems disorganized and ununified, even though we're talking about an application domain that must be cutting-edge and forward-thinking to be widely accepted.

Thanks for the heads-up on mplayer2 though... that appears to fit the bill.

qyot27
February 24th, 2011, 02:13 AM
Branches and forks are simply a fact of life when it comes to open source development.

Or rather, I should say that variant functionality contained in branches is often not meant to supplant the main project (and thus, I wouldn't treat them with disdain), but to sandbox experimental features until it's matured enough for inclusion in the main branch. The MKV Ordered Chapters and Lagarith branches are/were two such instances - Lagarith finally got committed a little over a month ago. Neither one had been updated since 2009, although it was trivial to fix the Lagarith branch to work with fresh checkouts from git...but ordered chapters have been a no-go since January 2010. Too much stuff conflicts with the main source to make it a simple fix that even non-programmers could do.

It's actually very routine for Summer of Code projects to be worked on in side branches and only committed after the work has completed. It keeps the main branch cleaner that way.

The pain comes when there are disputes over the suitability of code or the maturity of it. The average user may be totally fine with the state of development of X feature, and not really have problems with it, but if it doesn't meet the criteria for inclusion the main devs have set, one's hands are pretty unceremoniously tied.

I wouldn't really expect the package team to include the branched versions, to be honest (at this point, I'm not sure if it's really accurate to portray MPlayer2 as a 'branch' anymore - there's enough distancing it from the original to do so, IMO; sort of like the relationship between the old Beep Media Player and Audacious). Even having fairly recent builds available is a pipe dream in some cases because of noted resistance to doing development compiles and going strictly with 'official' releases (in ffmpeg's case, such as 0.5 or 0.6, not a weekly git build or something). It's happened with Firefox before too, somewhat infamously - no major version upgrades after distro version release. Which, namely, is why Ubuntuzilla exists.

francish
February 26th, 2011, 11:59 PM
:D
FFmpeg is a versatile tool to encode and decode a multitude of video and audio formats. x264 encodes high-quality H.264 video....

snip rest of original post

Thank you so much for this timely posting! It works wonderfully for me ( a new member in Ubuntu 10.10)!!!

doxed
February 28th, 2011, 04:58 AM
Thanks for these guides. I used the one for Lucid(http://ubuntuforums.org/showpost.php?p=9868359&postcount=1289) and it worked nicely.

It looks like there is a typo in step 8, it shows '--pkgname=ffmpeg' instead of '--pkgname=qt-faststart'. I ran steps 7 and 8 a few times wondering why installing qt-faststart would remove ffmpeg and vice versa:confused:, before noticing the pkgname.

I just wanted to point this out in case anyone else was having this issue.

Thanks again.

FakeOutdoorsman
February 28th, 2011, 09:08 AM
Thanks. You're right. It should be "qt-faststart" and not "ffmpeg". I'll update that.

qyot27
March 4th, 2011, 09:09 AM
As a note, I've not been able to access the L-SMASH patch for some time now, as it seems the whole domain has gone down. So really the only option is the git branch.

For those who don't much care for the '0.114.0+revlist githash' notation that doesn't let you see the core x264 revision number, there is a bit of a roundabout solution:

git clone git://git.videolan.org/x264.git
cd x264
cp version.sh version.sh.bak
git pull git://github.com/silverfilain/x264_L-SMASH.git lsmash
cp version.sh.bak version.sh
[compile as usual]

The result? '0.114.1913+439M 6deb612'. Not exactly like the output from the patch, but at least it does show what the core x264 revision is. The git hash displayed is the one from the branch, and is the same as if you had the 0+revlist version number.

andrew.46
March 5th, 2011, 10:26 AM
As a note, I've not been able to access the L-SMASH patch for some time now, as it seems the whole domain has gone down. So really the only option is the git branch.

Could be a temporary network glitch, it is there for me:

http://vfrmaniac.fushizen.eu/OtherStuff/L-SMASH/

and appears to have been updated just yesterday.

qyot27
March 6th, 2011, 12:14 AM
Could be a temporary network glitch, it is there for me:

http://vfrmaniac.fushizen.eu/OtherStuff/L-SMASH/

and appears to have been updated just yesterday.
Ok, it's back for me now too. That's good. But I wasn't able to access anything on fushizen.eu for 2 or 3 weeks.

Well, at least it allowed me to figure out how to get the branch to show x264's revision - that had been bugging me.

sidorivan
March 7th, 2011, 02:05 AM
Help me on centos:

remove ffmpeg x264 libx264-dev

git clone git://git.videolan.org/x264.git
cd x264
./configure --enable-shared
make
make install

gcc -o x264 x264.o input/input.o input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/cache.o filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o filters/video/depth.o input/thread.o input/lavf.o libx264.a -L. -lavformat -lavcodec -lavcore -lswscale -lavutil -lm -lz -lpthread -lswscale -lavutil -lm -lpthread -s
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libavcodec.a(libfaac.o): In function `Faac_encode_close':
/opt/libavfilter/ffmpeg/libavcodec/libfaac.c:144: undefined reference to `faacEncClose'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libavcodec.a(libfaac.o): In function `Faac_encode_init':
/opt/libavfilter/ffmpeg/libavcodec/libfaac.c:46: undefined reference to `faacEncOpen'
/opt/libavfilter/ffmpeg/libavcodec/libfaac.c:51: undefined reference to `faacEncGetCurrentConfiguration'
/opt/libavfilter/ffmpeg/libavcodec/libfaac.c:75: undefined reference to `faacEncClose'
/opt/libavfilter/ffmpeg/libavcodec/libfaac.c:114: undefined reference to `faacEncSetConfiguration'
/opt/libavfilter/ffmpeg/libavcodec/libfaac.c:102: undefined reference to `faacEncGetDecoderSpecificInfo'
/opt/libavfilter/ffmpeg/libavcodec/libfaac.c:54: undefined reference to `faacEncClose'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libavcodec.a(libfaac.o): In function `Faac_encode_frame':
/opt/libavfilter/ffmpeg/libavcodec/libfaac.c:128: undefined reference to `faacEncEncode'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libavcodec.a(libx264.o): In function `X264_init':
/opt/libavfilter/ffmpeg/libavcodec/libx264.c:305: undefined reference to `x264_encoder_open_110'
collect2: ld returned 1 exit status
make: *** [x264] Error 1

FakeOutdoorsman
March 7th, 2011, 08:37 PM
Help me on centos:

remove ffmpeg x264 libx264-dev

git clone git://git.videolan.org/x264.git
cd x264
./configure --enable-shared
Why did you add --enable-shared?




/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libavcodec.a(libx264.o): In function `X264_init':
/opt/libavfilter/ffmpeg/libavcodec/libx264.c:305: undefined reference to `x264_encoder_open_110'
collect2: ld returned 1 exit status
make: *** [x264] Error 1
Remove your old FFmpeg before attempting to compile x264 or add --disable-lavf to your x264 ./configure.

sideshowmel
March 8th, 2011, 09:31 PM
I'm trying to use a software package that depends on ffmpeg 0.5.1 or earlier.
I'm unable to compile ffmpeg 0.5.1 with the latest x264, is there a version that is known to work with ffmpeg 0.5.1?

FakeOutdoorsman
March 8th, 2011, 09:47 PM
What depends on <= FFmpeg 0.5.1? I'm not sure about 0.5.1, but 0.5.3 has a minimum requirement of libx264 0.65. I don't know the latest version it could handle.

$ grep "libx264 version" ffmpeg-0.5.3/configure
die "ERROR: libx264 version must be >= 0.65."; }
Now you can use Git to use an older x264 commit:

cd ~/x264
make distclean
git checkout 79bfb039de253c986986fbd99935c0d4a95ad503
Then continue with ./configure.

Dobyabywal
March 10th, 2011, 08:43 PM
I tried methods A, B, and C. On method C, after completing it I entered this line I got the message that follows.


sudo apt-get install ffmpeg libavcodec-extra-52

The following information may help to resolve the situation:


The following packages have unmet dependencies:
libavcodec-extra-52: Depends: libfaac0 (>= 1.26) but it is not installable
E: Broken packages


Encoding using VLC gives me great audio but no video. Prior to entering the A, B, and C codes I got video, but no audio.
I'm using 10.04 on a Asus netbook.
FakeOutdoorsman, I know you wrote the A, B, and C solutions to the forum in 2006 and things may have changed. I also see that you are still on the forum.
Please help, I'm very new at this.

FakeOutdoorsman
March 11th, 2011, 01:13 AM
You must be referring to:

HOWTO: Easily enable MP3, MPEG4, AAC, and other restricted encoders in FFmpeg (http://ubuntuforums.org/showthread.php?t=1117283)

I'm guessing that you have a PPA or third-party repository interfering with your package management system. I'm not very useful when it comes to this sort of thing but I can make a few guesses. Show the output of:

apt-cache policy
Perhaps you could also root around in Synaptic and use the "Origin" button to see if there is anything weird going on.

Kepesk
March 11th, 2011, 09:02 PM
Just thought I'd people know my experience and possibly save some time by putting out the solution to the problem I had.

When compiling ffmpeg, I got the error:
undefined reference to `x264_encoder_open_114'

I solved it by starting over and configuring the x264 with this line:
./configure --enable-shared --prefix=/usr

Cheers!

FakeOutdoorsman
March 11th, 2011, 09:42 PM
Just thought I'd people know my experience and possibly save some time by putting out the solution to the problem I had.

When compiling ffmpeg, I got the error:
undefined reference to `x264_encoder_open_114'
This is caused by old, interfering x264 files (libx264-dev and old compiled x264 for example) causing you to have mismatched x264 versions. This can be solved by removing or uninstalling the old x264 files/packages.

You can get a similar message when compiling x264 too, but that's a different issue. A few posts back is an example.

I solved it by starting over and configuring the x264 with this line:
./configure --enable-shared --prefix=/usr

Cheers!
I don't recommend using --enable-shared unless you know you need it or know what it does. The use of --prefix=/usr is discouraged in Ubuntu. Compiled packages should go into /usr/local (which is implied when using this guide) so they don't interfere with packages from the repository.

mysoogal
March 12th, 2011, 08:23 PM
would like to let everybody know i built a web based video encoder, to be used with IPad, based on latest ffmpeg

check into it,
http://code.google.com/p/ipado-web-media-encoder/

andrew.46
March 14th, 2011, 09:05 AM
Hmmmm.... I am no longer following the FFmpeg wars but the FFmpeg download page:

http://www.ffmpeg.org/download.html

seems to indicate that the videolan git repository is now the 'official' one, or perhaps this will change??

FakeOutdoorsman
March 14th, 2011, 10:46 AM
More silliness from the developer rift. The group of developers that was until recently using git.ffmpeg.org (which was previously the official Git mirror to the SVN repository) has created a fork called libav (http://libav.org/). Those who want to use that should use git.libav.org.

Those who want to use FFmpeg will probably want to use git.videolan.org. I'll update the guide tomorrow after switching repos and running a test compile.

andrew.46
March 14th, 2011, 10:55 AM
More silliness from the developer rift.

OIC, will this business never end.... :(

qyot27
March 14th, 2011, 06:09 PM
This is just getting absurd (it was already rather childish). I'm not even sure if what happened was an active breaking off of the libav group, or if the ffmpeg.org domain got usurped by the videolan group. The mailing list postings don't seem to clarify that any, either. And now there's this business over trademark and logo flying into it.

It does, however, *kind* of look as if the videolan repository will accept changes from libav, so I'm not sure what's going on.

I'm as sick of these politics as I am of what the culture around some of the mplayer, x264, and parts of AviSynth development, and fansubbing scene succumbing to jargonism/elitism/4chan leakage, has become (especially as the last is tainting one of my other hobbies through still other abuses). The worst part is that all of these things seem to be interconnected because of groups of developers or followers they all share. To say I'm pissed from simply having to encounter it is a gross understatement. I've been watching it all slide down the tubes for two and a half to three years or so.

verb3k
March 14th, 2011, 07:34 PM
Well, Michael said he was willing to step down and people voted him to stay (no one had the courage to step up). Few days later, a group of self-appointed maintainers take over the project without the slightest discussion with the developer community. Now, they are cracking the project apart. Well done, guys.

There was no C option, you could have voted for the stepping down of Michael from the beginning.

FakeOutdoorsman
March 14th, 2011, 09:02 PM
OIC, will this business never end.... :(

Apparently not. Now there is an announcement from one of the libav guys stating that the ffmpeg mailing-lists will be shutdown in 24 hours with a message welcoming people to the libav mailing-lists. Maybe it's just a troll.

I don't pay close attention to the fflames, but now I'm even less impressed with the behavior. Things are too volatile and confusing right now for me to keep this guide updated with the constant flux.

FakeOutdoorsman
March 15th, 2011, 08:37 PM
I updated all active guides to use the git.videolan.org FFmpeg Git repository due to the recent squabbling at the FFmpeg project. If you update FFmpeg once in a while you can switch to this Git repository:

cd ~/ffmpeg && git remote set-url origin git://git.videolan.org/ffmpeg
You only need to do this once.

Update: Hardy's Git seems to be too old to use the above command, so maybe this would work instead:

sed -i 's/git.ffmpeg.org/git.videolan.org/g' ~/ffmpeg/.git/config

Of course you could just remove ~/ffmpeg and then run:

git clone git://git.videolan.org/ffmpeg

ron999
March 15th, 2011, 09:51 PM
FFmpeg has built OK from the videolan git with Karmic Koala.

FFmpeg version git-N-28456-g1c31b26, Copyright (c) 2000-2011 the FFmpeg developers
built on Mar 15 2011 20:38:57 with gcc 4.4.1
:D

FakeOutdoorsman
March 15th, 2011, 11:04 PM
Thanks for the update. I only did a quick test on Maverick.

mysoogal
March 17th, 2011, 10:39 PM
guys here is the presets from winFF

you would use it like normal

ffmpeg version
FFmpeg version SVN-r18709, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-memalign-hack --prefix=/mingw --cross-prefix=i686-ming
w32- --cc=ccache-i686-mingw32-gcc --target-os=mingw32 --arch=i686 --cpu=i686 --e
nable-avisynth --enable-gpl --enable-zlib --enable-bzlib --enable-libgsm --enabl
e-libfaac --enable-libfaad --enable-pthreads --enable-libvorbis --enable-libtheo
ra --enable-libspeex --enable-libmp3lame --enable-libopenjpeg --enable-libxvid -
-enable-libschroedinger --enable-libx264
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.27. 0 / 52.27. 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 28 2009 04:04:42, gcc: 4.2.4
Unable to find a suitable output format for 'pipe:'
ffmpeg -i input.avi -f mp4 -vcodec mpeg4 -b 400k -r 24 -s 320x240 -aspect 4:3 -acodec libfaac -ar 22050 -ac 2 -ab 48k output.mp4
:KS



<?xml version=&quot;1.0&quot;?>
<presets>
<BlackberryCurvefs>
<label>Blackberry Curve Fullscreen</label>
<params>-f mp4 -vcodec mpeg4 -b 400k -r 24 -s 320x240 -aspect 4:3 -acodec libfaac -ar 22050 -ac 2 -ab 48k</params>
<extension>mp4</extension>
<category>Blackberry</category>
</BlackberryCurvefs>
<BlackberryCurvews>
<label>Blackberry Curve Widescreen</label>
<params>-f mp4 -vcodec mpeg4 -b 400k -r 24 -s 320x180 -aspect 16:9 -acodec libfaac -ar 22050 -ac 2 -ab 48k</params>
<extension>mp4</extension>
<category>Blackberry</category>
</BlackberryCurvews>
<CDWavStereo>
<label>Wav for CD</label>
<params>-vn -ar 44100</params>
<extension>wav</extension>
<category>Audio</category>
</CDWavStereo>
<GigabeatFS>
<label>RB Toshiba Gigabeat F/X Fullscreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 320x240 -b 600k -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</GigabeatFS>
<GigabeatWS>
<label>RB Toshiba Gigabeat F/X Widescreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 320x176 -b 600k -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</GigabeatWS>
<H1020FS>
<label>RB iRiver H10 20GB Fullscreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 160x128 -b 224k -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</H1020FS>
<H1020WS>
<label>RB iRiver H10 20GB Widescreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 160x96 -b 224k -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</H1020WS>
<H105FS>
<label>RB iRiver H10 5/6GB Fullscreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 128x96 -b 224k -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</H105FS>
<H105WS>
<label>RB iRiver H10 5/6GB Widescreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 128x80 -b 224k -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</H105WS>
<H300FS>
<label>RB iRiver H300 Fullscreen</label>
<params>-acodec libmp3lame -ab 96k -ar 44100 -vcodec mpeg2video -s 224x176 -b 224k -r 10 -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</H300FS>
<H300WS>
<label>RB iRiver H300 Widescreen</label>
<params>-acodec libmp3lame -ab 96k -ar 44100 -vcodec mpeg2video -s 224x128 -b 256k -r 15 -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</H300WS>
<I5GFS>
<label>RB Apple iPod Video Fullscreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 320x240 -b 400k -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</I5GFS>
<I5GWS>
<label>RB Apple iPod Video Widescreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 320x176 -b 400k -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</I5GWS>
<M4a>
<label>MPEG4 Audio</label>
<params>-vn -acodec libfaac -ab 112k -ac 2 -ar 48000</params>
<extension>m4a</extension>
<category>Audio</category>
</M4a>
<NeurosOSDTVHQNTSC>
<label>Neuros HQ NTSC Fullscreen</label>
<params>-f mp4 -r 29.97 -vcodec libxvid -s 640x480 -aspect 4:3 -maxrate 2500kb -b 2000k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2 -g 300 -acodec libfaac -ar 48000 -ab 128k -ac 2</params>
<extension>mp4</extension>
<category>Neuros OSD</category>
</NeurosOSDTVHQNTSC>
<NeurosOSDTVHQPAL>
<label>Neuros HQ PAL Fullscreen</label>
<params>-f mp4 -r 25 -vcodec libxvid -s 640x480 -aspect 4:3 -maxrate 2500kb -b 2000k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2 -g 300 -acodec libfaac -ar 48000 -ab 128k -ac 2</params>
<extension>mp4</extension>
<category>Neuros OSD</category>
</NeurosOSDTVHQPAL>
<NeurosOSDTVSFNTSC>
<label>Neuros Small File NTSC Fullscreen</label>
<params>-f mp4 -b 800k -r 29.97 -s 320x240 -aspect 4:3 -vcodec libxvid -ar 48000 -ab 80k -ac 2 -acodec libfaac</params>
<extension>mp4</extension>
<category>Neuros OSD</category>
</NeurosOSDTVSFNTSC>
<NeurosOSDTVSFPAL>
<label>Neuros Small File PAL Fullscreen</label>
<params>-f mp4 -b 800k -r 25 -s 320x240 -aspect 4:3 -vcodec libxvid -ar 48000 -ab 80k -ac 2 -acodec libfaac</params>
<extension>mp4</extension>
<category>Neuros OSD</category>
</NeurosOSDTVSFPAL>
<NeurosOSDTVWSHQNTSC>
<label>Neuros HQ NTSC Widescreen</label>
<params>-f mp4 -r 29.97 -vcodec libxvid -s 704x384 -aspect 16:9 -maxrate 3000kb -b 2500k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -bf 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2 -g 300 -acodec libfaac -ar 48000 -ab 128k -ac 2</params>
<extension>mp4</extension>
<category>Neuros OSD</category>
</NeurosOSDTVWSHQNTSC>
<NeurosOSDTVWSHQPAL>
<label>Neuros HQ PAL Widescreen</label>
<params>-f mp4 -r 25 -vcodec libxvid -s 704x384 -aspect 16:9 -maxrate 3000kb -b 2500k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -bf 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2 -g 300 -acodec libfaac -ar 48000 -ab 128k -ac 2</params>
<extension>mp4</extension>
<category>Neuros OSD</category>
</NeurosOSDTVWSHQPAL>
<NeurosOSDTVWSSFNTSC>
<label>Neuros Small File NTSC Widescreen</label>
<params>-f mp4 -b 800k -r 29.97 -s 352x240 -aspect 16:9 -vcodec libxvid -ar 48000 -ab 80k -ac 2 -acodec libfaac</params>
<extension>mp4</extension>
<category>Neuros OSD</category>
</NeurosOSDTVWSSFNTSC>
<NeurosOSDTVWSSFPAL>
<label>Neuros Small File PAL Widescreen</label>
<params>-f mp4 -b 800k -r 25 -s 352x240 -aspect 16:9 -vcodec libxvid -ar 48000 -ab 80k -ac 2 -acodec libfaac</params>
<extension>mp4</extension>
<category>Neuros OSD</category>
</NeurosOSDTVWSSFPAL>
<PalmXviDFS>
<label>Palm Fullscreen</label>
<params>-f mp4 -r 29.97 -vcodec libxvid -s 428x320 -aspect 4:3 -maxrate 550kb -b 500k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2 -g 300 -acodec libfaac -ar 44100 -ab 80k -ac 2</params>
<extension>mp4</extension>
<category>Palm</category>
</PalmXviDFS>
<PalmXviDWS>
<label>Palm Widescreen</label>
<params>-f mp4 -r 29.97 -vcodec libxvid -s 480x320 -aspect 3:2 -maxrate 450kb -b 430k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2 -g 300 -acodec libfaac -ar 44100 -ab 80k -ac 2</params>
<extension>mp4</extension>
<category>Palm</category>
</PalmXviDWS>
<PhotoFS>
<label>RB Apple iPod Photo/Color Fullscreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 224x176 -b 320k -r 15 -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</PhotoFS>
<PhotoWS>
<label>RB Apple iPod Photo/Color Widescreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 224x128 -b 320k -r 24 -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</PhotoWS>
<X5FS>
<label>RB Cowon iAudio X5 Fullscreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 160x128 -b 176k -r 15 -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</X5FS>
<X5WS>
<label>RB Cowon iAudio X5 Widescreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 160x96 -b 224k -r 24 -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</X5WS>
<XviDAVIFS>
<label>XviD FullScreen</label>
<params>-f avi -r 29.97 -vcodec libxvid -vtag XVID -s 640x480 -aspect 4:3 -maxrate 1800kb -b 1500k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -bf 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2 -g 300 -acodec libmp3lame -ar 48000 -ab 128k -ac 2</params>
<extension>avi</extension>
<category>AVI</category>
</XviDAVIFS>
<XviDAVIWS>
<label>XviD Widescreen</label>
<params>-f avi -r 29.97 -vcodec libxvid -vtag XVID -s 704x384 -aspect 16:9 -maxrate 1800k -b 1500k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -bf 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2 -g 300 -acodec libmp3lame -ar 48000 -ab 128k -ac 2</params>
<extension>avi</extension>
<category>AVI</category>
</XviDAVIWS>
<XviDAVIWSAna>
<label>XviD Widescreen Anamorphic</label>
<params>-f avi -r 29.97 -croptop 58 -cropbottom 62 -vcodec libxvid -vtag XVID -s 640x272 -aspect 2.35 -maxrate 1800kb -b 1500k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -bf 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2 -g 300 -acodec libmp3lame -ar 48000 -ab 128k -ac 2</params>
<extension>avi</extension>
<category>AVI</category>
</XviDAVIWSAna>
<XviDAVIZENFS>
<label>Zen Fullscreen</label>
<params>-f avi -r 29.97 -vcodec libxvid -vtag XVID -s 320x240 -aspect 4:3 -maxrate 1800kb -b 1500k -acodec libmp3lame -ar 48000 -ab 128k -ac 2</params>
<extension>avi</extension>
<category>Creative Zen</category>
</XviDAVIZENFS>
<XviDAVIZENWS>
<label>Zen Widescreen</label>
<params>-f avi -r 29.97 -vcodec libxvid -vtag XVID -s 320x240 -aspect 16:9 -maxrate 1800kb -b 1500k -acodec libmp3lame -ar 48000 -ab 128k -ac 2</params>
<extension>avi</extension>
<category>Creative Zen</category>
</XviDAVIZENWS>
<ac3dvd192>
<label>Ac3 DVD - 192kbps Stereo</label>
<params>-f ac3 -acodec ac3 -ab 192k -ar 48000 -ac 2</params>
<extension>ac3</extension>
<category>Audio</category>
</ac3dvd192>
<ac3dvd384>
<label>Ac3 DVD - 384kbps Stereo</label>
<params>-f ac3 -acodec ac3 -ab 384k -ar 48000 -ac 2</params>
<extension>ac3</extension>
<category>Audio</category>
</ac3dvd384>
<blackberryfs>
<label>Blackberry Video Fullscreen</label>
<params>-f mp4 -r 24 -vcodec libx264 -s 240x180 -aspect 4:3 -maxrate 800kb -bufsize 80k -b 400k -acodec libfaac -ar 44100 -ab 80k -ac 2</params>
<extension>mp4</extension>
<category>Blackberry</category>
</blackberryfs>
<blackberrymp3>
<label>Blackberry Music</label>
<params>-acodec libmp3lame -ab 160k -ac 2 -ar 44100</params>
<extension>mp3</extension>
<category>Blackberry</category>
</blackberrymp3>
<blackberryws>
<label>Blackberry Video Widescreen</label>
<params>-f mp4 -r 24 -vcodec libx264 -s 320x180 -aspect 16:9 -maxrate 800kb -bufsize 80k -b 400k -acodec libfaac -ar 44100 -ab 80k -ac 2</params>
<extension>mp4</extension>
<category>Blackberry</category>
</blackberryws>
<cdma3g>
<label>CDMA Phone Audio (3g2)</label>
<params>-f 3g2 -ar 22050 -ab 128k -acodec libfaac -s qcif -r 14.985 -vn</params>
<extension>3g2</extension>
<category>Mobile Phones</category>
</cdma3g>
<divx>
<label>MS Compatible AVI</label>
<params>-acodec libmp3lame -vcodec msmpeg4 -ab 192k -b 1000k -s 640x480 -ar 44100</params>
<extension>avi</extension>
<category>AVI</category>
</divx>
<dvntsc>
<label>Raw DV for NTSC Fullscreen</label>
<params>-target ntsc-dv -aspect 4:3 -f dv</params>
<extension>dv</extension>
<category>DV</category>
</dvntsc>
<dvpal>
<label>Raw DV for PAL Fullscreen</label>
<params>-target pal-dv -aspect 4:3 -f dv</params>
<extension>dv</extension>
<category>DV</category>
</dvpal>
<e200FS>
<label>RB Sandisk Sansa e200 Fullscreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 224x176 -b 320k -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</e200FS>
<e200WS>
<label>RB Sandisk Sansa e200 Widescreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 224x128 -b 320k -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</e200WS>
<flvwebFS>
<label>Flash Video (flv) for Web use Fullscreen</label>
<params>-vcodec flv -f flv -r 29.97 -s 320x240 -aspect 4:3 -b 300k -g 160 -cmp dct -subcmp dct -mbd 2 -flags +aic+cbp+mv0+mv4 -trellis 1 -ac 1 -ar 22050 -ab 56k</params>
<extension>flv</extension>
<category>Websites</category>
</flvwebFS>
<flvwebWS>
<label>Flash: Video (flv) for Web use Widescreen</label>
<params>-vcodec flv -f flv -r 29.97 -s 320x180 -aspect 16:9 -b 300k -g 160 -cmp dct -subcmp dct -mbd 2 -flags +aic+cbp+mv0+mv4 -trellis 1 -ac 1 -ar 22050 -ab 56k</params>
<extension>flv</extension>
<category>Websites</category>
</flvwebWS>
<iPodiTunesSmallCRF21FS>
<label>iPod Small Fullscreen</label>
<params>-r 29.97 -vcodec libx264 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 21 -bt 256k -refs 1 -coder 0 -me_method full -me_range 16 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -s 320x240 -aspect 4:3 -acodec libfaac -ab 112k -ar 48000 -ac 2</params>
<extension>m4v</extension>
<category>iPod-iTunes</category>
</iPodiTunesSmallCRF21FS>
<iPodiTunesSmallCRF21WS>
<label>iPod Small WideScreen</label>
<params>-r 29.97 -vcodec libx264 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 21 -bt 256k -refs 1 -coder 0 -me_method full -me_range 16 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -s 320x176 -aspect 16:9 -acodec libfaac -ab 112k -ar 48000 -ac 2</params>
<extension>m4v</extension>
<category>iPod-iTunes</category>
</iPodiTunesSmallCRF21WS>
<iPodiTunesSmallCRF21WSAna>
<label>iPod Small WideScreen Anamorphic</label>
<params>-r 29.97 -croptop 60 -cropbottom 60 -vcodec libx264 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 21 -bt 256k -refs 1 -coder 0 -me_method full -me_range 16 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -s 320x144 -aspect 2.35 -acodec libfaac -ab 112k -ar 48000 -ac 2</params>
<extension>m4v</extension>
<category>iPod-iTunes</category>
</iPodiTunesSmallCRF21WSAna>
<iPodiTunesSmallCRF21WSLBFix>
<label>iPod Small Converted to WideScreen</label>
<params>-r 29.97 -croptop 64 -cropbottom 64 -vcodec libx264 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 21 -bt 256k -refs 1 -coder 0 -me_method full -me_range 16 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -s 320x176 -aspect 16:9 -acodec libfaac -ab 112k -ar 48000 -ac 2</params>
<extension>m4v</extension>
<category>iPod-iTunes</category>
</iPodiTunesSmallCRF21WSLBFix>
<iPodiTunesTVOutCRF21FS>
<label>iPod TV Out Fullscreen</label>
<params>-r 29.97 -vcodec libx264 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 21 -bt 256k -refs 1 -coder 0 -me_method full -me_range 16 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -s 512x384 -aspect 4:3 -acodec libfaac -ab 112k -ar 48000 -ac 2</params>
<extension>m4v</extension>
<category>iPod-iTunes</category>
</iPodiTunesTVOutCRF21FS>
<iPodiTunesTVOutCRF21WS>
<label>iPod TV Out Widescreen</label>
<params>-r 29.97 -vcodec libx264 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 21 -bt 256k -refs 1 -coder 0 -me_method full -me_range 16 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -s 624x352 -aspect 16:9 -acodec libfaac -ab 112k -ar 48000 -ac 2</params>
<extension>m4v</extension>
<category>iPod-iTunes</category>
</iPodiTunesTVOutCRF21WS>
<iPodiTunesTVOutCRF21WSAna>
<label>iPod TV Out Widescreen Anamorphic</label>
<params>-r 29.97 -croptop 60 -cropbottom 60 -vcodec libx264 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 21 -bt 256k -refs 1 -coder 0 -me_method full -me_range 16 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -s 640x272 -aspect 2.35 -acodec libfaac -ab 112k -ar 48000 -ac 2</params>
<extension>m4v</extension>
<category>iPod-iTunes</category>
</iPodiTunesTVOutCRF21WSAna>
<iPodiTunesTVOutCRF21WSLBFix>
<label>iPod TV Out Converted to Widescreen</label>
<params>-r 29.97 -croptop 64 -cropbottom 64 -vcodec libx264 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 21 -bt 256k -refs 1 -coder 0 -me_method full -me_range 16 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -s 640x352 -aspect 16:9 -acodec libfaac -ab 112k -ar 48000 -ac 2</params>
<extension>m4v</extension>
<category>iPod-iTunes</category>
</iPodiTunesTVOutCRF21WSLBFix>
<iPodiTunesIphoneWS>
<label>iPhone WideScreen</label>
<params>-r 29.97 -vcodec libx264 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 21 -bt 256k -refs 1 -coder 0 -me_method full -me_range 16 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -s 480x320 -aspect 16:9 -acodec libfaac -ab 112k -ar 48000 -ac 2</params>
<extension>m4v</extension>
<category>iPod-iTunes</category>
</iPodiTunesIphoneWS>
<lgchocolate>
<label>LG Chocolate</label>
<params>-f mp4 -s 240x192 -r 11.988 -b 192k -ab 56k -vcodec libxvid -acodec libfaac -ar 22050</params>
<extension>mp4</extension>
<category>LG</category>
</lgchocolate>
<lgdare>
<label>LG Dare</label>
<params>-f mp4 -s 320x240 -r 11.988 -b 160k -ab 56k -vcodec libxvid -acodec libfaac</params>
<extension>mp4</extension>
<category>LG</category>
</lgdare>
<mp3>
<label>MP3</label>
<params>-acodec libmp3lame -ab 160k -ac 2 -ar 44100</params>
<extension>mp3</extension>
<category>Audio</category>
</mp3>
<mp3m>
<label>MP3 (Mono)</label>
<params>-acodec libmp3lame -ab 32k -ac 1 -ar 22050</params>
<extension>mp3</extension>
<category>Mobile Phones</category>
</mp3m>
<nanoFS>
<label>RB Apple iPod Nano Fullscreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 176x128 -b 256k -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</nanoFS>
<nanoWS>
<label>RB Apple iPod Nano Widescreen</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg2video -s 176x128 -b 256k -strict -1</params>
<extension>mpg</extension>
<category>Rockbox</category>
</nanoWS>
<ntscdvdgoodqFS>
<label>NTSC DVD Fullscreen</label>
<params>-f dvd -vcodec mpeg2video -r 29.97 -s 352x480 -aspect 4:3 -b 4000k -mbd rd -trellis -mv0 -cmp 2 -subcmp 2 -acodec mp2 -ab 192k -ar 48000 -ac 2</params>
<extension>mpg</extension>
<category>DVD</category>
</ntscdvdgoodqFS>
<ntscdvdgoodqWS>
<label>NTSC DVD Widescreen</label>
<params>-f dvd -vcodec mpeg2video -r 29.97 -s 352x480 -aspect 16:9 -b 4000k -mbd rd -trellis -mv0 -cmp 2 -subcmp 2 -acodec mp2 -ab 192k -ar 48000 -ac 2</params>
<extension>mpg</extension>
<category>DVD</category>
</ntscdvdgoodqWS>
<ntscdvdhqFS>
<label>NTSC DVD HQ Fullscreen</label>
<params>-f dvd -target ntsc-dvd -r 29.97 -s 720x480 -aspect 4:3 -b 8000k -mbd rd -trellis -mv0 -cmp 0 -subcmp 2</params>
<extension>mpg</extension>
<category>DVD</category>
</ntscdvdhqFS>
<ntscdvdhqWS>
<label>NTSC DVD HQ Widescreen</label>
<params>-f dvd -target ntsc-dvd -r 29.97 -s 720x480 -aspect 16:9 -b 8000k -g 12 -mbd rd -trellis -mv0 -cmp 0 -subcmp 2</params>
<extension>mpg</extension>
<category>DVD</category>
</ntscdvdhqWS>
<ntscdvdlq>
<label>NTSC DVD Fast (LQ)</label>
<params>-f dvd -target ntsc-dvd -b 5000k -r 29.97 -s 720x480 -ar 48000 -ab 384k</params>
<extension>mpg</extension>
<category>DVD</category>
</ntscdvdlq>
<ntscvcdhq>
<label>NTSC VCD (HQ)</label>
<params>-f vcd -target ntsc-vcd -mbd rd -trellis -mv0 -cmp 0 -subcmp 2</params>
<extension>mpg</extension>
<category>VCD</category>
</ntscvcdhq>
<ogg1>
<label>OGG</label>
<params>-acodec vorbis -aq 60 -vn -ac 2</params>
<extension>OGG</extension>
<category>Audio</category>
</ogg1>
<paldvdgoodqFS>
<label>PAL DVD Fullscreen</label>
<params>-f dvd -vcodec mpeg2video -r 25.00 -s 352x576 -aspect 4:3 -b 4000k -mbd rd -trellis -mv0 -cmp 2 -subcmp 2 -acodec mp2 -ab 192k -ar 48000 -ac 2</params>
<extension>mpg</extension>
<category>DVD</category>
</paldvdgoodqFS>
<paldvdgoodqWS>
<label>PAL DVD Widescreen</label>
<params>-f dvd -vcodec mpeg2video -r 25.00 -s 352x576 -aspect 16:9 -b 4000k -mbd rd -trellis -mv0 -cmp 2 -subcmp 2 -acodec mp2 -ab 192k -ar 48000 -ac 2</params>
<extension>mpg</extension>
<category>DVD</category>
</paldvdgoodqWS>
<paldvdhqFS>
<label>PAL DVD HQ Fullscreen</label>
<params>-f dvd -target pal-dvd -aspect 4:3 -b 8000k -mbd rd -trellis -mv0 -cmp 0 -subcmp 2</params>
<extension>mpg</extension>
<category>DVD</category>
</paldvdhqFS>
<paldvdhqWS>
<label>PAL DVD HQ Widescreen</label>
<params>-f dvd -target pal-dvd -aspect 16:9 -b 8000k -mbd rd -trellis -mv0 -cmp 0 -subcmp 2</params>
<extension>mpg</extension>
<category>DVD</category>
</paldvdhqWS>
<paldvdlq>
<label>PAL DVD Fast (LQ)</label>
<params>-f dvd -target pal-dvd -b 5000k -r 25 -s 720x576 -ar 48000 -ab 384k</params>
<extension>mpg</extension>
<category>DVD</category>
</paldvdlq>
<palvcdhq>
<label>PAL VCD (HQ)</label>
<params>-f vcd -target pal-vcd -mbd rd -trellis -mv0 -cmp 0 -subcmp 2</params>
<extension>mpg</extension>
<category>VCD</category>
</palvcdhq>
<ps3720p>
<label>PS3 720p Widescreen</label>
<params>-f mp4 -r 23.976 -vcodec libx264 -s 1280x720 -b 3000k -aspect 16:9 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -maxrate 3500k -bufsize 4M -bt 256k -refs 1 -bf 3 -coder 1 -me_method umh -me_range 16 -subq 7 -partitions +parti4x4+parti8x8+partp8x8+partb8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -qcomp 0.6 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -acodec libfaac -ab 384k -ar 48000 -ac 2</params>
<extension>mp4</extension>
<category>PS3</category>
</ps3720p>
<ps3720pfs>
<label>PS3 720p Fullscreen</label>
<params>-f mp4 -r 23.976 -vcodec libx264 -s 1280x720 -b 3000k -aspect 4:3 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -maxrate 3500k -bufsize 4M -bt 256k -refs 1 -bf 3 -coder 1 -me_method umh -me_range 16 -subq 7 -partitions +parti4x4+parti8x8+partp8x8+partb8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -qcomp 0.6 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -acodec libfaac -ab 384k -ar 48000 -ac 2</params>
<extension>mp4</extension>
<category>PS3</category>
</ps3720pfs>
<qmov>
<label>Quicktime MOV</label>
<params>-f mov -acodec libfaac -b 1250k -r 25 -ab 128k -s 640x480 -ac 2 -ar 48000</params>
<extension>mov</extension>
<category>QuickTime</category>
</qmov>
<wma>
<label>WMA</label>
<params>-vn -acodec wmav2 -ab 160k</params>
<extension>wma</extension>
<category>Audio</category>
</wma>
<wmv>
<label>WMV2 Generic</label>
<params>-vcodec wmv2 -acodec wmav2 -b 1000k -ab 160k -r 25</params>
<extension>wmv</extension>
<category>WMV</category>
</wmv>
<wmv2broadband>
<label>WMV for Web Use</label>
<params>-vcodec wmv2 -acodec wmav2 -b 640k -ab 128k -r 29.97 -s 320x240</params>
<extension>wmv</extension>
<category>WMV</category>
</wmv2broadband>
<wmv2xbox360>
<label>Xbox 360</label>
<params>-vcodec wmv2 -acodec wmav2 -b 1200k -ab 160k -r 25 -s 720x480</params>
<extension>wmv</extension>
<category>WMV</category>
</wmv2xbox360>
<wmv2zune>
<label>Zune</label>
<params>-vcodec wmv2 -acodec wmav2 -b 640k -ab 128k -r 23.97 -s 320x240</params>
<extension>wmv</extension>
<category>WMV</category>
</wmv2zune>
<wmv4powerpoint>
<label>Power Point</label>
<params>-vcodec wmv2 -acodec wmav2 -aspect 4:3 -b 500k -ab 32k -ac 1 -ar 22050 -s 320x240</params>
<extension>wmv</extension>
<category>WMV</category>
</wmv4powerpoint>
<x264HQFS>
<label>MP4 Fullscreen</label>
<params>-f mp4 -r 29.97 -vcodec libx264 -s 640x480 -b 1000k -aspect 4:3 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -b 1250k -maxrate 1500k -bufsize 4M -bt 256k -refs 1 -bf 3 -coder 1 -me_method umh -me_range 16 -subq 7 -partitions +parti4x4+parti8x8+partp8x8+partb8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -qcomp 0.6 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -acodec libfaac -ab 112k -ar 48000 -ac 2</params>
<extension>mp4</extension>
<category>MPEG-4</category>
</x264HQFS>
<x264HQPSP169robertswain>
<label>PSP Widescreen</label>
<params>-f mp4 -r 29.97 -vcodec libx264 -s 480x272 -aspect 16:9 -b 1250k -maxrate 4M -bufsize 4M -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method umh -subq 6 -trellis 1 -refs 2 -bf 1 -coder 1 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 1250k -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 21 -acodec libfaac -ab 128k -ar 48000 -ac 2</params>
<extension>mp4</extension>
<category>PSP</category>
</x264HQPSP169robertswain>
<x264HQPSP43>
<label>PSP Fullscreen</label>
<params>-f mp4 -r 29.97 -vcodec libx264 -s 640x480 -aspect 4:3 -b 1250k -maxrate 4M -bufsize 4M -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method umh -subq 6 -trellis 1 -refs 2 -bf 1 -coder 1 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 1250k -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 21 -acodec libfaac -ab 128k -ar 48000 -ac 2</params>
<extension>mp4</extension>
<category>PSP</category>
</x264HQPSP43>
<x264HQWS>
<label>MP4 Widescreen</label>
<params>-f mp4 -r 29.97 -vcodec libx264 -s 704x384 -b 1000k -aspect 16:9 -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -b 1250k -maxrate 1500k -bufsize 4M -bt 256k -refs 1 -bf 3 -coder 1 -me_method umh -me_range 16 -subq 7 -partitions +parti4x4+parti8x8+partp8x8+partb8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -qcomp 0.6 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -acodec libfaac -ab 112k -ar 48000 -ac 2</params>
<extension>mp4</extension>
<category>MPEG-4</category>
</x264HQWS>
<android1>
<label>Google Android compatible video</label>
<params>-s 480x320 -vcodec mpeg4 -acodec libfaac -ac 1 -ar 16000 -r 13 -ab 32000 -aspect 3:2</params>
<extension>mp4</extension>
<category>Google Android</category>
</android1>
<android2>
<label>Google Android compatible video. Video bitrate: 480 kb/s</label>
<params>-s 480x320 -vcodec mpeg4 -b 480k -acodec libfaac -ac 1 -ar 16000 -r 13 -ab 32000 -aspect 3:2</params>
<extension>mp4</extension>
<category>Google Android</category>
</android2>
<android3>
<label>Google Android video. VHQ 16:9 widescreen</label>
<params>-s 480x272 -vcodec libx264 -b 500k -threads 0 -acodec libfaac -ab 96k</params>
<extension>mp4</extension>
<category>Google Android</category>
</android3>
<android4>
<label>Google Android video. VHQ 4:3 fullscreen</label>
<params>-s 432x320 -vcodec libx264 -b 500k -threads 0 -acodec libfaac -ab 96k</params>
<extension>mp4</extension>
<category>Google Android</category>
</android4>
<walkmanXviDFS>
<label>Xvid walkman (4:3)</label>
<params>-r 29.97 -vcodec libxvid -s 320x240 -aspect 4:3 -maxrate 1500k -b 1250k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -cmp 2 -subcmp 2 -g 300 -acodec libfaac -ar 48000 -ab 80k -ac 2</params>
<extension>mp4</extension>
<category>walkman</category>
</walkmanXviDFS>
<N810FS>
<label>Nokia N810 mplayer 4:3</label>
<params>-r 29.97 -vcodec libxvid -vtag XVID -s 400x240 -aspect 4:3 -maxrate 1200k -b 1200k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -bf 2 -cmp 2 -subcmp 2 -g 300 -acodec libmp3lame -ar 44100 -ab 160k -ac 2 -async 1</params>
<extension>avi</extension>
<category>Nokia</category>
</N810FS>
<N810WS>
<label>Nokia N810 mplayer 16:9</label>
<params>-r 29.97 -vcodec libxvid -vtag XVID -s 400x240 -aspect 16:9 -maxrate 1200k -b 1200k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -bf 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2 -g 300 -acodec libmp3lame -ar 44100 -ab 160k -ac 2 -async 1</params>
<extension>avi</extension>
<category>Nokia</category>
</N810WS>
<N810WS2>
<label>Nokia N810 mplayer CinemaScope 24:10</label>
<params>-r 29.97 -vcodec libxvid -vtag XVID -s 400x240 -aspect 24:10 -maxrate 1200k -b 1200k -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -bf 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2 -g 300 -acodec libmp3lame -ar 44100 -ab 160k -ac 2 -async 1</params>
<extension>avi</extension>
<category>Nokia</category>
</N810WS2>
<NokiaN73N81N95WS>
<label>Nokia Nxx Video WideScreen</label>
<params>-f mp4 -r 15 -vcodec mpeg4 -s 320x240 -b 320k -aspect 16:9 -acodec libfaac -ab 96k -ar 44100 -ac 2</params>
<extension>mp4</extension>
<category>Nokia</category>
</NokiaN73N81N95WS>
<NokiaN73N81N95FS>
<label>Nokia Nxx Video FullScreen</label>
<params>-f mp4 -r 15 -vcodec mpeg4 -s 320x240 -b 320k -aspect 4:3 -acodec libfaac -ab 96k -ar 44100 -ac 2</params>
<extension>mp4</extension>
<category>Nokia</category>
</NokiaN73N81N95FS>
<MP3GP128x96mono43>
<label>3GPP H.263 128x96 4:3 AAC mono</label>
<params>-r 15 -b 64k -ac 1 -s 128x96 -ar 16000 -ab 32k -acodec libfaac -vcodec h263</params>
<extension>3gp</extension>
<category>Mobile Phones</category>
</MP3GP128x96mono43>
<MP3GP176x144mono43>
<label>3GPP H.263 176x144 4:3 AAC mono</label>
<params>-r 15 -b 64k -ac 1 -s 176x132 -padtop 6 -padbottom 6 -ar 16000 -ab 32k -acodec libfaac -vcodec h263</params>
<extension>3gp</extension>
<category>Mobile Phones</category>
</MP3GP176x144mono43>
<MP3GP176x144mono169C>
<label>3GPP H.263 176x144 16:9 crop AAC mono</label>
<params>-r 15 -b 64k -ac 1 -s 256x144 -cropleft 40 -cropright 40 -ar 16000 -ab 32k -acodec libfaac -vcodec h263</params>
<extension>3gp</extension>
<category>Mobile Phones</category>
</MP3GP176x144mono169C>
<MP3GP176x144mono169L>
<label>3GPP H.263 176x144 16:9 letterbox AAC mono</label>
<params>-r 15 -b 64k -ac 1 -s 176x100 -padtop 22 -padbottom 22 -ar 16000 -ab 32k -acodec libfaac -vcodec h263</params>
<extension>3gp</extension>
<category>Mobile Phones</category>
</MP3GP176x144mono169L>
<MP3GP320x240stereo43>
<label>3GPP H.264 320x240 4:3 AAC stereo</label>
<params>-r 15 -b 128k -s 320x240 -ar 22050 -ab 64k -acodec libfaac -vcodec libx264 -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0</params>
<extension>3gp</extension>
<category>Mobile Phones</category>
</MP3GP320x240stereo43>
<MP3GP320x240stereo169C>
<label>3GPP H.264 320x240 16:9 crop AAC stereo</label>
<params>-r 15 -b 128k -s 426x240 -cropleft 52 -cropright 54 -ar 22050 -ab 64k -acodec libfaac -vcodec libx264 -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0</params>
<extension>3gp</extension>
<category>Mobile Phones</category>
</MP3GP320x240stereo169C>
<MP3GP320x240stereo169L>
<label>3GPP H.264 320x240 16:9 letterbox AAC stereo</label>
<params>-r 15 -b 128k -s 320x180 -padtop 30 -padbottom 30 -ar 22050 -ab 64k -acodec libfaac -vcodec libx264 -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0</params>
<extension>3gp</extension>
<category>Mobile Phones</category>
</MP3GP320x240stereo169L>
<MPEG4VideoHQ>
<label>MPEG-4 H.264 video (high quality)</label>
<params>-crf 35.0 -vcodec libx264 -acodec libfaac -ar 48000 -ab 128k -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0</params>
<extension>mp4</extension>
<category>MPEG-4</category>
</MPEG4VideoHQ>
<MPEG4VideoVHQ>
<label>MPEG-4 H.264 video (very high quality)</label>
<params>-crf 25.0 -vcodec libx264 -acodec libfaac -ar 48000 -ab 160k -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0</params>
<extension>mp4</extension>
<category>MPEG-4</category>
</MPEG4VideoVHQ>
<MPEG4VideoSHQ>
<label>MPEG-4 H.264 video (super high quality)</label>
<params>-crf 15.0 -vcodec libx264 -acodec libfaac -ar 48000 -ab 192k -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0</params>
<extension>mp4</extension>
<category>MPEG-4</category>
</MPEG4VideoSHQ>
<qmovhq>
<label>QuickTime H.264 video (high quality)</label>
<params>-crf 35.0 -vcodec libx264 -acodec libfaac -ar 48000 -ab 128k -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0</params>
<extension>mov</extension>
<category>QuickTime</category>
</qmovhq>
<qmovvhq>
<label>QuickTime H.264 video (very high quality)</label>
<params>-crf 25.0 -vcodec libx264 -acodec libfaac -ar 48000 -ab 160k -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0</params>
<extension>mov</extension>
<category>QuickTime</category>
</qmovvhq>
<qmovshq>
<label>QuickTime H.264 video (super high quality)</label>
<params>-crf 15.0 -vcodec libx264 -acodec libfaac -ar 48000 -ab 192k -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0</params>
<extension>mov</extension>
<category>QuickTime</category>
</qmovshq>
<tuna-Vids>
<label>Tuna-vIDS</label>
<params>-f avi -r 10 -s 256x192 -b 192k -bt 64k -vcodec libxvid -deinterlace -acodec libmp3lame -ar 32000 -ab 96k -ac 2</params>
<extension>avi</extension>
<category>Tuna-Vids</category>
</tuna-Vids>
<BRAVIAvga>
<label>Sony Bravia mpeg1 640x480</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg1video -s vga -b 640k -strict -1</params>
<extension>mpg</extension>
<category>Bravia</category>
</BRAVIAvga>
<BRAVIAwide>
<label>Sony Bravia mpeg1 640x360</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg1video -s 640x360 -b 640k -strict -1</params>
<extension>mpg</extension>
<category>Bravia</category>
</BRAVIAwide>
<BRAVIAsmall>
<label>Sony Bravia mpeg1 320x240</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg1video -s 320x240 -b 480k -strict -1</params>
<extension>mpg</extension>
<category>Bravia</category>
</BRAVIAsmall>
<BRAVIAsmWide>
<label>Sony Bravia mpeg1 320x180</label>
<params>-acodec libmp3lame -ab 128k -ar 44100 -vcodec mpeg1video -s 320x180 -b 480k -strict -1</params>
<extension>mpg</extension>
<category>Bravia</category>
</BRAVIAsmWide>
</presets>

bodhi.zazen
March 17th, 2011, 10:55 PM
In the future, please post long output like that as an attachment (in a text file).

mysoogal
March 17th, 2011, 11:04 PM
In the future, please post long output like that as an attachment (in a text file).

what is the tag for long posts ? sorry to ask i only see quote and code i wasn't sure if I'm allowed to use text as my Firefox kept closing browser down

bodhi.zazen
March 17th, 2011, 11:07 PM
When posting a reply, scroll down, see the "manage attachments" dialog ?

Add it as a text attachment (you need to save it as a text file first).

heyup
March 17th, 2011, 11:14 PM
I got problem on the FFmpeg install (Hardy Heron 8.04) at step 8 at the Debian package creation stage. It failed to build the package.

I got this after completing step 8:

dpkg-deb - error: (upstream) version (`UNKNOWN') doesn't contain any digits
dpkg-deb: 1 errors in control file

Hit q key to quit. That gave Debian package creation results in 'Installation successful'. But then I got this at the end:

grep: /var/tmp/CGSfQpQcEYOUYAJTqYmmW/newfile: No such file or directory

Copying files to the temporary directory...OK

Stripping ELF binaries and libraries...OK

Compressing man pages...OK

Building file list...OK

Building Debian package... FAILED!

*** Failed to build the package

Do you want to see the log file? [y]: y

Erasing temporary files...OK

Deleting doc-pak directory...OK

Deleting temp dir...OK

richard@base-desktop:~/ffmpeg$

FFmpeg does not appear in Synaptic. How do I fix this?

FakeOutdoorsman
March 18th, 2011, 01:08 AM
FFmpeg does not appear in Synaptic. How do I fix this?

It appears that Hardy's Git client is too old. I thought I tested Hardy after I changed the pkgversion for all of the guides but I must have forgotten to actually test it. Try this instead:

cd ~/ffmpeg
sudo checkinstall --pkgname=ffmpeg --pkgversion="4:git-$(date +%Y%m%d)" --backup=no --deldoc=yes --default
I did test this one. Doesn't retrieve any Git hashes for pkgversion, but I doubt it really matters to most people.

bitrin
March 18th, 2011, 01:25 AM
Thanks for the guide; helped me a lot!

heyup
March 18th, 2011, 10:28 AM
cd ~/ffmpeg
sudo checkinstall --pkgname=ffmpeg --pkgversion="4:git-$(date +%Y%m%d)" --backup=no --deldoc=yes --default
I did test this one. Doesn't retrieve any Git hashes for pkgversion, but I doubt it really matters to most people.

That worked for me. Debian package now installed. Thank you.

FakeOutdoorsman
March 21st, 2011, 10:10 PM
Interesting news: FFmpeg-mt (http://gitorious.org/ffmpeg/ffmpeg-mt), the multithreaded decoding branch, has been merged into FFmpeg today.

jwcalla
March 21st, 2011, 10:14 PM
Interesting news: FFmpeg-mt (http://gitorious.org/ffmpeg/ffmpeg-mt), the multithreaded decoding branch, has been merged into FFmpeg today.

Holy crap I just soiled my drawers. This means theoretically when the next build comes out I can undo all of my hacked-up ffmpeg / mplayer / smplayer stuff and go back to getting the latest stuff from repos.

A possible consequence of this is that mkv ordered chapters will be coming to XBMC soon?

ron999
March 21st, 2011, 10:44 PM
Interesting news: FFmpeg-mt (http://gitorious.org/ffmpeg/ffmpeg-mt), the multithreaded decoding branch, has been merged into FFmpeg today.

Hi
When I compile mplayer2 from their git it allows use of ffmpeg-mt.
But because my CPU isn't multithread I can opt out by using ./disable-mt.

When I next build ffmpeg from the videolan git, will I be able to opt out?
And if so, how?

qyot27
March 21st, 2011, 10:52 PM
A possible consequence of this is that mkv ordered chapters will be coming to XBMC soon?
I wouldn't bet on it. The ordered chapters branch of ffmpeg is outdated* (and had nothing to do with MT anyway), and from what I can remember there was/is resistance to the concept from the ffmpeg devs because of the way the files have to be accessed - the argument is that it constitutes a security hazard, but I don't know if this has been hashed out further since then. The support for them in MPlayer2 is internal, not through ffmpeg.

*and when I say 'outdated', I mean that it breaks in all sorts of ways after January 30, 2010 - it actually cannot be cleanly merged upstream to the current master. The branch code itself hasn't been updated since September 12th, 2009.


If anything on the ordered chapters front changes, expect there to be posts on ffmpeg's mailing list about it. Currently, there are none, and haven't been since early 2009 (insofar as gmane's ffmpeg-devel search results show).

jwcalla
March 21st, 2011, 11:23 PM
I wouldn't bet on it. The ordered chapters branch of ffmpeg is outdated* (and had nothing to do with MT anyway), and from what I can remember there was/is resistance to the concept from the ffmpeg devs because of the way the files have to be accessed - the argument is that it constitutes a security hazard, but I don't know if this has been hashed out further since then. The support for them in MPlayer2 is internal, not through ffmpeg.

*and when I say 'outdated', I mean that it breaks in all sorts of ways after January 30, 2010 - it actually cannot be cleanly merged upstream to the current master. The branch code itself hasn't been updated since September 12th, 2009.


If anything on the ordered chapters front changes, expect there to be posts on ffmpeg's mailing list about it. Currently, there are none, and haven't been since early 2009 (insofar as gmane's ffmpeg-devel search results show).

Cripes.

I haven't heard yet if XBMC is going to stay with ffmpeg or go with the new libav spin-off. Though if I had to guess I would expect that the spin-off isn't going to actually contribute anything positive to the efforts; rather, it'll just add to the confusion of having 3 million different versions of sub-par playback solutions on linux.

I hadn't realized there was an MPlayer2. Maybe I'll use that instead.

ron999
March 21st, 2011, 11:36 PM
I hadn't realized there was an MPlayer2. Maybe I'll use that instead.
Here it is:- http://www.mplayer2.org/

qyot27
March 22nd, 2011, 08:31 AM
Cripes.

I haven't heard yet if XBMC is going to stay with ffmpeg or go with the new libav spin-off. Though if I had to guess I would expect that the spin-off isn't going to actually contribute anything positive to the efforts; rather, it'll just add to the confusion of having 3 million different versions of sub-par playback solutions on linux.
Thing is, 'libav' wasn't the one to commit -mt; the videolan repo was. And from my understanding of it, the videolan repo does rely pretty heavily on the work done in 'libav' - just compare the commit times for changes they share. The commits to the videolan repo are practically always later than the ones to 'libav'. There will of course be divergences, but whether they'll accumulate to the level of project speciation is anybody's guess.


I hadn't realized there was an MPlayer2. Maybe I'll use that instead.
You had commented on it here:
http://ubuntuforums.org/showpost.php?p=10487463&postcount=1535



On the upside, it seems some of that encoding functionality has started to coalesce. I'm going to have to try that and see how I like it compared to mencoder.

jwcalla
March 22nd, 2011, 04:21 PM
You had commented on it here:
http://ubuntuforums.org/showpost.php?p=10487463&postcount=1535


Wow. I really am losing my mind.

sbmmm
March 24th, 2011, 03:18 PM
Install qt-faststart (optional)
8. This is a useful tool included with FFmpeg that rearranges a file with H.264 video, "such that the moov atom is in front of the data, thus facilitating network streaming". Basically, it allows web movies to start playing before they are completely downloaded. Usage: qt-faststart input.foo output.foo.

cd ~/ffmpeg
make tools/qt-faststart
sudo checkinstall --pkgname=qt-faststart --pkgversion="$(./version.sh)" --backup=no \
--deldoc=yes --default install -D -m755 tools/qt-faststart /usr/local/bin/qt-faststart


My previous sysadmin installed ffmpeg, x264, etc, and was supposed to install qt-faststart, but it looks like my install is not correct. I'm not sure...

Under ffmpeg/tools/ there is a qt-faststart.c file, but the actual file in /usr/local/bin/qt-faststart is not there. I wondered if he installed it anywhere else, so, in root I used the ssh "find" command for -iname "qt-faststart*" and it only returned the qt-faststart.c location.

What to do now? Do I need to remove and re-install? Or just install a "piece?"

Any suggestions? Thanks.

Thund3rstruck
March 24th, 2011, 03:54 PM
This guide is friggin outstanding! I was pulling my hair out trying to figure out why my zenity MP4->MP3 conversion script that I wrote on Fedora 14 worked perfectly but crashes on Linux Mint 9 and it turned out that MP3 support doesn't come with the ubuntu version of FFMPEG.

Thanks!

FakeOutdoorsman
March 24th, 2011, 08:13 PM
My previous sysadmin installed ffmpeg, x264, etc, and was supposed to install qt-faststart, but it looks like my install is not correct. I'm not sure...

What to do now? Do I need to remove and re-install? Or just install a "piece?"

Any suggestions? Thanks.
qt-faststart can be installed by itself without having to mess with your FFmpeg install. Just follow the Install qt-faststart section of the guide.


Thanks!
I'm glad it helped you out.

MrPotter
March 25th, 2011, 07:34 PM
Hello,

i got the following error during configuration of ffmpeg:


./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc \
> --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \
> --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis \
> --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab

ERROR: libx264 not found

libx264 was in the previous step successfully compiled and installed as desscribed in the tutorial. I use Ubuntu 10.10 with Kernel 2.6.35-28-generic. Here is the config.log produced by ffmpeg: http://pastebin.com/kSiEQeYf

MrPotter

FakeOutdoorsman
March 25th, 2011, 08:02 PM
This is a known issue from a recent commit and will hopefully be resolved by the developers soon.

Benjy1979
April 1st, 2011, 09:28 PM
Hi thanks for writing this, it was a great help.

At first I forgot to add teh vpx libraries, but I went back and remove to compile again with teh --enable-libvpx in the ./configuration step.

However, I'm getting linker errors on lucid lynx about undefined externals to do with vd-pau... right at the end of the compile at ffmpeg_g.

LD ffmpeg_g
/home/ben/ffmpeg/libavcodec/libavcodec.a(mpeg12.o): In function `decode_chunks':
/home/ben/ffmpeg/libavcodec/mpeg12.c:2335: undefined reference to `ff_vdpau_mpeg_picture_complete'
/home/ben/ffmpeg/libavcodec/libavcodec.a(allcodecs.o): In function `avcodec_register_all':
/home/ben/ffmpeg/libavcodec/allcodecs.c:60: undefined reference to `ff_mpeg1_vdpau_hwaccel'
/home/ben/ffmpeg/libavcodec/allcodecs.c:63: undefined reference to `ff_mpeg2_vdpau_hwaccel'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1
ben@ben-desktop:~/ffmpeg$ ^C
ben@ben-desktop:~/ffmpeg$

Any suggestions?

andrew.46
April 1st, 2011, 11:04 PM
Broken here too :(.

FakeOutdoorsman
April 1st, 2011, 11:18 PM
A recent commit (http://git.videolan.org/?p=ffmpeg.git;a=commit;h=9b7a0c5d886223802df54b754 caf75b6e125e76f) broke compilation. It appears that it will fail if libvdpau-dev isn't installed. Also occurs on other distros.

Options to fix this:

Installing libvdpau-dev may allow it to compile normally
Or you can try again tomorrow because it will probably be fixed by then
Or you can sync to an earlier commit

For reference I'll show how to use an earlier commit (you can view commit hashes on the FFmpeg Git (http://git.videolan.org/?p=ffmpeg.git;a=summary) site):

cd ~/ffmpeg
make distclean
git checkout e7c7b0d000e81d24327602e04d8fed400dbb7193
Then do your configure, make, checkinstall. Once FFmpeg is installed you can go back to the "master" Git branch:

cd ~/ffmpeg
make distclean
git checkout master
git pull
I'm not sure if my Git terminology is quite correct as I'm still figuring Git out.

andrew.46
April 2nd, 2011, 05:55 AM
I'm not sure if my Git terminology is quite correct as I'm still figuring Git out.

I share your pain :(. I read a quote about git once that said Linus Torvalds had created a version control system that only he was intelligent enough to understand...

qyot27
April 2nd, 2011, 07:41 AM
If I'm understanding this commit correctly,
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=ecf94986c8ba7c9fb4f674ee9 3e3be5f73d8ccdd

All that's needed is --disable-vdpau. For those that don't have a compatible Nvidia card or just don't want to bother with hardware accel, that's probably the easiest option. Unless normal compilation has already been fixed, too.

Benjy1979
April 2nd, 2011, 05:58 PM
I got this working by actually installing the vdpau library. But disabling it may well work as well.

Thank you for posting in reply to this.

andrew.46
April 2nd, 2011, 10:48 PM
I got this working by actually installing the vdpau library. But disabling it may well work as well.

After the fix I am compiling successfully without the vdpau libraries and without specifying --disable-vdpau.

robdocmagic
April 3rd, 2011, 08:15 PM
Hi,

First of all this thread is awesome, and your instructions were pefect :)

I would like to enable freetype so I can put text watermarks on my final video.

I downloaded freetype2 (it looks like freetype 1 is no longer supported), ran ./configure, make, and make install -- and it appears that everything compiled and installed nicely. I am not sure if I needed to download and build it all, but I think so.

Then I go back to rebuild the ffmpeg, and added --enable-libfreetype to the end so that it appears like this:

./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-libfreetype

When I run it I get:

/configure: 1: pkg-config: not found
ERROR: libfreetype not found

FWIW, the last few lines of the config.log:

gcc -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.TpBNmMQf.o /tmp/ffconf.TtyRey6H.c
In file included from /tmp/ffconf.TtyRey6H.c:1:
/usr/local/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
ERROR: libfreetype not found

Any help would be greatly appreciated :)

-Rob


--- EDITED TO ADD:

I think I solved it, another thread said to add a soft link:

http://ubuntuforums.org/showthread.php?t=1396493&highlight=ftheader.h

And it looks like that solved my problem.

FakeOutdoorsman
April 3rd, 2011, 10:00 PM
I would like to enable freetype so I can put text watermarks on my final video.
I'm not sure what version of Ubuntu you're using, so I'll assume Maverick. To enable freetype support in FFmpeg you need to install the freetype development package:

sudo apt-get install libfreetype6-dev
Then add --enable-libfreetype to your ./configure as you've already done.
Usage example:


ffmpeg -i input -vf drawtext=fontfile=/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf:text='Example Text':fontsize=48:fontcolor=green output



--- EDITED TO ADD:
I think I solved it, another thread said to add a soft link:

http://ubuntuforums.org/showthread.php?t=1396493&highlight=ftheader.h

And it looks like that solved my problem.
Unfortunately, this is sort of a messy solution if it works. I recommend deleting the symlink and following my instructions above. FFmpeg didn't have any issues finding libfreetype in my test.

robdocmagic
April 3rd, 2011, 11:15 PM
Thanks for your quick response.. Configured and compiled no problem.. I will try the actual usage tonight but I am sure it will work great :)

robdocmagic
April 4th, 2011, 01:59 AM
Ok, worked great!

I do have one more question, is it possible to add 2 or more text's to the image? I would like to put something in the top left and the bottom right (dynamic text generated at conversion time).

I tried adding two -vf drawtext=<params> -vf drawtext=<params2>, but it appears that my second one "wins" (and my first is lost). I was not sure if I needed 1 drawtext but maybe seperated by a ; or something like that..

Thanks!

FakeOutdoorsman
April 4th, 2011, 02:15 AM
Filters are separated by a comma:

-vf yadif,scale,drawtext,drawtext
See the drawtext section in man ffmpeg for additional options for this filter.

robdocmagic
April 4th, 2011, 03:46 AM
Filters are separated by a comma:

-vf yadif,scale,drawtext,drawtext
See the drawtext section in man ffmpeg for additional options for this filter.

It's working perfectly. I have multiple drawtexts going.

I do have one last question then I am on my way.. In the text I would like to have either comma's or colons but it appears that both of these characters are used for parsing the parameters of the filter. I tried putting a \ in front of them \, or \: and I also have the text in "quotes"

...:text="Day: 1, Group: 1, Team: 1":.....

Is there anything I can do to use these characters in the text of the drawtext?

FakeOutdoorsman
April 4th, 2011, 04:24 AM
Is there anything I can do to use these characters in the text of the drawtext?
Try wrapping all filters in double-quotes and the escaping the (semi-)colons.

-vf "drawtext=...text='Example,\;\: Text'..."

robdocmagic
April 4th, 2011, 05:36 AM
Try wrapping all filters in double-quotes and the escaping the (semi-)colons.

-vf "drawtext=...text='Example,\;\: Text'..."

Yup, worked like a charm. Wow!! Awesome.

Ok, now one more thing and then I am done with this beast.

I am setting the font to be 11 point font, but when it's rendered on the video the result is a lot smaller than an 11 point font. I did some research, looked through the man pages for this feature and my guess is that somehow the fonts are being scaled based on the video resolution (just a guess).

I believe that I need to pass in some combination of the ft_load_flags (the default being render). I pass in no_scale but when I do that, all of my text disappears (e.g it's not rendered). So I am thinking that I need to pass in both no_scale and render -- or some type of combination so it will keep the exact font size.

I need this because I am computing the width of the text within PHP and calculate the X and Y (so the text will be in the correct position)

So my questions are:

1) Do you know the correct flags that would keep the font size what I specify.
2) Do you know the correct syntax to pass in multiple flags. I can try different combinations and see if I can figure it out.

Thanks again for your time and your help.

FakeOutdoorsman
April 4th, 2011, 05:49 AM
Sorry, but this is beyond my experience with drawtext. You could ask in the #ffmpeg IRC channel or the ffmpeg-user (http://ffmpeg.org/contact.html) mailing list, but in general it seems the mailing list is a better place for filter related questions.

FakeOutdoorsman
April 4th, 2011, 07:39 PM
I did a quick test in Natty 11.04 and it appears that FFmpeg is now able to find static x264 with no issues. I'll update the guide before the final release.

verb3k
April 4th, 2011, 08:40 PM
Try wrapping all filters in double-quotes and the escaping the (semi-)colons.

-vf "drawtext=...text='Example,\;\: Text'..."

Also, you can use strong quoting 'filter,filter...'. This way you won't need to escape the colon characters.

heyup
April 5th, 2011, 12:03 PM
I got an error when installing qt-faststart (on Hardy Heron):


dpkg-deb - error: (upstream) version (`UNKNOWN') doesn't contain any digits
dpkg-deb: 1 errors in control file

Installation shown as successful, but debian package failed. When I hit q key to escape got this at end:


Building file list...OK
Building Debian package... FAILED!
*** Failed to build the package
Do you want to see the log file? [y]: y
Erasing temporary files...OK
Deleting doc-pak directory...OK
Deleting temp dir...OK

Seems to be related to unknown version of ffmpeg:


:~/ffmpeg$ ffmpeg
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Mar 31 2011 12:45:43 with gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu4)

FakeOutdoorsman
You may recall this from a couple of weeks ago:

http://ubuntuforums.org/showpost.php?p=10571910&postcount=1566

Can a known version of ffmpeg be built using Hardy Heron?

qyot27
April 5th, 2011, 01:11 PM
Seems to be related to unknown version of ffmpeg:



FakeOutdoorsman
You may recall this from a couple of weeks ago:

http://ubuntuforums.org/showpost.php?p=10571910&postcount=1566

Can a known version of ffmpeg be built using Hardy Heron?

The issue is that during the ffmpeg compilation process, Git is used to generate the internal version number that ffmpeg displays and reports to the system. Hardy's version of Git is too old to do this correctly, meaning that the internal versioning will not work, producing a version tag of UNKNOWN. It's not that the version of ffmpeg is 'unknown' (it's the same version everyone else is compiling); it's only 'unknown' since Git is failing to generate the version number. This then seems to create a problem with stuff like qt-faststart that apparently rely on ffmpeg's internal versioning.

The only way to fully fix this issue is to have & use a newer version of Git. Whether by finding a PPA with one (anyone have an idea if Backports has a proper Git?), compiling it yourself, or by ditching Hardy and using a newer version of Ubuntu itself. If you're focused on Long Term Support releases, that's what Lucid (10.04) is.

It would seem that Hardy's version of Git can be upgraded through this PPA:
https://launchpad.net/~git-core/+archive/ppa

Basically, do the following:

sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get upgrade



To illustrate the point though, issue the following command when inside ffmpeg's directory:

echo $(./version.sh)
If it gives you 'UNKNOWN', that's the problem. I suppose it could be possible to adjust version.sh to work with older versions of Git, but that's not as elegant a solution as just making sure that Git is properly updated.

I also suppose you could change the pkgversion command for qt-faststart to the same "git-$(date +%Y%m%d)" syntax as the adjusted ffmpeg command uses. I don't know if the package prefix needs to be there, though.

heyup
April 5th, 2011, 04:52 PM
The only way to fully fix this issue is to have & use a newer version of Git.

It would seem that Hardy's version of Git can be upgraded through this PPA:

https://launchpad.net/~git-core/+archive/ppa

That worked for me.

I now have known version of ffmpeg and qt-faststart installed OK.

Thank you for explaining the problem and sorting a fix.

robdocmagic
April 5th, 2011, 05:40 PM
Hi Again :)

I am converting a MTS file to MP4 for use on my iPad.


nice -n 19 /usr/local/bin/ffmpeg -i in.mts -y -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -vpre slow -crf 22 -threads 0 -s 1280x720 out.mp4

When I do a smaller resolution, it works great. However, when I move to 1280x720 iTunes gives me an error that it cannot be played on this iPad.

In some research it's saying that movies tagged in the MP4 metadata as level 4.1 or higher won't be synced (this is about the limit of what I understand).

Does anyone know how to address this and/or create MP4 files (high def 1280x720) for their iPads?

Thanks!

FakeOutdoorsman
April 5th, 2011, 07:49 PM
I got an error when installing qt-faststart (on Hardy Heron

I added qt-faststart instructions to the Hardy guide. I just added the current date to the pkgversion. A little simpler than a new Git, but that works too.

Another option would be to copy the qt-faststart binary into ~/bin and then add that directory to your $PATH, but I like giving the option of adding it to the package management system.


Does anyone know how to address this and/or create MP4 files (high def 1280x720) for their iPads?
I have little experience with iDevices, but maybe something like this will work:

ffmpeg -i in -y -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -vpre slow -vpre ipod640 -level 31 -crf 22 -threads 0 -s 1280x720 out.mp4

dangmc
April 8th, 2011, 04:24 PM
I would like to share my solution to the problem of installing restricted presets in Winff. After spending about 3 hours with this with no success (used steps 1, 2, 3), seems after adding 'libavcodec-extra-52'it still wasn't recognized by winff even after removing old presets. (presets.xml) in both ./winff and usr/share/winff folders. My solution was to open 'nautilus' as root and rename the new preset files in both folders to: 'presets.xml'. worked! :o
Just want to let everybody know I spoke too soon-even though the extended preset list is present the program now doesn't work.
error: 'playff not found' or something similar. If anybody has an idea I would appreciate it. I compiled ffmpeg from source, tried to download from medibuntu, (doesn't seem to be available for maverick)

Ubuntu 10.10 amd64

andrew.46
April 13th, 2011, 01:28 PM
I see two very interesting encoders have arrived in FFmpeg with very little fanfare: a new aac encoder and finally an amr-wb encoder, both as external libraries. This page shows the location of vo-amrwbenc and vo-aacenc:

http://sourceforge.net/projects/opencore-amr/files/

when compiled and installed FFmpeg, with the appropriate ./configure options, shows for vo-amrwbenc:



andrew@skamandros~$ ffmpeg -codecs | grep 'vo-amrwbenc'
FFmpeg version git-N-29078-gf521746, Copyright (c) 2000-2011 the FFmpeg developers
built on Apr 13 2011 21:52:54 with gcc 4.5.2
configuration: --prefix=/usr --mandir=/usr/man --enable-postproc --enable-avfilter --enable-pthreads --enable-shared --disable-static --disable-ffserver --enable-libvorbis --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-libvpx --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libvo-aacenc --enable-libfreetype --enable-nonfree --enable-gpl --enable-version3
libavutil 50. 40. 1 / 50. 40. 1
libavcodec 52.119. 0 / 52.119. 0
libavformat 52.106. 0 / 52.106. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 78. 0 / 1. 78. 0
libswscale 0. 13. 0 / 0. 13. 0
libpostproc 51. 2. 0 / 51. 2. 0
EA libvo_amrwbenc libvo-amrwbenc Adaptive Multi-Rate (AMR) Wide-Band


and for vo-aacenc:



andrew@skamandros~$ ffmpeg -codecs | grep 'vo-aacenc'
FFmpeg version git-N-29078-gf521746, Copyright (c) 2000-2011 the FFmpeg developers
built on Apr 13 2011 21:52:54 with gcc 4.5.2
configuration: --prefix=/usr --mandir=/usr/man --enable-postproc --enable-avfilter --enable-pthreads --enable-shared --disable-static --disable-ffserver --enable-libvorbis --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-libvpx --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libvo-aacenc --enable-libfreetype --enable-nonfree --enable-gpl --enable-version3
libavutil 50. 40. 1 / 50. 40. 1
libavcodec 52.119. 0 / 52.119. 0
libavformat 52.106. 0 / 52.106. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 78. 0 / 1. 78. 0
libswscale 0. 13. 0 / 0. 13. 0
libpostproc 51. 2. 0 / 51. 2. 0
EA libvo_aacenc libvo-aacenc AAC


The aac encoder seems at least usable with reasonable sound quality on my humble setup and the amr-wb encoder works well. I have produced and placed a sample amr-wb file (my first!) here for any interested people:


wget http://www.andrews-corner.org/tmp/luckynight.amr

For those not familiar with the fairly rigid constraints of amr-wb a typical commandline is as follows:



ffmpeg -i input.file \
-acodec libvo_amrwbenc \
-ar 16000 -ac 1 -ab 23.85k \
output.amr


Interesting times :)

FakeOutdoorsman
April 13th, 2011, 06:56 PM
Thanks, Andrew. Now there are three AAC encoders to choose from that FFmpeg can utilize. I'm going to make build scripts (like a slackbuild) on my other distro for these external libraries because I feel like procrastinating on a project which I don't want to deal with.

vitorsouza
April 13th, 2011, 09:44 PM
Hello there,

Nice HOWTO. Any tips for Ubuntu 11.04 (Natty)? I'm using the beta and when I try to convert a video like this:

ffmpeg -i video.avi -an -pass 1 -vcodec libx264 -vpre slow_firstpass -b 512k -bt 512k -threads 0 video.mp4

I get an error:

Unknown encoder 'libx264'

Can I follow the same instructions that are given for Maverick?

Thanks,
- Vítor Souza

andrew.46
April 13th, 2011, 09:47 PM
Thanks, Andrew. Now there are three AAC encoders to choose from that FFmpeg can utilize. I'm going to make build scripts (like a slackbuild) on my other distro for these external libraries because I feel like procrastinating on a project which I don't want to deal with.

Great minds think alike, I have a 3000 word assignment due soon on the Partition of India so I spent most of an evening packaging these 2 external libraries and then experimenting with them :).

FakeOutdoorsman
April 13th, 2011, 10:27 PM
Can I follow the same instructions that are given for Maverick?

Yes, the Maverick instructions should work fine on an updated Natty.

searler
April 14th, 2011, 12:25 AM
Hi,
I am using Lucid and trying to follow the steps. I get a problem from checkinstall on the x264 make :
/usr/bin/installwatch: line 322: /var/tmp/tmp.UBgwQpdnfl/installscript.sh: Permission denied

/var/tmp has the usually expected permissions :
drwxrwxrwt 3 root root 80 2011-04-14 11:19 tmp

Any ideas on how to work round this.

Thanks

FakeOutdoorsman
April 14th, 2011, 03:22 AM
I can't duplicate this issue. Did you follow the guide for Lucid?
Install FFmpeg and x264 on Ubuntu Lucid Lynx 10.04 (http://ubuntuforums.org/showpost.php?p=9868359&postcount=1289)

What happens if you add --fstrans=no to the checkinstall line?

This might be a dumb question, but are you sure you're using Lucid? You can find out with:

lsb_release -cs

Also, you generally don't need to post the same question twice on the forums.

cor2y
April 14th, 2011, 11:50 PM
whats the deal with this ffmpeg fork libav and how will it affect compiling other software?

FakeOutdoorsman
April 15th, 2011, 12:09 AM
The libav about page (http://libav.org/about.html) has some info on why it was formed from their point of view (although I didn't read the whole thing being tl;dr).

Some projects may claim to support or prefer FFmpeg or libav. Other than that I don't know how it will affect the compiling of stuff that uses FFmpeg or libav. Right now the differences aren't that great for the general user, in my opinion, especially because FFmpeg merges many of libav's commits, and libav cherry-picks stuff they like from FFmpeg.

Personally, I've just been using FFmpeg because at a certain time it had a few bugs fixed that libav didn't and the developers seem friendlier to me. I'm also not convinced that a fork was the only or best solution for both sides.

andrew.46
April 15th, 2011, 01:25 AM
whats the deal with this ffmpeg fork libav and how will it affect compiling other software?

Some implications for MPlayer certainly, not the least being that the dispute has been at least in part responsible for a fracture amongst the MPlayer developers and upcoming loss of the MPlayer server.

d3v1150m471c
April 15th, 2011, 01:34 AM
i'm almost certain all you'd have to do is the following to get ffmpeg with x264 support:


sudo wget –output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get –quiet update && sudo apt-get –yes –quiet –allow-unauthenticated install medibuntu-keyring && sudo apt-get –quiet update

qyot27
April 15th, 2011, 01:38 AM
I've been wondering - is there a way to see only the unique commits on FFmpeg main and libav branches? In other words, omit all the commits shared between them, and display just those which show their differences. That would easily show any strong divergence that might occur without having to dig through the git shortlog.

FakeOutdoorsman
April 15th, 2011, 03:58 AM
i'm almost certain all you'd have to do is the following to get ffmpeg with x264 support:


sudo wget –output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get –quiet update && sudo apt-get –yes –quiet –allow-unauthenticated install medibuntu-keyring && sudo apt-get –quiet update





Looks very similar to Option C in:
HOWTO: Easily enable MP3, MPEG4, AAC, and other restricted encoders in FFmpeg (http://ubuntuforums.org/showthread.php?t=1117283)

...which works fine for many people, but provides an outdated x264 and FFmpeg. This thread is about compiling x264 and FFmpeg to get the latest features, bug fixes, and to customize these packages to your preference.


I've been wondering - is there a way to see only the unique commits on FFmpeg main and libav branches?

A good question. I will investigate.

vitorsouza
April 15th, 2011, 08:43 AM
Yes, the Maverick instructions should work fine on an updated Natty.

Hi there,

I ran into a problem with ffmpeg's version number. Seems like dpkg is now (on Ubuntu Natty) enforcing that version numbers start with digits. When I try the command:

sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(./version.sh)" --backup=no --deldoc=yes --fstrans=no --default

It says: "version number does not start with digit".

I managed to work around this by editing the version.sh file in the ffmpeg folder based on the one that comes with x264, which didn't present the problem. I changed ffmpeg/version.sh to look like this:


#!/bin/sh

git rev-list HEAD | sort > config.git-hash
LOCALVER=`wc -l config.git-hash | awk '{print $1}'`
VER="$LOCALVER-$(git rev-list HEAD -n 1 | cut -c 1-7)-git-N"
echo $VER


So instead of outputting version git-N-29123-g256c5b0, it outputs 29124-256c5b0-git-N, thus starting with a digit. Now the checkinstall command worked.

I don't know if this is not the appropriate way to go or if it will bring problems to me in the future, but so far it seems to have solved the dpkg issue...

Thanks again for the great HOWTO! Hopefully now I'll be able to convert AVIs to MP4s again. :)

- Vítor

OpenThinking
April 15th, 2011, 12:33 PM
Thanks for this great post! :D

I had problems compiling ffmpeg because I hadn't the latest libvpx.
ERROR: libvpx encoder version must be >=0.9.6

Solution: Download and compile the libvpx source before compiling ffmpeg:
http://code.google.com/p/webm/downloads/list


cd ~/libvpx-v0.9.6
make && install

andrew.46
April 15th, 2011, 01:25 PM
This was altered 3 days ago (http://git.videolan.org/?p=ffmpeg.git;a=commit;h=8eeed0db05966e94bfff53b20 10b8c7d4e52e3f9); you might be better to us checkinstall for this installation... and perhaps ./configure as well :).

FakeOutdoorsman
April 15th, 2011, 09:06 PM
I had problems compiling ffmpeg because I hadn't the latest libvpx.
ERROR: libvpx encoder version must be >=0.9.6

Thanks for the update. I haven't noticed the new minimum requirement. I've updated the Maverick guide by simply removing all mentions of libvpx since the guide is focused on x264. Does anyone actually encode with libvpx? If so I can add libvpx compile instructions.

See the Lucid guide for instructions to compile recent libvpx:
Install FFmpeg and x264 on Ubuntu Lucid Lynx 10.04 (http://ubuntuforums.org/showpost.php?p=9868359&postcount=1289)

mathieg2
April 15th, 2011, 10:04 PM
How do I get some more speed out of my phenom X6 processor (1090T) for ffmpeg?
I'm only getting 95 fps - and I got that with my intel Q6600 which runs at a slower clock
speed! I have 4 gig of memory and I am using 32 bit ubuntu. I am compiling ffmpeg myself. ffmpeg is only using one core - but I can run multiple copies of ffmpeg to utilise
the other cores.

I have an automatic script that processes mpg files one at a time from a given directory and spits them out one by one. I'd like it to be faster...

The command I am typing is:

ffmpeg -i "$i" -vcodec mpeg4 -vtag XVID -acodec libmp3lame -aspect 16:9 -ab 128k -s 640x360 -f avi -b 1200000 -qmax 8 -threads 4 "$j" && mv "$i" ../done2

$i is an mpg file $j is an avi file with the same name. The output below shows
the compile options

FFmpeg version git-N-29131-gf4bc923, Copyright (c) 2000-2011 the FFmpeg developers
built on Apr 15 2011 21:15:49 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-libx264 --enable-libxvid --enable-x11grab --arch=i686
libavutil 50. 40. 1 / 50. 40. 1
libavcodec 52.119. 1 / 52.119. 1
libavformat 52.108. 0 / 52.108. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 78. 0 / 1. 78. 0
libswscale 0. 13. 0 / 0. 13. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpeg @ 0xa398620] max_analyze_duration reached
Input #0, mpeg, from 'file.mpg':
Duration: 00:58:59.56, start: 0.200000, bitrate: 3336 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s
[buffer @ 0xa39bba0] w:720 h:576 pixfmt:yuv420p
[setdar @ 0xa3a0ca0] a:16/9
[scale @ 0xa3a08c0] w:720 h:576 fmt:yuv420p -> w:640 h:360 fmt:yuv420p flags:0xa0000004
[setdar @ 0xa3a0ca0] w:640 h:360 -> dar:16/9 sar:1/1
Output #0, avi, to 'file.avi':
Metadata:
ISFT : Lavf52.108.0
Stream #0.0: Video: mpeg4, yuv420p, 640x360 [PAR 1:1 DAR 16:9], q=2-8, 1200 kb/s, 25 tbn, 25 tbc
Stream #0.1: Audio: libmp3lame, 48000 Hz, stereo, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=88490 fps= 95 q=1.6 Lsize= 579126kB time=3539.60 bitrate=1340.3kbits/s
video:518236kB audio:55306kB global headers:0kB muxing overhead 0.973524%

If I'm in the wrong forum, please point me in the right direction - google isnt helping much - or I'm asking it the wrong questions

verb3k
April 16th, 2011, 03:33 AM
Thanks for the update. I haven't noticed the new minimum requirement. I've updated the Maverick guide by simply removing all mentions of libvpx since the guide is focused on x264. Does anyone actually encode with libvpx? If so I can add libvpx compile instructions.

See the Lucid guide for instructions to compile recent libvpx:
Install FFmpeg and x264 on Ubuntu Lucid Lynx 10.04 (http://ubuntuforums.org/showpost.php?p=9868359&postcount=1289)

Yes, please do. I have a WebM example in the screencasting guide that requires libvpx.

andrew.46
April 16th, 2011, 04:12 AM
Does anyone actually encode with libvpx? If so I can add libvpx compile instructions.

I am currently between Ubuntu installations (again!) but I have been using the newest libvpx on my other distro and you might be surprised at how much better the current release is than the previous version. So, a vote here for inclusion in your guide, even though I realise the main thrust of the guide is x264 encoding, and of course the extra work this means for yourself......

qyot27
April 16th, 2011, 04:39 PM
How do I get some more speed out of my phenom X6 processor (1090T) for ffmpeg?
I'm only getting 95 fps - and I got that with my intel Q6600 which runs at a slower clock
speed! I have 4 gig of memory and I am using 32 bit ubuntu. I am compiling ffmpeg myself. ffmpeg is only using one core - but I can run multiple copies of ffmpeg to utilise
the other cores.

I have an automatic script that processes mpg files one at a time from a given directory and spits them out one by one. I'd like it to be faster...

The command I am typing is:

[snip]
Video: mpeg2video (Main)
[snip]

If I'm in the wrong forum, please point me in the right direction - google isnt helping much - or I'm asking it the wrong questions
A) Clock speed isn't everything. It's totally possible to get worse or highly limited performance out of a higher clock if there's a bottleneck in the hardware or software. Memory speed, bus speed (of FSB, QuickPath, or HyperTransport), L2/L3 cache sizes, storage drive read/write speeds (and rpm speeds or IO balanced against the connection bandwidth)...all of these affect performance.

It's probably super-easy to underwhelm a processor in such a way as to make it perform worse than another processor with a lower clock, or handicap your general overall throughput to cripple the ability of the processor to do the work in less time even if it potentially could go much faster than the other processor it's being compared to.

B) Speaking of bottlenecks, there could also be one in software - firstly, because you're only specifying -threads 4 for the encode, but not the decode. So in effect, you're telling ffmpeg to use one thread for decode, and then 4 for encode. If the internal threading mechanism is to set threads automatically as needed (with -threads controlling an upper limit, like the -vbv options can do to balance bitrate), it may not be saturating the process enough to justify using 4 threads, or simply hanging around after the 4 threads do encode their content, waiting for the input thread to catch up. Remember, input options passed to ffmpeg come before the input file, and those for the output are before the output file.

Basically,
ffmpeg -i inputfile.mpg -vcodec mpeg4 -threads 4 outputfile.avi

is not the same as

ffmpeg -threads 4 -i inputfile.mpg -vcodec mpeg4 -threads 4 outputfile.avi

However, at least from some of the talk I've seen bouncing around, ffmpeg's multithreading (or was it mplayer's?) may cause problems on decoding MPEG-2 streams. You can try it and see if it works, but don't be surprised if the output is weird. In the end, it may simply be that you're experiencing a bottleneck somewhere in hardware and need to get *that* sorted out first.


Sneaky edit: Also, it can very well be something about the 32bit vs. 64bit divide in conjunction with general OS performance. I witnessed my grandfather's Athlon64 setup - which is otherwise horrendously bottlenecked - practically double its x264 encoding speed by switching from Windows XP 32-bit to Ubuntu 8.10 64-bit (this was almost three years ago; Intrepid had just been released). I don't think going from Ubuntu 32-bit to Ubuntu 64-bit would result in that kind of performance boost, but it might still show an increase by a fair amount.

FakeOutdoorsman
April 16th, 2011, 08:37 PM
Yes, please do. I have a WebM example in the screencasting guide that requires libvpx.


So, a vote here for inclusion in your guide, even though I realise the main thrust of the guide is x264 encoding, and of course the extra work this means for yourself......

I'll add it. Not much work. I'll just basically copy and paste it from the Lucid guide and run a test compile within a few days.


Sneaky edit: Also, it can very well be something about the 32bit vs. 64bit divide in conjunction with general OS performance.

Quite true. I have two similar encoding machines for a project. One is an Intel i7 860, and the other is 870. The 860 with the 64-bit OS was actually encoding about 10-20% faster (IIRC) with x264 because I accidentally installed the i686 version of the distro on the 870. I knew I should have labeled those discs. Duh.

10-20% may not seem too significant for some, but I had several thousand hours to encode.

FakeOutdoorsman
April 17th, 2011, 04:42 AM
I updated the Maverick guide with the libvpx instructions, but I'm not able to test it at this time.

FFmpeg has some new libx264 options: preset, profile, tune, and fastfirstpass. These options have replaced the old method of using the preset files and most of the preset files have been removed. This now allows access to options that were impossible to approximate with the file based presets (such as most of the tune options). I'll update the guide with some examples soon.

Hogashi
April 17th, 2011, 03:42 PM
This error keeps bugging when I try to convert video with ffmpeg:

Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
Besides, my ffmpeg is missing some presets such as slow, medium, fast.... for x264

FakeOutdoorsman
April 17th, 2011, 09:43 PM
The syntax has changed for libx264 and now presets are chosen with the -preset option:

ffmpeg -i input -vcodec libx264 -preset medium -crf 22 -threads 0 output

pauljohn32
April 18th, 2011, 02:38 AM
This error keeps bugging when I try to convert video with ffmpeg:

Besides, my ffmpeg is missing some presets such as slow, medium, fast.... for x264

I don't think they are missing. They are re-named. I just built the newest ffmpeg and I have:

/usr/local/share/ffmpeg/libx264-ipod320.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_slow.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_max.ffpreset
/usr/local/share/ffmpeg/libx264-baseline.ffpreset
/usr/local/share/ffmpeg/libx264-ipod640.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_medium.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_slower.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_fast.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_ultrafast.ffpreset

and so the name previously "slow" is "lossless_slow". If you use that on the CLI, it will work.

I just hit same problem...

andrew.46
April 18th, 2011, 04:24 AM
I don't think they are missing. They are re-named. I just built the newest ffmpeg and I have:


/usr/local/share/ffmpeg/libx264-ipod320.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_slow.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_max.ffpreset
/usr/local/share/ffmpeg/libx264-baseline.ffpreset
/usr/local/share/ffmpeg/libx264-ipod640.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_medium.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_slower.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_fast.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_ultrafast.ffpreset


I believe you also have access to these now:



--preset <string> Use a preset to select encoding settings [medium]
Overridden by user settings.
- ultrafast,superfast,veryfast,faster,fast
- medium,slow,slower,veryslow,placebo
--tune <string> Tune the settings for a particular type of source
or situation
Overridden by user settings.
Multiple tunings are separated by commas.
Only one psy tuning can be used at a time.
- psy tunings: film,animation,grain,
stillimage,psnr,ssim
- other tunings: fastdecode,zerolatency


Have a look at x264 --longhelp for these, I have not experimented much so far. No doubt there will be some confusion with the syntax changes :).

FakeOutdoorsman
April 18th, 2011, 06:05 AM
I don't think they are missing. They are re-named. and so the name previously "slow" is "lossless_slow". If you use that on the CLI, it will work.
They were not renamed. The lossless_* presets have been available for quite some time. slow != lossless_slow.

mathieg2
April 18th, 2011, 10:36 PM
B) Speaking of bottlenecks, there could also be one in software - firstly, because you're only specifying -threads 4 for the encode, but not the decode. So in effect, you're telling ffmpeg to use one thread for decode, and then 4 for encode. If the internal threading mechanism is to set threads automatically as needed (with -threads controlling an upper limit, like the -vbv options can do to balance bitrate), it may not be saturating the process enough to justify using 4 threads, or simply hanging around after the 4 threads do encode their content, waiting for the input thread to catch up. Remember, input options passed to ffmpeg come before the input file, and those for the output are before the output file.

Basically,
ffmpeg -i inputfile.mpg -vcodec mpeg4 -threads 4 outputfile.avi

is not the same as

ffmpeg -threads 4 -i inputfile.mpg -vcodec mpeg4 -threads 4 outputfile.avi

However, at least from some of the talk I've seen bouncing around, ffmpeg's multithreading (or was it mplayer's?) may cause problems on decoding MPEG-2 streams. You can try it and see if it works, but don't be surprised if the output is weird. In the end, it may simply be that you're experiencing a bottleneck somewhere in hardware and need to get *that* sorted out first.


Thanks for the advice. I've managed to confuse myself. I tried:

ffmpeg -threads 6 -i inputfile.mpg -vcodec mpeg4 -threads 6 outputfile.avi

and got a speed of 78 frames per second - not the speed up I was hoping for (it slowed down!)

so then I tried:

ffmpeg -i inputfile.mpg -vcodec mpeg4 outputfile.avi

FFmpeg still appears to be using only one core - but it is achieving 130 fps... so I guess the threads were not helping.

Anyway - I am happy with the new speed... I might experiment a bit with 64-bit ubuntu - but I cant face re-building and configuring mythtv again when I switch over to 64 bit - so it could be a while...

Graeme

qyot27
April 19th, 2011, 12:13 AM
Thanks for the advice. I've managed to confuse myself. I tried:

ffmpeg -threads 6 -i inputfile.mpg -vcodec mpeg4 -threads 6 outputfile.avi

and got a speed of 78 frames per second - not the speed up I was hoping for (it slowed down!)

so then I tried:

ffmpeg -i inputfile.mpg -vcodec mpeg4 outputfile.avi

FFmpeg still appears to be using only one core - but it is achieving 130 fps... so I guess the threads were not helping.

Anyway - I am happy with the new speed... I might experiment a bit with 64-bit ubuntu - but I cant face re-building and configuring mythtv again when I switch over to 64 bit - so it could be a while...

Graeme
What I can only surmise:
The slowdown may be more related to the default settings, whereas the settings you were originally using may have been faster.

ffmpeg's MPEG-4 ASP encoder may not even be multithreaded, or like Xvid, could suffer from inoptimal threading support.

There could even be some other third problem as-of-yet unknown, as when I use an old Windows build of mencoder compiled with Xvid 1.2.1 (or maybe 1.2.2) under Wine, I get close to 60fps on my parent's iMac. Using a natively-compiled version of MPlayer2 with the -vo-lavc branch and Xvid 1.3.x, I'm lucky to get 35fps, even though I'm fairly sure I got the options equal. I have no clue if this is in any way related, but it's a possibility.


After doing some Googling, it looks like #2 is the most likely:
http://ffmpeg.arrozcru.org/forum/viewtopic.php?f=1&t=970

Particularly this post:
http://ffmpeg.arrozcru.org/forum/viewtopic.php?f=1&t=970#p3233

Granted, that was from 2009, and the numbers have slightly changed from then 'til now, but the native mpeg4 encoder still is not listed. So as far as I can tell, you have to explicitly use Xvid if you want multithreading. However, note that Xvid is known to not be very good at it either...just apparently better than the native encoder.

It also seems that there's a bit of difference between ffmpeg and libav on this, with libav having divergent numbers for mpeg12 (4 instead of 1), mpegvideo (6 instead of 7), and mpegvideo_enc (13 instead of 5).

FakeOutdoorsman
April 19th, 2011, 07:48 PM
Updated the guide for Natty. dpkg in Natty now requires pkgversion to start with a number which is annoying. I changed the ffmpeg/qt-faststart pkgversion to simply use the current date instead of the git version.

robdocmagic
April 20th, 2011, 01:24 AM
They were not renamed. The lossless_* presets have been available for quite some time. slow != lossless_slow.

Hi,

I am running into the same issue with "slow". I installed (using your great instructions) about 3 weeks ago and I got a bunch of presets, slow being one of them.

I just installed last night (on another box, using the same instructions) and I only get these presets (below). Of course, the CMD line I have for ffmpeg now fails as it says it can't find the "slow" preset.

1) Can I just copy the slow preset from my other box to this one? I would think so.
2) I wonder why they don't have the other presets, unless I need to pass a new flag or something to get the presets.

libx264-baseline.ffpreset
libx264-lossless_fast.ffpreset
libx264-lossless_slower.ffpreset
libx264-ipod320.ffpreset
libx264-lossless_max.ffpreset
libx264-lossless_slow.ffpreset
libx264-ipod640.ffpreset
libx264-lossless_medium.ffpreset
libx264-lossless_ultrafast.ffpreset

FakeOutdoorsman
April 20th, 2011, 02:57 AM
1) Can I just copy the slow preset from my other box to this one? I would think so.
The syntax changed recently, so that won't work on the other machine.

2) I wonder why they don't have the other presets, unless I need to pass a new flag or something to get the presets.
The options have changed for using the presets:

ffmpeg -i input -vcodec libx264 -preset medium -profile baseline -tune film -level 3.0 -crf 22 -threads 0 output
-profile, -tune, and -level are optional. You can see what settings you can use with these options in x264 --help.

You should recompile to latest FFmpeg because after the change some options were broken until today.

robdocmagic
April 20th, 2011, 03:29 AM
Thanks! I am going to investigate them shortly. I am sure you have answered this 100x (or maybe not since it seems brand new).

Do you know what does the preset, profile, and tune do?

In other words, does "slow" mean that it just takes longer to encode, versus ultrafast, and somehow that has a relationship to the quality/size of the output?

What does the profile of baseline mean as compared to main, high, and high10?

What about tune? I would guess that film would be standard for movies?

And, finally level? Not sure about that.

Thanks. :D

qyot27
April 20th, 2011, 06:35 AM
Thanks! I am going to investigate them shortly. I am sure you have answered this 100x (or maybe not since it seems brand new).

Do you know what does the preset, profile, and tune do?

In other words, does "slow" mean that it just takes longer to encode, versus ultrafast, and somehow that has a relationship to the quality/size of the output?

What does the profile of baseline mean as compared to main, high, and high10?

What about tune? I would guess that film would be standard for movies?

And, finally level? Not sure about that.

Thanks. :D
Profile and level refer to the official demarcations given to the H.264 video standard by the MPEG and ITU-T groups. See the Wikipedia article sections:
http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Profiles

In more practical terms, profile and level settings are necessary for choosing what hardware (and sometimes, even software) to target and encode for. Typically, different pieces of hardware have different profile/level requirements (although many of them seem to have coalesced around High Profile@Level 4.1, which IIRC is the highest setting allowed on Blu-ray). Actual video specs may restrict what profile and level is allowed, or it can simply be a question of using or not using options that are incompatible with the profile/level combination being used.

Once x264 finally gets --device support, much of that business should be simplified. However, I don't know how close it is - the patch for it has been mentioned in the last five or six development newsletters, but I've not seen a readily-available version of the patch being referred to.


The preset and tune system is unique to x264, and specify sets of pre-selected settings for the content. Most of the presets are named after their speed performance (ultrafast, medium, veryslow), while the tune settings are the ones more specific to the video content being encoded (film, animation) or needs specific to the output stream (zerolatency, fastdecode).


In other words, does "slow" mean that it just takes longer to encode, versus ultrafast, and somehow that has a relationship to the quality/size of the output?
It depends. If you use --bitrate, 'slow' will more than likely look better/take up less space than ultrafast at the same bitrate, at the expense of speed. If you use a --crf setting instead (usually --crf 18 in my case), it's pretty much just referring to the speed differences and the filesizes.

The ultrafast preset disables pretty much all of the slow, precision-based settings, so if you specify a bitrate you just have to hope the bitrate is high enough to encode it well. --crf is a relative quality setting, and will more or less make sure that it looks the same as another video using the same --crf setting, but because it disables those high precision settings, the bitrate needed to do so is probably higher.

(That's an extremely simple description, but it works for these purposes.)

dusadrian
April 20th, 2011, 07:15 AM
Hi,

Absolutely great tutorial, great thread and for that matter great software this ffmpeg.

My question relates to the syntax for capturing audio along with video. I use this:

ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 15 ... ...This does capture sound, but it is the sound from my laptop's speakers that enters back into the mic. What I would really like to do is to capture the sound that is "sent" to the speakers, not the sound from the mic.

EDIT: to be more specific, it is a video running on the screen that I am trying to grab.

EDIT2: sorry to waste your time, I already found the solution, it is pavucontrol.

verb3k
April 20th, 2011, 08:39 AM
@FakeOutdoorsman: If you make an independent Natty guide, you can then drop the libvpx building instructions as Natty has the latest libvpx version in the repositories.

flibustier
April 20th, 2011, 11:25 AM
Hello

Your great guide lacks information that we should uninstall Ubuntu shipped libvpx before compiling ffmpeg, so ffmpeg uses pretty old shipped libvpx version 0.9.5, instead of latest 0.9.6.

Also, it would be great if you mention that it is better to apply google webm patches to ffmpeg to add libvpx presents for encoding

http://code.google.com/p/webm/downloads/list
ffmpeg-HEAD-VP8_param_mapping-5.tar.gz (http://code.google.com/p/webm/downloads/detail?name=ffmpeg-HEAD-VP8_param_mapping-5.tar.gz&can=2&q=)

andrew.46
April 20th, 2011, 12:07 PM
Also, it would be great if you mention that it is better to apply google webm patches to ffmpeg to add libvpx presents for encoding

Very interesting, I wonder if the webm people are going to submit the changes, particularly to libavcodec/libvpxenc.c, to the FFmpeg developers?

FakeOutdoorsman
April 20th, 2011, 06:47 PM
@FakeOutdoorsman: If you make an independent Natty guide, you can then drop the libvpx building instructions as Natty has the latest libvpx version in the repositories.
Thanks, will do. I didn't notice Natty's libvpx version when I rushed myself to get things working for Natty. Too much going on at work and home this week...



Hello

Your great guide lacks information that we should uninstall Ubuntu shipped libvpx before compiling ffmpeg, so ffmpeg uses pretty old shipped libvpx version 0.9.5, instead of latest 0.9.6.
Good point. I will test this and add a removal command.


Also, it would be great if you mention that it is better to apply google webm patches to ffmpeg to add libvpx presents for encoding
I may mention the preset patch, but I don't know if I will add instructions for this since the guide is focused on x264.



Very interesting, I wonder if the webm people are going to submit the changes, particularly to libavcodec/libvpxenc.c, to the FFmpeg developers?
I asked the author in February if it was going to be submitted. He said portions of it will be, but there were some naming and codec specific options to deal with first (IIRC). I know some libvpxenc patches were applied lately, but I haven't been paying much attention to this encoder.

Thormodo
April 20th, 2011, 08:53 PM
Hello,

I followed your guide about two weeks ago, since otherwise I got the dreaded "No accelerated colorspace conversion found from yuv420p to bgr24" error when working with OpenCV.

It worked great to fix the error. But I had to reinstall Ubuntu (formatted everything etc.) today. And I see you changed your guide a bit. Now when trying to 'make' OpenCV 2.2 I get the errors below.
Is there a place I can find the previous version of the guide? Or maybe you know what I can change to fix it?

Thanks a lot in advance.

Link:
http://alexsleat.co.uk/2011/01/09/how-to-fix-no-accelerated-colorspace-conversion-found-from-yuv420p-to-bgr24-opencv-2-2-0-ubuntu-10-10/

Errors:
/home/maarten/OpenCV-2.2.0/modules/highgui/src/cap_ffmpeg.cpp: In member function ‘virtual bool CvCapture_FFMPEG::open(const char*)’:
[...]
/home/maarten/OpenCV-2.2.0/modules/highgui/src/cap_ffmpeg.cpp:1348: warning: ‘int url_fopen(AVIOContext**, const char*, int)’ is deprecated (declared at /usr/local/include/libavformat/avio.h:279)
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.o] Error 1
make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
make: *** [all] Error 2

FakeOutdoorsman
April 20th, 2011, 10:04 PM
It worked great to fix the error. But I had to reinstall Ubuntu (formatted everything etc.) today. And I see you changed your guide a bit. Now when trying to 'make' OpenCV 2.2 I get the errors below.
Is there a place I can find the previous version of the guide? Or maybe you know what I can change to fix it?

I've never used OpenCV before, but I doubt any change of this guide caused your compilation error. Most likely a change in the FFmpeg code since there have been many updates to avio.h (http://git.videolan.org/?p=ffmpeg.git;a=history;f=libavformat/avio.h) lately. Maybe it's a change in the API that OpenCV needs to catch up with?

Another option is to use an older FFmpeg. Sync to an older FFmpeg commit (just browse the avio.h link above and get the commit hash) that you think may work and then try again:

sudo apt-get remove ffmpeg
cd ~/ffmpeg
make distclean
git checkout 3c96c64821184247b46052dee74442024098f47f
./configure, make, checkinstall etc
make distclean
git checkout master
git pull
Now recompile OpenCV (you'll probably want to make distclean first, but I'm not familiar with cmake).

andrew.46
April 21st, 2011, 08:07 AM
Hmmmm.... is it just me that is having trouble compiling against the newest FFmpeg? Error is:



input/lavf.c: In function 'open_file':
input/lavf.c:161:81: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function)
input/lavf.c:161:81: note: each undeclared identifier is reported only once for each function it appears in
make: *** [input/lavf.o] Error 1


and is easily circumvented with:


--disable-lavf

in the x264 ./configure string = loss of the ability to import to x264 with FFmpeg libraries.

qyot27
April 21st, 2011, 10:22 AM
Hmmmm.... is it just me that is having trouble compiling against the newest FFmpeg? Error is:



input/lavf.c: In function 'open_file':
input/lavf.c:161:81: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function)
input/lavf.c:161:81: note: each undeclared identifier is reported only once for each function it appears in
make: *** [input/lavf.o] Error 1


and is easily circumvented with:


--disable-lavf

in the x264 ./configure string = loss of the ability to import to x264 with FFmpeg libraries.
It was also noted here:
http://doom10.org/index.php?topic=1169.msg7664#msg7664

It seems that there's only one instance of CODEC_TYPE_VIDEO in lavf.c, so it's just as easy to amend the file to use AVMEDIA_TYPE_VIDEO.

What I think may be a fix could be coming down the FFmpeg pipeline in a day or so - if I interpret the commit log on libav correctly. It may already be fixed there, but there's always that time gap between the two branches over stuff like this (at least for those things that get pulled into FFmpeg from libav).

andrew.46
April 21st, 2011, 02:49 PM
It seems that there's only one instance of CODEC_TYPE_VIDEO in lavf.c, so it's just as easy to amend the file to use AVMEDIA_TYPE_VIDEO.

Thanks for that, it fixes the problem nicely :). I attach the world's smallest patch to this post for this problem, but as you say no doubt it will be fixed soon enough...

Edit: I see the upcoming x264 fix (https://github.com/DarkShikari/x264-devel/commit/e8a1257600b26c2efcea0a4ea57b6f7f97d151c1) also contains an updated ./configure test.

andrew.46
April 23rd, 2011, 01:02 AM
Also, it would be great if you mention that it is better to apply google webm patches to ffmpeg to add libvpx presents for encoding

http://code.google.com/p/webm/downloads/list
ffmpeg-HEAD-VP8_param_mapping-5.tar.gz (http://code.google.com/p/webm/downloads/detail?name=ffmpeg-HEAD-VP8_param_mapping-5.tar.gz&can=2&q=)

and a new version of this patch today:

http://webm.googlecode.com/files/ffmpeg-HEAD-VP8_param_mapping-6.tar.gz

FakeOutdoorsman
April 28th, 2011, 09:02 PM
Added another optional step to the Maverick/Natty guide to include lavf support in x264. This lets x264 accept just about any input that FFmpeg can handle. It's a fairly simple step: just recompile x264. Then give it a try:

x264 [options] -o outfile infile
x264 --preset slow --crf 22 -o outfile infile

flibustier
April 29th, 2011, 01:00 PM
And little addon to webm encoding

Installing mkclean (http://www.matroska.org/downloads/mkclean.html) (qt-faststart analog for webm):



cd
wget http://downloads.sourceforge.net/project/matroska/mkclean/mkclean-0.8.2.tar.bz2
tar jxvf mkclean-0.8.2.tar.bz2
cd mkclean-0.8.2
./configure
make
sudo checkinstall --pkgname=mkclean --pkgversion="0.8.2" --backup=no \
--deldoc=yes --fstrans=no --default

Usage:


mkclean --optimize --remux inputFile.webm
rm inputFile.webm
mv clean.inputFile.webm inputFile.webm

andrew.46
April 29th, 2011, 01:10 PM
Looks very interesting flibusiter, you might consider changing --pkgversion="1:$(date +%Y%m%d%H%M)-git" perhaps to 0.8.2 though? Should be very interesting times ahead as webm starts getting the big push...

Ghost_Mazal
April 29th, 2011, 04:29 PM
Lo guys ,

I get to step 3 and at the end of it I get the following error:



make: *** [x264] Error 1

**** Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

And install fails.

Can someone help please ?

FakeOutdoorsman
April 30th, 2011, 01:40 AM
Lo guys ,

I get to step 3 and at the end of it I get the following error:



make: *** [x264] Error 1

**** Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

And install fails.

Can someone help please ?

Is this an error from the checkinstall command? Usually checkinstall will ask you if you want to view a log with more information. Can you show this? I'm assuming you're using Natty. Is this correct?

Ghost_Mazal
April 30th, 2011, 06:35 AM
Is this an error from the checkinstall command? Usually checkinstall will ask you if you want to view a log with more information. Can you show this? I'm assuming you're using Natty. Is this correct?

I got it to work thanx. I found that there were still x264 and ffmpeg folders in my home folder from previous install. Deleted all those , started from scratch and then it worked 100%

flibustier
April 30th, 2011, 08:34 AM
Looks very interesting flibusiter, you might consider changing --pkgversion="1:$(date +%Y%m%d%H%M)-git" perhaps to 0.8.2 though?

Thank you. Changed it.

Ghost_Mazal
May 1st, 2011, 04:06 PM
Will this how-to work on Kubuntu as well ?

FakeOutdoorsman
May 1st, 2011, 07:13 PM
Will this how-to work on Kubuntu as well ?

Yes. It should work on all Ubuntu variants.

Smacker_626
May 1st, 2011, 11:54 PM
Hello

Your great guide lacks information that we should uninstall Ubuntu shipped libvpx before compiling ffmpeg, so ffmpeg uses pretty old shipped libvpx version 0.9.5, instead of latest 0.9.6.

Also, it would be great if you mention that it is better to apply google webm patches to ffmpeg to add libvpx presents for encoding

http://code.google.com/p/webm/downloads/list
ffmpeg-HEAD-VP8_param_mapping-5.tar.gz (http://code.google.com/p/webm/downloads/detail?name=ffmpeg-HEAD-VP8_param_mapping-5.tar.gz&can=2&q=)


And little addon to webm encoding

Installing mkclean (http://www.matroska.org/downloads/mkclean.html) (qt-faststart analog for webm):



cd
wget http://downloads.sourceforge.net/project/matroska/mkclean/mkclean-0.8.2.tar.bz2
tar jxvf mkclean-0.8.2.tar.bz2
cd mkclean-0.8.2
./configure
make
sudo checkinstall --pkgname=mkclean --pkgversion="0.8.2" --backup=no \
--deldoc=yes --fstrans=no --defaultUsage:


mkclean --optimize --remux inputFile.webm
rm inputFile.webm
mv clean.inputFile.webm inputFile.webm

I finally registered on the forums just to post this info :lolflag:. Oh well, I might still be able to give some helpful info :P.

The libvpx patch for ffmpeg gives you some libvpx presets and enables 1-pass and 2-pass CQ (Constrained Quality) encoding via "-crf QUALITY -vb TARGET_MAX_DATARATE". It can be found at http://code.google.com/p/webm/downloads/list, and as of 2011-05-01 the current version is "ffmpeg-HEAD-VP8_param_mapping-6.tar.gz". You can download and apply the patch with the following code, just run it immediately before FFmpeg's "./configure" line:

wget http://webm.googlecode.com/files/ffmpeg-HEAD-VP8_param_mapping-6.tar.gz
tar -xf ffmpeg-HEAD-VP8_param_mapping-6.tar.gz
git apply ffmpeg-HEAD-VP8_param_mapping.diffNote: "git apply PATCH" won't output anything if it was successful, you can use "git apply -v PATCH" if you want to see what it's doing.

As for mkclean, I don't know if it really helps at all, but the "cleaned" videos it produces will be encoded as you upload them to YouTube, and I'd just recommend using it in general :). You can find it at http://www.matroska.org/downloads/mkclean.html and it's at v0.8.2 as of 2011-05-01. Just follow flibustier's instructions above, though I always just copied the binary to /usr/bin since I don't know much about checkinstall :P.

And finally, I think it's worth noting in the guide that removing libvpx0 as per the guide's instructions will of course remove it's dependent packages such as audacity and vlc, so you should make a copy of apt-get's "The following packages are going to be removed:" output. And since the custom libvpx isn't named libvpx0, you have to reinstall libvpx0 after following the guide but before reinstalling vlc and anything else that was removed.

Here's an example cmdline for encoding a 2-pass CQ WebM video using my settings:

ffmpeg -i "INPUT" -an -vlang "eng" -vcodec libvpx -vpre "720p" -crf 23 -vb 4M -pass 1 -threads 2 "OUTPUT.dirty.webm"
rm "OUTPUT.dirty.webm"
ffmpeg -i "INPUT" -alang "eng" -acodec libvorbis -aq 9 -vlang "eng" -vcodec libvpx -vpre "720p" -crf 23 -vb 4M -pass 2 -threads 2 "OUTPUT.dirty.webm"

mkclean --remux --optimize "OUTPUT.dirty.webm" "OUTPUT.webm"
rm "OUTPUT.dirty.webm"I know that a lot of this has probably been posted in this thread before, but I had to learn all of the WebM stuff myself, so I'm hoping it helps someone else out :).

ron999
May 2nd, 2011, 01:08 AM
EDIT
This patch is now obsolete.
See post #1768 here:- http://ubuntuforums.org/showpost.php?p=10967333&postcount=1768




The libvpx patch for ffmpeg gives you some libvpx presets and enables 1-pass and 2-pass CQ (Constrained Quality) encoding via "-crf QUALITY -vb TARGET_MAX_DATARATE". It can be found at http://code.google.com/p/webm/downloads/list, and as of 2011-05-01 the current version is "ffmpeg-HEAD-VP8_param_mapping-6.tar.gz". You can download and apply the patch with the following code, just run it immediately before FFmpeg's "./configure" line:

wget http://webm.googlecode.com/files/ffmpeg-HEAD-VP8_param_mapping-6.tar.gz
tar -xf ffmpeg-HEAD-VP8_param_mapping-6.tar.gz
git apply ffmpeg-HEAD-VP8_param_mapping.diffNote: "git apply PATCH" won't output anything if it was successful, you can use "git apply -v PATCH" if you want to see what it's doing.
.

Thanks for this Smacker :)

FakeOutdoorsman
May 2nd, 2011, 08:35 PM
And finally, I think it's worth noting in the guide that removing libvpx0 as per the guide's instructions will of course remove it's dependent packages such as audacity and vlc...

Thanks for the info. I updated the guide and removed libvpx0...uh...removal since it doesn't actually need to be removed (I did a poor job testing that one when I added it).

I also added some info mentioning the libvpx preset patch and the mkclean tool and linked to your post and flibustier's post.

Smacker_626
May 3rd, 2011, 05:26 AM
Thanks for this Smacker :)
No problem dude, I'm glad it helped someone :).


Thanks for the info. I updated the guide and removed libvpx0...uh...removal since it doesn't actually need to be removed (I did a poor job testing that one when I added it).

I also added some info mentioning the libvpx preset patch and the mkclean tool and linked to your post and flibustier's post.
Awesome :D, thank you, and thank you for writing and maintaining the guide, it's been a huge help since I seriously got into video encoding about a year ago.

Edit: 2 possible corrections:
1. "Updating FFmpeg and x264" has a cmdline that still removes libvpx0. Also I'm assuming that libvpx should be there to stay consistent with removing the custom packages.
2. "Reverting Changes Made by This Guide" removes the custom packages except for libvpx.

darkdragn
May 3rd, 2011, 07:09 AM
This might sound a little stupid, but I was having some issues with resampling from 5.1 surround to stereo so I poked around and found a patch from 2009 that someone put out to resolve the issue. The patch never made it into the main stream, and since it was put out there were some alterations to resample.c which broke it.
For anyone else who would like the resample from 5.1 to stereo attached is essentially a modified version of the patch, fixed to support the latest git.

FakeOutdoorsman
May 3rd, 2011, 07:16 PM
1. "Updating FFmpeg and x264" has a cmdline that still removes libvpx0. Also I'm assuming that libvpx should be there to stay consistent with removing the custom packages.
Good catch. It's now gone.

2. "Reverting Changes Made by This Guide" removes the custom packages except for libvpx.
libvpx is already listed in this code box.



This might sound a little stupid, but I was having some issues with resampling from 5.1 surround to stereo...
This isn't stupid. FFmpeg isn't a good downmixer and it is one of the most obvious things lacking but I don't think it will be like that forever. SoX is one of the tools generally recommended for downmixing.

Smacker_626
May 4th, 2011, 02:49 PM
libvpx is already listed in this code box.

My mistake :P.

sailor420
May 5th, 2011, 08:30 PM
Quick question, and apologies if it's already been answered--I didn't see it.

Why would one use ffmpeg vs just calling x264 directly? Alternatively, why would one chose mencoder vs either of these? Just trying to figure out how it all fits together...

qyot27
May 5th, 2011, 09:26 PM
Quick question, and apologies if it's already been answered--I didn't see it.

Why would one use ffmpeg vs just calling x264 directly? Alternatively, why would one chose mencoder vs either of these? Just trying to figure out how it all fits together...
Force of habit and not wanting several steps to an encode process would be my guess. This was, of course, less true before x264 gained LAVF and FFMS2 input support and discounting the x264-audio branch that enables audio encoding.

For a long time, though, if you wanted to simply transcode file A to file B, FFmpeg was easier because you *usually* didn't have to worry what the input formats were, and you could get an output file that had both video and audio. Getting that same functionality in x264 is a matter of extra, optional dependencies - you don't have to build an x264 that can do those things.

sailor420
May 5th, 2011, 09:38 PM
Hmmm. Fair point. I'm trying to decide whether or not to rewrite my batch encoding script to use ffmpeg vs using mplayer to do resize/crop and then x264 to encode. Hoping ffmpeg might make it a bit easier to deal with deinterlacing...

FakeOutdoorsman
May 5th, 2011, 11:51 PM
Why would one use ffmpeg vs just calling x264 directly?
I will use FFmpeg if I want to use some of the filters that are lacking in x264.


Alternatively, why would one chose mencoder vs either of these?
I've never found much of a need for MEncoder, personally.


I'm trying to decide whether or not to rewrite my batch encoding script to use ffmpeg vs using mplayer to do resize/crop and then x264 to encode. Hoping ffmpeg might make it a bit easier to deal with deinterlacing...
I recommend using yadif to deinterlace, but be sure to test the yadif in both MPlayer and FFmpeg, because their yadif implementations may not be the same and their outputs may look different.

sailor420
May 5th, 2011, 11:55 PM
I recommend using yadif to deinterlace, but be sure to test the yadif in both MPlayer and FFmpeg, because their yadif implementations may not be the same and their outputs may look different.

Yeah, I tried yadif in mplayer and then piping the output from there into x264 via yuv4mpeg. Had a couple of problems with this--speed, some color distortion bands along the top and bottom, and possibly worst, it's somehow dropping frames--I end up with 1:45 of a 2:00 film for example, making everything a bit too fast and getting the audio way out of sync. Driving me nuts. I'm thinking about trying ffmpeg to see if it works better when de-interlacing...

BTW, thanks for the fantastic guide and all the support you've provided after the fact. Very helpful!

qyot27
May 6th, 2011, 12:40 AM
Hmmm. Fair point. I'm trying to decide whether or not to rewrite my batch encoding script to use ffmpeg vs using mplayer to do resize/crop and then x264 to encode. Hoping ffmpeg might make it a bit easier to deal with deinterlacing...
Well, I can't really comment on filtering, as for that I'd actually use AviSynth via Wine and then pipe out of Wine to the encoding program using avs2yuv or the like.

You might want to also take a look at the -vo-lavc branch (https://github.com/divVerent/mplayer/wiki/Mplayer-uau-vo-lavc) of MPlayer2 (http://www.mplayer2.org/). There's still some things mencoder can do that it can't, but those might be relatively minor in comparison.

sailor420
May 6th, 2011, 12:53 AM
Hmmm... OK, I'm getting a problem when trying to get ffmpeg to use multithreading. I set -threads 0, but am getting an error "automatic thread number detection not supported by codec". Thoughts?

Actual command is:


ffmpeg -i input.mkv -acodec libx264 -crf 22 -level 41 -preset slow -vf crop=720:352:0:62 -acodec copy -threads 0 output.mkv

FakeOutdoorsman
May 6th, 2011, 01:06 AM
Change "-acodec libx264" to "-vcodec libx264".

sailor420
May 6th, 2011, 01:31 AM
Change "-acodec libx264" to "-vcodec libx264".

#-o

I feel like a moron now. Many thanks for the help.

sailor420
May 6th, 2011, 05:02 PM
OK, another question... Is there any way to reduce the amount of data that ffmpeg is outputting to the shell? For example, it's printing out all of the chapters to the shell. I've tried -loglevel quiet, but that doesn't seem to be doing the trick.

qyot27
May 6th, 2011, 05:19 PM
OK, another question... Is there any way to reduce the amount of data that ffmpeg is outputting to the shell? For example, it's printing out all of the chapters to the shell. I've tried -loglevel quiet, but that doesn't seem to be doing the trick.
The verbosity level is adjusted with the -v option. It doesn't seem to have an effect on the source file data readout, though, just the output logging.

sailor420
May 6th, 2011, 05:21 PM
The verbosity level is adjusted with the -v option.

Many thanks, that's what I was looking for!

burek021
May 8th, 2011, 07:18 PM
FakeOutdoorsman, is it ok to place the link to this tutorial (with the first post copied, only), to make this tutorial available on our forum too?

We are creating an "official" (if you can even call it like that) FFmpeg forum, so we would like to have your tutorial there if you would allow that.

The link to the copied tutorial would be this: http://forum.ffmpeg.org/viewtopic.php?f=1&t=4
If you don't agree to such thing, we will delete that copy.

EDIT: forum.ffmpeg.org is not yet in the function, you can use this instead: http://ffmpeg.test-lab.ch/viewtopic.php?f=1&t=4
You can always find me at: irc://irc.freenode.net/ffmpeg if you need.

wim.glenn
May 9th, 2011, 09:13 AM
hi there :D i'm trying to do live streaming video for an interactive application so i need as low latency as i can get, i have found this thread to be EXTREMELY helpful. following the guide in the first post, i was able to build all the stuff from source with lavf enabled. the x264 encoder works beautifully. but ffserver segfaults, even just printing the usage message. is this a known problem? is anyone still using ffserver? if not what is a good free alternative?

thanks !!

Dudu_N7
May 9th, 2011, 03:38 PM
Hi !
Same problem here when trying to launch ffserver.
Sometimes I have a message "Deleting file '/tmp/feed1.ffm' as it appears to be corrupt" before the segfault.

I re-installed ffmpeg many time and once, ffserver did not segfault at the start but as soon as I did "ffmpeg http://localhost:8090/feed1.ffm" with any kind of input. I got this case only once.

My ffserver.conf file is the basic one found on http://www.ffmpeg.org/sample.html

I guess the versions on the git repository has a few bugs...

FakeOutdoorsman
May 9th, 2011, 07:03 PM
Unfortunately, I have almost no experience with FFserver, but I do know that this is a known bug:

Ticket #178: ffserver segfault (https://ffmpeg.org/trac/ffmpeg/ticket/178)

If you register (https://ffmpeg.org/trac/ffmpeg/register) you can CC yourself to the bug report to get e-mail nofitications of any updates to the report.

flibustier
May 12th, 2011, 12:58 PM
Got problem compiling ffmpeg on Ubuntu 11.04. On configure stage says "ERROR: libx264 not found". Building on Compaq Mini with Intel Atom CPU.


check_header x264.h
check_cpp
BEGIN /tmp/ffconf.peU2ku7I.c
1 #include <x264.h>
2 int x;
END /tmp/ffconf.peU2ku7I.c
gcc -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std
=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.slP988xH.o /tmp/ffconf.peU2ku7I.c
/tmp/ffconf.peU2ku7I.c:1:18: fatal error: x264.h: No such file or directory
compilation terminated.
ERROR: libx264 not found

Could it be problem with ./configure options of x264 on certain CPU?

andrew.46
May 12th, 2011, 01:05 PM
Can you post the results of the following command:


sudo find /usr -iname 'x264.h'

Andrew

flibustier
May 12th, 2011, 01:08 PM
Outputs this:

/usr/local/include/x264.h

UPD. Seems that I solved the problem.
with new x264 configure string

./configure --extra-cflags="-march=atom" --enable-pic --enable-shared

dualistic
May 12th, 2011, 03:54 PM
Hi,

I followed these great instructions on 11.04 and they work great!

However, I am now having trouble installing the ffmpeg-php extension. I tried recompiling x264 and ffmpeg with --enable-shared instead but it still was not finding my installation. Could someone please help with some instructions on how I can install ffmpeg-php?

Thanks!

andrew.46
May 12th, 2011, 10:12 PM
However, I am now having trouble installing the ffmpeg-php extension. I tried recompiling x264 and ffmpeg with --enable-shared instead but it still was not finding my installation. Could someone please help with some instructions on how I can install ffmpeg-php?

I have not really used FFmpeg-php myself but I had a quick look purely from curiosity (admittedly using a non-Ubuntu distro) and although phpize seemed to run ok:



andrew@skamandros~/Desktop/ffmpeg-php-0.6.0$ phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions


and ./configure ran ok, picking up the FFmpeg libraries:



andrew@skamandros~/Desktop/ffmpeg-php-0.6.0$ ./configure
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/extensions
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for ffmpeg support... yes, shared
checking whether to force gd support in ffmpeg-php... no
checking for ffmpeg headers... ...found in /usr/include/libavcodec
checking for ffmpeg libavcodec.so... ...found in /usr/lib
checking for ffmpeg swscale support... yes
checking for ld used by cc... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-slackware-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h



make crashed out with multiple errors in ffmpeg_movie.c, I demonstrate some of these here:



VIDEO’ undeclared (first use in this function)
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘_php_get_pixelformat’:
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:850:57: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘_php_get_codec_name’:
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:963:40: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getVideoCodec’:
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:989:58: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getAudioCodec’:
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:1009:58: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this function)
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getVideoStreamId’:
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:1029:60: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getAudioStreamId’:
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:1051:60: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this function)
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getAudioChannels’:
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:1089:53: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this function)
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getAudioSampleRate’:
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:1125:59: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this function)
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getAudioBitRate’:
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:1161:53: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this function)
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getVideoBitRate’:
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:1181:53: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘_php_read_av_frame’:
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:1204:13: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:1215:13: warning: implicit declaration of function ‘avcodec_decode_video’
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:1219:48: error: ‘PKT_FLAG_KEY’ undeclared (first use in this function)
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘_php_get_av_frame’:
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:1246:57: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:1282:24: error: ‘AVCodecContext’ has no member named ‘hurry_up’
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:1284:24: error: ‘AVCodecContext’ has no member named ‘hurry_up’
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘_php_get_sample_aspect_ratio’:
/home/andrew/Desktop/ffmpeg-php-0.6.0/ffmpeg_movie.c:1443:57: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
make: *** [ffmpeg_movie.lo] Error 1


Are these the errors that stopped your compilation? I shall crank up my Natty Narwhal installation and have a proper look later and hopefully an FFmpeg-php guru will also see your post :).

Edit: Mind you I picked up the latest FFmpeg-php from svn and saw this in the changelog:



version 0.6.3 (3/30/2009)
Bug Fixes
* Fixed compatibility with ffmpeg 0.5.0 release. ffmpeg-php is only
supporting offical releases from here on.


So I don't like your chances if the last supported FFmpeg build is so ancient :(.

dualistic
May 13th, 2011, 04:07 PM
Thanks for the reply Andrew!


Are these the errors that stopped your compilation?

Yes, those are the errors exactly (my phpize also worked fine). I think there is an ubuntu distribution that installs just fine (using apt-get) if you also install ffmpeg with apt-get, at least back with 9.04. Unfortunately installing ffmpeg with apt-get won't enable aac encoding and libx264.

However, following the instructions in the original post in this (awesome) thread, I can't get it to work.

andrew.46
May 13th, 2011, 10:02 PM
Yes, those are the errors exactly (my phpize also worked fine). I think there is an ubuntu distribution that installs just fine (using apt-get) if you also install ffmpeg with apt-get, at least back with 9.04. Unfortunately installing ffmpeg with apt-get won't enable aac encoding and libx264.

I guess it depends on how keen you are to get FFmpeg-php going. One possibility is to remove the FFmpeg installed in this guide and install the standard Ubuntu FFmpeg as well as FFmpeg-php and then consult Fakeutdoorsman's other guide:

HOWTO: Easily enable MP3, MPEG4, AAC, and other restricted encoders in FFmpeg
http://ubuntuforums.org/showthread.php?t=1117283

to enable aac and libx264 encoding. Hopefully this will work although I have not tested it myself as I have no great use for FFmpeg-php. But then you lose all the great benefits of running the cutting edge FFmpeg :(.

qyot27
May 14th, 2011, 05:09 AM
I have zero experience with PHP or what ffmpeg-php does under the hood, so I can't say whether what I'm about to suggest is viable, but...

It just looks as though ffmpeg-php is outdated and unlikely to be picked up again in its (that one's) current form.

In looking on Google, though, I found this:
https://github.com/char0n/ffmpeg-php

A) I don't know if ffmpeg-php and the FFmpegPHP they're talking about are the same;
B) I don't know, if A is true, if that github project is a pure drop-in replacement;
C) If A and B are true, at least the github project is being maintained. The latest commit was from three days ago. Chances of it supporting current versions of ffmpeg are probably much greater.

Something to consider, at any rate.

WhatEverMD
May 14th, 2011, 10:51 AM
Thank You for this awsome thread. Used it many time searching for solutions :).
On Ubuntu 10.04, 10.10 everything went fine. But now can't configure
ffmpeg on linux mint 9 isadora 64-bit.


./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab
ERROR: libx264 not found

If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.

andrew.46
May 14th, 2011, 12:19 PM
Hi WhatEverMD,

There can be a few reasons, perhaps the most basic being your system does not have x264 installed, the version is too old, you have a mix of old and new x264 libraries or it is in a location that FFmpeg cannot see. Can you run the following command in red:



andrew@skamandros~$ sudo find /usr -iname '*libx264*'
/usr/lib/vlc/plugins/codec/libx264_plugin.la
/usr/lib/vlc/plugins/codec/libx264_plugin.so
/usr/lib/libx264.so.115
/usr/lib/libx264.a
/usr/lib/libx264.so
/usr/share/ffmpeg/libx264-lossless_slow.ffpreset
/usr/share/ffmpeg/libx264-baseline.ffpreset
/usr/share/ffmpeg/libx264-lossless_slower.ffpreset
/usr/share/ffmpeg/libx264-lossless_fast.ffpreset
/usr/share/ffmpeg/libx264-lossless_max.ffpreset
/usr/share/ffmpeg/libx264-lossless_ultrafast.ffpreset
/usr/share/ffmpeg/libx264-ipod320.ffpreset
/usr/share/ffmpeg/libx264-ipod640.ffpreset
/usr/share/ffmpeg/libx264-lossless_medium.ffpreset


The blue shows what you should see on your system + a few extras, plus demonstrates the common location although /usr/local/lib is another possibility. If you post the results of this command this will be a starting point :). Could you hunt out the config.log as well and post the relevant section?

Edit: Mind you a better search would be:



$ sudo find /usr -iname '*x264*'
/usr/doc/x264-15052011
/usr/doc/x264-15052011/x264.SlackBuild
/usr/lib/pkgconfig/x264.pc
/usr/lib/vlc/plugins/codec/libx264_plugin.la
/usr/lib/vlc/plugins/codec/libx264_plugin.so
/usr/lib/libx264.so.115
/usr/lib/libx264.so
/usr/bin/x264
/usr/include/x264_config.h
/usr/include/x264.h
/usr/share/ffmpeg/libx264-lossless_slow.ffpreset
/usr/share/ffmpeg/libx264-baseline.ffpreset
/usr/share/ffmpeg/libx264-lossless_slower.ffpreset
/usr/share/ffmpeg/libx264-lossless_fast.ffpreset
/usr/share/ffmpeg/libx264-lossless_max.ffpreset
/usr/share/ffmpeg/libx264-lossless_ultrafast.ffpreset
/usr/share/ffmpeg/libx264-ipod320.ffpreset
/usr/share/ffmpeg/libx264-ipod640.ffpreset
/usr/share/ffmpeg/libx264-lossless_medium.ffpreset

vagrale13
May 14th, 2011, 02:29 PM
Same problem on Natty

:~$ sudo find /usr -iname '*libx264*'
/usr/local/share/ffmpeg/libx264-lossless_slow.ffpreset
/usr/local/share/ffmpeg/libx264-ipod640.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_max.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_medium.ffpreset
/usr/local/share/ffmpeg/libx264-ipod320.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_ultrafast.ffpreset
/usr/local/share/ffmpeg/libx264-baseline.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_slower.ffpreset
/usr/local/share/ffmpeg/libx264-lossless_fast.ffpreset
/usr/share/doc/libx264-106
/usr/lib/i686/sse2/libx264.so.106
/usr/lib/libx264.so.106
/usr/lib/vlc/plugins/codec/libx264_plugin.soand the log

# ./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
ACODEC_TESTS='ac3_fixed_test
adpcm_ima_qt_test
adpcm_ima_wav_test
adpcm_ms_test
adpcm_swf_test
adpcm_yam_test
alac_test
flac_test
g726_test
mp2_test
pcm_test
wmav1_test
wmav2_test'
ARCH_EXT_LIST='
altivec
amd3dnow
amd3dnowext
armv5te
armv6
armv6t2
armvfp
avx
iwmmxt
mmi
mmx
mmx2
neon
ppc4xx
sse
ssse3
vis
'
ARCH_LIST='
alpha
arm
avr32
avr32_ap
avr32_uc
bfin
ia64
m68k
mips
mips64
parisc
ppc
ppc64
s390
sh4
sparc
sparc64
tomi
x86
x86_32
x86_64
'
BSF_LIST='aac_adtstoasc_bsf
chomp_bsf
dump_extradata_bsf
h264_mp4toannexb_bsf
imx_dump_header_bsf
mjpeg2jpeg_bsf
mjpega_dump_header_bsf
mp3_header_compress_bsf
mp3_header_decompress_bsf
mov2textsub_bsf
noise_bsf
remove_extradata_bsf
text2movsub_bsf'
CC_O='-o $@'
CMDLINE_APPEND='
extra_cflags
'
CMDLINE_SELECT='

altivec
amd3dnow
amd3dnowext
armv5te
armv6
armv6t2
armvfp
avx
iwmmxt
mmi
mmx
mmx2
neon
ppc4xx
sse
ssse3
vis



bsfs
decoders
demuxers
encoders
filters
hwaccels
indevs
muxers
outdevs
parsers
protocols

aandct
ac3dsp
avcodec
avdevice
avfilter
avformat
avisynth
bzlib
crystalhd
dct
doc
dwt
dxva2
fastdiv
ffmpeg
ffplay
ffprobe
ffserver
fft
frei0r
golomb
gpl
gray
h264dsp
h264pred
hardcoded_tables
huffman
libcelt
libdc1394
libdirac
libfaac
libfreetype
libgsm
libmp3lame
libnut
libopencore_amrnb
libopencore_amrwb
libopencv
libopenjpeg
librtmp
libschroedinger
libspeex
libtheora
libvo_aacenc
libvo_amrwbenc
libvorbis
libvpx
libx264
libxavs
libxvid
lpc
lsp
mdct
memalign_hack
mlib
network
nonfree
pic
postproc
rdft
rtpdec
runtime_cpudetect
shared
sinewin
small
sram
static
swscale
swscale_alpha
vaapi
vdpau
version3
x11grab
zlib


pthreads
w32threads

asm
cross_compile
debug
extra_warnings
logging
optimizations
stripping
symver
yasm
'
CMDLINE_SET='

bindir
datadir
incdir
libdir
mandir
prefix
shlibdir

ar
arch
as
build_suffix
cc
cpu
cross_prefix
dep_cc
extra_version
host_cc
host_cflags
host_ldflags
host_libs
host_os
ld
logfile
malloc_prefix
nm
pkg_config
samples
source_path
strip
sysinclude
sysroot
target_exec
target_os
target_path
'
COLORTERM='gnome-terminal'
COMPONENT_LIST='
bsfs
decoders
demuxers
encoders
filters
hwaccels
indevs
muxers
outdevs
parsers
protocols
'
CONFIG_EXTRA='
avutil
gplv3
lgplv3
'
CONFIG_LIST='

bsfs
decoders
demuxers
encoders
filters
hwaccels
indevs
muxers
outdevs
parsers
protocols

aandct
ac3dsp
avcodec
avdevice
avfilter
avformat
avisynth
bzlib
crystalhd
dct
doc
dwt
dxva2
fastdiv
ffmpeg
ffplay
ffprobe
ffserver
fft
frei0r
golomb
gpl
gray
h264dsp
h264pred
hardcoded_tables
huffman
libcelt
libdc1394
libdirac
libfaac
libfreetype
libgsm
libmp3lame
libnut
libopencore_amrnb
libopencore_amrwb
libopencv
libopenjpeg
librtmp
libschroedinger
libspeex
libtheora
libvo_aacenc
libvo_amrwbenc
libvorbis
libvpx
libx264
libxavs
libxvid
lpc
lsp
mdct
memalign_hack
mlib
network
nonfree
pic
postproc
rdft
rtpdec
runtime_cpudetect
shared
sinewin
small
sram
static
swscale
swscale_alpha
vaapi
vdpau
version3
x11grab
zlib
'
DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-oi55klkVqZ,guid=7a09a73d284db08ac442f0fb0000002f'
DECODER_LIST='aasc_decoder
amv_decoder
anm_decoder
ansi_decoder
asv1_decoder
asv2_decoder
aura_decoder
aura2_decoder
avs_decoder
bethsoftvid_decoder
bfi_decoder
bink_decoder
bmp_decoder
c93_decoder
cavs_decoder
cdgraphics_decoder
cinepak_decoder
cljr_decoder
cscd_decoder
cyuv_decoder
dfa_decoder
dnxhd_decoder
dpx_decoder
dsicinvideo_decoder
dvvideo_decoder
dxa_decoder
eacmv_decoder
eamad_decoder
eatgq_decoder
eatgv_decoder
eatqi_decoder
eightbps_decoder
eightsvx_exp_decoder
eightsvx_fib_decoder
escape124_decoder
ffv1_decoder
ffvhuff_decoder
flashsv_decoder
flic_decoder
flv_decoder
fourxm_decoder
fraps_decoder
frwu_decoder
gif_decoder
h261_decoder
h263_decoder
h263i_decoder
h264_decoder
h264_crystalhd_decoder
h264_vdpau_decoder
huffyuv_decoder
idcin_decoder
iff_byterun1_decoder
iff_ilbm_decoder
indeo2_decoder
indeo3_decoder
indeo5_decoder
interplay_video_decoder
jpegls_decoder
jv_decoder
kgv1_decoder
kmvc_decoder
lagarith_decoder
loco_decoder
mdec_decoder
mimic_decoder
mjpeg_decoder
mjpegb_decoder
mmvideo_decoder
motionpixels_decoder
mpeg_xvmc_decoder
mpeg1video_decoder
mpeg2video_decoder
mpeg4_decoder
mpeg4_crystalhd_decoder
mpeg4_vdpau_decoder
mpegvideo_decoder
mpeg_vdpau_decoder
mpeg1_vdpau_decoder
mpeg2_crystalhd_decoder
msmpeg4_crystalhd_decoder
msmpeg4v1_decoder
msmpeg4v2_decoder
msmpeg4v3_decoder
msrle_decoder
msvideo1_decoder
mszh_decoder
mxpeg_decoder
nuv_decoder
pam_decoder
pbm_decoder
pcx_decoder
pgm_decoder
pgmyuv_decoder
pictor_decoder
png_decoder
ppm_decoder
ptx_decoder
qdraw_decoder
qpeg_decoder
qtrle_decoder
r10k_decoder
r210_decoder
rawvideo_decoder
rl2_decoder
roq_decoder
rpza_decoder
rv10_decoder
rv20_decoder
rv30_decoder
rv40_decoder
s302m_decoder
sgi_decoder
smacker_decoder
smc_decoder
snow_decoder
sp5x_decoder
sunrast_decoder
svq1_decoder
svq3_decoder
targa_decoder
theora_decoder
thp_decoder
tiertexseqvideo_decoder
tiff_decoder
tmv_decoder
truemotion1_decoder
truemotion2_decoder
tscc_decoder
txd_decoder
ulti_decoder
v210_decoder
v210x_decoder
vb_decoder
vc1_decoder
vc1_crystalhd_decoder
vc1_vdpau_decoder
vcr1_decoder
vmdvideo_decoder
vmnc_decoder
vp3_decoder
vp5_decoder
vp6_decoder
vp6a_decoder
vp6f_decoder
vp8_decoder
vqa_decoder
wmv1_decoder
wmv2_decoder
wmv3_decoder
wmv3_crystalhd_decoder
wmv3_vdpau_decoder
wnv1_decoder
xan_wc3_decoder
xan_wc4_decoder
xl_decoder
yop_decoder
zlib_decoder
zmbv_decoder
aac_decoder
aac_latm_decoder
ac3_decoder
alac_decoder
als_decoder
amrnb_decoder
amrwb_decoder
ape_decoder
atrac1_decoder
atrac3_decoder
binkaudio_dct_decoder
binkaudio_rdft_decoder
cook_decoder
dca_decoder
dsicinaudio_decoder
eac3_decoder
flac_decoder
gsm_decoder
gsm_ms_decoder
imc_decoder
mace3_decoder
mace6_decoder
mlp_decoder
mp1_decoder
mp1float_decoder
mp2_decoder
mp2float_decoder
mp3_decoder
mp3float_decoder
mp3adu_decoder
mp3adufloat_decoder
mp3on4_decoder
mp3on4float_decoder
mpc7_decoder
mpc8_decoder
nellymoser_decoder
qcelp_decoder
qdm2_decoder
ra_144_decoder
ra_288_decoder
shorten_decoder
sipr_decoder
smackaud_decoder
sonic_decoder
truehd_decoder
truespeech_decoder
tta_decoder
twinvq_decoder
vmdaudio_decoder
vorbis_decoder
wavpack_decoder
wmapro_decoder
wmav1_decoder
wmav2_decoder
wmavoice_decoder
ws_snd1_decoder
pcm_alaw_decoder
pcm_bluray_decoder
pcm_dvd_decoder
pcm_f32be_decoder
pcm_f32le_decoder
pcm_f64be_decoder
pcm_f64le_decoder
pcm_lxf_decoder
pcm_mulaw_decoder
pcm_s8_decoder
pcm_s16be_decoder
pcm_s16le_decoder
pcm_s16le_planar_decoder
pcm_s24be_decoder
pcm_s24daud_decoder
pcm_s24le_decoder
pcm_s32be_decoder
pcm_s32le_decoder
pcm_u8_decoder
pcm_u16be_decoder
pcm_u16le_decoder
pcm_u24be_decoder
pcm_u24le_decoder
pcm_u32be_decoder
pcm_u32le_decoder
pcm_zork_decoder
interplay_dpcm_decoder
roq_dpcm_decoder
sol_dpcm_decoder
xan_dpcm_decoder
adpcm_4xm_decoder
adpcm_adx_decoder
adpcm_ct_decoder
adpcm_ea_decoder
adpcm_ea_maxis_xa_decoder
adpcm_ea_r1_decoder
adpcm_ea_r2_decoder
adpcm_ea_r3_decoder
adpcm_ea_xas_decoder
adpcm_g722_decoder
adpcm_g726_decoder
adpcm_ima_amv_decoder
adpcm_ima_dk3_decoder
adpcm_ima_dk4_decoder
adpcm_ima_ea_eacs_decoder
adpcm_ima_ea_sead_decoder
adpcm_ima_iss_decoder
adpcm_ima_qt_decoder
adpcm_ima_smjpeg_decoder
adpcm_ima_wav_decoder
adpcm_ima_ws_decoder
adpcm_ms_decoder
adpcm_sbpro_2_decoder
adpcm_sbpro_3_decoder
adpcm_sbpro_4_decoder
adpcm_swf_decoder
adpcm_thp_decoder
adpcm_xa_decoder
adpcm_yamaha_decoder
***_decoder
dvbsub_decoder
dvdsub_decoder
pgssub_decoder
srt_decoder
xsub_decoder
libcelt_decoder
libdirac_decoder
libgsm_decoder
libgsm_ms_decoder
libopencore_amrnb_decoder
libopencore_amrwb_decoder
libopenjpeg_decoder
libschroedinger_decoder
libspeex_decoder
libvpx_decoder'
DEFAULTS_PATH='/usr/share/gconf/gnome-classic.default.path'
DEMUXER_LIST='aac_demuxer
ac3_demuxer
aea_demuxer
aiff_demuxer
amr_demuxer
anm_demuxer
apc_demuxer
ape_demuxer
applehttp_demuxer
asf_demuxer
***_demuxer
au_demuxer
avi_demuxer
avisynth_demuxer
avs_demuxer
bethsoftvid_demuxer
bfi_demuxer
bink_demuxer
c93_demuxer
caf_demuxer
cavsvideo_demuxer
cdg_demuxer
daud_demuxer
dfa_demuxer
dirac_demuxer
dnxhd_demuxer
dsicin_demuxer
dts_demuxer
dv_demuxer
dxa_demuxer
ea_demuxer
ea_cdata_demuxer
eac3_demuxer
ffm_demuxer
ffmetadata_demuxer
filmstrip_demuxer
flac_demuxer
flic_demuxer
flv_demuxer
fourxm_demuxer
g722_demuxer
gsm_demuxer
gxf_demuxer
h261_demuxer
h263_demuxer
h264_demuxer
idcin_demuxer
iff_demuxer
image2_demuxer
image2pipe_demuxer
ingenient_demuxer
ipmovie_demuxer
iss_demuxer
iv8_demuxer
ivf_demuxer
jv_demuxer
lmlm4_demuxer
lxf_demuxer
m4v_demuxer
matroska_demuxer
microdvd_demuxer
mjpeg_demuxer
mlp_demuxer
mm_demuxer
mmf_demuxer
mov_demuxer
mp3_demuxer
mpc_demuxer
mpc8_demuxer
mpegps_demuxer
mpegts_demuxer
mpegtsraw_demuxer
mpegvideo_demuxer
msnwc_tcp_demuxer
mtv_demuxer
mvi_demuxer
mxf_demuxer
mxg_demuxer
nc_demuxer
nsv_demuxer
nut_demuxer
nuv_demuxer
ogg_demuxer
oma_demuxer
pcm_alaw_demuxer
pcm_mulaw_demuxer
pcm_f64be_demuxer
pcm_f64le_demuxer
pcm_f32be_demuxer
pcm_f32le_demuxer
pcm_s32be_demuxer
pcm_s32le_demuxer
pcm_s24be_demuxer
pcm_s24le_demuxer
pcm_s16be_demuxer
pcm_s16le_demuxer
pcm_s8_demuxer
pcm_u32be_demuxer
pcm_u32le_demuxer
pcm_u24be_demuxer
pcm_u24le_demuxer
pcm_u16be_demuxer
pcm_u16le_demuxer
pcm_u8_demuxer
pmp_demuxer
pva_demuxer
qcp_demuxer
r3d_demuxer
rawvideo_demuxer
rl2_demuxer
rm_demuxer
roq_demuxer
rpl_demuxer
rso_demuxer
rtp_demuxer
rtsp_demuxer
sap_demuxer
sdp_demuxer
segafilm_demuxer
shorten_demuxer
siff_demuxer
smacker_demuxer
sol_demuxer
sox_demuxer
spdif_demuxer
srt_demuxer
str_demuxer
swf_demuxer
thp_demuxer
tiertexseq_demuxer
tmv_demuxer
truehd_demuxer
tta_demuxer
txd_demuxer
tty_demuxer
vc1_demuxer
vc1t_demuxer
vmd_demuxer
voc_demuxer
vqf_demuxer
w64_demuxer
wav_demuxer
wc3_demuxer
wsaud_demuxer
wsvqa_demuxer
wtv_demuxer
wv_demuxer
xa_demuxer
xwma_demuxer
yop_demuxer
yuv4mpegpipe_demuxer
libnut_demuxer'
DEPEND_CMD='$(DEPCC) $(DEPFLAGS) $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o," > $(@:.o=.d)'
DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -MM'
DESKTOP_SESSION='gnome-classic'
DISPLAY=':0.0'
E1='0'
E2='2'
ENCODER_LIST='a64multi_encoder
a64multi5_encoder
asv1_encoder
asv2_encoder
bmp_encoder
dnxhd_encoder
dpx_encoder
dvvideo_encoder
ffv1_encoder
ffvhuff_encoder
flashsv_encoder
flashsv2_encoder
flv_encoder
gif_encoder
h261_encoder
h263_encoder
h263p_encoder
huffyuv_encoder
jpegls_encoder
ljpeg_encoder
mjpeg_encoder
mpeg1video_encoder
mpeg2video_encoder
mpeg4_encoder
msmpeg4v1_encoder
msmpeg4v2_encoder
msmpeg4v3_encoder
msvideo1_encoder
pam_encoder
pbm_encoder
pcx_encoder
pgm_encoder
pgmyuv_encoder
png_encoder
ppm_encoder
qtrle_encoder
rawvideo_encoder
roq_encoder
rv10_encoder
rv20_encoder
sgi_encoder
snow_encoder
svq1_encoder
targa_encoder
tiff_encoder
v210_encoder
wmv1_encoder
wmv2_encoder
zlib_encoder
zmbv_encoder
aac_encoder
ac3_encoder
ac3_fixed_encoder
ac3_float_encoder
alac_encoder
dca_encoder
flac_encoder
mp2_encoder
nellymoser_encoder
ra_144_encoder
sonic_encoder
sonic_ls_encoder
vorbis_encoder
wmav1_encoder
wmav2_encoder
pcm_alaw_encoder
pcm_f32be_encoder
pcm_f32le_encoder
pcm_f64be_encoder
pcm_f64le_encoder
pcm_mulaw_encoder
pcm_s8_encoder
pcm_s16be_encoder
pcm_s16le_encoder
pcm_s24be_encoder
pcm_s24daud_encoder
pcm_s24le_encoder
pcm_s32be_encoder
pcm_s32le_encoder
pcm_u8_encoder
pcm_u16be_encoder
pcm_u16le_encoder
pcm_u24be_encoder
pcm_u24le_encoder
pcm_u32be_encoder
pcm_u32le_encoder
pcm_zork_encoder
roq_dpcm_encoder
adpcm_adx_encoder
adpcm_g722_encoder
adpcm_g726_encoder
adpcm_ima_qt_encoder
adpcm_ima_wav_encoder
adpcm_ms_encoder
adpcm_swf_encoder
adpcm_yamaha_encoder
***_encoder
dvbsub_encoder
dvdsub_encoder
srt_encoder
xsub_encoder
libdirac_encoder
libfaac_encoder
libgsm_encoder
libgsm_ms_encoder
libmp3lame_encoder
libopencore_amrnb_encoder
libschroedinger_encoder
libtheora_encoder
libvo_aacenc_encoder
libvo_amrwbenc_encoder
libvorbis_encoder
libvpx_encoder
libx264_encoder
libxavs_encoder
libxvid_encoder'
FFMPEG_CONFIGURATION='--enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab'
FFSERVERLDFLAGS='-Wl,-E'
FILTER_LIST='anull_filter
anullsrc_filter
anullsink_filter
blackframe_filter
copy_filter
crop_filter
cropdetect_filter
drawbox_filter
drawtext_filter
fade_filter
fieldorder_filter
fifo_filter
format_filter
frei0r_filter
gradfun_filter
hflip_filter
hqdn3d_filter
mp_filter
noformat_filter
null_filter
ocv_filter
overlay_filter
pad_filter
pixdesctest_filter
scale_filter
setdar_filter
setpts_filter
setsar_filter
settb_filter
showinfo_filter
slicify_filter
transpose_filter
unsharp_filter
vflip_filter
yadif_filter
buffer_filter
color_filter
frei0r_src_filter
movie_filter
nullsrc_filter
nullsink_filter'
FULLNAME='$(NAME)$(BUILDSUF)'
GDMSESSION='gnome-classic'
GDM_KEYBOARD_LAYOUT='us'
GDM_LANG='el_GR.utf8'
GNOME_DESKTOP_SESSION_ID='this-is-deprecated'
GNOME_KEYRING_CONTROL='/tmp/keyring-T84EQ4'
GNOME_KEYRING_PID='1569'
GTK_MODULES='canberra-gtk-module:canberra-gtk-module'
HAVE_LIST='

altivec
amd3dnow
amd3dnowext
armv5te
armv6
armv6t2
armvfp
avx
iwmmxt
mmi
mmx
mmx2
neon
ppc4xx
sse
ssse3
vis


bigendian
fast_unaligned


pthreads
w32threads

aligned_stack
alsa_asoundlib_h
altivec_h
arpa_inet_h
attribute_may_alias
attribute_packed
bswap
closesocket
cmov
dcbzl
dev_bktr_ioctl_bt848_h
dev_bktr_ioctl_meteor_h
dev_ic_bt8xx_h
dev_video_meteor_ioctl_meteor_h
dev_video_bktr_ioctl_bt848_h
dlfcn_h
dlopen
dos_paths
ebp_available
ebx_available
exp2
exp2f
fast_64bit
fast_clz
fast_cmov
fcntl
fork
getaddrinfo
gethrtime
GetProcessMemoryInfo
GetProcessTimes
getrusage
gnu_as
struct_rusage_ru_maxrss
ibm_asm
inet_aton
inline_asm
isatty
kbhit
ldbrx
libdc1394_1
libdc1394_2
llrint
llrintf
local_aligned_16
local_aligned_8
localtime_r
log2
log2f
loongson
lrint
lrintf
lzo1x_999_compress
machine_ioctl_bt848_h
machine_ioctl_meteor_h
malloc_h
MapViewOfFile
memalign
mkstemp
mmap
pld
posix_memalign
round
roundf
sdl
sdl_video_size
setmode
sndio_h
socklen_t
soundcard_h
poll_h
setrlimit
strerror_r
strtok_r
struct_addrinfo
struct_ipv6_mreq
struct_sockaddr_in6
struct_sockaddr_sa_len
struct_sockaddr_storage
symver
symver_gnu_asm
symver_asm_label
sys_mman_h
sys_resource_h
sys_select_h
sys_soundcard_h
sys_videoio_h
ten_operands
termios_h
threads
trunc
truncf
vfp_args
VirtualAlloc
winsock2_h
xform_asm
xmm_clobbers
yasm
'
HAVE_LIST_PUB='
bigendian
fast_unaligned
'
HOME='/home/vagelis'
HWACCEL_LIST='h263_vaapi_hwaccel
h264_dxva2_hwaccel
h264_vaapi_hwaccel
mpeg1_vdpau_hwaccel
mpeg2_dxva2_hwaccel
mpeg2_vaapi_hwaccel
mpeg2_vdpau_hwaccel
mpeg4_vaapi_hwaccel
vc1_dxva2_hwaccel
vc1_vaapi_hwaccel
wmv3_dxva2_hwaccel
wmv3_vaapi_hwaccel'
IFS='
'
INDEV_LIST='alsa_indev
bktr_indev
dv1394_indev
fbdev_indev
jack_indev
oss_indev
sndio_indev
v4l2_indev
v4l_indev
vfwcap_indev
x11_grab_device_indev
libdc1394_indev'
LANG='el_GR.UTF-8'
LANGUAGE='el_GR:en'
LAVFI_TESTS='crop_test
crop_scale_test
crop_scale_vflip_test
crop_vflip_test
null_test
pixdesc_be_test
pixdesc_le_test
pixfmts_copy_le_test
pixfmts_crop_le_test
pixfmts_hflip_le_test
pixfmts_null_le_test
pixfmts_pad_le_test
pixfmts_scale_le_test
pixfmts_vflip_le_test
scale200_test
scale500_test
vflip_test
vflip_crop_test
vflip_vflip_test'
LAVF_TESTS='aiff_test
alaw_test
asf_test
au_test
avi_test
bmp_test
dv_fmt_test
ffm_test
flv_fmt_test
gif_test
gxf_test
jpg_test
mkv_test
mmf_test
mov_test
mpg_test
mulaw_test
mxf_test
nut_test
ogg_test
pbmpipe_test
pcx_test
pgm_test
pgmpipe_test
pixfmt_test
png_test
ppm_test
ppmpipe_test
rm_test
sgi_test
swf_test
tga_test
tiff_test
ts_test
voc_test
voc_s16_test
wav_test
yuv4mpeg_test'
LC_ALL='C'
LESSCLOSE='/usr/bin/lesspipe %s %s'
LESSOPEN='| /usr/bin/lesspipe %s'
LIBNAME='$(LIBPREF)$(FULLNAME)$(LIBSUF)'
LIBPREF='lib'
LIBSUF='.a'
LIB_INSTALL_EXTRA_CMD='$$(RANLIB) "$(LIBDIR)/$(LIBNAME)"'
LOGNAME='vagelis'
LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:s o=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31; 01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st =37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;3 1:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31 :*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz= 01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31 :*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*. deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ac e=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=0 1;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01 ;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;3 5:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35 :*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35: *.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:* .m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m 4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv =01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=0 1;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01; 35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:* .yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.a nx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au= 00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka= 00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00; 36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36 :*.xspf=00;36:'
MANDATORY_PATH='/usr/share/gconf/gnome-classic.mandatory.path'
MUXER_LIST='a64_muxer
ac3_muxer
adts_muxer
aiff_muxer
amr_muxer
asf_muxer
***_muxer
asf_stream_muxer
au_muxer
avi_muxer
avm2_muxer
cavsvideo_muxer
crc_muxer
daud_muxer
dirac_muxer
dnxhd_muxer
dts_muxer
dv_muxer
eac3_muxer
ffm_muxer
ffmetadata_muxer
filmstrip_muxer
flac_muxer
flv_muxer
framecrc_muxer
framemd5_muxer
g722_muxer
gif_muxer
gxf_muxer
h261_muxer
h263_muxer
h264_muxer
image2_muxer
image2pipe_muxer
ipod_muxer
ivf_muxer
m4v_muxer
md5_muxer
matroska_muxer
matroska_audio_muxer
microdvd_muxer
mjpeg_muxer
mlp_muxer
mmf_muxer
mov_muxer
mp2_muxer
mp3_muxer
mp4_muxer
mpeg1system_muxer
mpeg1vcd_muxer
mpeg1video_muxer
mpeg2dvd_muxer
mpeg2svcd_muxer
mpeg2video_muxer
mpeg2vob_muxer
mpegts_muxer
mpjpeg_muxer
mxf_muxer
mxf_d10_muxer
null_muxer
nut_muxer
ogg_muxer
pcm_alaw_muxer
pcm_mulaw_muxer
pcm_f64be_muxer
pcm_f64le_muxer
pcm_f32be_muxer
pcm_f32le_muxer
pcm_s32be_muxer
pcm_s32le_muxer
pcm_s24be_muxer
pcm_s24le_muxer
pcm_s16be_muxer
pcm_s16le_muxer
pcm_s8_muxer
pcm_u32be_muxer
pcm_u32le_muxer
pcm_u24be_muxer
pcm_u24le_muxer
pcm_u16be_muxer
pcm_u16le_muxer
pcm_u8_muxer
psp_muxer
rawvideo_muxer
rm_muxer
roq_muxer
rso_muxer
rtp_muxer
rtsp_muxer
sap_muxer
sox_muxer
spdif_muxer
srt_muxer
swf_muxer
tg2_muxer
tgp_muxer
truehd_muxer
vc1t_muxer
voc_muxer
wav_muxer
webm_muxer
yuv4mpegpipe_muxer
libnut_muxer'
OLDPWD='/home/vagelis/codec'
OPTIND='1'
ORBIT_SOCKETDIR='/tmp/orbit-vagelis'
OUTDEV_LIST='alsa_outdev
oss_outdev
sndio_outdev'
PARSER_LIST='aac_parser
aac_latm_parser
ac3_parser
cavsvideo_parser
dca_parser
dirac_parser
dnxhd_parser
dvbsub_parser
dvdsub_parser
flac_parser
h261_parser
h263_parser
h264_parser
mjpeg_parser
mlp_parser
mpeg4video_parser
mpegaudio_parser
mpegvideo_parser
pnm_parser
vc1_parser
vp3_parser
vp8_parser'
PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/real/RealPlayer'
PATHS_LIST='
bindir
datadir
incdir
libdir
mandir
prefix
shlibdir
'
PPID='3805'
PROTOCOL_LIST='applehttp_protocol
concat_protocol
crypto_protocol
file_protocol
gopher_protocol
http_protocol
mmsh_protocol
mmst_protocol
md5_protocol
pipe_protocol
rtmp_protocol
rtmpt_protocol
rtmpe_protocol
rtmpte_protocol
rtmps_protocol
rtp_protocol
tcp_protocol
udp_protocol'
PS1='$ '
PS2='> '
PS4='+ '
PWD='/home/vagelis/codec/ffmpeg'
SEEK_TESTS='seek_ac3_rm_test
seek_adpcm_ima_wav_test
seek_adpcm_ms_wav_test
seek_adpcm_qt_aiff_test
seek_adpcm_swf_flv_test
seek_adpcm_yam_wav_test
seek_alac_m4a_test
seek_asv1_avi_test
seek_asv2_avi_test
seek_dnxhd_1080i_mov_test
seek_dnxhd_720p_dnxhd_test
seek_dnxhd_720p_rd_dnxhd_test
seek_dv411_dv_test
seek_dv50_dv_test
seek_dv_dv_test
seek_error_mpeg4_adv_avi_test
seek_ffv1_avi_test
seek_flac_flac_test
seek_flashsv_flv_test
seek_flv_flv_test
seek_g726_wav_test
seek_h261_avi_test
seek_h263_avi_test
seek_h263p_avi_test
seek_huffyuv_avi_test
seek_image_bmp_test
seek_image_jpg_test
seek_image_pcx_test
seek_image_pgm_test
seek_image_ppm_test
seek_image_sgi_test
seek_image_tga_test
seek_image_tiff_test
seek_jpegls_avi_test
seek_lavf_aif_test
seek_lavf_al_test
seek_lavf_asf_test
seek_lavf_au_test
seek_lavf_avi_test
seek_lavf_dv_test
seek_lavf_ffm_test
seek_lavf_flv_test
seek_lavf_gif_test
seek_lavf_gxf_test
seek_lavf_mkv_test
seek_lavf_mmf_test
seek_lavf_mov_test
seek_lavf_mpg_test
seek_lavf_mxf_test
seek_lavf_mxf_d10_test
seek_lavf_nut_test
seek_lavf_ogg_test
seek_lavf_rm_test
seek_lavf_swf_test
seek_lavf_ts_test
seek_lavf_ul_test
seek_lavf_voc_test
seek_lavf_wav_test
seek_lavf_y4m_test
seek_ljpeg_avi_test
seek_mjpeg_avi_test
seek_mp2_mp2_test
seek_mpeg1_mpg_test
seek_mpeg1b_mpg_test
seek_mpeg2_422_mpg_test
seek_mpeg2_mpg_test
seek_mpeg2i_mpg_test
seek_mpeg2ivlc_qprd_mpg_test
seek_mpeg2reuse_mpg_test
seek_mpeg2thread_mpg_test
seek_mpeg2threadivlc_mpg_test
seek_mpeg4_adap_avi_test
seek_mpeg4_adv_avi_test
seek_mpeg4_nr_avi_test
seek_mpeg4_qprd_avi_test
seek_mpeg4_rc_avi_test
seek_mpeg4_thread_avi_test
seek_msmpeg4_avi_test
seek_msmpeg4v2_avi_test
seek_odivx_mp4_test
seek_pbmpipe_pbm_test
seek_pcm_alaw_wav_test
seek_pcm_f32be_au_test
seek_pcm_f32le_wav_test
seek_pcm_f64be_au_test
seek_pcm_f64le_wav_test
seek_pcm_mulaw_wav_test
seek_pcm_s16be_mkv_test
seek_pcm_s16be_mov_test
seek_pcm_s16le_mkv_test
seek_pcm_s16le_wav_test
seek_pcm_s24be_mov_test
seek_pcm_s24daud_302_test
seek_pcm_s24le_wav_test
seek_pcm_s32be_mov_test
seek_pcm_s32le_wav_test
seek_pcm_s8_mov_test
seek_pcm_u8_wav_test
seek_pcm_zork_wav_test
seek_pgmpipe_pgm_test
seek_ppmpipe_ppm_test
seek_rgb_avi_test
seek_roqav_roq_test
seek_rv10_rm_test
seek_rv20_rm_test
seek_snow53_avi_test
seek_snow_avi_test
seek_svq1_mov_test
seek_wmav1_asf_test
seek_wmav2_asf_test
seek_wmv1_avi_test
seek_wmv2_avi_test
seek_yuv_avi_test'
SESSION_MANAGER='local/vagrale-laptop:@/tmp/.ICE-unix/1588,unix/vagrale-laptop:/tmp/.ICE-unix/1588'
SHELL='/bin/bash'
SHFLAGS='-shared -Wl,-soname,$$(@F)'
SHLVL='1'
SLIBNAME='$(SLIBPREF)$(FULLNAME)$(SLIBSUF)'
SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMAJOR)'
SLIBNAME_WITH_VERSION='$(SLIBNAME).$(LIBVERSION)'
SLIBPREF='lib'
SLIBSUF='.so'
SPEECHD_PORT='7562'
SSH_AGENT_PID='1626'
SSH_AUTH_SOCK='/tmp/keyring-T84EQ4/ssh'
TERM='xterm'
THREADS_LIST='
pthreads
w32threads
'
UBUNTU_MENUPROXY='libappmenu.so'
USER='vagelis'
USERNAME='vagelis'
VCODEC_TESTS='asv1_test
asv2_test
dnxhd_1080i_test
dnxhd_720p_test
dnxhd_720p_rd_test
dv_test
dv50_test
error_test
ffv1_test
flashsv_test
flashsv2_test
flv_test
h261_test
h263_test
h263p_test
huffyuv_test
jpegls_test
ljpeg_test
mjpeg_test
mpeg_test
mpeg1b_test
mpeg2_test
mpeg2thread_test
mpeg4_test
mpeg4adv_test
mpeg4nr_test
mpeg4thread_test
msmpeg4_test
msmpeg4v2_test
msvideo1_test
qtrle_test
qtrlegray_test
rc_test
rgb_test
roq_test
rv10_test
rv20_test
snow_test
snowll_test
svq1_test
wmv1_test
wmv2_test
yuv_test'
WINDOWID='92274708'
WINDOWPATH='7'
XAUTHORITY='/var/run/gdm/auth-for-vagelis-00N8D1/database'
XDG_CONFIG_DIRS='/etc/xdg/xdg-gnome-classic:/etc/xdg'
XDG_DATA_DIRS='/usr/share/gnome-classic:/usr/share/gnome:/usr/local/share/:/usr/share/'
XDG_SESSION_COOKIE='d0c0eeb38696b1956e1c6c6e4ae9bc 0a-1305377370.894473-1409501221'
_='./configure'
a64_muxer='yes'
a64multi5_encoder='yes'
a64multi_encoder='yes'
aac_adtstoasc_bsf='yes'
aac_decoder='yes'
aac_decoder_select='mdct sinewin'
aac_demuxer='yes'
aac_encoder='yes'
aac_encoder_select='mdct sinewin'
aac_latm_decoder='yes'
aac_latm_decoder_select='aac_decoder aac_latm_parser'
aac_latm_parser='yes'
aac_parser='yes'
aasc_decoder='yes'
ac3_decoder='yes'
ac3_decoder_select='mdct ac3dsp ac3_parser'
ac3_demuxer='yes'
ac3_demuxer_select='ac3_parser'
ac3_encoder='yes'
ac3_encoder_select='mdct ac3dsp'
ac3_fixed_encoder='yes'
ac3_fixed_encoder_select='mdct ac3dsp'
ac3_fixed_test='yes'
ac3_fixed_test_deps='ac3_fixed_encoder ac3_decoder rm_muxer rm_demuxer'
ac3_float_encoder='yes'
ac3_muxer='yes'
ac3_parser='yes'
action='enable'
adpcm_4xm_decoder='yes'
adpcm_adx_decoder='yes'
adpcm_adx_encoder='yes'
adpcm_ct_decoder='yes'
adpcm_ea_decoder='yes'
adpcm_ea_maxis_xa_decoder='yes'
adpcm_ea_r1_decoder='yes'
adpcm_ea_r2_decoder='yes'
adpcm_ea_r3_decoder='yes'
adpcm_ea_xas_decoder='yes'
adpcm_g722_decoder='yes'
adpcm_g722_encoder='yes'
adpcm_g726_decoder='yes'
adpcm_g726_encoder='yes'
adpcm_ima_amv_decoder='yes'
adpcm_ima_dk3_decoder='yes'
adpcm_ima_dk4_decoder='yes'
adpcm_ima_ea_eacs_decoder='yes'
adpcm_ima_ea_sead_decoder='yes'
adpcm_ima_iss_decoder='yes'
adpcm_ima_qt_decoder='yes'
adpcm_ima_qt_encoder='yes'
adpcm_ima_qt_test='yes'
adpcm_ima_qt_test_deps='adpcm_ima_qt_encoder adpcm_ima_qt_decoder'
adpcm_ima_smjpeg_decoder='yes'
adpcm_ima_wav_decoder='yes'
adpcm_ima_wav_encoder='yes'
adpcm_ima_wav_test='yes'
adpcm_ima_wav_test_deps='adpcm_ima_wav_encoder adpcm_ima_wav_decoder'
adpcm_ima_ws_decoder='yes'
adpcm_ms_decoder='yes'
adpcm_ms_encoder='yes'
adpcm_ms_test='yes'
adpcm_ms_test_deps='adpcm_ms_encoder adpcm_ms_decoder'
adpcm_sbpro_2_decoder='yes'
adpcm_sbpro_3_decoder='yes'
adpcm_sbpro_4_decoder='yes'
adpcm_swf_decoder='yes'
adpcm_swf_encoder='yes'
adpcm_swf_test='yes'
adpcm_swf_test_deps='adpcm_swf_encoder adpcm_swf_decoder'
adpcm_thp_decoder='yes'
adpcm_xa_decoder='yes'
adpcm_yam_test='yes'
adpcm_yam_test_deps='adpcm_yamaha_encoder adpcm_yamaha_decoder'
adpcm_yamaha_decoder='yes'
adpcm_yamaha_encoder='yes'
adts_muxer='yes'
aea_demuxer='yes'
aiff_demuxer='yes'
aiff_muxer='yes'
aiff_test='yes'
aiff_test_deps='aiff_muxer aiff_demuxer'
alac_decoder='yes'
alac_encoder='yes'
alac_encoder_select='lpc'
alac_test='yes'
alac_test_deps='alac_encoder alac_decoder'
alaw_test='yes'
alaw_test_deps='pcm_alaw_muxer pcm_alaw_demuxer'
aligned_stack_if_any='ppc x86'
als_decoder='yes'
alsa_indev='yes'
alsa_indev_deps='alsa_asoundlib_h snd_pcm_htimestamp'
alsa_outdev='yes'
alsa_outdev_deps='alsa_asoundlib_h'
altivec='yes'
altivec_deps='ppc'
amd3dnow='yes'
amd3dnow_deps='mmx'
amd3dnowext='yes'
amd3dnowext_deps='amd3dnow'
amr_demuxer='yes'
amr_muxer='yes'
amrnb_decoder='yes'
amrnb_decoder_select='lsp'
amrwb_decoder='yes'
amrwb_decoder_select='lsp'
amv_decoder='yes'
anm_decoder='yes'
anm_demuxer='yes'
ansi_decoder='yes'
anull_filter='yes'
anullsink_filter='yes'
anullsrc_filter='yes'
apc_demuxer='yes'
ape_decoder='yes'
ape_demuxer='yes'
applehttp_demuxer='yes'
applehttp_protocol='yes'
ar_default='ar'
arch_default='i686'
armv5te='yes'
armv5te_deps='arm'
armv6='yes'
armv6_deps='arm'
armv6t2='yes'
armv6t2_deps='arm'
armvfp='yes'
armvfp_deps='arm'
asf_demuxer='yes'
asf_muxer='yes'
asf_stream_muxer='yes'
asf_stream_muxer_select='asf_muxer'
asf_test='yes'
asf_test_deps='asf_muxer asf_demuxer'
asm='yes'
***_decoder='yes'
***_demuxer='yes'
***_encoder='yes'
***_muxer='yes'
asv1_decoder='yes'
asv1_encoder='yes'
asv1_test='yes'
asv1_test_deps='asv1_encoder asv1_decoder'
asv2_decoder='yes'
asv2_encoder='yes'
asv2_test='yes'
asv2_test_deps='asv2_encoder asv2_decoder'
atrac1_decoder='yes'
atrac1_decoder_select='mdct sinewin'
atrac3_decoder='yes'
atrac3_decoder_select='mdct'
au_demuxer='yes'
au_muxer='yes'
au_test='yes'
au_test_deps='au_muxer au_demuxer'
aura2_decoder='yes'
aura_decoder='yes'
avcodec='yes'
avdevice='yes'
avdevice_deps='avcodec avformat'
avfilter='yes'
avformat='yes'
avformat_deps='avcodec'
avi_demuxer='yes'
avi_muxer='yes'
avi_test='yes'
avi_test_deps='avi_muxer avi_demuxer'
avisynth_demuxer='yes'
avisynth_demuxer_deps='avisynth'
avm2_muxer='yes'
avs_decoder='yes'
avs_demuxer='yes'
avutil='yes'
avx='yes'
avx_deps='ssse3'
bethsoftvid_decoder='yes'
bethsoftvid_demuxer='yes'
bfi_decoder='yes'
bfi_demuxer='yes'
bindir_default='${prefix}/bin'
bink_decoder='yes'
bink_demuxer='yes'
binkaudio_dct_decoder='yes'
binkaudio_dct_decoder_select='mdct rdft dct sinewin'
binkaudio_rdft_decoder='yes'
binkaudio_rdft_decoder_select='mdct rdft sinewin'
bktr_indev='yes'
bktr_indev_deps_any='dev_bktr_ioctl_bt848_h machine_ioctl_bt848_h dev_video_bktr_ioctl_bt848_h dev_ic_bt8xx_h'
blackframe_filter='yes'
blackframe_filter_deps='gpl'
bmp_decoder='yes'
bmp_encoder='yes'
bmp_test='yes'
bmp_test_deps='bmp_encoder bmp_decoder'
bsfs_if_any='aac_adtstoasc_bsf
chomp_bsf
dump_extradata_bsf
h264_mp4toannexb_bsf
imx_dump_header_bsf
mjpeg2jpeg_bsf
mjpega_dump_header_bsf
mp3_header_compress_bsf
mp3_header_decompress_bsf
mov2textsub_bsf
noise_bsf
remove_extradata_bsf
text2movsub_bsf'
buffer_filter='yes'
c93_decoder='yes'
c93_demuxer='yes'
caf_demuxer='yes'
cavs_decoder='yes'
cavs_decoder_select='golomb'
cavsvideo_demuxer='yes'
cavsvideo_muxer='yes'
cavsvideo_parser='yes'
cc_default='gcc'
cc_version='"unknown"'
cdg_demuxer='yes'
cdgraphics_decoder='yes'
chomp_bsf='yes'
cinepak_decoder='yes'
cljr_decoder='yes'
color_filter='yes'
concat_protocol='yes'
cook_decoder='yes'
cook_decoder_select='mdct sinewin'
copy_filter='yes'
cpu='generic'
crc_muxer='yes'
crop_filter='yes'
crop_scale_test='yes'
crop_scale_vflip_test='yes'
crop_test='yes'
crop_vflip_test='yes'
cropdetect_filter='yes'
cropdetect_filter_deps='gpl'
crypto_protocol='yes'
crystalhd_deps='libcrystalhd_libcrystalhd_if_h'
cscd_decoder='yes'
cscd_decoder_suggest='zlib'
cyuv_decoder='yes'
datadir_default='${prefix}/share/ffmpeg'
daud_demuxer='yes'
daud_muxer='yes'
dca_decoder='yes'
dca_decoder_select='mdct'
dca_encoder='yes'
dca_parser='yes'
dct_select='rdft'
debug='yes'
decoders_if_any='aasc_decoder
amv_decoder
anm_decoder
ansi_decoder
asv1_decoder
asv2_decoder
aura_decoder
aura2_decoder
avs_decoder
bethsoftvid_decoder
bfi_decoder
bink_decoder
bmp_decoder
c93_decoder
cavs_decoder
cdgraphics_decoder
cinepak_decoder
cljr_decoder
cscd_decoder
cyuv_decoder
dfa_decoder
dnxhd_decoder
dpx_decoder
dsicinvideo_decoder
dvvideo_decoder
dxa_decoder
eacmv_decoder
eamad_decoder
eatgq_decoder
eatgv_decoder
eatqi_decoder
eightbps_decoder
eightsvx_exp_decoder
eightsvx_fib_decoder
escape124_decoder
ffv1_decoder
ffvhuff_decoder
flashsv_decoder
flic_decoder
flv_decoder
fourxm_decoder
fraps_decoder
frwu_decoder
gif_decoder
h261_decoder
h263_decoder
h263i_decoder
h264_decoder
h264_crystalhd_decoder
h264_vdpau_decoder
huffyuv_decoder
idcin_decoder
iff_byterun1_decoder
iff_ilbm_decoder
indeo2_decoder
indeo3_decoder
indeo5_decoder
interplay_video_decoder
jpegls_decoder
jv_decoder
kgv1_decoder
kmvc_decoder
lagarith_decoder
loco_decoder
mdec_decoder
mimic_decoder
mjpeg_decoder
mjpegb_decoder
mmvideo_decoder
motionpixels_decoder
mpeg_xvmc_decoder
mpeg1video_decoder
mpeg2video_decoder
mpeg4_decoder
mpeg4_crystalhd_decoder
mpeg4_vdpau_decoder
mpegvideo_decoder
mpeg_vdpau_decoder
mpeg1_vdpau_decoder
mpeg2_crystalhd_decoder
msmpeg4_crystalhd_decoder
msmpeg4v1_decoder
msmpeg4v2_decoder
msmpeg4v3_decoder
msrle_decoder
msvideo1_decoder
mszh_decoder
mxpeg_decoder
nuv_decoder
pam_decoder
pbm_decoder
pcx_decoder
pgm_decoder
pgmyuv_decoder
pictor_decoder
png_decoder
ppm_decoder
ptx_decoder
qdraw_decoder
qpeg_decoder
qtrle_decoder
r10k_decoder
r210_decoder
rawvideo_decoder
rl2_decoder
roq_decoder
rpza_decoder
rv10_decoder
rv20_decoder
rv30_decoder
rv40_decoder
s302m_decoder
sgi_decoder
smacker_decoder
smc_decoder
snow_decoder
sp5x_decoder
sunrast_decoder
svq1_decoder
svq3_decoder
targa_decoder
theora_decoder
thp_decoder
tiertexseqvideo_decoder
tiff_decoder
tmv_decoder
truemotion1_decoder
truemotion2_decoder
tscc_decoder
txd_decoder
ulti_decoder
v210_decoder
v210x_decoder
vb_decoder
vc1_decoder
vc1_crystalhd_decoder
vc1_vdpau_decoder
vcr1_decoder
vmdvideo_decoder
vmnc_decoder
vp3_decoder
vp5_decoder
vp6_decoder
vp6a_decoder
vp6f_decoder
vp8_decoder
vqa_decoder
wmv1_decoder
wmv2_decoder
wmv3_decoder
wmv3_crystalhd_decoder
wmv3_vdpau_decoder
wnv1_decoder
xan_wc3_decoder
xan_wc4_decoder
xl_decoder
yop_decoder
zlib_decoder
zmbv_decoder
aac_decoder
aac_latm_decoder
ac3_decoder
alac_decoder
als_decoder
amrnb_decoder
amrwb_decoder
ape_decoder
atrac1_decoder
atrac3_decoder
binkaudio_dct_decoder
binkaudio_rdft_decoder
cook_decoder
dca_decoder
dsicinaudio_decoder
eac3_decoder
flac_decoder
gsm_decoder
gsm_ms_decoder
imc_decoder
mace3_decoder
mace6_decoder
mlp_decoder
mp1_decoder
mp1float_decoder
mp2_decoder
mp2float_decoder
mp3_decoder
mp3float_decoder
mp3adu_decoder
mp3adufloat_decoder
mp3on4_decoder
mp3on4float_decoder
mpc7_decoder
mpc8_decoder
nellymoser_decoder
qcelp_decoder
qdm2_decoder
ra_144_decoder
ra_288_decoder
shorten_decoder
sipr_decoder
smackaud_decoder
sonic_decoder
truehd_decoder
truespeech_decoder
tta_decoder
twinvq_decoder
vmdaudio_decoder
vorbis_decoder
wavpack_decoder
wmapro_decoder
wmav1_decoder
wmav2_decoder
wmavoice_decoder
ws_snd1_decoder
pcm_alaw_decoder
pcm_bluray_decoder
pcm_dvd_decoder
pcm_f32be_decoder
pcm_f32le_decoder
pcm_f64be_decoder
pcm_f64le_decoder
pcm_lxf_decoder
pcm_mulaw_decoder
pcm_s8_decoder
pcm_s16be_decoder
pcm_s16le_decoder
pcm_s16le_planar_decoder
pcm_s24be_decoder
pcm_s24daud_decoder
pcm_s24le_decoder
pcm_s32be_decoder
pcm_s32le_decoder
pcm_u8_decoder
pcm_u16be_decoder
pcm_u16le_decoder
pcm_u24be_decoder
pcm_u24le_decoder
pcm_u32be_decoder
pcm_u32le_decoder
pcm_zork_decoder
interplay_dpcm_decoder
roq_dpcm_decoder
sol_dpcm_decoder
xan_dpcm_decoder
adpcm_4xm_decoder
adpcm_adx_decoder
adpcm_ct_decoder
adpcm_ea_decoder
adpcm_ea_maxis_xa_decoder
adpcm_ea_r1_decoder
adpcm_ea_r2_decoder
adpcm_ea_r3_decoder
adpcm_ea_xas_decoder
adpcm_g722_decoder
adpcm_g726_decoder
adpcm_ima_amv_decoder
adpcm_ima_dk3_decoder
adpcm_ima_dk4_decoder
adpcm_ima_ea_eacs_decoder
adpcm_ima_ea_sead_decoder
adpcm_ima_iss_decoder
adpcm_ima_qt_decoder
adpcm_ima_smjpeg_decoder
adpcm_ima_wav_decoder
adpcm_ima_ws_decoder
adpcm_ms_decoder
adpcm_sbpro_2_decoder
adpcm_sbpro_3_decoder
adpcm_sbpro_4_decoder
adpcm_swf_decoder
adpcm_thp_decoder
adpcm_xa_decoder
adpcm_yamaha_decoder
***_decoder
dvbsub_decoder
dvdsub_decoder
pgssub_decoder
srt_decoder
xsub_decoder
libcelt_decoder
libdirac_decoder
libgsm_decoder
libgsm_ms_decoder
libopencore_amrnb_decoder
libopencore_amrwb_decoder
libopenjpeg_decoder
libschroedinger_decoder
libspeex_decoder
libvpx_decoder'
demuxers_if_any='aac_demuxer
ac3_demuxer
aea_demuxer
aiff_demuxer
amr_demuxer
anm_demuxer
apc_demuxer
ape_demuxer
applehttp_demuxer
asf_demuxer
***_demuxer
au_demuxer
avi_demuxer
avisynth_demuxer
avs_demuxer
bethsoftvid_demuxer
bfi_demuxer
bink_demuxer
c93_demuxer
caf_demuxer
cavsvideo_demuxer
cdg_demuxer
daud_demuxer
dfa_demuxer
dirac_demuxer
dnxhd_demuxer
dsicin_demuxer
dts_demuxer
dv_demuxer
dxa_demuxer
ea_demuxer
ea_cdata_demuxer
eac3_demuxer
ffm_demuxer
ffmetadata_demuxer
filmstrip_demuxer
flac_demuxer
flic_demuxer
flv_demuxer
fourxm_demuxer
g722_demuxer
gsm_demuxer
gxf_demuxer
h261_demuxer
h263_demuxer
h264_demuxer
idcin_demuxer
iff_demuxer
image2_demuxer
image2pipe_demuxer
ingenient_demuxer
ipmovie_demuxer
iss_demuxer
iv8_demuxer
ivf_demuxer
jv_demuxer
lmlm4_demuxer
lxf_demuxer
m4v_demuxer
matroska_demuxer
microdvd_demuxer
mjpeg_demuxer
mlp_demuxer
mm_demuxer
mmf_demuxer
mov_demuxer
mp3_demuxer
mpc_demuxer
mpc8_demuxer
mpegps_demuxer
mpegts_demuxer
mpegtsraw_demuxer
mpegvideo_demuxer
msnwc_tcp_demuxer
mtv_demuxer
mvi_demuxer
mxf_demuxer
mxg_demuxer
nc_demuxer
nsv_demuxer
nut_demuxer
nuv_demuxer
ogg_demuxer
oma_demuxer
pcm_alaw_demuxer
pcm_mulaw_demuxer
pcm_f64be_demuxer
pcm_f64le_demuxer
pcm_f32be_demuxer
pcm_f32le_demuxer
pcm_s32be_demuxer
pcm_s32le_demuxer
pcm_s24be_demuxer
pcm_s24le_demuxer
pcm_s16be_demuxer
pcm_s16le_demuxer
pcm_s8_demuxer
pcm_u32be_demuxer
pcm_u32le_demuxer
pcm_u24be_demuxer
pcm_u24le_demuxer
pcm_u16be_demuxer
pcm_u16le_demuxer
pcm_u8_demuxer
pmp_demuxer
pva_demuxer
qcp_demuxer
r3d_demuxer
rawvideo_demuxer
rl2_demuxer
rm_demuxer
roq_demuxer
rpl_demuxer
rso_demuxer
rtp_demuxer
rtsp_demuxer
sap_demuxer
sdp_demuxer
segafilm_demuxer
shorten_demuxer
siff_demuxer
smacker_demuxer
sol_demuxer
sox_demuxer
spdif_demuxer
srt_demuxer
str_demuxer
swf_demuxer
thp_demuxer
tiertexseq_demuxer
tmv_demuxer
truehd_demuxer
tta_demuxer
txd_demuxer
tty_demuxer
vc1_demuxer
vc1t_demuxer
vmd_demuxer
voc_demuxer
vqf_demuxer
w64_demuxer
wav_demuxer
wc3_demuxer
wsaud_demuxer
wsvqa_demuxer
wtv_demuxer
wv_demuxer
xa_demuxer
xwma_demuxer
yop_demuxer
yuv4mpegpipe_demuxer
libnut_demuxer'
dep='yuv4mpegpipe'
dfa_decoder='yes'
dfa_demuxer='yes'
dirac_demuxer='yes'
dirac_demuxer_select='dirac_parser'
dirac_muxer='yes'
dirac_parser='yes'
dnxhd_1080i_test='yes'
dnxhd_1080i_test_deps='dnxhd_encoder dnxhd_decoder'
dnxhd_720p_rd_test='yes'
dnxhd_720p_rd_test_deps='dnxhd_encoder dnxhd_decoder'
dnxhd_720p_test='yes'
dnxhd_720p_test_deps='dnxhd_encoder dnxhd_decoder'
dnxhd_decoder='yes'
dnxhd_demuxer='yes'
dnxhd_encoder='yes'
dnxhd_encoder_select='aandct'
dnxhd_muxer='yes'
dnxhd_parser='yes'
doc='yes'
doc_deps='texi2html'
dpx_decoder='yes'
dpx_encoder='yes'
drawbox_filter='yes'
drawtext_filter='yes'
drawtext_filter_deps='libfreetype'
dsicin_demuxer='yes'
dsicinaudio_decoder='yes'
dsicinvideo_decoder='yes'
dts_demuxer='yes'
dts_muxer='yes'
dump_extradata_bsf='yes'
dv1394_indev='yes'
dv1394_indev_deps='dv1394 dv_demuxer'
dv50_test='yes'
dv50_test_deps='dvvideo_encoder dvvideo_decoder'
dv_demuxer='yes'
dv_fmt_test='yes'
dv_fmt_test_deps='dv_muxer dv_demuxer'
dv_muxer='yes'
dv_test='yes'
dv_test_deps='dvvideo_encoder dvvideo_decoder'
dvbsub_decoder='yes'
dvbsub_encoder='yes'
dvbsub_parser='yes'
dvdsub_decoder='yes'
dvdsub_encoder='yes'
dvdsub_parser='yes'
dvvideo_decoder='yes'
dvvideo_encoder='yes'
dxa_decoder='yes'
dxa_decoder_select='zlib'
dxa_demuxer='yes'
ea_cdata_demuxer='yes'
ea_demuxer='yes'
eac3_decoder='yes'
eac3_decoder_select='ac3_decoder'
eac3_demuxer='yes'
eac3_demuxer_select='ac3_parser'
eac3_muxer='yes'
eacmv_decoder='yes'
eamad_decoder='yes'
eamad_decoder_select='aandct'
eatgq_decoder='yes'
eatgq_decoder_select='aandct'
eatgv_decoder='yes'
eatqi_decoder='yes'
eatqi_decoder_select='aandct'
eightbps_decoder='yes'
eightsvx_exp_decoder='yes'
eightsvx_fib_decoder='yes'
encoders_if_any='a64multi_encoder
a64multi5_encoder
asv1_encoder
asv2_encoder
bmp_encoder
dnxhd_encoder
dpx_encoder
dvvideo_encoder
ffv1_encoder
ffvhuff_encoder
flashsv_encoder
flashsv2_encoder
flv_encoder
gif_encoder
h261_encoder
h263_encoder
h263p_encoder
huffyuv_encoder
jpegls_encoder
ljpeg_encoder
mjpeg_encoder
mpeg1video_encoder
mpeg2video_encoder
mpeg4_encoder
msmpeg4v1_encoder
msmpeg4v2_encoder
msmpeg4v3_encoder
msvideo1_encoder
pam_encoder
pbm_encoder
pcx_encoder
pgm_encoder
pgmyuv_encoder
png_encoder
ppm_encoder
qtrle_encoder
rawvideo_encoder
roq_encoder
rv10_encoder
rv20_encoder
sgi_encoder
snow_encoder
svq1_encoder
targa_encoder
tiff_encoder
v210_encoder
wmv1_encoder
wmv2_encoder
zlib_encoder
zmbv_encoder
aac_encoder
ac3_encoder
ac3_fixed_encoder
ac3_float_encoder
alac_encoder
dca_encoder
flac_encoder
mp2_encoder
nellymoser_encoder
ra_144_encoder
sonic_encoder
sonic_ls_encoder
vorbis_encoder
wmav1_encoder
wmav2_encoder
pcm_alaw_encoder
pcm_f32be_encoder
pcm_f32le_encoder
pcm_f64be_encoder
pcm_f64le_encoder
pcm_mulaw_encoder
pcm_s8_encoder
pcm_s16be_encoder
pcm_s16le_encoder
pcm_s24be_encoder
pcm_s24daud_encoder
pcm_s24le_encoder
pcm_s32be_encoder
pcm_s32le_encoder
pcm_u8_encoder
pcm_u16be_encoder
pcm_u16le_encoder
pcm_u24be_encoder
pcm_u24le_encoder
pcm_u32be_encoder
pcm_u32le_encoder
pcm_zork_encoder
roq_dpcm_encoder
adpcm_adx_encoder
adpcm_g722_encoder
adpcm_g726_encoder
adpcm_ima_qt_encoder
adpcm_ima_wav_encoder
adpcm_ms_encoder
adpcm_swf_encoder
adpcm_yamaha_encoder
***_encoder
dvbsub_encoder
dvdsub_encoder
srt_encoder
xsub_encoder
libdirac_encoder
libfaac_encoder
libgsm_encoder
libgsm_ms_encoder
libmp3lame_encoder
libopencore_amrnb_encoder
libschroedinger_encoder
libtheora_encoder
libvo_aacenc_encoder
libvo_amrwbenc_encoder
libvorbis_encoder
libvpx_encoder
libx264_encoder
libxavs_encoder
libxvid_encoder'
error_test='yes'
error_test_deps='mpeg4_encoder mpeg4_decoder'
escape124_decoder='yes'
fade_filter='yes'
fast_64bit_if_any='alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64'
fast_clz_if_any='alpha armv5te avr32 mips ppc x86'
fast_unaligned_if_any='armv6 ppc x86'
fastdiv='yes'
fbdev_indev='yes'
fbdev_indev_deps='linux_fb_h'
ffm_demuxer='yes'
ffm_muxer='yes'
ffm_test='yes'
ffm_test_deps='ffm_muxer ffm_demuxer'
ffmetadata_demuxer='yes'
ffmetadata_muxer='yes'
ffmpeg='yes'
ffmpeg_deps='avcodec avformat swscale'
ffmpeg_select='buffer_filter'
ffplay='yes'
ffplay_deps='avcodec avformat swscale sdl'
ffplay_select='rdft'
ffprobe='yes'
ffprobe_deps='avcodec avformat'
ffserver='yes'
ffserver_deps='avformat ffm_muxer fork rtp_protocol rtsp_demuxer'
ffserver_extralibs='$ldl'
ffv1_decoder='yes'
ffv1_decoder_select='golomb'
ffv1_encoder='yes'
ffv1_test='yes'
ffv1_test_deps='ffv1_encoder ffv1_decoder'
ffvhuff_decoder='yes'
ffvhuff_encoder='yes'
fieldorder_filter='yes'
fifo_filter='yes'
file_protocol='yes'
filmstrip_demuxer='yes'
filmstrip_muxer='yes'
filters_if_any='anull_filter
anullsrc_filter
anullsink_filter
blackframe_filter
copy_filter
crop_filter
cropdetect_filter
drawbox_filter
drawtext_filter
fade_filter
fieldorder_filter
fifo_filter
format_filter
frei0r_filter
gradfun_filter
hflip_filter
hqdn3d_filter
mp_filter
noformat_filter
null_filter
ocv_filter
overlay_filter
pad_filter
pixdesctest_filter
scale_filter
setdar_filter
setpts_filter
setsar_filter
settb_filter
showinfo_filter
slicify_filter
transpose_filter
unsharp_filter
vflip_filter
yadif_filter
buffer_filter
color_filter
frei0r_src_filter
movie_filter
nullsrc_filter
nullsink_filter'
flac_decoder='yes'
flac_decoder_select='golomb'
flac_demuxer='yes'
flac_demuxer_select='flac_parser'
flac_encoder='yes'
flac_encoder_select='golomb lpc'
flac_muxer='yes'
flac_parser='yes'
flac_test='yes'
flac_test_deps='flac_encoder flac_decoder'
flashsv2_encoder='yes'
flashsv2_encoder_select='zlib'
flashsv2_test='yes'
flashsv_decoder='yes'
flashsv_decoder_select='zlib'
flashsv_encoder='yes'
flashsv_encoder_select='zlib'
flashsv_test='yes'
flashsv_test_deps='flashsv_encoder flashsv_decoder'
flic_decoder='yes'
flic_demuxer='yes'
flv_decoder='yes'
flv_decoder_select='h263_decoder'
flv_demuxer='yes'
flv_encoder='yes'
flv_encoder_select='h263_encoder'
flv_fmt_test='yes'
flv_fmt_test_deps='flv_muxer flv_demuxer'
flv_muxer='yes'
flv_test='yes'
flv_test_deps='flv_encoder flv_decoder'
format_filter='yes'
fourxm_decoder='yes'
fourxm_demuxer='yes'
framecrc_muxer='yes'
framemd5_muxer='yes'
fraps_decoder='yes'
fraps_decoder_select='huffman'
frei0r_filter='yes'
frei0r_filter_deps='frei0r dlopen strtok_r'
frei0r_src_filter='yes'
frei0r_src_filter_deps='frei0r dlopen strtok_r'
frwu_decoder='yes'
g722_demuxer='yes'
g722_muxer='yes'
g726_test='yes'
g726_test_deps='adpcm_g726_encoder adpcm_g726_decoder'
gif_decoder='yes'
gif_encoder='yes'
gif_muxer='yes'
gif_test='yes'
gif_test_deps='gif_encoder gif_decoder'
gopher_protocol='yes'
gopher_protocol_deps='network'
gpl='yes'
gradfun_filter='yes'
gsm_decoder='yes'
gsm_demuxer='yes'
gsm_ms_decoder='yes'
gxf_demuxer='yes'
gxf_muxer='yes'
gxf_test='yes'
gxf_test_deps='gxf_muxer gxf_demuxer'
h261_decoder='yes'
h261_demuxer='yes'
h261_encoder='yes'
h261_encoder_select='aandct'
h261_muxer='yes'
h261_parser='yes'
h261_test='yes'
h261_test_deps='h261_encoder h261_decoder'
h263_decoder='yes'
h263_decoder_select='h263_parser'
h263_demuxer='yes'
h263_encoder='yes'
h263_encoder_select='aandct'
h263_muxer='yes'
h263_parser='yes'
h263_test='yes'
h263_test_deps='h263_encoder h263_decoder'
h263_vaapi_hwaccel='yes'
h263_vaapi_hwaccel_select='vaapi h263_decoder'
h263i_decoder='yes'
h263i_decoder_select='h263_decoder'
h263p_encoder='yes'
h263p_encoder_select='h263_encoder'
h263p_test='yes'
h263p_test_deps='h263_encoder h263_decoder'
h264_crystalhd_decoder='yes'
h264_crystalhd_decoder_select='crystalhd h264_mp4toannexb_bsf h264_parser'
h264_decoder='yes'
h264_decoder_select='golomb h264dsp h264pred'
h264_demuxer='yes'
h264_dxva2_hwaccel='yes'
h264_dxva2_hwaccel_deps='dxva2api_h'
h264_dxva2_hwaccel_select='dxva2 h264_decoder'
h264_mp4toannexb_bsf='yes'
h264_muxer='yes'
h264_parser='yes'
h264_parser_select='golomb h264dsp h264pred'
h264_vaapi_hwaccel='yes'
h264_vaapi_hwaccel_select='vaapi'
h264_vdpau_decoder='yes'
h264_vdpau_decoder_select='vdpau h264_decoder'
hflip_filter='yes'
host_cc_default='gcc'
host_cflags='-D_ISOC99_SOURCE -O3 -g -Wall'
host_libs='-lm'
host_os='linux'
hqdn3d_filter='yes'
hqdn3d_filter_deps='gpl'
http_protocol='yes'
http_protocol_deps='network'
http_protocol_select='tcp_protocol'
huffyuv_decoder='yes'
huffyuv_encoder='yes'
huffyuv_test='yes'
huffyuv_test_deps='huffyuv_encoder huffyuv_decoder'
hwaccels_if_any='h263_vaapi_hwaccel
h264_dxva2_hwaccel
h264_vaapi_hwaccel
mpeg1_vdpau_hwaccel
mpeg2_dxva2_hwaccel
mpeg2_vaapi_hwaccel
mpeg2_vdpau_hwaccel
mpeg4_vaapi_hwaccel
vc1_dxva2_hwaccel
vc1_vaapi_hwaccel
wmv3_dxva2_hwaccel
wmv3_vaapi_hwaccel'
idcin_decoder='yes'
idcin_demuxer='yes'
iff_byterun1_decoder='yes'
iff_demuxer='yes'
iff_ilbm_decoder='yes'
image2_demuxer='yes'
image2_muxer='yes'
image2pipe_demuxer='yes'
image2pipe_muxer='yes'
imc_decoder='yes'
imc_decoder_select='fft mdct sinewin'
imx_dump_header_bsf='yes'
incdir_default='${prefix}/include'
indeo2_decoder='yes'
indeo3_decoder='yes'
indeo5_decoder='yes'
indevs_if_any='alsa_indev
bktr_indev
dv1394_indev
fbdev_indev
jack_indev
oss_indev
sndio_indev
v4l2_indev
v4l_indev
vfwcap_indev
x11_grab_device_indev
libdc1394_indev'
ingenient_demuxer='yes'
inline_asm_deps='!tms470'
interplay_dpcm_decoder='yes'
interplay_video_decoder='yes'
ipmovie_demuxer='yes'
ipod_muxer='yes'
ipod_muxer_select='mov_muxer'
iss_demuxer='yes'
iv8_demuxer='yes'
ivf_demuxer='yes'
ivf_muxer='yes'
iwmmxt='yes'
iwmmxt_deps='arm'
jack_indev='yes'
jack_indev_deps='jack_jack_h sem_timedwait'
jpegls_decoder='yes'
jpegls_decoder_select='golomb'
jpegls_encoder='yes'
jpegls_encoder_select='golomb'
jpegls_test='yes'
jpegls_test_deps='jpegls_encoder jpegls_decoder'
jpg_test='yes'
jpg_test_deps='mjpeg_encoder mjpeg_decoder'
jv_decoder='yes'
jv_demuxer='yes'
kgv1_decoder='yes'
kmvc_decoder='yes'
l=''
lagarith_decoder='yes'
libcelt_decoder='yes'
libcelt_decoder_deps='libcelt'
libdc1394_indev='yes'
libdc1394_indev_deps='libdc1394'
libdir_default='${prefix}/lib'
libdirac_decoder='yes'
libdirac_decoder_deps='libdirac !libschroedinger'
libdirac_encoder='yes'
libdirac_encoder_deps='libdirac'
libfaac='yes'
libfaac_encoder='yes'
libfaac_encoder_deps='libfaac'
libgsm_decoder='yes'
libgsm_decoder_deps='libgsm'
libgsm_encoder='yes'
libgsm_encoder_deps='libgsm'
libgsm_ms_decoder='yes'
libgsm_ms_decoder_deps='libgsm'
libgsm_ms_encoder='yes'
libgsm_ms_encoder_deps='libgsm'
libmp3lame='yes'
libmp3lame_encoder='yes'
libmp3lame_encoder_deps='libmp3lame'
libnut_demuxer='yes'
libnut_demuxer_deps='libnut'
libnut_muxer='yes'
libnut_muxer_deps='libnut'
libopencore_amrnb='yes'
libopencore_amrnb_decoder='yes'
libopencore_amrnb_decoder_deps='libopencore_amrnb'
libopencore_amrnb_encoder='yes'
libopencore_amrnb_encoder_deps='libopencore_amrnb'
libopencore_amrwb='yes'
libopencore_amrwb_decoder='yes'
libopencore_amrwb_decoder_deps='libopencore_amrwb'
libopenjpeg_decoder='yes'
libopenjpeg_decoder_deps='libopenjpeg'
libschroedinger_decoder='yes'
libschroedinger_decoder_deps='libschroedinger'
libschroedinger_encoder='yes'
libschroedinger_encoder_deps='libschroedinger'
libspeex_decoder='yes'
libspeex_decoder_deps='libspeex'
libtheora='yes'
libtheora_encoder='yes'
libtheora_encoder_deps='libtheora'
libvo_aacenc_encoder='yes'
libvo_aacenc_encoder_deps='libvo_aacenc'
libvo_amrwbenc_encoder='yes'
libvo_amrwbenc_encoder_deps='libvo_amrwbenc'
libvorbis='yes'
libvorbis_encoder='yes'
libvorbis_encoder_deps='libvorbis'
libvpx='yes'
libvpx_decoder='yes'
libvpx_decoder_deps='libvpx'
libvpx_encoder='yes'
libvpx_encoder_deps='libvpx'
libx264='yes'
libx264_encoder='yes'
libx264_encoder_deps='libx264'
libxavs_encoder='yes'
libxavs_encoder_deps='libxavs'
libxvid='yes'
libxvid_encoder='yes'
libxvid_encoder_deps='libxvid'
ljpeg_encoder='yes'
ljpeg_encoder_select='aandct'
ljpeg_test='yes'
ljpeg_test_deps='mjpeg_encoder mjpeg_decoder'
lmlm4_demuxer='yes'
ln_s='ln -sf'
loco_decoder='yes'
loco_decoder_select='golomb'
logfile='config.log'
lxf_demuxer='yes'
m4v_demuxer='yes'
m4v_muxer='yes'
mace3_decoder='yes'
mace6_decoder='yes'
mandir_default='${prefix}/share/man'
matroska_audio_muxer='yes'
matroska_audio_muxer_select='matroska_muxer'
matroska_demuxer='yes'
matroska_demuxer_suggest='zlib bzlib'
matroska_muxer='yes'
md5_muxer='yes'
md5_protocol='yes'
mdct_select='fft'
mdec_decoder='yes'
microdvd_demuxer='yes'
microdvd_muxer='yes'
mimic_decoder='yes'
mjpeg2jpeg_bsf='yes'
mjpeg_decoder='yes'
mjpeg_demuxer='yes'
mjpeg_encoder='yes'
mjpeg_encoder_select='aandct'
mjpeg_muxer='yes'
mjpeg_parser='yes'
mjpeg_test='yes'
mjpeg_test_deps='mjpeg_encoder mjpeg_decoder'
mjpega_dump_header_bsf='yes'
mjpegb_decoder='yes'
mkv_test='yes'
mkv_test_deps='matroska_muxer matroska_demuxer'
mlp_decoder='yes'
mlp_decoder_select='mlp_parser'
mlp_demuxer='yes'
mlp_muxer='yes'
mlp_parser='yes'
mm_demuxer='yes'
mmf_demuxer='yes'
mmf_muxer='yes'
mmf_test='yes'
mmf_test_deps='mmf_muxer mmf_demuxer'
mmi='yes'
mmi_deps='mips'
mmsh_protocol='yes'
mmsh_protocol_select='http_protocol'
mmst_protocol='yes'
mmst_protocol_deps='network'
mmvideo_decoder='yes'
mmx='yes'
mmx2='yes'
mmx2_deps='mmx'
mmx_deps='x86'
motionpixels_decoder='yes'
mov2textsub_bsf='yes'
mov_demuxer='yes'
mov_demuxer_suggest='zlib'
mov_muxer='yes'
mov_test='yes'
mov_test_deps='mov_muxer mov_demuxer'
movie_filter='yes'
movie_filter_deps='avcodec avformat'
mp1_decoder='yes'
mp1float_decoder='yes'
mp1float_decoder_select='dct'
mp2_decoder='yes'
mp2_encoder='yes'
mp2_muxer='yes'
mp2_test='yes'
mp2_test_deps='mp2_encoder mp2_decoder'
mp2float_decoder='yes'
mp2float_decoder_select='dct'
mp3_decoder='yes'
mp3_demuxer='yes'
mp3_demuxer_select='mpegaudio_parser'
mp3_header_compress_bsf='yes'
mp3_header_decompress_bsf='yes'
mp3_muxer='yes'
mp3adu_decoder='yes'
mp3adufloat_decoder='yes'
mp3adufloat_decoder_select='dct'
mp3float_decoder='yes'
mp3float_decoder_select='dct'
mp3on4_decoder='yes'
mp3on4float_decoder='yes'
mp3on4float_decoder_select='dct'
mp4_muxer='yes'
mp4_muxer_select='mov_muxer'
mp_filter='yes'
mp_filter_deps='gpl avcodec'
mpc7_decoder='yes'
mpc8_decoder='yes'
mpc8_demuxer='yes'
mpc_demuxer='yes'
mpeg1_vdpau_decoder='yes'
mpeg1_vdpau_decoder_select='vdpau mpeg1video_decoder'
mpeg1_vdpau_hwaccel='yes'
mpeg1_vdpau_hwaccel_select='vdpau mpeg1video_decoder'
mpeg1b_test='yes'
mpeg1b_test_deps='mpeg1video_encoder mpeg1video_decoder'
mpeg1system_muxer='yes'
mpeg1vcd_muxer='yes'
mpeg1video_decoder='yes'
mpeg1video_encoder='yes'
mpeg1video_encoder_select='aandct'
mpeg1video_muxer='yes'
mpeg2_crystalhd_decoder='yes'
mpeg2_crystalhd_decoder_select='crystalhd'
mpeg2_dxva2_hwaccel='yes'
mpeg2_dxva2_hwaccel_deps='dxva2api_h'
mpeg2_dxva2_hwaccel_select='dxva2 mpeg2video_decoder'
mpeg2_test='yes'
mpeg2_test_deps='mpeg2video_encoder mpeg2video_decoder'
mpeg2_vaapi_hwaccel='yes'
mpeg2_vaapi_hwaccel_select='vaapi mpeg2video_decoder'
mpeg2_vdpau_hwaccel='yes'
mpeg2_vdpau_hwaccel_select='vdpau mpeg2video_decoder'
mpeg2dvd_muxer='yes'
mpeg2svcd_muxer='yes'
mpeg2thread_test='yes'
mpeg2thread_test_deps='mpeg2video_encoder mpeg2video_decoder'
mpeg2video_decoder='yes'
mpeg2video_encoder='yes'
mpeg2video_encoder_select='aandct'
mpeg2video_muxer='yes'
mpeg2vob_muxer='yes'
mpeg4_crystalhd_decoder='yes'
mpeg4_crystalhd_decoder_select='crystalhd'
mpeg4_decoder='yes'
mpeg4_decoder_select='h263_decoder mpeg4video_parser'
mpeg4_encoder='yes'
mpeg4_encoder_select='h263_encoder'
mpeg4_test='yes'
mpeg4_test_deps='mpeg4_encoder mpeg4_decoder'
mpeg4_vaapi_hwaccel='yes'
mpeg4_vaapi_hwaccel_select='vaapi mpeg4_decoder'
mpeg4_vdpau_decoder='yes'
mpeg4_vdpau_decoder_select='vdpau mpeg4_decoder'
mpeg4adv_test='yes'
mpeg4adv_test_deps='mpeg4_encoder mpeg4_decoder'
mpeg4nr_test='yes'
mpeg4nr_test_deps='mpeg4_encoder mpeg4_decoder'
mpeg4thread_test='yes'
mpeg4thread_test_deps='mpeg4_encoder mpeg4_decoder'
mpeg4video_parser='yes'
mpeg_test='yes'
mpeg_test_deps='mpeg1video_encoder mpeg1video_decoder'
mpeg_vdpau_decoder='yes'
mpeg_vdpau_decoder_select='vdpau mpegvideo_decoder'
mpeg_xvmc_decoder='yes'
mpeg_xvmc_decoder_deps='X11_extensions_XvMClib_h'
mpeg_xvmc_decoder_select='mpegvideo_decoder'
mpegaudio_parser='yes'
mpegps_demuxer='yes'
mpegts_demuxer='yes'
mpegts_muxer='yes'
mpegtsraw_demuxer='yes'
mpegtsraw_demuxer_select='mpegts_demuxer'
mpegvideo_decoder='yes'
mpegvideo_demuxer='yes'
mpegvideo_parser='yes'
mpg_test='yes'
mpg_test_deps='mpeg1system_muxer mpegps_demuxer'
mpjpeg_muxer='yes'
msmpeg4_crystalhd_decoder='yes'
msmpeg4_crystalhd_decoder_select='crystalhd'
msmpeg4_test='yes'
msmpeg4_test_deps='msmpeg4v3_encoder msmpeg4v3_decoder'
msmpeg4v1_decoder='yes'
msmpeg4v1_decoder_select='h263_decoder'
msmpeg4v1_encoder='yes'
msmpeg4v1_encoder_select='h263_encoder'
msmpeg4v2_decoder='yes'
msmpeg4v2_decoder_select='h263_decoder'
msmpeg4v2_encoder='yes'
msmpeg4v2_encoder_select='h263_encoder'
msmpeg4v2_test='yes'
msmpeg4v2_test_deps='msmpeg4v2_encoder msmpeg4v2_decoder'
msmpeg4v3_decoder='yes'
msmpeg4v3_decoder_select='h263_decoder'
msmpeg4v3_encoder='yes'
msmpeg4v3_encoder_select='h263_encoder'
msnwc_tcp_demuxer='yes'
msrle_decoder='yes'
msvideo1_decoder='yes'
msvideo1_encoder='yes'
msvideo1_test='yes'
mszh_decoder='yes'
mtv_demuxer='yes'
mulaw_test='yes'
mulaw_test_deps='pcm_mulaw_muxer pcm_mulaw_demuxer'
muxers_if_any='a64_muxer
ac3_muxer
adts_muxer
aiff_muxer
amr_muxer
asf_muxer
***_muxer
asf_stream_muxer
au_muxer
avi_muxer
avm2_muxer
cavsvideo_muxer
crc_muxer
daud_muxer
dirac_muxer
dnxhd_muxer
dts_muxer
dv_muxer
eac3_muxer
ffm_muxer
ffmetadata_muxer
filmstrip_muxer
flac_muxer
flv_muxer
framecrc_muxer
framemd5_muxer
g722_muxer
gif_muxer
gxf_muxer
h261_muxer
h263_muxer
h264_muxer
image2_muxer
image2pipe_muxer
ipod_muxer
ivf_muxer
m4v_muxer
md5_muxer
matroska_muxer
matroska_audio_muxer
microdvd_muxer
mjpeg_muxer
mlp_muxer
mmf_muxer
mov_muxer
mp2_muxer
mp3_muxer
mp4_muxer
mpeg1system_muxer
mpeg1vcd_muxer
mpeg1video_muxer
mpeg2dvd_muxer
mpeg2svcd_muxer
mpeg2video_muxer
mpeg2vob_muxer
mpegts_muxer
mpjpeg_muxer
mxf_muxer
mxf_d10_muxer
null_muxer
nut_muxer
ogg_muxer
pcm_alaw_muxer
pcm_mulaw_muxer
pcm_f64be_muxer
pcm_f64le_muxer
pcm_f32be_muxer
pcm_f32le_muxer
pcm_s32be_muxer
pcm_s32le_muxer
pcm_s24be_muxer
pcm_s24le_muxer
pcm_s16be_muxer
pcm_s16le_muxer
pcm_s8_muxer
pcm_u32be_muxer
pcm_u32le_muxer
pcm_u24be_muxer
pcm_u24le_muxer
pcm_u16be_muxer
pcm_u16le_muxer
pcm_u8_muxer
psp_muxer
rawvideo_muxer
rm_muxer
roq_muxer
rso_muxer
rtp_muxer
rtsp_muxer
sap_muxer
sox_muxer
spdif_muxer
srt_muxer
swf_muxer
tg2_muxer
tgp_muxer
truehd_muxer
vc1t_muxer
voc_muxer
wav_muxer
webm_muxer
yuv4mpegpipe_muxer
libnut_muxer'
mvi_demuxer='yes'
mxf_d10_muxer='yes'
mxf_d10_muxer_select='mxf_muxer'
mxf_demuxer='yes'
mxf_muxer='yes'
mxf_test='yes'
mxf_test_deps='mxf_muxer mxf_demuxer'
mxg_demuxer='yes'
mxpeg_decoder='yes'
n='protocols'
name='yuv4mpeg'
nc_demuxer='yes'
need_memalign='altivec neon sse'
nellymoser_decoder='yes'
nellymoser_decoder_select='mdct sinewin'
nellymoser_encoder='yes'
nellymoser_encoder_select='mdct sinewin'
neon='yes'
neon_deps='arm'
network='yes'
nm_default='nm'
nm_opts='-g'
noformat_filter='yes'
nogas=':'
noise_bsf='yes'
nonfree='yes'
nsv_demuxer='yes'
null_filter='yes'
null_muxer='yes'
null_test='yes'
nullsink_filter='yes'
nullsrc_filter='yes'
nut_demuxer='yes'
nut_muxer='yes'
nut_test='yes'
nut_test_deps='nut_muxer nut_demuxer'
nuv_decoder='yes'
nuv_demuxer='yes'
objformat='elf'
ocv_filter='yes'
ocv_filter_deps='libopencv'
ogg_demuxer='yes'
ogg_demuxer_select='golomb'
ogg_muxer='yes'
ogg_test='yes'
ogg_test_deps='ogg_muxer ogg_demuxer'
oma_demuxer='yes'
op='='
opt='--enable-x11grab'
optimizations='yes'
option='x11grab'
optval='--enable-x11grab'
oss_indev='yes'
oss_indev_deps_any='soundcard_h sys_soundcard_h'
oss_outdev='yes'
oss_outdev_deps_any='soundcard_h sys_soundcard_h'
outdevs_if_any='alsa_outdev
oss_outdev
sndio_outdev'
overlay_filter='yes'
pad_filter='yes'
pam_decoder='yes'
pam_encoder='yes'
parsers_if_any='aac_parser
aac_latm_parser
ac3_parser
cavsvideo_parser
dca_parser
dirac_parser
dnxhd_parser
dvbsub_parser
dvdsub_parser
flac_parser
h261_parser
h263_parser
h264_parser
mjpeg_parser
mlp_parser
mpeg4video_parser
mpegaudio_parser
mpegvideo_parser
pnm_parser
vc1_parser
vp3_parser
vp8_parser'
pbm_decoder='yes'
pbm_encoder='yes'
pbmpipe_test='yes'
pbmpipe_test_deps='pbm_encoder pbm_decoder'
pcm_alaw_decoder='yes'
pcm_alaw_demuxer='yes'
pcm_alaw_encoder='yes'
pcm_alaw_muxer='yes'
pcm_bluray_decoder='yes'
pcm_dvd_decoder='yes'
pcm_f32be_decoder='yes'
pcm_f32be_demuxer='yes'
pcm_f32be_encoder='yes'
pcm_f32be_muxer='yes'
pcm_f32le_decoder='yes'
pcm_f32le_demuxer='yes'
pcm_f32le_encoder='yes'
pcm_f32le_muxer='yes'
pcm_f64be_decoder='yes'
pcm_f64be_demuxer='yes'
pcm_f64be_encoder='yes'
pcm_f64be_muxer='yes'
pcm_f64le_decoder='yes'
pcm_f64le_demuxer='yes'
pcm_f64le_encoder='yes'
pcm_f64le_muxer='yes'
pcm_lxf_decoder='yes'
pcm_mulaw_decoder='yes'
pcm_mulaw_demuxer='yes'
pcm_mulaw_encoder='yes'
pcm_mulaw_muxer='yes'
pcm_s16be_decoder='yes'
pcm_s16be_demuxer='yes'
pcm_s16be_encoder='yes'
pcm_s16be_muxer='yes'
pcm_s16le_decoder='yes'
pcm_s16le_demuxer='yes'
pcm_s16le_encoder='yes'
pcm_s16le_muxer='yes'
pcm_s16le_planar_decoder='yes'
pcm_s24be_decoder='yes'
pcm_s24be_demuxer='yes'
pcm_s24be_encoder='yes'
pcm_s24be_muxer='yes'
pcm_s24daud_decoder='yes'
pcm_s24daud_encoder='yes'
pcm_s24le_decoder='yes'
pcm_s24le_demuxer='yes'
pcm_s24le_encoder='yes'
pcm_s24le_muxer='yes'
pcm_s32be_decoder='yes'
pcm_s32be_demuxer='yes'
pcm_s32be_encoder='yes'
pcm_s32be_muxer='yes'
pcm_s32le_decoder='yes'
pcm_s32le_demuxer='yes'
pcm_s32le_encoder='yes'
pcm_s32le_muxer='yes'
pcm_s8_decoder='yes'
pcm_s8_demuxer='yes'
pcm_s8_encoder='yes'
pcm_s8_muxer='yes'
pcm_test='yes'
pcm_test_deps='pcm_alaw_decoder pcm_alaw_encoder
pcm_f32be_decoder pcm_f32be_encoder
pcm_f32le_decoder pcm_f32le_encoder
pcm_f64be_decoder pcm_f64be_encoder
pcm_f64le_decoder pcm_f64le_encoder
pcm_mulaw_decoder pcm_mulaw_encoder
pcm_s8_decoder pcm_s8_encoder
pcm_s16be_decoder pcm_s16be_encoder
pcm_s16le_decoder pcm_s16le_encoder
pcm_s24be_decoder pcm_s24be_encoder
pcm_s24daud_decoder pcm_s24daud_encoder
pcm_s24le_decoder pcm_s24le_encoder
pcm_s32be_decoder pcm_s32be_encoder
pcm_s32le_decoder pcm_s32le_encoder
pcm_u8_decoder pcm_u8_encoder
pcm_u16be_decoder pcm_u16be_encoder
pcm_u16le_decoder pcm_u16le_encoder
pcm_u24be_decoder pcm_u24be_encoder
pcm_u24le_decoder pcm_u24le_encoder
pcm_u32be_decoder pcm_u32be_encoder
pcm_u32le_decoder pcm_u32le_encoder
pcm_zork_decoder pcm_zork_encoder'
pcm_u16be_decoder='yes'
pcm_u16be_demuxer='yes'
pcm_u16be_encoder='yes'
pcm_u16be_muxer='yes'
pcm_u16le_decoder='yes'
pcm_u16le_demuxer='yes'
pcm_u16le_encoder='yes'
pcm_u16le_muxer='yes'
pcm_u24be_decoder='yes'
pcm_u24be_demuxer='yes'
pcm_u24be_encoder='yes'
pcm_u24be_muxer='yes'
pcm_u24le_decoder='yes'
pcm_u24le_demuxer='yes'
pcm_u24le_encoder='yes'
pcm_u24le_muxer='yes'
pcm_u32be_decoder='yes'
pcm_u32be_demuxer='yes'
pcm_u32be_encoder='yes'
pcm_u32be_muxer='yes'
pcm_u32le_decoder='yes'
pcm_u32le_demuxer='yes'
pcm_u32le_encoder='yes'
pcm_u32le_muxer='yes'
pcm_u8_decoder='yes'
pcm_u8_demuxer='yes'
pcm_u8_encoder='yes'
pcm_u8_muxer='yes'
pcm_zork_decoder='yes'
pcm_zork_encoder='yes'
pcx_decoder='yes'
pcx_encoder='yes'
pcx_test='yes'
pcx_test_deps='pcx_encoder pcx_decoder'
pgm_decoder='yes'
pgm_encoder='yes'
pgm_test='yes'
pgm_test_deps='pgm_encoder pgm_decoder'
pgmpipe_test='yes'
pgmpipe_test_deps='pgm_encoder pgm_decoder'
pgmyuv_decoder='yes'
pgmyuv_encoder='yes'
pgssub_decoder='yes'
pictor_decoder='yes'
pipe_protocol='yes'
pixdesc_be_test='yes'
pixdesc_be_test_deps='bigendian'
pixdesc_le_test='yes'
pixdesc_le_test_deps='!bigendian'
pixdesctest_filter='yes'
pixfmt_test='yes'
pixfmt_test_deps='rawvideo_muxer rawvideo_demuxer'
pixfmts_copy_be_test_deps='bigendian'
pixfmts_copy_le_test='yes'
pixfmts_copy_le_test_deps='!bigendian'
pixfmts_crop_be_test_deps='bigendian'
pixfmts_crop_le_test='yes'
pixfmts_crop_le_test_deps='!bigendian'
pixfmts_hflip_be_test_deps='bigendian'
pixfmts_hflip_le_test='yes'
pixfmts_hflip_le_test_deps='!bigendian'
pixfmts_null_be_test_deps='bigendian'
pixfmts_null_le_test='yes'
pixfmts_null_le_test_deps='!bigendian'
pixfmts_pad_be_test_deps='bigendian'
pixfmts_pad_le_test='yes'
pixfmts_pad_le_test_deps='!bigendian'
pixfmts_scale_be_test_deps='bigendian'
pixfmts_scale_le_test='yes'
pixfmts_scale_le_test_deps='!bigendian'
pixfmts_vflip_be_test_deps='bigendian'
pixfmts_vflip_le_test='yes'
pixfmts_vflip_le_test_deps='!bigendian'
pkg_config_default='pkg-config'
pmp_demuxer='yes'
png_decoder='yes'
png_decoder_select='zlib'
png_encoder='yes'
png_encoder_select='zlib'
png_test='yes'
png_test_deps='png_encoder png_decoder'
pnm_parser='yes'
postproc='yes'
postproc_deps='gpl'
ppc4xx='yes'
ppc4xx_deps='ppc'
ppm_decoder='yes'
ppm_encoder='yes'
ppm_test='yes'
ppm_test_deps='ppm_encoder ppm_decoder'
ppmpipe_test='yes'
ppmpipe_test_deps='ppm_encoder ppm_decoder'
prefix_default='/usr/local'
protocols='yes'
protocols_if_any='applehttp_protocol
concat_protocol
crypto_protocol
file_protocol
gopher_protocol
http_protocol
mmsh_protocol
mmst_protocol
md5_protocol
pipe_protocol
rtmp_protocol
rtmpt_protocol
rtmpe_protocol
rtmpte_protocol
rtmps_protocol
rtp_protocol
tcp_protocol
udp_protocol'
psp_muxer='yes'
psp_muxer_select='mov_muxer'
ptx_decoder='yes'
pva_demuxer='yes'
qcelp_decoder='yes'
qcelp_decoder_select='lsp'
qcp_demuxer='yes'
qdm2_decoder='yes'
qdm2_decoder_select='mdct rdft'
qdraw_decoder='yes'
qpeg_decoder='yes'
qtrle_decoder='yes'
qtrle_encoder='yes'
qtrle_test='yes'
qtrlegray_test='yes'
quotes='""'
r='--enable-x11grab'
r10k_decoder='yes'
r210_decoder='yes'
r3d_demuxer='yes'
ra_144_decoder='yes'
ra_144_encoder='yes'
ra_144_encoder_select='lpc'
ra_288_decoder='yes'
ranlib='ranlib'
rawvideo_decoder='yes'
rawvideo_demuxer='yes'
rawvideo_encoder='yes'
rawvideo_muxer='yes'
rc_test='yes'
rc_test_deps='mpeg4_encoder mpeg4_decoder'
rdft_select='fft'
remove_extradata_bsf='yes'
rgb_test='yes'
rgb_test_deps='rawvideo_encoder rawvideo_decoder'
rl2_decoder='yes'
rl2_demuxer='yes'
rm_demuxer='yes'
rm_muxer='yes'
rm_test='yes'
rm_test_deps='rm_muxer rm_demuxer'
roq_decoder='yes'
roq_demuxer='yes'
roq_dpcm_decoder='yes'
roq_dpcm_encoder='yes'
roq_encoder='yes'
roq_muxer='yes'
roq_test='yes'
roq_test_deps='roq_encoder roq_decoder'
rpl_demuxer='yes'
rpza_decoder='yes'
rso_demuxer='yes'
rso_muxer='yes'
rtmp_protocol='yes'
rtmp_protocol_select='tcp_protocol'
rtmpe_protocol='yes'
rtmps_protocol='yes'
rtmpt_protocol='yes'
rtmpte_protocol='yes'
rtp_demuxer='yes'
rtp_demuxer_select='sdp_demuxer'
rtp_muxer='yes'
rtp_protocol='yes'
rtp_protocol_select='udp_protocol'
rtpdec_select='asf_demuxer rm_demuxer rtp_protocol mpegts_demuxer mov_demuxer'
rtsp_demuxer='yes'
rtsp_demuxer_select='http_protocol rtpdec'
rtsp_muxer='yes'
rtsp_muxer_select='rtp_muxer http_protocol rtp_protocol'
rv10_decoder='yes'
rv10_decoder_select='h263_decoder'
rv10_encoder='yes'
rv10_encoder_select='h263_encoder'
rv10_test='yes'
rv10_test_deps='rv10_encoder rv10_decoder'
rv20_decoder='yes'
rv20_decoder_select='h263_decoder'
rv20_encoder='yes'
rv20_encoder_select='h263_encoder'
rv20_test='yes'
rv20_test_deps='rv20_encoder rv20_decoder'
rv30_decoder='yes'
rv30_decoder_select='golomb h264pred'
rv40_decoder='yes'
rv40_decoder_select='golomb h264pred'
s302m_decoder='yes'
sap_demuxer='yes'
sap_demuxer_select='sdp_demuxer'
sap_muxer='yes'
sap_muxer_select='rtp_muxer rtp_protocol'
scale200_test='yes'
scale500_test='yes'
scale_filter='yes'
scale_filter_deps='swscale'
sdp_demuxer='yes'
sdp_demuxer_select='rtpdec'
seek_ac3_rm_test='yes'
seek_adpcm_ima_wav_test='yes'
seek_adpcm_ms_wav_test='yes'
seek_adpcm_qt_aiff_test='yes'
seek_adpcm_swf_flv_test='yes'
seek_adpcm_yam_wav_test='yes'
seek_alac_m4a_test='yes'
seek_asv1_avi_test='yes'
seek_asv2_avi_test='yes'
seek_dnxhd_1080i_mov_test='yes'
seek_dnxhd_720p_dnxhd_test='yes'
seek_dnxhd_720p_rd_dnxhd_test='yes'
seek_dv411_dv_test='yes'
seek_dv50_dv_test='yes'
seek_dv_dv_test='yes'
seek_error_mpeg4_adv_avi_test='yes'
seek_ffv1_avi_test='yes'
seek_flac_flac_test='yes'
seek_flashsv_flv_test='yes'
seek_flv_flv_test='yes'
seek_g726_wav_test='yes'
seek_h261_avi_test='yes'
seek_h263_avi_test='yes'
seek_h263p_avi_test='yes'
seek_huffyuv_avi_test='yes'
seek_image_bmp_test='yes'
seek_image_jpg_test='yes'
seek_image_pcx_test='yes'
seek_image_pgm_test='yes'
seek_image_ppm_test='yes'
seek_image_sgi_test='yes'
seek_image_tga_test='yes'
seek_image_tiff_test='yes'
seek_jpegls_avi_test='yes'
seek_lavf_aif_test='yes'
seek_lavf_al_test='yes'
seek_lavf_asf_test='yes'
seek_lavf_au_test='yes'
seek_lavf_avi_test='yes'
seek_lavf_dv_test='yes'
seek_lavf_ffm_test='yes'
seek_lavf_flv_test='yes'
seek_lavf_gif_test='yes'
seek_lavf_gxf_test='yes'
seek_lavf_mkv_test='yes'
seek_lavf_mmf_test='yes'
seek_lavf_mov_test='yes'
seek_lavf_mpg_test='yes'
seek_lavf_mxf_d10_test='yes'
seek_lavf_mxf_test='yes'
seek_lavf_nut_test='yes'
seek_lavf_ogg_test='yes'
seek_lavf_rm_test='yes'
seek_lavf_swf_test='yes'
seek_lavf_ts_test='yes'
seek_lavf_ul_test='yes'
seek_lavf_voc_test='yes'
seek_lavf_wav_test='yes'
seek_lavf_y4m_test='yes'
seek_ljpeg_avi_test='yes'
seek_mjpeg_avi_test='yes'
seek_mp2_mp2_test='yes'
seek_mpeg1_mpg_test='yes'
seek_mpeg1b_mpg_test='yes'
seek_mpeg2_422_mpg_test='yes'
seek_mpeg2_mpg_test='yes'
seek_mpeg2i_mpg_test='yes'
seek_mpeg2ivlc_qprd_mpg_test='yes'
seek_mpeg2reuse_mpg_test='yes'
seek_mpeg2thread_mpg_test='yes'
seek_mpeg2threadivlc_mpg_test='yes'
seek_mpeg4_adap_avi_test='yes'
seek_mpeg4_adv_avi_test='yes'
seek_mpeg4_nr_avi_test='yes'
seek_mpeg4_qprd_avi_test='yes'
seek_mpeg4_rc_avi_test='yes'
seek_mpeg4_thread_avi_test='yes'
seek_msmpeg4_avi_test='yes'
seek_msmpeg4v2_avi_test='yes'
seek_odivx_mp4_test='yes'
seek_pbmpipe_pbm_test='yes'
seek_pcm_alaw_wav_test='yes'
seek_pcm_f32be_au_test='yes'
seek_pcm_f32le_wav_test='yes'
seek_pcm_f64be_au_test='yes'
seek_pcm_f64le_wav_test='yes'
seek_pcm_mulaw_wav_test='yes'
seek_pcm_s16be_mkv_test='yes'
seek_pcm_s16be_mov_test='yes'
seek_pcm_s16le_mkv_test='yes'
seek_pcm_s16le_wav_test='yes'
seek_pcm_s24be_mov_test='yes'
seek_pcm_s24daud_302_test='yes'
seek_pcm_s24le_wav_test='yes'
seek_pcm_s32be_mov_test='yes'
seek_pcm_s32le_wav_test='yes'
seek_pcm_s8_mov_test='yes'
seek_pcm_u8_wav_test='yes'
seek_pcm_zork_wav_test='yes'
seek_pgmpipe_pgm_test='yes'
seek_ppmpipe_ppm_test='yes'
seek_rgb_avi_test='yes'
seek_roqav_roq_test='yes'
seek_rv10_rm_test='yes'
seek_rv20_rm_test='yes'
seek_snow53_avi_test='yes'
seek_snow_avi_test='yes'
seek_svq1_mov_test='yes'
seek_wmav1_asf_test='yes'
seek_wmav2_asf_test='yes'
seek_wmv1_avi_test='yes'
seek_wmv2_avi_test='yes'
seek_yuv_avi_test='yes'
segafilm_demuxer='yes'
setdar_filter='yes'
setpts_filter='yes'
setsar_filter='yes'
settb_filter='yes'
sgi_decoder='yes'
sgi_encoder='yes'
sgi_test='yes'
sgi_test_deps='sgi_encoder sgi_decoder'
shlibdir_default='${prefix}/lib'
shorten_decoder='yes'
shorten_decoder_select='golomb'
shorten_demuxer='yes'
showinfo_filter='yes'
siff_demuxer='yes'
sipr_decoder='yes'
sipr_decoder_select='lsp'
slicify_filter='yes'
smackaud_decoder='yes'
smacker_decoder='yes'
smacker_demuxer='yes'
smc_decoder='yes'
sndio_indev='yes'
sndio_indev_deps='sndio_h'
sndio_outdev='yes'
sndio_outdev_deps='sndio_h'
snow_decoder='yes'
snow_decoder_select='dwt'
snow_encoder='yes'
snow_encoder_select='aandct dwt'
snow_test='yes'
snow_test_deps='snow_encoder snow_decoder'
snowll_test='yes'
snowll_test_deps='snow_encoder snow_decoder'
sol_demuxer='yes'
sol_dpcm_decoder='yes'
sonic_decoder='yes'
sonic_decoder_select='golomb'
sonic_encoder='yes'
sonic_encoder_select='golomb'
sonic_ls_encoder='yes'
sonic_ls_encoder_select='golomb'
source_path='/home/vagelis/codec/ffmpeg'
source_path_used='no'
sox_demuxer='yes'
sox_muxer='yes'
sp5x_decoder='yes'
spdif_demuxer='yes'
spdif_muxer='yes'
spdif_muxer_select='aac_parser'
srt_decoder='yes'
srt_demuxer='yes'
srt_encoder='yes'
srt_muxer='yes'
sse='yes'
sse_deps='mmx'
ssse3='yes'
ssse3_deps='sse'
static='yes'
str_demuxer='yes'
strip_default='strip'
stripping='yes'
suf1='_muxer'
suf2='_demuxer'
sunrast_decoder='yes'
svq1_decoder='yes'
svq1_encoder='yes'
svq1_encoder_select='aandct'
svq1_test='yes'
svq1_test_deps='svq1_encoder svq1_decoder'
svq3_decoder='yes'
svq3_decoder_select='golomb h264dsp h264pred'
svq3_decoder_suggest='zlib'
swf_demuxer='yes'
swf_muxer='yes'
swf_test='yes'
swf_test_deps='swf_muxer swf_demuxer'
swscale='yes'
swscale_alpha='yes'
symver_if_any='symver_asm_label symver_gnu_asm'
targa_decoder='yes'
targa_encoder='yes'
target_os_default='linux'
target_path='$(CURDIR)'
tcp_protocol='yes'
tcp_protocol_deps='network'
tests='yuv4mpeg'
text2movsub_bsf='yes'
tg2_muxer='yes'
tg2_muxer_select='mov_muxer'
tga_test='yes'
tga_test_deps='targa_encoder targa_decoder'
tgp_muxer='yes'
tgp_muxer_select='mov_muxer'
theora_decoder='yes'
theora_decoder_select='vp3_decoder'
thp_decoder='yes'
thp_demuxer='yes'
tiertexseq_demuxer='yes'
tiertexseqvideo_decoder='yes'
tiff_decoder='yes'
tiff_decoder_suggest='zlib'
tiff_encoder='yes'
tiff_encoder_suggest='zlib'
tiff_test='yes'
tiff_test_deps='tiff_encoder tiff_decoder'
tmv_decoder='yes'
tmv_demuxer='yes'
transpose_filter='yes'
truehd_decoder='yes'
truehd_decoder_select='mlp_decoder'
truehd_demuxer='yes'
truehd_muxer='yes'
truemotion1_decoder='yes'
truemotion2_decoder='yes'
truespeech_decoder='yes'
ts_test='yes'
ts_test_deps='mpegts_muxer mpegts_demuxer'
tscc_decoder='yes'
tscc_decoder_select='zlib'
tta_decoder='yes'
tta_demuxer='yes'
tty_demuxer='yes'
twinvq_decoder='yes'
twinvq_decoder_select='mdct lsp sinewin'
txd_decoder='yes'
txd_demuxer='yes'
udp_protocol='yes'
udp_protocol_deps='network pthreads'
ulti_decoder='yes'
unsharp_filter='yes'
v='PROTOCOL_LIST'
v210_decoder='yes'
v210_encoder='yes'
v210x_decoder='yes'
v4l2_indev='yes'
v4l2_indev_deps_any='linux_videodev2_h sys_videoio_h'
v4l_indev='yes'
v4l_indev_deps='linux_videodev_h'
vaapi_deps='va_va_h'
value='yes'
var='x11grab'
vb_decoder='yes'
vc1_crystalhd_decoder='yes'
vc1_crystalhd_decoder_select='crystalhd'
vc1_decoder='yes'
vc1_decoder_select='h263_decoder'
vc1_demuxer='yes'
vc1_dxva2_hwaccel='yes'
vc1_dxva2_hwaccel_deps='dxva2api_h DXVA_PictureParameters_wDecodedPictureIndex'
vc1_dxva2_hwaccel_select='dxva2 vc1_decoder'
vc1_parser='yes'
vc1_vaapi_hwaccel='yes'
vc1_vaapi_hwaccel_select='vaapi vc1_decoder'
vc1_vdpau_decoder='yes'
vc1_vdpau_decoder_select='vdpau vc1_decoder'
vc1t_demuxer='yes'
vc1t_muxer='yes'
vcr1_decoder='yes'
vdpau_deps='vdpau_vdpau_h vdpau_vdpau_x11_h'
version3='yes'
vflip_crop_test='yes'
vflip_filter='yes'
vflip_test='yes'
vflip_vflip_test='yes'
vfwcap_indev='yes'
vfwcap_indev_deps='capCreateCaptureWindow vfwcap_defines'
vfwcap_indev_extralibs='-lavicap32'
vis='yes'
vis_deps='sparc'
vmd_demuxer='yes'
vmdaudio_decoder='yes'
vmdvideo_decoder='yes'
vmnc_decoder='yes'
voc_demuxer='yes'
voc_muxer='yes'
voc_s16_test='yes'
voc_test='yes'
voc_test_deps='voc_muxer voc_demuxer'
vorbis_decoder='yes'
vorbis_decoder_select='mdct'
vorbis_encoder='yes'
vorbis_encoder_select='mdct'
vp3_decoder='yes'
vp3_parser='yes'
vp5_decoder='yes'
vp6_decoder='yes'
vp6_decoder_select='huffman'
vp6a_decoder='yes'
vp6a_decoder_select='vp6_decoder'
vp6f_decoder='yes'
vp6f_decoder_select='vp6_decoder'
vp8_decoder='yes'
vp8_decoder_select='h264pred'
vp8_parser='yes'
vqa_decoder='yes'
vqf_demuxer='yes'
w64_demuxer='yes'
w64_demuxer_deps='wav_demuxer'
wav_demuxer='yes'
wav_muxer='yes'
wav_test='yes'
wav_test_deps='wav_muxer wav_demuxer'
wavpack_decoder='yes'
wc3_demuxer='yes'
webm_muxer='yes'
wmapro_decoder='yes'
wmapro_decoder_select='mdct sinewin'
wmav1_decoder='yes'
wmav1_decoder_select='mdct sinewin'
wmav1_encoder='yes'
wmav1_encoder_select='mdct sinewin'
wmav1_test='yes'
wmav1_test_deps='wmav1_encoder wmav1_decoder'
wmav2_decoder='yes'
wmav2_decoder_select='mdct sinewin'
wmav2_encoder='yes'
wmav2_encoder_select='mdct sinewin'
wmav2_test='yes'
wmav2_test_deps='wmav2_encoder wmav2_decoder'
wmavoice_decoder='yes'
wmavoice_decoder_select='lsp rdft dct mdct sinewin'
wmv1_decoder='yes'
wmv1_decoder_select='h263_decoder'
wmv1_encoder='yes'
wmv1_encoder_select='h263_encoder'
wmv1_test='yes'
wmv1_test_deps='wmv1_encoder wmv1_decoder'
wmv2_decoder='yes'
wmv2_decoder_select='h263_decoder'
wmv2_encoder='yes'
wmv2_encoder_select='h263_encoder'
wmv2_test='yes'
wmv2_test_deps='wmv2_encoder wmv2_decoder'
wmv3_crystalhd_decoder='yes'
wmv3_crystalhd_decoder_select='crystalhd'
wmv3_decoder='yes'
wmv3_decoder_select='vc1_decoder'
wmv3_dxva2_hwaccel='yes'
wmv3_dxva2_hwaccel_select='vc1_dxva2_hwaccel'
wmv3_vaapi_hwaccel='yes'
wmv3_vaapi_hwaccel_select='vc1_vaapi_hwaccel'
wmv3_vdpau_decoder='yes'
wmv3_vdpau_decoder_select='vc1_vdpau_decoder'
wnv1_decoder='yes'
ws_snd1_decoder='yes'
wsaud_demuxer='yes'
wsvqa_demuxer='yes'
wtv_demuxer='yes'
wv_demuxer='yes'
x11_grab_device_indev='yes'
x11_grab_device_indev_deps='x11grab XShmCreateImage'
x11_grab_device_indev_extralibs='-lX11 -lXext -lXfixes'
x11grab='yes'
x86_64_suggest='cmov fast_cmov'
xa_demuxer='yes'
xan_dpcm_decoder='yes'
xan_wc3_decoder='yes'
xan_wc4_decoder='yes'
xl_decoder='yes'
xsub_decoder='yes'
xsub_encoder='yes'
xwma_demuxer='yes'
yadif_filter='yes'
yadif_filter_deps='gpl'
yasmexe='yasm'
yop_decoder='yes'
yop_demuxer='yes'
yuv4mpeg_test='yes'
yuv4mpeg_test_deps='yuv4mpegpipe_muxer yuv4mpegpipe_demuxer'
yuv4mpegpipe_demuxer='yes'
yuv4mpegpipe_muxer='yes'
yuv_test='yes'
yuv_test_deps='rawvideo_encoder rawvideo_decoder'
zlib_decoder='yes'
zlib_decoder_select='zlib'
zlib_encoder='yes'
zlib_encoder_select='zlib'
zmbv_decoder='yes'
zmbv_decoder_select='zlib'
zmbv_encoder='yes'
zmbv_encoder_select='zlib'
mktemp -u XXXXXX
h7BxAZ
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 int main(void){ return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_cflags -std=c99
check_cc -std=c99
BEGIN /tmp/ffconf.Bsxv6b04.c
1 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -std=c99 -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_cc -D_FILE_OFFSET_BITS=64
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <stdlib.h>
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -std=c99 -D_FILE_OFFSET_BITS=64 -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_cc -D_LARGEFILE_SOURCE
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <stdlib.h>
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -D_LARGEFILE_SOURCE -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_host_cflags -std=c99
check_host_cc -std=c99
BEGIN /tmp/ffconf.Bsxv6b04.c
1 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -O3 -g -Wall -std=c99 -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 int test[(int)sizeof(char*) - 7];
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:1:13: error: size of array 'test' is negative
check_cpp_condition stdlib.h defined(__PIC__) || defined(__pic__) || defined(PIC)
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <stdlib.h>
2 #if !(defined(__PIC__) || defined(__pic__) || defined(PIC))
3 #error "unsatisfied condition: defined(__PIC__) || defined(__pic__) || defined(PIC)"
4 #endif
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:3:2: error: #error "unsatisfied condition: defined(__PIC__) || defined(__pic__) || defined(PIC)"
check_cflags -fomit-frame-pointer
check_cc -fomit-frame-pointer
BEGIN /tmp/ffconf.Bsxv6b04.c
1 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 int ff_extern;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 void foo(void) { __asm__ volatile ("" ::); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 void foo(char * restrict p);
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 struct { int x; } __attribute__((packed)) x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 union { int x; } __attribute__((may_alias)) x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <signal.h>
2 static void sighandler(int sig){
3 raise(SIGTERM);
4 }
5 int main(void){
6 signal(SIGILL, sighandler);
7 signal(SIGFPE, sighandler);
8 signal(SIGSEGV, sighandler);
9 #ifdef SIGBUS
10 signal(SIGBUS, sighandler);
11 #endif
12 { volatile int i=0;
13 __asm__ volatile (
14 "xorl %%ebp, %%ebp"
15 ::: "%ebp");
16 return i; }
17 }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c: In function 'main':
/tmp/ffconf.Bsxv6b04.c:17:1: error: bp cannot be used in asm here
check_asm ebx_available ""::"b"(0)
check_as
BEGIN /tmp/ffconf.Bsxv6b04.c
1 void foo(void){ __asm__ volatile(""::"b"(0)); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_asm ebx_available "":::"%ebx"
check_as
BEGIN /tmp/ffconf.Bsxv6b04.c
1 void foo(void){ __asm__ volatile("":::"%ebx"); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_asm xmm_clobbers "":::"%xmm0"
check_as
BEGIN /tmp/ffconf.Bsxv6b04.c
1 void foo(void){ __asm__ volatile("":::"%xmm0"); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c: In function 'foo':
/tmp/ffconf.Bsxv6b04.c:1:17: error: unknown register name '%xmm0' in 'asm'
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 int main(void) {
2 int x=0;
3 __asm__ volatile(
4 ""
5 :"+&rm"(x), "+&rm"(x), "+&rm"(x), "+&rm"(x), "+&rm"(x), "+&rm"(x)
6 );
7 return 0;
8 }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_asm ssse3 "pabsw %xmm0, %xmm0"
check_as
BEGIN /tmp/ffconf.Bsxv6b04.c
1 void foo(void){ __asm__ volatile("pabsw %xmm0, %xmm0"); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_asm mmx2 "pmaxub %mm0, %mm1"
check_as
BEGIN /tmp/ffconf.Bsxv6b04.c
1 void foo(void){ __asm__ volatile("pmaxub %mm0, %mm1"); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_asm bswap "bswap %%eax" ::: "%eax"
check_as
BEGIN /tmp/ffconf.Bsxv6b04.c
1 void foo(void){ __asm__ volatile("bswap %%eax" ::: "%eax"); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
yasm --version
yasm 1.1.0.2352
Compiled on Aug 10 2010.
Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.
check_yasm pextrd [eax], xmm0, 1
BEGIN /tmp/ffconf.WvKRcxLg.S
1 pextrd [eax], xmm0, 1
END /tmp/ffconf.WvKRcxLg.S
yasm -f elf -g dwarf2 -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.WvKRcxLg.S
check_yasm vpaddw xmm0, xmm0, xmm0
BEGIN /tmp/ffconf.WvKRcxLg.S
1 vpaddw xmm0, xmm0, xmm0
END /tmp/ffconf.WvKRcxLg.S
yasm -f elf -g dwarf2 -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.WvKRcxLg.S
check_asm gnu_as ".macro m n
\n:.int 0
.endm
m x"
check_as
BEGIN /tmp/ffconf.Bsxv6b04.c
1 void foo(void){ __asm__ volatile(".macro m n\n\\n:.int 0\n.endm\nm x"); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_ldflags -Wl,--as-needed
test_ldflags -Wl,--as-needed
check_ld -Wl,--as-needed
check_cc -Wl,--as-needed
BEGIN /tmp/ffconf.Bsxv6b04.c
1 int main(void){ return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -Wl,--as-needed -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_func dlopen
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int dlopen();
2 int main(void){ dlopen(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
/tmp/ffconf.tVMR80Wm.o: In function `main':
ffconf.Bsxv6b04.c:(.text+0x7): undefined reference to `dlopen'
collect2: ld returned 1 exit status
check_func dlopen -ldl
check_ld -ldl
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int dlopen();
2 int main(void){ dlopen(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -ldl
check_type sys/types.h sys/socket.h socklen_t
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1
2 #include <sys/types.h>
3 #include <sys/socket.h>
4 socklen_t v;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_type netdb.h struct addrinfo
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1
2 #include <netdb.h>
3 struct addrinfo v;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_type netinet/in.h struct ipv6_mreq -D_DARWIN_C_SOURCE
check_cc -D_DARWIN_C_SOURCE
BEGIN /tmp/ffconf.Bsxv6b04.c
1
2 #include <netinet/in.h>
3 struct ipv6_mreq v;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -D_DARWIN_C_SOURCE -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_type netinet/in.h struct sockaddr_in6
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1
2 #include <netinet/in.h>
3 struct sockaddr_in6 v;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_type sys/types.h sys/socket.h struct sockaddr_storage
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1
2 #include <sys/types.h>
3 #include <sys/socket.h>
4 struct sockaddr_storage v;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_type sys/types.h sys/socket.h struct sockaddr sa_len
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1
2 #include <sys/types.h>
3 #include <sys/socket.h>
4 const void *p = &((struct sockaddr *)0)->sa_len;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:4:40: error: 'struct sockaddr' has no member named 'sa_len'
check_header arpa/inet.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <arpa/inet.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_func closesocket
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int closesocket();
2 int main(void){ closesocket(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
/tmp/ffconf.tVMR80Wm.o: In function `main':
ffconf.Bsxv6b04.c:(.text+0x7): undefined reference to `closesocket'
collect2: ld returned 1 exit status
check_func nanosleep
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int nanosleep();
2 int main(void){ nanosleep(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_func fcntl
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int fcntl();
2 int main(void){ fcntl(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_func fork
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int fork();
2 int main(void){ fork(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_func getaddrinfo
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int getaddrinfo();
2 int main(void){ getaddrinfo(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_func gethrtime
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int gethrtime();
2 int main(void){ gethrtime(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
/tmp/ffconf.tVMR80Wm.o: In function `main':
ffconf.Bsxv6b04.c:(.text+0x7): undefined reference to `gethrtime'
collect2: ld returned 1 exit status
check_func getrusage
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int getrusage();
2 int main(void){ getrusage(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_type sys/time.h sys/resource.h struct rusage ru_maxrss
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1
2 #include <sys/time.h>
3 #include <sys/resource.h>
4 const void *p = &((struct rusage *)0)->ru_maxrss;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_func inet_aton
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int inet_aton();
2 int main(void){ inet_aton(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_func isatty
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int isatty();
2 int main(void){ isatty(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_func localtime_r
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int localtime_r();
2 int main(void){ localtime_r(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_func memalign
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int memalign();
2 int main(void){ memalign(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_func mkstemp
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int mkstemp();
2 int main(void){ mkstemp(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_func mmap
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int mmap();
2 int main(void){ mmap(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_func posix_memalign
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int posix_memalign();
2 int main(void){ posix_memalign(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_func setrlimit
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int setrlimit();
2 int main(void){ setrlimit(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_func strerror_r
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int strerror_r();
2 int main(void){ strerror_r(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_func strtok_r
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int strtok_r();
2 int main(void){ strtok_r(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o
check_func_headers conio.h kbhit
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <conio.h>
2 long check_kbhit(void) { return (long) kbhit; }
3 int main(void) { return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:1:19: fatal error: conio.h: No such file or directory
compilation terminated.
check_func_headers io.h setmode
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <io.h>
2 long check_setmode(void) { return (long) setmode; }
3 int main(void) { return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:1:16: fatal error: io.h: No such file or directory
compilation terminated.
check_func_headers lzo/lzo1x.h lzo1x_999_compress
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <lzo/lzo1x.h>
2 long check_lzo1x_999_compress(void) { return (long) lzo1x_999_compress; }
3 int main(void) { return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:1:23: fatal error: lzo/lzo1x.h: No such file or directory
compilation terminated.
check_lib2 windows.h psapi.h GetProcessMemoryInfo -lpsapi
check_func_headers windows.h psapi.h GetProcessMemoryInfo -lpsapi
check_ld -lpsapi
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <windows.h>
2 #include <psapi.h>
3 long check_GetProcessMemoryInfo(void) { return (long) GetProcessMemoryInfo; }
4 int main(void) { return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:1:21: fatal error: windows.h: No such file or directory
compilation terminated.
check_func_headers windows.h GetProcessTimes
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <windows.h>
2 long check_GetProcessTimes(void) { return (long) GetProcessTimes; }
3 int main(void) { return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:1:21: fatal error: windows.h: No such file or directory
compilation terminated.
check_func_headers windows.h MapViewOfFile
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <windows.h>
2 long check_MapViewOfFile(void) { return (long) MapViewOfFile; }
3 int main(void) { return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:1:21: fatal error: windows.h: No such file or directory
compilation terminated.
check_func_headers windows.h VirtualAlloc
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <windows.h>
2 long check_VirtualAlloc(void) { return (long) VirtualAlloc; }
3 int main(void) { return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:1:21: fatal error: windows.h: No such file or directory
compilation terminated.
check_header dlfcn.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <dlfcn.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_header dxva2api.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <dxva2api.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:1:22: fatal error: dxva2api.h: No such file or directory
compilation terminated.
check_header libcrystalhd/libcrystalhd_if.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <libcrystalhd/libcrystalhd_if.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:1:42: fatal error: libcrystalhd/libcrystalhd_if.h: No such file or directory
compilation terminated.
check_header malloc.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <malloc.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_header poll.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <poll.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_header sys/mman.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <sys/mman.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_header sys/resource.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <sys/resource.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_header sys/select.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <sys/select.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_header termios.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <termios.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_header vdpau/vdpau.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <vdpau/vdpau.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_header vdpau/vdpau_x11.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <vdpau/vdpau_x11.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_header X11/extensions/XvMClib.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <X11/extensions/XvMClib.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:1:36: fatal error: X11/extensions/XvMClib.h: No such file or directory
compilation terminated.
check_type dxva2api.h DXVA_PictureParameters wDecodedPictureIndex
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1
2 #include <dxva2api.h>
3 const void *p = &((DXVA_PictureParameters *)0)->wDecodedPictureIndex;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:2:22: fatal error: dxva2api.h: No such file or directory
compilation terminated.
check_lib zlib.h zlibVersion -lz
check_header zlib.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <zlib.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_func zlibVersion -lz
check_ld -lz
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int zlibVersion();
2 int main(void){ zlibVersion(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lz
check_lib2 bzlib.h BZ2_bzlibVersion -lbz2
check_func_headers bzlib.h BZ2_bzlibVersion -lbz2
check_ld -lbz2
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <bzlib.h>
2 long check_BZ2_bzlibVersion(void) { return (long) BZ2_bzlibVersion; }
3 int main(void) { return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:1:19: fatal error: bzlib.h: No such file or directory
compilation terminated.
check_func pthread_create
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int pthread_create();
2 int main(void){ pthread_create(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lz
/tmp/ffconf.tVMR80Wm.o: In function `main':
ffconf.Bsxv6b04.c:(.text+0x7): undefined reference to `pthread_create'
collect2: ld returned 1 exit status
check_func pthread_create -pthread
check_ld -pthread
check_cc -pthread
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int pthread_create();
2 int main(void){ pthread_create(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -pthread -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lz
check_lib math.h sin -lm
check_header math.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <math.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_func sin -lm
check_ld -lm
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int sin();
2 int main(void){ sin(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:1:12: warning: conflicting types for built-in function 'sin'
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lm -pthread -lz
check_lib libcrystalhd/libcrystalhd_if.h DtsCrystalHDVersion -lcrystalhd
check_header libcrystalhd/libcrystalhd_if.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <libcrystalhd/libcrystalhd_if.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:1:42: fatal error: libcrystalhd/libcrystalhd_if.h: No such file or directory
compilation terminated.
check_mathfunc exp2
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <math.h>
2 float foo(float f) { return exp2(f); }
3 int main(void){ return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lm -pthread -lz
check_mathfunc exp2f
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <math.h>
2 float foo(float f) { return exp2f(f); }
3 int main(void){ return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lm -pthread -lz
check_mathfunc llrint
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <math.h>
2 float foo(float f) { return llrint(f); }
3 int main(void){ return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lm -pthread -lz
check_mathfunc llrintf
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <math.h>
2 float foo(float f) { return llrintf(f); }
3 int main(void){ return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lm -pthread -lz
check_mathfunc log2
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <math.h>
2 float foo(float f) { return log2(f); }
3 int main(void){ return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lm -pthread -lz
check_mathfunc log2f
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <math.h>
2 float foo(float f) { return log2f(f); }
3 int main(void){ return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lm -pthread -lz
check_mathfunc lrint
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <math.h>
2 float foo(float f) { return lrint(f); }
3 int main(void){ return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lm -pthread -lz
check_mathfunc lrintf
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <math.h>
2 float foo(float f) { return lrintf(f); }
3 int main(void){ return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lm -pthread -lz
check_mathfunc round
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <math.h>
2 float foo(float f) { return round(f); }
3 int main(void){ return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lm -pthread -lz
check_mathfunc roundf
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <math.h>
2 float foo(float f) { return roundf(f); }
3 int main(void){ return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lm -pthread -lz
check_mathfunc trunc
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <math.h>
2 float foo(float f) { return trunc(f); }
3 int main(void){ return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lm -pthread -lz
check_mathfunc truncf
check_ld
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <math.h>
2 float foo(float f) { return truncf(f); }
3 int main(void){ return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lm -pthread -lz
check_lib2 stdint.h faac.h faacEncGetVersion -lfaac
check_func_headers stdint.h faac.h faacEncGetVersion -lfaac
check_ld -lfaac
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <stdint.h>
2 #include <faac.h>
3 long check_faacEncGetVersion(void) { return (long) faacEncGetVersion; }
4 int main(void) { return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lfaac -lm -pthread -lz
check_lib lame/lame.h lame_set_VBR_quality -lmp3lame
check_header lame/lame.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <lame/lame.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_func lame_set_VBR_quality -lmp3lame
check_ld -lmp3lame
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int lame_set_VBR_quality();
2 int main(void){ lame_set_VBR_quality(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lmp3lame -lfaac -lm -pthread -lz
check_lib opencore-amrnb/interf_dec.h Decoder_Interface_init -lopencore-amrnb
check_header opencore-amrnb/interf_dec.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <opencore-amrnb/interf_dec.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_func Decoder_Interface_init -lopencore-amrnb
check_ld -lopencore-amrnb
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int Decoder_Interface_init();
2 int main(void){ Decoder_Interface_init(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lopencore-amrnb -lmp3lame -lfaac -lm -pthread -lz
check_lib opencore-amrwb/dec_if.h D_IF_init -lopencore-amrwb
check_header opencore-amrwb/dec_if.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <opencore-amrwb/dec_if.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_func D_IF_init -lopencore-amrwb
check_ld -lopencore-amrwb
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int D_IF_init();
2 int main(void){ D_IF_init(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lopencore-amrwb -lopencore-amrnb -lmp3lame -lfaac -lm -pthread -lz
check_lib theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec -logg
check_header theora/theoraenc.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <theora/theoraenc.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_func th_info_init -ltheoraenc -ltheoradec -logg
check_ld -ltheoraenc -ltheoradec -logg
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int th_info_init();
2 int main(void){ th_info_init(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -ltheoraenc -ltheoradec -logg -lopencore-amrwb -lopencore-amrnb -lmp3lame -lfaac -lm -pthread -lz
check_lib vorbis/vorbisenc.h vorbis_info_init -lvorbisenc -lvorbis -logg
check_header vorbis/vorbisenc.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <vorbis/vorbisenc.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
check_func vorbis_info_init -lvorbisenc -lvorbis -logg
check_ld -lvorbisenc -lvorbis -logg
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 extern int vorbis_info_init();
2 int main(void){ vorbis_info_init(); }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lopencore-amrwb -lopencore-amrnb -lmp3lame -lfaac -lm -pthread -lz
check_lib2 vpx/vpx_decoder.h vpx/vp8dx.h vpx_codec_dec_init_ver -lvpx
check_func_headers vpx/vpx_decoder.h vpx/vp8dx.h vpx_codec_dec_init_ver -lvpx
check_ld -lvpx
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <vpx/vpx_decoder.h>
2 #include <vpx/vp8dx.h>
3 long check_vpx_codec_dec_init_ver(void) { return (long) vpx_codec_dec_init_ver; }
4 int main(void) { return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lopencore-amrwb -lopencore-amrnb -lmp3lame -lfaac -lm -pthread -lz
check_lib2 vpx/vpx_encoder.h vpx/vp8cx.h vpx_codec_enc_init_ver VPX_CQ -lvpx
check_func_headers vpx/vpx_encoder.h vpx/vp8cx.h vpx_codec_enc_init_ver VPX_CQ -lvpx
check_ld -lvpx
check_cc
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <vpx/vpx_encoder.h>
2 #include <vpx/vp8cx.h>
3 long check_vpx_codec_enc_init_ver(void) { return (long) vpx_codec_enc_init_ver; }
4 long check_VPX_CQ(void) { return (long) VPX_CQ; }
5 int main(void) { return 0; }
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
gcc -Wl,--as-needed -o /tmp/ffconf.yduavK8J /tmp/ffconf.tVMR80Wm.o -lvpx -lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lopencore-amrwb -lopencore-amrnb -lmp3lame -lfaac -lm -pthread -lz
check_lib x264.h x264_encoder_encode -lx264
check_header x264.h
check_cpp
BEGIN /tmp/ffconf.Bsxv6b04.c
1 #include <x264.h>
2 int x;
END /tmp/ffconf.Bsxv6b04.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c99 -fomit-frame-pointer -pthread -E -o /tmp/ffconf.tVMR80Wm.o /tmp/ffconf.Bsxv6b04.c
/tmp/ffconf.Bsxv6b04.c:1:18: fatal error: x264.h: No such file or directory
compilation terminated.
ERROR: libx264 not found

JadedSamurai
May 14th, 2011, 03:56 PM
Hello. Linux noob here. I have to install ffmpeg with Lame support to run CollectiveAccess (cataloguing application), but I'm stuck.

I'm running Ubuntu 11.04 (as a guest OS through VirtualBox (with Windows 7 as host OS). I have followed the steps in this topic, but when I try to install FFmpeg (step 5), I get this:


hcoremans@hcoremans-VirtualBox:~/x264$ cd
hcoremans@hcoremans-VirtualBox:~$ git clone git://git.videolan.org/ffmpeg
Cloning into ffmpeg...
remote: Counting objects: 153301, done.
remote: Compressing objects: 100% (34219/34219), done.
remote: Total 153301 (delta 119198), reused 152878 (delta 118877)
Receiving objects: 100% (153301/153301), 40.24 MiB | 2.25 MiB/s, done.
Resolving deltas: 100% (119198/119198), done.
hcoremans@hcoremans-VirtualBox:~$ cd ffmpeg
hcoremans@hcoremans-VirtualBox:~/ffmpeg$ ./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc \
> --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \
> --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis \
> --enable-libx264 --enable-libxvid --enable-x11grab
ERROR: libx264 not found

If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
hcoremans@hcoremans-VirtualBox:~/ffmpeg$ make
Makefile:1: config.mak: No such file or directory
libavutil/Makefile:1: libavutil/../config.mak: No such file or directory
libavutil/../subdir.mak:96: warning: overriding commands for target `libavutil/'
libavutil/../subdir.mak:26: warning: ignoring old commands for target `libavutil/'
libavutil/../subdir.mak:96: warning: overriding commands for target `libavutil/'
libavutil/../subdir.mak:96: warning: ignoring old commands for target `libavutil/'
Makefile:236: /tests/fate.mak: No such file or directory
Makefile:237: /tests/fate2.mak: No such file or directory
Makefile:239: /tests/fate/aac.mak: No such file or directory
Makefile:240: /tests/fate/als.mak: No such file or directory
Makefile:241: /tests/fate/fft.mak: No such file or directory
Makefile:242: /tests/fate/h264.mak: No such file or directory
Makefile:243: /tests/fate/mp3.mak: No such file or directory
Makefile:244: /tests/fate/vorbis.mak: No such file or directory
Makefile:245: /tests/fate/vp8.mak: No such file or directory
make: *** No rule to make target `/tests/fate/vp8.mak'. Stop.
hcoremans@hcoremans-VirtualBox:~/ffmpeg$ sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no \
> --deldoc=yes --fstrans=no --default

checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.


The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]: y

Preparing package documentation...OK

*****************************************
**** Debian package creation selected ***
*****************************************

This package will be built according to these values:

0 - Maintainer: [ root@hcoremans-VirtualBox ]
1 - Summary: [ Package created with checkinstall 1.6.2 ]
2 - Name: [ ffmpeg ]
3 - Version: [ 5:201105141637-git ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ ffmpeg ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ ffmpeg ]
12 - Conflicts: [ ]
13 - Replaces: [ ]

Enter a number to change any of them or press ENTER to continue:

Installing with make install...

========================= Installation results ===========================
Makefile:1: config.mak: No such file or directory
libavutil/Makefile:1: libavutil/../config.mak: No such file or directory
libavutil/../subdir.mak:96: warning: overriding commands for target `libavutil/'
libavutil/../subdir.mak:26: warning: ignoring old commands for target `libavutil/'
libavutil/../subdir.mak:96: warning: overriding commands for target `libavutil/'
libavutil/../subdir.mak:96: warning: ignoring old commands for target `libavutil/'
Makefile:236: /tests/fate.mak: No such file or directory
Makefile:237: /tests/fate2.mak: No such file or directory
Makefile:239: /tests/fate/aac.mak: No such file or directory
Makefile:240: /tests/fate/als.mak: No such file or directory
Makefile:241: /tests/fate/fft.mak: No such file or directory
Makefile:242: /tests/fate/h264.mak: No such file or directory
Makefile:243: /tests/fate/mp3.mak: No such file or directory
Makefile:244: /tests/fate/vorbis.mak: No such file or directory
Makefile:245: /tests/fate/vp8.mak: No such file or directory
make: *** No rule to make target `/tests/fate/vp8.mak'. Stop.

**** Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

hcoremans@hcoremans-VirtualBox:~/ffmpeg$ hash x264 ffmpeg ffplay ffprobe


Can anyone tell me what I should do? The previous steps all went ok (I got messages that installation was successful), I just can't get the last step to work...

Scouto
May 14th, 2011, 05:52 PM
i'm also having the same problem as the above poster... :(

mc4man
May 14th, 2011, 07:25 PM
At least here on natty - for x264 you'll need to go

./configure --enable-static
or you'll only build the x264 binary

If ffmpeg can't find after that then build x264 as shared, though it should be able to statically link

andrew.46
May 14th, 2011, 11:23 PM
At least here on natty - for x264 you'll need to go

./configure --enable-static
or you'll only build the x264 binary

As usual mc4man you have hit the nail on the head :). There has been a change in the x264 build defaults (http://git.videolan.org/?p=x264.git;a=blobdiff;f=configure;h=d16441432f9a2 24619ee6b5c6100598147c24350;hp=d5a93e7ed78cbfbc06e bc4a49a2a50e35560f076;hb=c1e60b9032196d204db8dce77 051360e403a1d2f;hpb=330e258ed53553530290409671fe5a 3a26ee7f6a) so that now if Fakeoutdoorsman's x264 installation instructions are followed (with a bare ./configure) the following results:



andrew@skamandros~/source/ffmpeg_build/x264/copy of x264$ ./configure
Platform: X86
System: LINUX
cli: yes
libx264: internal
shared: no
static: no
asm: yes
interlaced: yes
avs: no
lavf: yes
ffms: no
gpac: yes
gpl: yes
thread: posix
filters: resize crop select_every
debug: no
gprof: no
strip: no
PIC: no
visualize: no
bit depth: 8

You can run 'make' or 'make fprofiled' now.


Which is to say that the old default of building static library has been removed. This is a little awkward as Fakeoutdoorsman is away for a while and thus the instructions themselves cannot be modified :(. Can those who are having x264 trouble try the following instructions for x264, as mc4man has suggested:



cd
git clone git://git.videolan.org/x264
cd x264
./configure --enable-static
make
sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \
awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \
--fstrans=no --default


and if that solves the problem this post should serve as a pointer until FO returns :)

vagrale13
May 15th, 2011, 12:11 AM
For me works fine now with --enable-static
Thanks mc4man!

FakeOutdoorsman
May 15th, 2011, 07:57 AM
Thanks for keeping up with the upstream changes, everyone. I was able to borrow a laptop in Norway to update the guides.

andrew.46
May 15th, 2011, 10:24 AM
Thanks for keeping up with the upstream changes, everyone. I was able to borrow a laptop in Norway to update the guides.

That could be the opening lines in a great novel: "I was able to borrow a laptop in Norway.....". Have a great time up there!!!

umechanism
May 15th, 2011, 02:36 PM
Wow! Great thread...all 170 pages of it. This thread was started in 2008 so before I dive in and read it from end-to-end I want to be sure it is necessary to do so.

I simply want to install the latest cinelerra-cv which uses ffmpeg. I am using Ubuntu 10.10. Can't I just install ffmpeg and cinelerra from the repositories now assuming that enough time has elapsed and the repositories are up-to-date?

Thanks for the effort and time you put into this.

wim.glenn
May 16th, 2011, 04:57 AM
thanks all.. for a couple of days my build script wasn't working but it worked again after adding --enable-static as someone mentioned here.

just a dumb question , if i follow the guide as in the first step, and then i use ffmpeg with -vcodec libx264 , will i be using the same build of libx264 as if i were to call the x264 cli directly? i am comfortable with the x264 parameters and tunings but now i require some of the rtmp stuff that ffmpeg can do, and i would like to be using the latest libx264 builds (because i want all the newer low-latency stuff). i'm also a bit confused about how to pass the familiar flags from x264 cli , using ffmpeg. at the moment i'm using -fpre and specifying the path of a config file , and it seems to set parameters correctly, but what is the differences (if any) between -vpre and -fpre ?

qyot27
May 16th, 2011, 07:29 AM
thanks all.. for a couple of days my build script wasn't working but it worked again after adding --enable-static as someone mentioned here.

just a dumb question , if i follow the guide as in the first step, and then i use ffmpeg with -vcodec libx264 , will i be using the same build of libx264 as if i were to call the x264 cli directly? i am comfortable with the x264 parameters and tunings but now i require some of the rtmp stuff that ffmpeg can do, and i would like to be using the latest libx264 builds (because i want all the newer low-latency stuff). i'm also a bit confused about how to pass the familiar flags from x264 cli , using ffmpeg. at the moment i'm using -fpre and specifying the path of a config file , and it seems to set parameters correctly, but what is the differences (if any) between -vpre and -fpre ?
If x264 was built as static and ffmpeg was built as static, then yes, ffmpeg is using the same version as x264 CLI.

Someone else will have to tackle the preset usage changes, though. I thought that was already in the first post?

andrew.46
May 16th, 2011, 08:23 AM
i'm also a bit confused about how to pass the familiar flags from x264 cli , using ffmpeg. at the moment i'm using -fpre and specifying the path of a config file , and it seems to set parameters correctly, but what is the differences (if any) between -vpre and -fpre ?

I am ready to be corrected here, even from Norway if Fakeoutdoorsman gets online again!! The state of play at the moment (current git) is that now FFmpeg can use x264 presets, and to do this the -preset option is used. Details of these options can be seen with x264 --fullhelp and are illustrated quite nicely in Fakeoutdoorsman's guide. There are also a few of the old presets remaining:



root@skamandros/home/andrew# find /usr -iname '*ffpreset'
/usr/share/ffmpeg/libvpx-720p50_60.ffpreset
/usr/share/ffmpeg/libx264-lossless_slow.ffpreset
/usr/share/ffmpeg/libvpx-720p.ffpreset
/usr/share/ffmpeg/libvpx-1080p.ffpreset
/usr/share/ffmpeg/libvpx-1080p50_60.ffpreset
/usr/share/ffmpeg/libx264-baseline.ffpreset
/usr/share/ffmpeg/libx264-lossless_slower.ffpreset
/usr/share/ffmpeg/libvpx-360p.ffpreset
/usr/share/ffmpeg/libx264-lossless_fast.ffpreset
/usr/share/ffmpeg/libx264-lossless_max.ffpreset
/usr/share/ffmpeg/libx264-lossless_ultrafast.ffpreset
/usr/share/ffmpeg/libx264-ipod320.ffpreset
/usr/share/ffmpeg/libx264-ipod640.ffpreset
/usr/share/ffmpeg/libx264-lossless_medium.ffpreset


Just ignore the libvpx ones! These can be utilised with the old -vpre option. The final option is to create your own presets and load them, with their path, using the -fpre option. Hopefully that is a clear description, anybody feel free to correct me!

Edit: I can correct myself, I saw this link elsewhere in the Forums:

3.10 Preset files
http://www.ffmpeg.org/ffmpeg-doc.html#SEC13

which explains some of the differences in methods of calling the presets vs -fpre / -apre / -vpre etc..

WhatEverMD
May 16th, 2011, 10:58 AM
Thank you very much :)
Was away for the weekend, and could not respond.

./configure --enable-static has helped. Everything went fine!

wim.glenn
May 16th, 2011, 11:14 AM
thankyou , i will continue to use the -fpre arg then :)

fruttosio
May 16th, 2011, 10:28 PM
i can rename the folders x264, ffmpeg, libpvx in: .x264, .ffmpeg and .libpvx? it's possibile that there are problem about find something?

sailor420
May 16th, 2011, 10:32 PM
Thanks for keeping up with the upstream changes, everyone. I was able to borrow a laptop in Norway to update the guides.

Now that's dedication.

vagrale13
May 18th, 2011, 09:01 AM
i can rename the folders x264, ffmpeg, libpvx in: .x264, .ffmpeg and .libpvx? it's possibile that there are problem about find something?
Yes, you can do that.
The only change you must do, replace all names (x264, libpvx & ffmpeg) with new names (.x264, .libpvx & .ffmpeg) of commands to your path folder.
e.g.

cd ~/x264to

cd ~/.x264

fruttosio
May 18th, 2011, 02:38 PM
thank you.

andrew.46
May 19th, 2011, 12:02 AM
For a long time, though, if you wanted to simply transcode file A to file B, FFmpeg was easier because you *usually* didn't have to worry what the input formats were, and you could get an output file that had both video and audio. Getting that same functionality in x264 is a matter of extra, optional dependencies - you don't have to build an x264 that can do those things.

An extra temptation to use FFmpeg rather than x264 directly has been the recent addition of -x264opts which apparently opens up the use of all x264 options from within FFmpeg. Now if I only understood those options ... :(.

plantoschka
May 19th, 2011, 03:59 PM
I always get an error Message while trying to compile(make) ffmpeg:



...
libavcodec/crystalhd.c:970:13: warning: statement with no effect
libavcodec/crystalhd.c:981:16: error: ‘CHDContext’ has no member named ‘decode_wait’
libavcodec/crystalhd.c:981:5: warning: passing argument 1 of ‘usleep’ makes integer from pointer without a cast
/usr/include/unistd.h:457:12: note: expected ‘__useconds_t’ but argument is of type ‘const struct AVOption *’
make: *** [libavcodec/crystalhd.o] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...

Hope someone can help me.

Thanks

andrew.46
May 19th, 2011, 10:38 PM
I always get an error Message while trying to compile(make) ffmpeg:



make: *** [libavcodec/crystalhd.o] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...

I have just compiled FFmpeg with no problem, so I am not sure of the problem (and a little rusty with my German!). Are you adding a -j2 or similar to make? If so try omitting this.

plantoschka
May 20th, 2011, 01:34 PM
I have just compiled FFmpeg with no problem, so I am not sure of the problem (and a little rusty with my German!). Are you adding a -j2 or similar to make? If so try omitting this.

No just like in the Guide (make).

I tried a fresh build today but still get the same error message. (libvacodec/crystalhd)

Compiling x264 worked fine.
Using Xubuntu 11.04 in VirtualBox.

andrew.46
May 20th, 2011, 02:12 PM
Hmmm.... does compilation succeed if you add --disable-crystalhd to the ./configure string? Beyond this I am not sure what is going on and if no further thoughts are forthcoming from this Forums (or from Norway!!) I would suggest posting on the FFmpeg-user mailing list, or requesting help on #ffmpeg.

Edit: Do you actually have a Broadcom CrystalHD decoding chip on your system?

plantoschka
May 20th, 2011, 03:17 PM
Hmmm.... does compilation succeed if you add --disable-crystalhd to the ./configure string? Beyond this I am not sure what is going on and if no further thoughts are forthcoming from this Forums (or from Norway!!) I would suggest posting on the FFmpeg-user mailing list, or requesting help on #ffmpeg.

Edit: Do you actually have a Broadcom CrystalHD decoding chip on your system?

Thanks, now it worked fine with "--disable-crystalhd".
I don't have a CrystalHD Decoding Chip on my sys.

andrew.46
May 20th, 2011, 11:26 PM
Thanks, now it worked fine with "--disable-crystalhd".
I don't have a CrystalHD Decoding Chip on my sys.

It all sounds a bit odd but I guess your copy of FFmpeg is now ready for action :).

|Anthony|
May 22nd, 2011, 04:21 PM
I'm trying to turn your method into a bash script for easy use... But there seems to be an issue with:

sudo checkinstall --pkgname=x264 --default --pkgversion="3:$(./version.sh | \
awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes
Your quoting isn't closed or something... Your awk separator is [" ] but i think that the " needs to be escaped. Maybe you could explain this since others run this method via cli with *no problem*.

andrew.46
May 24th, 2011, 12:17 AM
I'm trying to turn your method into a bash script for easy use... But there seems to be an issue with:


sudo checkinstall --pkgname=x264 --default --pkgversion="3:$(./version.sh | \
awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes


This might have to wait until Fakeoutdoorsman's return but in the meantime perhaps a simple date string might get your script running:



sudo checkinstall --pkgname=x264 --default \
--pkgversion="3:$(date +"%d%m%Y")" --backup=no --deldoc=yes

jman4117
May 24th, 2011, 02:37 AM
Hi, I used the Lucid guide here to install with capturing support and I can't get it to work with any options that I've tried.

Here is the command and output:

user@ubuntu:~$ ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 640x480 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 output.mkv
ffmpeg version git-N-30166-g1bc81bf, Copyright (c) 2000-2011 the FFmpeg developers
built on May 23 2011 21:02:23 with gcc 4.4.3
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-libmp3lame
libavutil 51. 2. 1 / 51. 2. 1
libavcodec 53. 6. 0 / 53. 6. 0
libavformat 53. 2. 0 / 53. 2. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 10. 0 / 2. 10. 0
libswscale 0. 14. 0 / 0. 14. 0
libpostproc 51. 2. 0 / 51. 2. 0
[alsa @ 0xae15b20] capture with some ALSA plugins, especially dsnoop, may hang.
[alsa @ 0xae15b20] Estimating duration from bitrate, this may be inaccurate
Input #0, alsa, from 'pulse':
Duration: N/A, start: 1306200463.989954, bitrate: N/A
Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
[x11grab @ 0xae27920] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 640 height: 480
[x11grab @ 0xae27920] shared memory extension found
[x11grab @ 0xae27920] Estimating duration from bitrate, this may be inaccurate
Input #1, x11grab, from ':0.0':
Duration: N/A, start: 1306200464.858995, bitrate: 294912 kb/s
Stream #1.0: Video: rawvideo, bgra, 640x480, 294912 kb/s, 30 tbr, 1000k tbn, 30 tbc
Incompatible pixel format 'bgra' for codec 'libx264', auto-selecting format 'yuv420p'
File 'output.mkv' already exists. Overwrite ? [y/N] n
Not overwriting - exiting
jgodwin@Minty:~$ clear
jgodwin@Minty:~$ ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 640x480 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 output.mkv
ffmpeg version git-N-30166-g1bc81bf, Copyright (c) 2000-2011 the FFmpeg developers
built on May 23 2011 21:02:23 with gcc 4.4.3
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-libmp3lame
libavutil 51. 2. 1 / 51. 2. 1
libavcodec 53. 6. 0 / 53. 6. 0
libavformat 53. 2. 0 / 53. 2. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 10. 0 / 2. 10. 0
libswscale 0. 14. 0 / 0. 14. 0
libpostproc 51. 2. 0 / 51. 2. 0
[alsa @ 0x9f30b20] capture with some ALSA plugins, especially dsnoop, may hang.
[alsa @ 0x9f30b20] Estimating duration from bitrate, this may be inaccurate
Input #0, alsa, from 'pulse':
Duration: N/A, start: 1306200517.994972, bitrate: N/A
Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
[x11grab @ 0x9f429c0] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 640 height: 480
[x11grab @ 0x9f429c0] shared memory extension found
[x11grab @ 0x9f429c0] Estimating duration from bitrate, this may be inaccurate
Input #1, x11grab, from ':0.0':
Duration: N/A, start: 1306200518.910880, bitrate: 294912 kb/s
Stream #1.0: Video: rawvideo, bgra, 640x480, 294912 kb/s, 30 tbr, 1000k tbn, 30 tbc
Incompatible pixel format 'bgra' for codec 'libx264', auto-selecting format 'yuv420p'
[buffer @ 0x9f26e80] w:640 h:480 pixfmt:bgra tb:1/1000000 sar:0/1 sws_param:
[ffsink @ 0x9f31b60] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x9f32140] w:640 h:480 fmt:bgra -> w:640 h:480 fmt:yuv420p flags:0xa0000004
[libx264 @ 0x9f29660] --psnr used with psy on: results will be invalid!
[libx264 @ 0x9f29660] --tune psnr should be used if attempting to benchmark psnr!
[libx264 @ 0x9f29660] interlace + weightp is not implemented
[libx264 @ 0x9f29660] using cpu capabilities: MMX2 SSE2Slow SlowCTZ
[libx264 @ 0x9f29660] constant rate-factor is incompatible with 2pass.
Output #0, matroska, to 'output.mkv':
Stream #0.0: Video: libx264, yuv420p, 640x480, q=0-69, pass 1, pass 2, 200 kb/s, 90k tbn, 30 tbc
Stream #0.1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, pass 1, pass 2, 1411 kb/s
Stream mapping:
Stream #1.0 -> #0.0
Stream #0.0 -> #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

flibustier
May 24th, 2011, 10:38 AM
Update for libvpx patches

Google updated their patches to version 7, as previous version was incompatible with latest ffmpeg

So, to apply patches, use the following command:

wget http://webm.googlecode.com/files/ffmpeg-HEAD-VP8_param_mapping-7.tar.gz
tar -xf ffmpeg-HEAD-VP8_param_mapping-7.tar.gz
git apply ffmpeg-HEAD-VP8_param_mapping.diff

sofakng
May 24th, 2011, 01:59 PM
How can I install multiple versions of FFmpeg?

I have the GIT version as my primary version (used instructions from the original post) but I need to compile a special version for a piece of software that I use (AirVideo).

How should I configure/compile this special FFmpeg build so it can exist alongside the GIT version?

prupert
May 24th, 2011, 08:02 PM
This might have to wait until Fakeoutdoorsman's return but in the meantime perhaps a simple date string might get your script running:



sudo checkinstall --pkgname=x264 --default \
--pkgversion="3:$(date +"%d%m%Y")" --backup=no --deldoc=yes


Not a great idea, it seems apt freaks out a little bit if it finds a version of FFmpeg installed that doesn't correspond to the naming scheme for FFmpeg it expects. It isn't a deal breaker, it just throws a warning when running apt-get update.

I'd wait till Fake comes back with a fix, but it might be just down to how you are escaping " and ' in your bash script.

I came across the same problem and haven't got round to fixing it yet.

andrew.46
May 25th, 2011, 01:06 AM
Update for libvpx patches

Thanks, I have the updated patch running here now :).

wim.glenn
May 25th, 2011, 07:52 AM
I'm trying to turn your method into a bash script for easy use... But there seems to be an issue with:

sudo checkinstall --pkgname=x264 --default --pkgversion="3:$(./version.sh | \
awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yesYour quoting isn't closed or something... Your awk separator is [" ] but i think that the " needs to be escaped. Maybe you could explain this since others run this method via cli with *no problem*.

i have put the commands into a script, verbatim, and it ran with no issue. what is your method for running the script? /bin/sh , /bin/bash ? although my text editor thinks i am making a mistake at the checkinstall line , and breaks the syntax highlighting in the rest of the file, the script actually runs fine anyway. i can fix the syntax highlighting thing by just putting in a comment line #' after the offending line.

it does look like a mess with the quotes and double quotes inside a double quoted string, but my method was to simply put the commands into a text file named encoder_setup.sh and then run the script from the terminal with chmod +x encoder_setup.sh, and then ./encoder_setup.sh

check your output of running ./version.sh while in the ~/x264 directory , and check that your output of running

echo --pkgversion="3:$(./version.sh | awk -F'[" ]' '/POINT/{print $4"+git"$5}')"

matches the number that was printed by the checkinstall line. for me this was:

3 - Version: [ 3:0.115.1995+gitc1e60b9 ]

wim.glenn
May 25th, 2011, 07:53 AM
ps, i have no interpreter specified at the top of the .sh file, it just goes straight into the commands.

by the way , does anyone know if it is also necessary to add --enable-static to the x264 ./configure line in step 7 ?

andrew.46
May 25th, 2011, 08:33 AM
by the way , does anyone know if it is also necessary to add --enable-static to the x264 ./configure line in step 7 ?

I suspect so, we will have to put a note on the fridge for Fakeoutdoorsman to read on his return...

dozycat
May 25th, 2011, 11:55 AM
I am using ubuntu 11.04 64 bits and In the step 7 i got error:



sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \ awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \ --fstrans=no --default




$make
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o x264.o x264.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o input/input.o input/input.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o input/timecode.o input/timecode.c
input/timecode.c: In function ‘parse_tcfile’:
input/timecode.c:163:18: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
input/timecode.c:196:22: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
input/timecode.c:242:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
input/timecode.c:248:18: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o input/raw.o input/raw.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o input/y4m.o input/y4m.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o output/raw.o output/raw.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o output/matroska.o output/matroska.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o output/matroska_ebml.o output/matroska_ebml.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o output/flv.o output/flv.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o output/flv_bytestream.o output/flv_bytestream.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o filters/filters.o filters/filters.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/video.o filters/video/video.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/source.o filters/video/source.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/internal.o filters/video/internal.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/resize.o filters/video/resize.c
filters/video/resize.c: In function ‘convert_cpu_to_flag’:
filters/video/resize.c:105:24: error: ‘SWS_CPU_CAPS_ALTIVEC’ undeclared (first use in this function)
filters/video/resize.c:105:24: note: each undeclared identifier is reported only once for each function it appears in
filters/video/resize.c:107:24: error: ‘SWS_CPU_CAPS_MMX’ undeclared (first use in this function)
filters/video/resize.c:107:43: error: ‘SWS_CPU_CAPS_MMX2’ undeclared (first use in this function)
make: *** [filters/video/resize.o] Error 1
lawrence@lawrence-System-Product-Name:~/x264/x264$ sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \
awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes --fstrans=no --default

checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.



*****************************************
**** Debian package creation selected ***
*****************************************

This package will be built according to these values:

0 - Maintainer: [ root@lawrence-System-Product-Name ]
1 - Summary: [ Package created with checkinstall 1.6.2 ]
2 - Name: [ x264 ]
3 - Version: [ 3:0.115.1995+gitc1e60b9 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ x264 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ x264 ]
12 - Conflicts: [ ]
13 - Replaces: [ ]

Enter a number to change any of them or press ENTER to continue:

Installing with make install...

========================= Installation results ===========================
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/resize.o filters/video/resize.c
filters/video/resize.c: In function ‘convert_cpu_to_flag’:
filters/video/resize.c:105:24: error: ‘SWS_CPU_CAPS_ALTIVEC’ undeclared (first use in this function)
filters/video/resize.c:105:24: note: each undeclared identifier is reported only once for each function it appears in
filters/video/resize.c:107:24: error: ‘SWS_CPU_CAPS_MMX’ undeclared (first use in this function)
filters/video/resize.c:107:43: error: ‘SWS_CPU_CAPS_MMX2’ undeclared (first use in this function)
make: *** [filters/video/resize.o] Error 1

**** Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

wim.glenn
May 26th, 2011, 03:55 AM
i get the same error in step 7. i guess something has changed upstream, however until it's fixed then you can workaround it by using the lavf support from ffmpeg and preset files to libx264 , so that you don't need lavf built into x264 cli.

fiklein
May 26th, 2011, 04:51 AM
I also needed to install:

sudo apt-get install ffmpeg libavcodec-extra-52

for Maverick. I was wondering if what I did would work on a fresh Natty install.

wim.glenn
May 26th, 2011, 08:07 AM
I also needed to install:

sudo apt-get install ffmpeg libavcodec-extra-52

for Maverick. I was wondering if what I did would work on a fresh Natty install.

yes! step 7 (adding lavf support to x264 cli) worked after installing package libavcodec-extra-52 , and i also added --enable-static to ./configure in step 7.


if anyone needs to get one , check in the attachment for a setup script that was working for me on a fresh install of 11.04. probably this will stop working again in a few weeks .. or days.. :P

wim.glenn
May 26th, 2011, 08:08 AM
ps.. ffserver seems to be automagically working again now , too, ..the segfault i was seeing previously has disappeared in the latest build.

fiklein
May 26th, 2011, 12:11 PM
I followed the guide on another computer using 10.10 and got the following error in the terminal opened by Winff:

[NULL @ 0x201f820] [Eval @ 0x7fff95420300] Invalid chars 'b' at the end of expression '160kb'
[NULL @ 0x201f820] Unable to parse option value "160kb"
Invalid value '160kb' for option 'ab'

fiklein
May 26th, 2011, 05:10 PM
I followed the guide on another computer using 10.10 and got the following error in the terminal opened by Winff:

[NULL @ 0x201f820] [Eval @ 0x7fff95420300] Invalid chars 'b' at the end of expression '160kb'
[NULL @ 0x201f820] Unable to parse option value "160kb"
Invalid value '160kb' for option 'ab'



I found a similar post on:
http://ubuntuforums.org/showthread.php?p=9488276
but I really would like to use a GUI
Also, I was wondering if I should simply clean and reinstall ffmpeg. Anybody out there with an idea?

fiklein
May 26th, 2011, 05:15 PM
I found a similar post on:
http://ubuntuforums.org/showthread.php?p=9488276
but I really would like to use a GUI
Also, I was wondering if I should simply clean and reinstall ffmpeg. Anybody out there with an idea?

Sorry to spam this thread, but there is a line in the above 9488276 thread that says:
"I'm not sure what your command looks like, but try it without the "b", so for example, instead of -ab 160kb, try -ab 160k. "
How would I try it without the "b"?

andrew.46
May 26th, 2011, 11:06 PM
How would I try it without the "b"?

You need to edit the presets that come with WinFF, I believe you can do this from within the program itself.

robdocmagic
May 27th, 2011, 12:20 AM
I believe I have a synax error that I can't seem to figure out.

I am using multiple drawtext filters and it's working fine:

/usr/local/bin/ffmpeg -i input.mts -vf "drawtext=fontfile=/usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf:text='Test Event (Apr 2011) - Day\: 2\, Group\: 1\, Jump\: 1\, Sector\: 1':fontsize=11:fontcolor=black:x=5:y=5,drawtext=fo ntfile=/usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf:text='Videographer\: view all event videos at www.ff.com':fontsize=11:fontcolor=black:x=5:y=305 (http://www.ff.com':fontsize=11:fontcolor=black:x=5:y=305)" -vol 0 -y -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -preset slow -crf 22 -threads 0 -s 480x320 -deinterlace output.mp4

I can use the overlay filter just fine:

/usr/local/bin/ffmpeg -i input.mts -vf "movie=overlay.png [logo];movie=overlay2.png [logo2];[in][logo] overlay=W-w:H-h [in+logo];[in+logo][logo2] overlay=0:H-h [out]" -vol 0 -y -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -preset slow -crf 22 -threads 0 -s 480x320 -deinterlace overlay.mp4

so, I figured I could just put a comma and put my overlay filter at the end of my drawtext filters (as I need to use them all together)

/usr/local/bin/ffmpeg -i input.mts -vf "drawtext=fontfile=/usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf:text='Test Event (Apr 2011) - Day\: 2\, Group\: 1\, Jump\: 1\, Sector\: 1':fontsize=11:fontcolor=black:x=5:y=5,drawtext=fo ntfile=/usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf:text='Videographer\: view all event videos at www.ff.com':fontsize=11:fontcolor=black:x=5:y=305, movie=overlay.png (http://www.ff.com':fontsize=11:fontcolor=black:x=5:y=305, movie=overlay.png) [logo];[in][logo] overlay=W-w:H-h [out]" -vol 0 -y -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -preset slow -crf 22 -threads 0 -s 480x320 -deinterlace output.mp4

But when I append the overlay filter on the end of the drawtext filter I get:

Too many inputs specified for the "movie" filter.

I am sure this is something simple I am doing wrong :)

fiklein
May 27th, 2011, 12:31 AM
Re: HOWTO: Install and use the latest FFmpeg and x264
Quote:
Originally Posted by fiklein http://ubuntuforums.org/images/buttons/viewpost.gif (http://ubuntuforums.org/showthread.php?p=10864312#post10864312)
I followed the guide on another computer using 10.10 and got the following error in the terminal opened by Winff:

[NULL @ 0x201f820] [Eval @ 0x7fff95420300] Invalid chars 'b' at the end of expression '160kb'
[NULL @ 0x201f820] Unable to parse option value "160kb"
Invalid value '160kb' for option 'ab'


I found a similar post on:
http://ubuntuforums.org/showthread.php?p=9488276
but I really would like to use a GUI
Also, I was wondering if I should simply clean and reinstall ffmpeg. Anybody out there with an idea?

Andrew 46
I do not think it is Winff because I get a similar lack of function with the DownloadHelper GUI. My other computer running 10.10 and following the same procedures seems to work in both. Is there a way to edit the "b" out of the commands? I have tried each GUI using MP4 or FLV to MP3 audio. I may just reinstall ffmpeg on the idea that something went wrong in the process. Any other ideas?

http://ubuntuforums.org/images/statusicon/user_online.gif http://ubuntuforums.org/images/buttons/report.gif (http://ubuntuforums.org/report.php?p=10865115) http://ubuntuforums.org/images/misc/progress.gif http://ubuntuforums.org/images/buttons/edit.gif (http://ubuntuforums.org/editpost.php?do=editpost&p=10865115)

dozycat
May 27th, 2011, 12:44 AM
yes! step 7 (adding lavf support to x264 cli) worked after installing package libavcodec-extra-52 , and i also added --enable-static to ./configure in step 7.


if anyone needs to get one , check in the attachment for a setup script that was working for me on a fresh install of 11.04. probably this will stop working again in a few weeks .. or days.. :P



./configure --enable-static
Platform: X86_64
System: LINUX
cli: yes
libx264: internal
shared: no
static: yes
asm: yes
interlaced: yes
avs: no
lavf: yes
ffms: no
gpac: no
gpl: yes
thread: posix
filters: resize crop select_every
debug: no
gprof: no
strip: no
PIC: no
visualize: no
bit depth: 8

You can run 'make' or 'make fprofiled' now.

well it changed sometjing adding the codec and the option enable static but still got error in make:



$ make
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o x264.o x264.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o input/input.o input/input.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o input/timecode.o input/timecode.c
input/timecode.c: In function ‘parse_tcfile’:
input/timecode.c:163:18: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
input/timecode.c:196:22: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
input/timecode.c:242:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
input/timecode.c:248:18: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o input/raw.o input/raw.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o input/y4m.o input/y4m.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o output/raw.o output/raw.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o output/matroska.o output/matroska.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o output/matroska_ebml.o output/matroska_ebml.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o output/flv.o output/flv.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o output/flv_bytestream.o output/flv_bytestream.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o filters/filters.o filters/filters.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/video.o filters/video/video.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/source.o filters/video/source.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/internal.o filters/video/internal.c
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -I/usr/local/include -I/usr/local/include -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/resize.o filters/video/resize.c
filters/video/resize.c: In function ‘convert_cpu_to_flag’:
filters/video/resize.c:105:24: error: ‘SWS_CPU_CAPS_ALTIVEC’ undeclared (first use in this function)
filters/video/resize.c:105:24: note: each undeclared identifier is reported only once for each function it appears in
filters/video/resize.c:107:24: error: ‘SWS_CPU_CAPS_MMX’ undeclared (first use in this function)
filters/video/resize.c:107:43: error: ‘SWS_CPU_CAPS_MMX2’ undeclared (first use in this function)
make: *** [filters/video/resize.o] Error 1

qyot27
May 27th, 2011, 02:50 AM
The problem isn't x264 (at least, not completely); calls including an SWS_ are coming from swscale. Purge ffmpeg, do a fresh clone, and compile it again. Then see if x264 compiles successfully. There were a rash of commits to fix swscale compiling problems about an hour ago or so. (http://git.videolan.org/?p=ffmpeg.git&a=search&h=HEAD&st=commit&s=swscale)

Worse comes to worst, compile ffmpeg and x264 as 32-bit and wait until both have their AMD64 routines working together again.


Or, you could simply forgo compiling x264 with lavf support. --disable-lavf would probably enable it to succeed, regardless of what happens on ffmpeg's side.

djdvant
May 27th, 2011, 02:53 AM
make install ffmpeg first, then x264, then ffmpeg.

This will ensure that that libswscale is up to date since filters/video/resize.c includes libswscale/swscale.h

andrew.46
May 27th, 2011, 07:11 AM
I do not think it is Winff because I get a similar lack of function with the DownloadHelper GUI. My other computer running 10.10 and following the same procedures seems to work in both. Is there a way to edit the "b" out of the commands? I have tried each GUI using MP4 or FLV to MP3 audio. I may just reinstall ffmpeg on the idea that something went wrong in the process. Any other ideas?

I am pretty sure the problem is that when you install WinFF and use it with the git FFmpeg there is a problem with WinFF using older syntax. You can edit this manually but I have just installed WinFF and I see that there are some newer presets that have edited out the offending 'b's and perhaps this will be the easiest way out of your problem.

Something like the following single command should work:



cd $HOME/.winff && \
mv -v presets.xml presets.xml_bak && \
wget http://winff.googlecode.com/files/presets-libavcodec52-v6.xml.gz && \
gunzip presets-libavcodec52-v6.xml.gz && \
mv -v presets-libavcodec52-v6.xml presets.xml


Doubtless there is a better way to do this but it worked well enough on my system. I have tested several of these presets on my own system which runs the latest git FFmpeg and so far all of them are working well enough. (One small alteration required for ogg encoding is to change the codec from vorbis to libvorbis and doubtless there are other small changes needed.)

andrew.46
May 27th, 2011, 08:46 AM
Hi, I used the Lucid guide here to install with capturing support and I can't get it to work with any options that I've tried.

Here is the command and output:

user@ubuntu:~$ ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 640x480 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 output.mkv
[...]
File 'output.mkv' already exists. Overwrite ? [y/N] n
Not overwriting - exiting

Here the command fails because the file 'output.mkv' already exists, perhaps from a previous encoding effort? You can simply select 'y' to overwrite your file or add the option -y to your commandline.




[jgodwin@Minty:~$ ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 640x480 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 output.mkv
[...]
[libx264 @ 0x9f29660] constant rate-factor is incompatible with 2pass.
Output #0, matroska, to 'output.mkv':
Stream #0.0: Video: libx264, yuv420p, 640x480, q=0-69, pass 1, pass 2, 200 kb/s, 90k tbn, 30 tbc
Stream #0.1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, pass 1, pass 2, 1411 kb/s
Stream mapping:
Stream #1.0 -> #0.0
Stream #0.0 -> #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

I suspect the problem here is the -vpre lossless_ultrafast setting, which gives similar error messages on my system. I don't know enough about lossless encoding with x264 and even less about x11grab but perhaps you could try -preset slower instead of your -vpre setting? Wiser heads than mine may suggest a better option but perhaps this will at least kickstart you screen capture :). As to the pass 2 error messages, which I can duplicate here as well. I am a little puzzled as well...

dozycat
May 27th, 2011, 10:55 AM
make install ffmpeg first, then x264, then ffmpeg.

This will ensure that that libswscale is up to date since filters/video/resize.c includes libswscale/swscale.h

Do I need to remove ffmmpeg and x264, and start again?

vagrale13
May 27th, 2011, 09:21 PM
Something like the following single command should work:



cd $HOME/.winff && \
mv -v presets.xml presets.xml_bak && \
wget http://winff.googlecode.com/files/presets-libavcodec52-v6.xml.gz && \
gunzip presets-libavcodec52-v6.xml.gz && \
mv -v presets-libavcodec52-v6.xml presets.xml
Doubtless there is a better way to do this but it worked well enough on my system. I have tested several of these presets on my own system which runs the latest git FFmpeg and so far all of them are working well enough. (One small alteration required for ogg encoding is to change the codec from vorbis to libvorbis and doubtless there are other small changes needed.)
What the difference if run

cp /usr/share/winff/presets-libavcodec52-v*.xml ~/.winff/presets.xml
sed -i 's/kb /k /g' ~/.winff/presets.xml:-k

andrew.46
May 28th, 2011, 12:17 AM
What the difference if run

cp /usr/share/winff/presets-libavcodec52-v*.xml ~/.winff/presets.xml
sed -i 's/kb /k /g' ~/.winff/presets.xml:-k

Indeed I did not notice that presets-libavcodec52-v6.xml is packaged in /usr/share/winff/ :). You will not need the sed command though as this change is already present in the preset. So to modify your command slightly:



mv -v ~/.winff/presets.xml ~/.winff/presets.xml_bak && \
cp -v /usr/share/winff/presets-libavcodec52-v6.xml ~/.winff/presets.xml


should be enough to get started with the git FFmpeg. To alter the ogg preset I would suggest:


sed -i_oggchange 's/-acodec vorbis/-acodec libvorbis/g' ~/.winff/presets.xml

and then possible more changes, I have only just started looking at the newer presets. Thanks for pointing out that the newer presets were already installed :).

FakeOutdoorsman
May 31st, 2011, 06:41 PM
How can I install multiple versions of FFmpeg?

I have the GIT version as my primary version (used instructions from the original post) but I need to compile a special version for a piece of software that I use (AirVideo).

How should I configure/compile this special FFmpeg build so it can exist alongside the GIT version?

Perhaps you could use a local installation of FFmpeg for AirVideo as andrew.46 shows in Howto: Build the development version of vlc under Ubuntu (http://ubuntuforums.org/showthread.php?t=1398119).



Not a great idea, it seems apt freaks out a little bit if it finds a version of FFmpeg installed that doesn't correspond to the naming scheme for FFmpeg it expects. It isn't a deal breaker, it just throws a warning when running apt-get update.
The guide should get around this by changing the epoch number in the pkgversion to be "(current epoch number for package in repo) + 1". From the Debian Policy Manual (http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version):

[Epoch] is provided to allow mistakes in the version numbers of older versions of a package, and also a package's previous version numbering schemes, to be left behind.

I previously used ~ffmpeg/version.sh to provide a pkgversion, but changed to using the date as the pkgversion, because as of Natty the version number must start with a digit. Annoying.


I came across the same problem and haven't got round to fixing it yet.
What is the problem exactly? I'd like to try to duplicate it.



by the way , does anyone know if it is also necessary to add --enable-static to the x264 ./configure line in step 7 ?

Yes, it was missing that and I added it. Thanks. Unfortunately, lavf support will currently not work until x264 catches up with some FFmpeg changes. I'm guessing it will be fixed in the next series of updates.

FakeOutdoorsman
May 31st, 2011, 06:43 PM
Also, I owe andrew.46 a beer for answering so many questions while I was playing tourist.

andrew.46
May 31st, 2011, 09:11 PM
Also, I owe andrew.46 a beer for answering so many questions while I was playing tourist.

Welcome back!! I shall now slide into the background again :).