Page 1 of 6

Script to help with cross compiling

Posted: Mon Dec 17, 2012 7:38 pm
by rogerdpack
Greetings all.
I have created a script that (uses the zeranoe build script to compile gcc, then) builds ffmpeg *with all of its dependencies* (cross compiling). If anybody's interested, take a look.
It should have all the dependencies the zeranoe build has (with a few more, like a working frei0r filter).

It also has the optional ability to add in "non free" libraries like libfaac (commented out currently) and libfdk-aac, etc.

https://github.com/rdp/ffmpeg-windows-build-helpers

Cheers, feedback/suggestions/feature requests welcome.
-roger-

Re: Script to help with cross compiling

Posted: Wed Dec 19, 2012 8:35 am
by BiDouiLle
Very interesting.
I'll build a VM to try it soon.
Did you tried it on Mac OS too ?

--
Louis

Re: Script to help with cross compiling

Posted: Wed Dec 19, 2012 6:49 pm
by rogerdpack
BiDouiLle wrote:Very interesting.
I'll build a VM to try it soon.
Did you tried it on Mac OS too ?

--
Louis
Last time I tried it in OS X zeranoe's build script 3.0.6 failed, so I didn't get much farther than that...
http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=6&t=655

Has anybody gotten it working there?

Re: Script to help with cross compiling

Posted: Fri Jan 25, 2013 8:56 am
by iotzo
Works like a charm!
Thank you very much!
Usually I spend hours and days to achieve working ffmpeg cross compiling environment with all external libraries, but with your script this is not the case anymore.
I only had to uncoment some lines in fribidi section, because I’m getting unresolved symbols errors at the final/linking stage with current version of the script. I also added two additional patches in the script to enable HDYC DirectShow DeckLink capture and a reverse patch to get the old mxfenc behavior (the new one breaks XDCAMHD MXFs compatibility with my player).

Re: Script to help with cross compiling

Posted: Fri Nov 15, 2013 1:12 pm
by rogerdpack
iotzo wrote:Works like a charm!
Thank you very much!
Usually I spend hours and days to achieve working ffmpeg cross compiling environment with all external libraries, but with your script this is not the case anymore.
I only had to uncoment some lines in fribidi section, because I’m getting unresolved symbols errors at the final/linking stage with current version of the script. I also added two additional patches in the script to enable HDYC DirectShow DeckLink capture and a reverse patch to get the old mxfenc behavior (the new one breaks XDCAMHD MXFs compatibility with my player).
linking error building shared?
does ffmpeg know they've broken mxf? the decklink stuff should be in git master now?

Re: Script to help with cross compiling

Posted: Thu Feb 13, 2014 3:36 pm
by iotzo
Hi!
I noticed these days decklink output support in ffmpeg git(Linux AND Windows), but it requires DeckLink SDK to compile and some widl magic(i suppose for .idl to .h and .dll conversion ) i don't know how to apply, but it would be nice to have decklink output device support in Windows version of ffmpeg.
Also there is x265/HEVC encoder support : --enable-libx265 new option:)

Script to Convert any video to MPEG-2 Video And MPEG-2 Audio

Posted: Tue Jul 29, 2014 3:24 pm
by kranthi9s
Hi Please tell the batch Script /command for windows xp to convert any file to MPEG-2 from a specific folder using ffmpeg.

Specification Required:

scanning : interlace
Res : 720 x 576
Frame rate: 25 constant
v bit rate: 4000kbps avg.
A bit rate : 128 kbps, stereo , sampling 48 KHz
Aspect ration : auto

Thanks
Kranthi.

Re: Script to help with cross compiling

Posted: Tue Sep 30, 2014 9:13 pm
by bacelar
Hi,

Why Zeranoe publish the script to build MinGW-w64, but did not publish the script he uses to build ffmpeg?

Re: Script to help with cross compiling

Posted: Tue Sep 30, 2014 10:26 pm
by svnpenn
bacelar wrote: Why Zeranoe publish the script to build MinGW-w64, but did not publish the
script he uses to build ffmpeg?
I agree, this is quite confusing and annoying. I always chalked it up to the
fact that he sells custom builds, so he does not want to help people build what
he is selling.

http://ffmpeg.zeranoe.com/custom_build_quote_request

Re: Script to help with cross compiling

Posted: Thu Oct 02, 2014 4:54 am
by Zeranoe
svnpenn wrote:
bacelar wrote: Why Zeranoe publish the script to build MinGW-w64, but did not publish the
script he uses to build ffmpeg?
I agree, this is quite confusing and annoying. I always chalked it up to the
fact that he sells custom builds, so he does not want to help people build what
he is selling.

http://ffmpeg.zeranoe.com/custom_build_quote_request
Actually it's because the scripts I've written are very specific for my machine/network and it would take a long time to go though and make sure they would work on another persons machine.

The scripts I use are messy but function, and when I release work I hold it to a higher standard of quality.