<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Building ffmpeg for Windows with MSYS and MinGW</title>
	<atom:link href="http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/</link>
	<description>on software development and related issues</description>
	<pubDate>Thu, 04 Dec 2008 05:02:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: ltomak</title>
		<link>http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-6096</link>
		<dc:creator>ltomak</dc:creator>
		<pubDate>Fri, 17 Oct 2008 18:11:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-6096</guid>
		<description>to solve "libavdevice/vfwcap.c" related erros use download and install w32api-3.12-mingw32-dev.tar.</description>
		<content:encoded><![CDATA[<p>to solve &#8220;libavdevice/vfwcap.c&#8221; related erros use download and install w32api-3.12-mingw32-dev.tar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-5850</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Mon, 06 Oct 2008 02:35:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-5850</guid>
		<description>First off thanks hugely for all the info on this page, really helpful. Ive now managed to at least get the make to begin but i get a problem in the source with the 'CAPTUREPARAMS' as an undelcared identifier in the 'libavdevice/vfwcap.c' file. 

Anyone have any idea how to fix? Also, i couldnt work out how to copy and paste so i cant show you the entire error output - any ideas how to do that too?

Thanks in advance,
Ian</description>
		<content:encoded><![CDATA[<p>First off thanks hugely for all the info on this page, really helpful. Ive now managed to at least get the make to begin but i get a problem in the source with the &#8216;CAPTUREPARAMS&#8217; as an undelcared identifier in the &#8216;libavdevice/vfwcap.c&#8217; file. </p>
<p>Anyone have any idea how to fix? Also, i couldnt work out how to copy and paste so i cant show you the entire error output - any ideas how to do that too?</p>
<p>Thanks in advance,<br />
Ian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rgk</title>
		<link>http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-4510</link>
		<dc:creator>rgk</dc:creator>
		<pubDate>Fri, 15 Aug 2008 20:35:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-4510</guid>
		<description>One other thing.. as Jer noted above... 

ALL configure options are preceded with a DOUBLE DASH.

...this discussion board strips off the double dash i just noticed, so when you cutr and paste you will get errors unless you put them back

./configure ---extra-cflags="-mno-cygwin -mms-bitfields" ---extra-ldflags="-Wl -add-stdcall-alias" ---enable-memalign-hack ---target-os=mingw32 ---enable-shared ---disable-static</description>
		<content:encoded><![CDATA[<p>One other thing.. as Jer noted above&#8230; </p>
<p>ALL configure options are preceded with a DOUBLE DASH.</p>
<p>&#8230;this discussion board strips off the double dash i just noticed, so when you cutr and paste you will get errors unless you put them back</p>
<p>./configure &#8212;extra-cflags=&#8221;-mno-cygwin -mms-bitfields&#8221; &#8212;extra-ldflags=&#8221;-Wl -add-stdcall-alias&#8221; &#8212;enable-memalign-hack &#8212;target-os=mingw32 &#8212;enable-shared &#8212;disable-static</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rgk</title>
		<link>http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-4509</link>
		<dc:creator>rgk</dc:creator>
		<pubDate>Fri, 15 Aug 2008 20:31:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-4509</guid>
		<description>The following myconfig worked for me

./configure --extra-cflags="-mno-cygwin -mms-bitfields" --extra-ldflags="-Wl -add-stdcall-alias" --enable-memalign-hack --target-os=mingw32 --enable-shared --disable-static

How ever I had to make some changes to msys to get all of this to work properly

1)Install msysDTS (msysDTK-1.0.1.exe)

2)Install MSYS Core 1.0.11. (msysCORE-1.0.11-2007.01.19-1.tar.bz2)

3)Install msys coreutils (coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2)

4)Update bash to v.31 (bash_3.1_MSYS-1.0.11)

5)Update make to version 3.81 (make-3.81-MSYS-1.0.11-2)

got all of the above from http://downloads.sourceforge.net/mingw/
or
http://sourceforge.net/project/showfiles.php?group_id=2435

Then compile went cleanly..
Hope this helps some of the folks..</description>
		<content:encoded><![CDATA[<p>The following myconfig worked for me</p>
<p>./configure &#8211;extra-cflags=&#8221;-mno-cygwin -mms-bitfields&#8221; &#8211;extra-ldflags=&#8221;-Wl -add-stdcall-alias&#8221; &#8211;enable-memalign-hack &#8211;target-os=mingw32 &#8211;enable-shared &#8211;disable-static</p>
<p>How ever I had to make some changes to msys to get all of this to work properly</p>
<p>1)Install msysDTS (msysDTK-1.0.1.exe)</p>
<p>2)Install MSYS Core 1.0.11. (msysCORE-1.0.11-2007.01.19-1.tar.bz2)</p>
<p>3)Install msys coreutils (coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2)</p>
<p>4)Update bash to v.31 (bash_3.1_MSYS-1.0.11)</p>
<p>5)Update make to version 3.81 (make-3.81-MSYS-1.0.11-2)</p>
<p>got all of the above from <a href="http://downloads.sourceforge.net/mingw/" rel="nofollow">http://downloads.sourceforge.net/mingw/</a><br />
or<br />
<a href="http://sourceforge.net/project/showfiles.php?group_id=2435" rel="nofollow">http://sourceforge.net/project/showfiles.php?group_id=2435</a></p>
<p>Then compile went cleanly..<br />
Hope this helps some of the folks..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco L.</title>
		<link>http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-4158</link>
		<dc:creator>Marco L.</dc:creator>
		<pubDate>Thu, 24 Jul 2008 23:19:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-4158</guid>
		<description>Hi, nice guide! I followed all your steps, and I have made all the dll (avcodec-51.dll, avformar-52.dll, avutil-49.dll and avdevice-52.dll) but I have another problem!
