<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Techy Things &#187; compiling-guide</title>
	<atom:link href="https://tech.yipp.ca/category/compiling-guide/feed/" rel="self" type="application/rss+xml" />
	<link>https://tech.yipp.ca</link>
	<description>Just another Yipp.ca Blogs site</description>
	<lastBuildDate>Thu, 01 May 2025 18:06:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>Compile ffmpeg on Windows natively with Visual Studio 2013</title>
		<link>https://tech.yipp.ca/compiling-guide/compile-ffmpeg-windows-natively-visual-studio-2013/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=compile-ffmpeg-windows-natively-visual-studio-2013</link>
		<comments>https://tech.yipp.ca/compiling-guide/compile-ffmpeg-windows-natively-visual-studio-2013/#comments</comments>
		<pubDate>Mon, 31 Jul 2017 18:46:22 +0000</pubDate>
		<dc:creator><![CDATA[frank]]></dc:creator>
				<category><![CDATA[compiling-guide]]></category>

		<guid isPermaLink="false">http://tech.yipp.ca/?p=2834</guid>
		<description><![CDATA[<p>Downloads MSYS (Install it) http://www.mingw.org/download/installer Choose at least install options gcc-g++ as below Then click Installation &#124; Apply Changes FFmpeg source code https://github.com/FFmpeg/FFmpeg Visual Studio 2013 Free Community Edition (Install it) https://www.visualstudio.com/en-us/news/releasenotes/vs2013-community-vs YASM http://yasm.tortall.net/Download.html&#46;&#46;&#46;</p>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/compiling-guide/compile-ffmpeg-windows-natively-visual-studio-2013/">Compile ffmpeg on Windows natively with Visual Studio 2013</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h2>Downloads</h2>
<ul>
<li><strong>MSYS (<span style="color: #ff6600;">Install it</span>)</strong><br />
<a href="http://www.mingw.org/download/installer" target="_blank">http://www.mingw.org/download/installer</a><br />
Choose at least install options <strong>gcc-g++</strong> as below<br />
<a href="http://tech.yipp.ca/files/2017/07/mingw-installation-ffmpeg.png"><img class="alignnone size-medium wp-image-2843" src="http://tech.yipp.ca/files/2017/07/mingw-installation-ffmpeg-400x185.png" alt="mingw-installation-ffmpeg" width="400" height="185" /></a><br />
Then click <span style="color: #ff6600;"><strong>Installation<span style="color: #000000;"> |</span> Apply Changes</strong></span></li>
<li><strong>FFmpeg source code</strong><br />
<strong> <a href="https://github.com/FFmpeg/FFmpeg" target="_blank">https://github.com/FFmpeg/FFmpeg</a><br />
</strong></li>
</ul>
<ul>
<li><strong>Visual Studio 2013 Free Community Edition (<span style="color: #ff6600;">Install it</span>)<br />
<a href="https://www.visualstudio.com/en-us/news/releasenotes/vs2013-community-vs" target="_blank">https://www.visualstudio.com/en-us/news/releasenotes/vs2013-community-vs<br />
</a><br />
</strong></li>
<li><strong>YASM<br />
<a href="http://yasm.tortall.net/Download.html" target="_blank">http://yasm.tortall.net/Download.html</a><br />
</strong></li>
</ul>
<p>&nbsp;</p>
<h2>One time setup</h2>
<ul>
<li><strong>Rename</strong> &amp; copy <strong><span style="color: #ff6600;">yasm-1.3.0-win64.exe</span></strong> to C:\MinGW\bin\yasm.exe</li>
<li>Then rename C:\MinGW\msys\1.0\bin\<strong>link.exe</strong> to something else (link-removed.exe) so it doesn't obscure MSVC <em>link.exe</em>.<br />
<a href="http://tech.yipp.ca/files/2017/07/msys-link-removed1.png"><img class="alignnone size-medium wp-image-2847" src="http://tech.yipp.ca/files/2017/07/msys-link-removed1-400x172.png" alt="msys-link-removed" width="400" height="172" /><br />
</a></li>
</ul>
<h2></h2>
<h2>Compile</h2>
<p>This is the tricky part. Otherwise <em>configure</em> might run forever without returning or give errors.<br />
You need to launch <strong>cmd.exe first</strong> to load msvc env variables with vcvarsall.bat amd64 for 64-bit or  vcvarsall.bat for 32-bit, then <strong>from that window launch msys.bat</strong></p>
<p>Launch <strong>cmd.exe</strong> and type :</p>
<pre><strong>cd "c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC"
vcvarsall.bat amd64
C:\MinGW\msys\1.0\msys.bat</strong></pre>
<p>A new MinGW prompt will open with unix shell, then type :</p>
<pre>$&gt; ./configure --enable-asm --enable-yasm --disable-ffserver --disable-avdevice --disable-doc --disable-ffplay --disable-ffprobe --enable-shared --disable-static --disable-bzlib --disable-libopenjpeg --disable-iconv --disable-zlib --prefix=/c/ffmpeg --toolchain=msvc --arch=amd64 --extra-cflags="-MDd" --extra-ldflags="/NODEFAULTLIB:libcmt" --enable-debug
$&gt; make
$&gt; make install
$&gt; cp ffmpeg_g.* /c/ffmpeg/bin

</pre>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/compiling-guide/compile-ffmpeg-windows-natively-visual-studio-2013/">Compile ffmpeg on Windows natively with Visual Studio 2013</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://tech.yipp.ca/compiling-guide/compile-ffmpeg-windows-natively-visual-studio-2013/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
