/2014/05/24/Win32--Creating-an-AVI-for-ANIMATE_CLASS/

{"item":{"status":"visible","url":"\/2014\/05\/24\/Win32--Creating-an-AVI-for-ANIMATE_CLASS\/","trash":"","name":"Win32--Creating-an-AVI-for-ANIMATE_CLASS","parent":"","title":"Win32: Creating an AVI for ANIMATE_CLASS","date":"2014-05-24 00:42:13","filepath":"posts\/20140524_Win32--Creating-an-AVI-for-ANIMATE_CLASS.xml.json","type":"post","content":"<p><br \/><img style=\"margin-left: 10px; margin-right: 10px; float: left;\" src=\"http:\/\/www.8bitrobot.com\/media\/uploads\/2012\/01\/gear.png\" alt=\"\" width=\"60\" height=\"64\" \/>I've spent far... far... too much time trying to get an AVI format that will actually work in the <a href=\"http:\/\/code.msdn.microsoft.com\/windowsdesktop\/CppWindowsCommonControls-9ea0de64\">ANIMATE_CLASS<\/a> common control. &nbsp;The usual tools were tried: <a href=\"http:\/\/www.imagemagick.org\/\">ImageMagick<\/a>, <a href=\"http:\/\/ffmpeg.org\/\">ffmpeg<\/a>, and <a href=\"http:\/\/www.mplayerhq.hu\/\">mplayer<\/a>. &nbsp;But, nothing worked.<\/p>\n<p>The windows API wouldn't complain about a bad format. &nbsp;It would just not display the AVI in the window.<\/p>\n<p>So, after some digging, I realized I needed an <a href=\"http:\/\/blogs.msdn.com\/b\/oldnewthing\/archive\/2009\/04\/18\/9553626.aspx?Redirected=true\">RLE-8 compressed AVI<\/a>. &nbsp;All the other tools would use an unsupported codec or they would produce a raw format codec that wouldn't be viewed in Windows Explorer or play in Windows Media Player.<\/p>\n<p>After a bunch of trial and error, I came across <a href=\"http:\/\/makeavi.sourceforge.net\/\">MakeAVI<\/a>. &nbsp;It's a super simple interface and gives you the choice of RLE compression or uncompressed video.<\/p>\n<p>So, save your time and use <a href=\"http:\/\/makeavi.sourceforge.net\/\">MakeAVI<\/a> when you want to mess around with archaic Win32 animation API's.<\/p>\n<p><strong>Update:<\/strong> Also see <a href=\"http:\/\/www.8bitrobot.com\/2014\/06\/21\/Win32--Revisited---Creating-an-AVI-from-a-GIF-that-works-with-ANIMATE_CLASS\/\">Creating an AVI from a GIF that works with ANIMATE_CLASS<\/a><\/p>"}}
comments powered by Disqus
 

Lorem Ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

 
This page is best viewed with Firefox 3.5+, Chrome 5+, Safari 5+, Opera 10.6+, IE 9+
Copyright © 2014 8bitrobot.com