When I want to encode a frame with Visual Studio and I use the avcodec_encode_video, at the second call of this function there is an exception:

Eccezione first-chance occurred in avcodec-51.dll in EncodeMpeg4.exe: 0xC00000FD: Stack overflow.
Eccezione non gestita occurred in avcodec-51.dll in EncodeMpeg4.exe: 0xC00000FD: Stack overflow.

Someone tell me there is a problem with the stack alignment.
This kinf of error appear only when I encode a frame (AVPicture in PIX_FMT_YUV420P) not appear when I decode a stream of byte with the avcodec_decode_video.
Obviously I have made any kind of initialization like avcodec_init, av_register_all, avcodec_register_all, ...

Any idea?
Thanx in advance :)</description>
		<content:encoded><![CDATA[<p>Hi, nice guide! I followed all your steps, and I have made all the dll (avcodec-51.dll, avformar-52.dll, avutil-49.dll and avdevice-52.dll) but I have another problem!<br />
When I want to encode a frame with Visual Studio and I use the avcodec_encode_video, at the second call of this function there is an exception:</p>
<p>Eccezione first-chance occurred in avcodec-51.dll in EncodeMpeg4.exe: 0xC00000FD: Stack overflow.<br />
Eccezione non gestita occurred in avcodec-51.dll in EncodeMpeg4.exe: 0xC00000FD: Stack overflow.</p>
<p>Someone tell me there is a problem with the stack alignment.<br />
This kinf of error appear only when I encode a frame (AVPicture in PIX_FMT_YUV420P) not appear when I decode a stream of byte with the avcodec_decode_video.<br />
Obviously I have made any kind of initialization like avcodec_init, av_register_all, avcodec_register_all, &#8230;</p>
<p>Any idea?<br />
Thanx in advance :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jer</title>
		<link>http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-3264</link>
		<dc:creator>Jer</dc:creator>
		<pubDate>Sun, 11 May 2008 09:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-3264</guid>
		<description>ADDENDUM:

You will also need ffmpeg/libavdevice/avdevice-52.dll

(and avformat is avformat-52.dll with latest ffmpeg)

Happy ffmpeging</description>
		<content:encoded><![CDATA[<p>ADDENDUM:</p>
<p>You will also need ffmpeg/libavdevice/avdevice-52.dll</p>
<p>(and avformat is avformat-52.dll with latest ffmpeg)</p>
<p>Happy ffmpeging</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jer</title>
		<link>http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-3263</link>
		<dc:creator>Jer</dc:creator>
		<pubDate>Sun, 11 May 2008 09:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-3263</guid>
		<description>Extract coreutils downloaded from http://downloads.sourceforge.net/mingw/coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2?modtime=1188741011&#38;big_mirror=1  
into c:/msys/1.0 so that it overwrites items in subdirs (bin, lib, etc.)  I opened the .tar.bz2 with 7zip, went down 2 levels, highlighted the 4 or 5 folders, copied them and pasted in c:\mingw.

decend to c:\mingw\libexec\mingw32\3.45\
copy the 6 .exe's there.  
ascend to c:\mingw\bin
paste.

Update make:
download from  http://downloads.sourceforge.net/mingw/make-3.81-MSYS-1.0.11-2.tar.bz2?modtime=1206477681&#38;big_mirror=1
extract bin and share folder to c:\msys\1.0 (allow to overwrite)

 


start c:\msys\1.0\msys.bat

type out:

./configure --extra-cflags-"-mnt-cygwin -mms-bitfields" --extra-ldflags="-Wl, -add-stdcall-alias" --enable-memalign-hack --enable-shared --disable-static --target-os=mingw32_nt-6.0

double - before 'extra' 'enable' 'disable' and 'target'.  Wl is a capital W and a small L.  

**target OS I put mingw32_nt-6.0.  My windows boot is Vista.  Not sure if it is required to be that way but it worked.

(or you can put in myconfig and run c/work/ffmpeg/myconfig.  I'm just used to typing out ./configure lines because I end up compiling a lot of stuff on linux and the myconfig method seems like the long way around to me.)

Run make, et voila!  Enjoy.</description>
		<content:encoded><![CDATA[<p>Extract coreutils downloaded from <a href="http://downloads.sourceforge.net/mingw/coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2?modtime=1188741011&amp;big_mirror=1" rel="nofollow">http://downloads.sourceforge.net/mingw/coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2?modtime=1188741011&amp;big_mirror=1</a><br />
into c:/msys/1.0 so that it overwrites items in subdirs (bin, lib, etc.)  I opened the .tar.bz2 with 7zip, went down 2 levels, highlighted the 4 or 5 folders, copied them and pasted in c:\mingw.</p>
<p>decend to c:\mingw\libexec\mingw32\3.45\<br />
copy the 6 .exe&#8217;s there.<br />
ascend to c:\mingw\bin<br />
paste.</p>
<p>Update make:<br />
download from  <a href="http://downloads.sourceforge.net/mingw/make-3.81-MSYS-1.0.11-2.tar.bz2?modtime=1206477681&amp;big_mirror=1" rel="nofollow">http://downloads.sourceforge.net/mingw/make-3.81-MSYS-1.0.11-2.tar.bz2?modtime=1206477681&amp;big_mirror=1</a><br />
extract bin and share folder to c:\msys\1.0 (allow to overwrite)</p>
<p>start c:\msys\1.0\msys.bat</p>
<p>type out:</p>
<p>./configure &#8211;extra-cflags-&#8221;-mnt-cygwin -mms-bitfields&#8221; &#8211;extra-ldflags=&#8221;-Wl, -add-stdcall-alias&#8221; &#8211;enable-memalign-hack &#8211;enable-shared &#8211;disable-static &#8211;target-os=mingw32_nt-6.0</p>
<p>double - before &#8216;extra&#8217; &#8216;enable&#8217; &#8216;disable&#8217; and &#8216;target&#8217;.  Wl is a capital W and a small L.  </p>
<p>**target OS I put mingw32_nt-6.0.  My windows boot is Vista.  Not sure if it is required to be that way but it worked.</p>
<p>(or you can put in myconfig and run c/work/ffmpeg/myconfig.  I&#8217;m just used to typing out ./configure lines because I end up compiling a lot of stuff on linux and the myconfig method seems like the long way around to me.)</p>
<p>Run make, et voila!  Enjoy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keka</title>
		<link>http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-3196</link>
		<dc:creator>Keka</dc:creator>
		<pubDate>Tue, 06 May 2008 21:38:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-3196</guid>
		<description>Hi, I am green at this and need help. I have followed the guide up to the point of executing the Make command.I am getting the message ***No rule to make target 'libavdevice/avdevide.dll'needed by 'all' .Stop

How do I resolve this?
regards Keka</description>
		<content:encoded><![CDATA[<p>Hi, I am green at this and need help. I have followed the guide up to the point of executing the Make command.I am getting the message ***No rule to make target &#8216;libavdevice/avdevide.dll&#8217;needed by &#8216;all&#8217; .Stop</p>
<p>How do I resolve this?<br />
regards Keka</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ZeOn</title>
		<link>http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-3089</link>
		<dc:creator>ZeOn</dc:creator>
		<pubDate>Thu, 01 May 2008 07:57:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-3089</guid>
		<description>The solution is as followed:
download the coreutils and in the myconfig just put:
#!/bin/sh
./configure --extra-cflags="-mno-cygwin -mms-bitfields" --extra-ldflags="-Wl,-add-stdcall-alias" --enable-memalign-hack --target-os=mingw32 --enable-shared --disable-static 

=&#62;- becomes -- only when it's between "" it's a single -
Greetings</description>
		<content:encoded><![CDATA[<p>The solution is as followed:<br />
download the coreutils and in the myconfig just put:<br />
#!/bin/sh<br />
./configure &#8211;extra-cflags=&#8221;-mno-cygwin -mms-bitfields&#8221; &#8211;extra-ldflags=&#8221;-Wl,-add-stdcall-alias&#8221; &#8211;enable-memalign-hack &#8211;target-os=mingw32 &#8211;enable-shared &#8211;disable-static </p>
<p>=&gt;- becomes &#8212; only when it&#8217;s between &#8220;&#8221; it&#8217;s a single -<br />
Greetings</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-2886</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Tue, 22 Apr 2008 11:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-ffmpeg-for-windows-with-msys-and-mingw/#comment-2886</guid>
		<description>Hi, 
I followed all your steps to complie the FFMpeg, but after I run the ./myconfig in the mingw32, there's errers : "
gcc is unable to create an executeable file.
C compiler test failed.
" 

Could you please help me ? what I should do to fix this problem ? Thank you very much. 

If possible, could we make friends ? 
msn   : netwheat@hotmail.com  
skype : iamwheat
yahoo : wheatinthesky 

Regards
Richard</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I followed all your steps to complie the FFMpeg, but after I run the ./myconfig in the mingw32, there&#8217;s errers : &#8221;<br />
gcc is unable to create an executeable file.<br />
C compiler test failed.<br />
&#8221; </p>
<p>Could you please help me ? what I should do to fix this problem ? Thank you very much. </p>
<p>If possible, could we make friends ?<br />
msn   : <a href="mailto:netwheat@hotmail.com">netwheat@hotmail.com</a><br />
skype : iamwheat<br />
yahoo : wheatinthesky </p>
<p>Regards<br />
Richard</p>
]]></content:encoded>
	</item>
</channel>
</rss>
