Compiling FFMPEG for Windows 64bit

Questions that occur when trying to compile FFmpeg.
navilor
Posts: 46
Joined: Thu May 12, 2011 5:19 pm

Compiling FFMPEG for Windows 64bit

Post by navilor » Thu May 12, 2011 5:58 pm

I looked around your website and saw a lot of information on where to download builds of FFMPEG for Windows but the version that I need requires the non redistributable codecs.

Your wiki states:
http://ffmpeg.zeranoe.com/wiki/
Currently under maintenance, but when opened will contain guides and tutorials to help users build FFmpeg for Windows themselves.

Do you have a time estimate as to when your Wiki will be functional?

I have previously compiled FFMPEG for Windows. I had some questions initially and they were all answered here:
http://ffmpeg.arrozcru.org/forum/viewto ... f=1&t=1596

That website is now obsolete. I do a lot of MPEG-4 Part 10 (AVC), WebM and .ogg encoding and need to have both libx264 and libfaac to get done what I need to get done. My typical compile is listed at that link but is provide here in case that forum goes away.

../svn/configure --enable-gpl --enable-nonfree --enable-version3 --enable-avisynth --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libfaac --enable-postproc --enable-gray --enable-memalign-hack --arch=x86 --target-os=mingw32 --extra-libs='-lx264 -lpthread' --cross-prefix=i686-mingw32-

I am also including the webm codec which, last time I checked, requires disabling the matroska decoder:
--disable-decoder=matroska --enable-libvpx

Thank you for your time on this. As stated above your wiki is in process. I am hopeful that you will have instructions to do the full 64bit build soon.

Is there anything that I can do to help out?

ramiro
Posts: 157
Joined: Tue May 10, 2011 12:56 am

Re: Compiling FFMPEG for Windows 64bit

Post by ramiro » Thu May 12, 2011 6:17 pm

navilor wrote:That website is now obsolete. I do a lot of MPEG-4 Part 10 (AVC), WebM and .ogg encoding and need to have both libx264 and libfaac to get done what I need to get done. My typical compile is listed at that link but is provide here in case that forum goes away.
I intend to keep it around for a while...
navilor wrote:I am also including the webm codec which, last time I checked, requires disabling the matroska decoder:
--disable-decoder=matroska --enable-libvpx
This is wrong, matroska is not a decoder, it's a muxer/demuxer, and if you have to disable anything to get it working it's a bug in FFmpeg (which should be reported and fixed).

navilor
Posts: 46
Joined: Thu May 12, 2011 5:19 pm

Re: Compiling FFMPEG for Windows 64bit

Post by navilor » Thu May 12, 2011 6:31 pm

Wow. Super fast response. I'm at work right now so I don't have my build environment available at this time. I can get you the full script of what I do later. You've helped me before and I hope to be able to help you if possible.

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

Re: Compiling FFMPEG for Windows 64bit

Post by Zeranoe » Thu May 12, 2011 9:28 pm

navilor wrote:http://ffmpeg.zeranoe.com/wiki/
Currently under maintenance, but when opened will contain guides and tutorials to help users build FFmpeg for Windows themselves.

Do you have a time estimate as to when your Wiki will be functional?
I currently have the first few guides done, and I estimate it will be done in 1-2 weeks, but I'll shoot for one.

The wiki will contain guides to compiling MinGW, ffmpeg for 32-bit and 64-bit, and also include directions for building external libraries.

A script of what your planning to achieve would help, also any more info on what errors/issues you are getting.

navilor
Posts: 46
Joined: Thu May 12, 2011 5:19 pm

Re: Compiling FFMPEG for Windows 64bit

Post by navilor » Thu May 12, 2011 11:45 pm

The error that I was getting was:
ERROR: libvpx decoder version must be >=0.9.1

I found the answer here:
http://ffmpeg.arrozcru.org/forum/viewto ... f=1&t=1638

The autobuilds here have that:
http://ffmpeg.arrozcru.org/autobuilds/l ... 1-01-11-OK

My lame automation script for compiling under Ubuntu:

Code: Select all

cd /root/ffmpeg/build
rm -rf *
apt-get update
../svn/configure --enable-gpl --enable-nonfree --enable-version3 --enable-avisynth --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libspeex --enable-libtheora --disable-decoder=libvpx --enable-libvpx --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libfaac --enable-postproc --enable-gray --enable-memalign-hack --arch=x86 --target-os=mingw32 --extra-libs='-lx264 -lpthread' --cross-prefix=i686-mingw32-
make
7za a -t7z ffmpeg_full.7z *
7za a -t7z ffmpeg.7z ffmpeg.exe ffplay.exe ffprobe.exe
chmod 666 *.7z
cp *.7z /home/kevin/Desktop
I am not in a rush but was in a panic when I saw that the old site was going away.

Again, if there is anything that I can do to assist let me know. When it comes to writing code I am functionally retarded (due to no real experience). When it comes to tech support, issue reproduction and semi-coherent documentation I do pretty well. I'm also rather handy with creating MPEG-4 Part 10 compliant files that can stream from an rtsp streaming server (Darin, Helix, Wowza, etc) that are clean enough to do fast channel switching.

Here is a good whitepaper on the subject:
http://docs.real.com/docs/rn/whitepaper ... tching.pdf

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

Re: Compiling FFMPEG for Windows 64bit

Post by Zeranoe » Fri May 13, 2011 12:21 am

Sounds to me like you would be perfect for maintaining the Wiki after I get it built, would you be interested in this?

I could tell you any new information that needs to be added and you could modify the current content to match the updates.

You could also make the wiki better formatted if you saw fit.

navilor
Posts: 46
Joined: Thu May 12, 2011 5:19 pm

Re: Compiling FFMPEG for Windows 64bit

Post by navilor » Fri May 13, 2011 1:04 am

I have never maintained a wiki before, but I would be willing to give it a shot. If you don't like what I do I have no ego invested if you decide to go with someone else.

My old walk through is on this page:
http://ffmpeg.arrozcru.org/forum/viewto ... f=1&t=1596

That method seems to work for at least one other person. In an ideal world (Ha!) the configuration of the OS would be automated or semi-automated to accommodate a self contained build system relying only upon the FFMPEG SVN and the knowledge to put it all together.

navilor
Posts: 46
Joined: Thu May 12, 2011 5:19 pm

Re: Compiling FFMPEG for Windows 64bit

Post by navilor » Fri May 13, 2011 3:17 am

I did some research with some friends of mine. Word on the street is to go with Mediawiki if you haven't already done so.
http://www.mediawiki.org/wiki/MediaWiki

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

Re: Compiling FFMPEG for Windows 64bit

Post by Zeranoe » Fri May 13, 2011 6:47 pm

navilor wrote:I have never maintained a wiki before, but I would be willing to give it a shot. If you don't like what I do I have no ego invested if you decide to go with someone else.
I'll keep you posted.
navilor wrote:I did some research with some friends of mine. Word on the street is to go with Mediawiki if you haven't already done so.
http://www.mediawiki.org/wiki/MediaWiki
MediaWiki is already installed :)

palm1
Posts: 1
Joined: Mon May 16, 2011 7:35 am

Re: Compiling FFMPEG for Windows 64bit

Post by palm1 » Mon May 16, 2011 7:44 am

Doesn't make much sense if you're already opted for MediaWiki, but otherwise Tiki Wiki CMS Groupware would probably be a nice alternative.

Post Reply