pombreda / x264-ffmpeg-up-to-date

Automatically exported from code.google.com/p/x264-ffmpeg-up-to-date
0 stars 0 forks source link

x264 - No support for lavf, gpac, etc... #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi guys,
The thing is, x264 needs ffmpeg to compile with ffms, lavf and gpac support. It 
would be great to update your script so ffmpeg is not uninstalled before x264 
is compiled, I mean for those who actually need these features, but before 
updated ffmpeg itself.
I've updated the script for myself and it works great.

Original issue reported on code.google.com by d34tH.tH...@gmail.com on 21 Jul 2010 at 2:51

GoogleCodeExporter commented 9 years ago
Actually, it is not needed for gpac, but still for the other two.

Original comment by d34tH.tH...@gmail.com on 21 Jul 2010 at 4:16

GoogleCodeExporter commented 9 years ago
Hi, so, you are saying in some situations, x264 needs FFmpeg to be present on 
your PC when you compile it with particular options?

I was unaware of this. Can you list the options that require FFmpeg to be 
present? One thing I was thinking of adding was the ability to set various 
compilation options to FFmpeg and x264 via a conf file and if FFmpeg needs to 
be present during a x264 build, that is important to know....

Original comment by r.plumri...@gmail.com on 3 Aug 2010 at 9:03

GoogleCodeExporter commented 9 years ago

Original comment by r.plumri...@gmail.com on 3 Aug 2010 at 9:05

GoogleCodeExporter commented 9 years ago
Here is the script I use (I've reduced yours to suit my needs).
In fact, only lavf requires ffmpeg to be present, but there is another option 
to include ffms support in x264 and ffms needs ffmpeg to compile, so I've added 
a script to build ffmpegsource at the end. 
These options are only needed if you want to encode directly with x264, which I 
prefer, rather than through ffmpeg, and they are automatically activated when 
configure finds ffmpeg and ffmpegsource on your system, no need to specify any 
argument to configure.

Original comment by d34tH.tH...@gmail.com on 4 Aug 2010 at 10:00

Attachments:

GoogleCodeExporter commented 9 years ago
Hi

Great stuff, I shall look into incorporating these changes into my script when 
I add the configure options, but that wont be for a while...

Original comment by r.plumri...@gmail.com on 4 Aug 2010 at 10:24

GoogleCodeExporter commented 9 years ago
Hi,
It seems you can't compile the shared library with ffms and lavf support, so I 
modified the script to build the shared library first, the one that is used to 
compile ffmpeg, then ffmpegsource, and finally the x264 binary to be able to 
encode without ffmpeg.

Original comment by d34tH.tH...@gmail.com on 10 Aug 2010 at 11:07

Attachments:

GoogleCodeExporter commented 9 years ago
It does not seem to like the two installations of x264 as some files have to be 
overwritten, but a dpkg --force-overwrite should solve the problem, I'll 
reupload the script when it is fixed.

Original comment by d34tH.tH...@gmail.com on 10 Aug 2010 at 11:14

GoogleCodeExporter commented 9 years ago
Okay, now it should work, it's up to you whether or not you want to use this 
trick though. As I said it is only required if you want to encode through x264, 
so it could be great with your new option system.

Original comment by d34tH.tH...@gmail.com on 10 Aug 2010 at 3:41

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the work on this. I shall work on incorporating it into the new 
version when I get the chance and credit shall of course be given to you....

Original comment by r.plumri...@gmail.com on 10 Aug 2010 at 3:51

GoogleCodeExporter commented 9 years ago
Thank you, I'm glad I could contribute to your script.

Original comment by d34tH.tH...@gmail.com on 10 Aug 2010 at 5:51

GoogleCodeExporter commented 9 years ago
Hi I would also like to vouch an other compiling order

The order I compile in is.
ffmpeg
ffmpegsource (uses ffmpeg)
x264 (uses ffmpeg & ffmpegsource)

This way x264 can compile with shared library's so more input options are 
available like ffms and also the video filters for cropping and resizing will 
be available.

Great work on the scripts btw, I learned to compile for myself from the clear 
and neat programming in the scripts.

Original comment by r.korv...@gmail.com on 15 Nov 2010 at 10:13

GoogleCodeExporter commented 9 years ago
I shall see what I can do to add more flexibility, however it will require a 
bit of a re-write, so it might take a while to implement.....watch this space. 

Original comment by r.plumri...@gmail.com on 15 Nov 2010 at 10:24

GoogleCodeExporter commented 9 years ago
Any news about introducing ffms2 support?

Original comment by arlong.p...@gmail.com on 22 Jan 2011 at 10:28

GoogleCodeExporter commented 9 years ago
I will be looking to add this if still needed. As I have changed the code a 
fair amount, let me know if this is still needed.

Original comment by r.plumri...@gmail.com on 14 Sep 2011 at 10:51

GoogleCodeExporter commented 9 years ago
HI, 
its been a long while, but yes, i have noted that alot more web scripts, want 
ffms2 support, so if you could bundle into your official install script that 
would be awesome, maybe the script can ask the user if they want ffms2 before 
install at same stage of confirming OS version part of the setup?

Original comment by Budgierl...@googlemail.com on 7 Mar 2013 at 7:20