<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6571871830471427906</id><updated>2011-05-05T13:26:54.328-07:00</updated><title type='text'>MediaRetriever</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mediaretriever.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6571871830471427906/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mediaretriever.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Yiliang Bao</name><uri>http://www.blogger.com/profile/12581650952789911755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6571871830471427906.post-3136228119451101581</id><published>2011-05-03T01:00:00.000-07:00</published><updated>2011-05-03T01:00:30.792-07:00</updated><title type='text'>Compile x264 on Windows</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;x264 is a popular open-source H.264 encoder. It comes with the build files for Linux environment. To build project on Windows, the easiest approach is to do this using MingW/MSYS.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;/span&gt;All the information is from the link:&amp;nbsp;&lt;a href="http://doom10.org/index.php?topic=26.0"&gt;http://doom10.org/index.php?topic=26.0&lt;/a&gt;. However, the procedure in that page can be much simplified as explained in this post.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;1. Operating System&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Windows 7 Home Premium (64-bit operating system)&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;2. Software and configuration&lt;/span&gt;&lt;br /&gt;&lt;u&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;2.1. MingW/MSYS&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;Go to page:&amp;nbsp;&lt;a href="http://sourceforge.net/projects/mingw/files/"&gt;http://sourceforge.net/projects/mingw/files/&lt;/a&gt;&lt;br /&gt;Simply click "&lt;span class="Apple-style-span" style="color: #555555; line-height: 18px;"&gt;&lt;strong style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #0099cc; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: underline; vertical-align: baseline;"&gt;&lt;a href="http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20110316/mingw-get-inst-20110316.exe/download" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; color: #0099cc; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: underline; vertical-align: baseline;" title="/Automated MinGW Installer/mingw-get-inst/mingw-get-inst-20110316/mingw-get-inst-20110316.exe:  released on 2011-03-17 02:00:04 UTC"&gt;Download mingw-get-inst-20110316.exe (576.1 KB)&lt;/a&gt;"&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;to download and install software.&lt;br /&gt;When asked to select software features, check "C++ compiler", and "MingW Devloper Toolkit". These are good features, but may not be necessary to compile x264.&lt;br /&gt;Add the path to MingW/bin to system path. For example, I install MingW under "c:\work", so I add "C:\work\MinGW\bin". This is needed in order to search for the libraries to run x264, especially libpthread-2.dll.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;2.2. Download yasm&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;Download yasm of the latest version (version 1.1.0 currently, http://www.tortall.net/projects/yasm/releases/yasm-1.1.0-win32.exe).&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;Copy this file to the MinGW\bin folder, and rename it to yasm.exe.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;u&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;2.3. Download x264 source code&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;The latest x264 encoder can be downloaded from the following page:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;a href="http://www.videolan.org/developers/x264.html"&gt;http://www.videolan.org/developers/x264.html&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;3. Compile&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;u&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;3.1. Open "MingW shell"&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;3.2. Go to the top-level directory of x264 project&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;MingW shell will have a linux/unix like directory structure, and it will be at some unfamiliar directory by default. I downloaded&amp;nbsp;x264 to "c:\work\x264", so go to the folder using the following command:&lt;br /&gt;$ cd /c/work/x264&lt;br /&gt;However, if you will not be able to see a folder "/c".&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;3.3. Run "make" to compile the code&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;$ make&lt;br /&gt;It will run "./configure", followed by actual "make". If you forget to download yasm, "./configure" command will report such error.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6571871830471427906-3136228119451101581?l=mediaretriever.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mediaretriever.blogspot.com/feeds/3136228119451101581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mediaretriever.blogspot.com/2011/05/compile-x264-on-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6571871830471427906/posts/default/3136228119451101581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6571871830471427906/posts/default/3136228119451101581'/><link rel='alternate' type='text/html' href='http://mediaretriever.blogspot.com/2011/05/compile-x264-on-windows.html' title='Compile x264 on Windows'/><author><name>Yiliang Bao</name><uri>http://www.blogger.com/profile/12581650952789911755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6571871830471427906.post-6401586919288475989</id><published>2011-04-28T20:24:00.001-07:00</published><updated>2011-04-28T20:24:35.147-07:00</updated><title type='text'>FFMPEG H.264 Decoder</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6571871830471427906-6401586919288475989?l=mediaretriever.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mediaretriever.blogspot.com/feeds/6401586919288475989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mediaretriever.blogspot.com/2011/04/ffmpeg-h264-decoder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6571871830471427906/posts/default/6401586919288475989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6571871830471427906/posts/default/6401586919288475989'/><link rel='alternate' type='text/html' href='http://mediaretriever.blogspot.com/2011/04/ffmpeg-h264-decoder.html' title='FFMPEG H.264 Decoder'/><author><name>Yiliang Bao</name><uri>http://www.blogger.com/profile/12581650952789911755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
