Script to help with cross compiling

Announcements made by users.
rogerdpack
Posts: 1872
Joined: Fri Aug 05, 2011 9:56 pm

Script to help with cross compiling

Post by rogerdpack » Mon Dec 17, 2012 7:38 pm

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-

BiDouiLle
Posts: 42
Joined: Wed Oct 17, 2012 7:45 am
Location: Corsica

Re: Script to help with cross compiling

Post by BiDouiLle » Wed Dec 19, 2012 8:35 am

Very interesting.
I'll build a VM to try it soon.
Did you tried it on Mac OS too ?

--
Louis

rogerdpack
Posts: 1872
Joined: Fri Aug 05, 2011 9:56 pm

Re: Script to help with cross compiling

Post by rogerdpack » Wed Dec 19, 2012 6:49 pm

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?

iotzo
Posts: 35
Joined: Thu Jan 24, 2013 4:49 pm

Re: Script to help with cross compiling

Post by iotzo » Fri Jan 25, 2013 8:56 am

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).

rogerdpack
Posts: 1872
Joined: Fri Aug 05, 2011 9:56 pm

Re: Script to help with cross compiling

Post by rogerdpack » Fri Nov 15, 2013 1:12 pm

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?

iotzo
Posts: 35
Joined: Thu Jan 24, 2013 4:49 pm

Re: Script to help with cross compiling

Post by iotzo » Thu Feb 13, 2014 3:36 pm

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:)

kranthi9s
Posts: 4
Joined: Tue Jul 29, 2014 2:50 pm
Location: Hyderabad

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

Post by kranthi9s » Tue Jul 29, 2014 3:24 pm

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.

bacelar
Posts: 1
Joined: Tue Sep 30, 2014 9:00 pm

Re: Script to help with cross compiling

Post by bacelar » Tue Sep 30, 2014 9:13 pm

Hi,

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

svnpenn
Posts: 263
Joined: Tue Nov 01, 2011 12:19 am

Re: Script to help with cross compiling

Post by svnpenn » Tue Sep 30, 2014 10:26 pm

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

User avatar
Zeranoe
Site Admin
Posts: 644
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: Script to help with cross compiling

Post by Zeranoe » Thu Oct 02, 2014 4:54 am

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.

Post Reply