<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;AkMNSX45cCp7ImA9WxBSEkk.&quot;"><id>tag:blogger.com,1999:blog-17915976</id><updated>2009-12-19T13:48:18.028-05:00</updated><title>Crazed Mule Productions</title><subtitle type="html">Making sense out of Cinelerra, Linux, HDV and video production.   </subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://crazedmuleproductions.blogspot.com/" /><link rel="hub" href="http://pubsubhubbub.appspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>138</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/CrazedMule" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><entry gd:etag="W/&quot;CkYEQH8_fCp7ImA9WxJXF04.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-5036212871849339418</id><published>2009-05-18T10:50:00.011-04:00</published><updated>2009-06-11T10:21:41.144-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-11T10:21:41.144-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg" /><category scheme="http://www.blogger.com/atom/ns#" term="mpeg2enc" /><category scheme="http://www.blogger.com/atom/ns#" term="multithreading" /><category scheme="http://www.blogger.com/atom/ns#" term="ffvhuff" /><category scheme="http://www.blogger.com/atom/ns#" term="huffyuv" /><title>ffmpeg pipe to mpeg2enc</title><content type="html">Occasionally, I'll need to send a video stream into mpeg2enc. Mpeg2enc doesn't take an input file; it only accepts a yuv4mpeg stream. In order to send a yuv4mpeg stream to mpeg2enc, I do this using ffmpeg and the -f yuv4mpegpipe command line switch. &lt;span style="TEXT-DECORATION: line-through"&gt;Also, for best quality, I will send the stream using the FFMPEG variant of the Huffyuv lossless compression algorithm&lt;/span&gt;. ffyhuff is an enhanced version of Huffyuv that compresses better than Huffyuv.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Update 2009/05/19&lt;br /&gt;&lt;/span&gt;As per Dan Dennedy's comment below, ffmpeg's yuv4mpegpipe command will ignore the -vcodec option and pipe the video stream to mpeg2enc using an uncompressed C420jpeg stream, which is an uncompressed YUV format. Certainly good enough for the likes of me!&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;*** end update ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here is a sample command to reencode a 720P video stream as a yuv4mpeg pipe to mpeg2enc:&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;ffmpeg -threads 4 -i INPUT.M2V -f yuv4mpegpipe - &amp;#166; mpeg2enc --verbose 0 --multi-thread 4 --aspect 3 --format 3 --frame-rate 4 --video-bitrate 18300 --nonvideo-bitrate 384 --interlace-mode 0 --force-b-b-p --video-buffer 448 --video-norm n --keep-hf --no-constraints --sequence-header-every-gop --min-gop-size 6 --max-gop-size 6 -o OUTPUT.M2V&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note that I am taking advantage of the eight processors in my dual quad core using the multithread switches in the commands to both ffmpeg and mpeg2enc. Note that the eight threads have been split evenly, four to each encoder, to avoid CPU context switching. (Thanks again, Dan!)&lt;br /&gt;&lt;br /&gt;As a final note, I am a bit confused on the differences between FFMPEG compression algorithms: ffyhuff and ffv1. If someone has pointers to the documentation on these, I'd be interested in finding out more. A google search just added to my confusion.&lt;br /&gt;&lt;br /&gt;the mule&lt;br /&gt;&lt;br /&gt;References&lt;br /&gt;&lt;a href="http://linux.die.net/man/1/mpeg2enc"&gt;mpeg2enc man page&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.transcoding.org/cgi-bin/transcode?FFmpeg_Vs._Mpeg2enc"&gt;ffmpeg vs mpeg2enc&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Huffyuv"&gt;Huffyuv&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/FFV1"&gt;FFV1&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-5036212871849339418?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yNShCb5DmwTN555Oav4lYQ_aTws/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yNShCb5DmwTN555Oav4lYQ_aTws/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yNShCb5DmwTN555Oav4lYQ_aTws/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yNShCb5DmwTN555Oav4lYQ_aTws/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/W3XdMfYUgho" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/5036212871849339418/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=5036212871849339418" title="8 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/5036212871849339418?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/5036212871849339418?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/W3XdMfYUgho/ffmpeg-pipe-to-mpeg2enc.html" title="ffmpeg pipe to mpeg2enc" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">8</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2009/05/ffmpeg-pipe-to-mpeg2enc.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUCQ3Y7fCp7ImA9WxJREk8.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-7472289148239597520</id><published>2009-05-13T11:18:00.002-04:00</published><updated>2009-05-13T11:24:22.804-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-13T11:24:22.804-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="64-bit" /><category scheme="http://www.blogger.com/atom/ns#" term="vmware" /><category scheme="http://www.blogger.com/atom/ns#" term="fedora 10" /><category scheme="http://www.blogger.com/atom/ns#" term="virtual machine" /><title>VMware virtual appliance for video editing</title><content type="html">Over the weekend, I created a VMware Partner Account and got my Fedora 10, x86-64 virtual machine approved to be listed on VMware's Virtual Appliance listings:&lt;br /&gt;&lt;a href="http://www.vmware.com/appliances/directory/148183"&gt;http://www.vmware.com/appliances/directory/148183&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you want to try out Cinelerra and you use 64-bit VMware Player, Workstation or Server, this is an easy way to get started.  I'd appreciate someone giving it a shot and letting me know how it works.&lt;br /&gt;&lt;br /&gt;the mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-7472289148239597520?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/L8xwojsvYkuoo2DSydGivoc2gSg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/L8xwojsvYkuoo2DSydGivoc2gSg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/L8xwojsvYkuoo2DSydGivoc2gSg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/L8xwojsvYkuoo2DSydGivoc2gSg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/TmXU9kuDdLE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/7472289148239597520/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=7472289148239597520" title="6 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/7472289148239597520?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/7472289148239597520?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/TmXU9kuDdLE/vmware-virtual-appliance-for-video.html" title="VMware virtual appliance for video editing" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">6</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2009/05/vmware-virtual-appliance-for-video.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMCQXczfSp7ImA9WxJRFEU.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-8194101452738846214</id><published>2009-04-24T11:28:00.011-04:00</published><updated>2009-05-16T10:34:20.985-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-16T10:34:20.985-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="canon 5d mark ii" /><category scheme="http://www.blogger.com/atom/ns#" term="tcf" /><category scheme="http://www.blogger.com/atom/ns#" term="presentation" /><title>presentation at TCF, 4/25/09</title><content type="html">Got my presentation worked out for the Trenton Computer Festival (&lt;a href="http://www.tcf-nj.org/web/"&gt;http://www.tcf-nj.org/web/&lt;/a&gt;) tomorrow.  It looks ugly, but the content of the presentation should outweigh the aesthetic of the slides:&lt;br /&gt;&lt;div style="width:425px;text-align:left" id="__ss_1337487"&gt;&lt;a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/crazedmule/video-production-using-open-source-tools?type=powerpoint" title="Video Production Using Open Source Tools"&gt;Video Production Using Open Source Tools&lt;/a&gt;&lt;object style="margin:0px" width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=tcftalk20090425presentationupload-090424093246-phpapp02&amp;amp;stripped_title=video-production-using-open-source-tools"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=tcftalk20090425presentationupload-090424093246-phpapp02&amp;amp;stripped_title=video-production-using-open-source-tools" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;"&gt;View more &lt;a style="text-decoration:underline;" href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a style="text-decoration:underline;" href="http://www.slideshare.net/crazedmule"&gt;Crazed Mule&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://www.slideshare.net/crazedmule/video-production-using-open-source-tools"&gt;http://www.slideshare.net/crazedmule/video-production-using-open-source-tools&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;Update 2009/5/15&lt;/span&gt;&lt;br /&gt;Here are a few pics from the talk.&lt;br /&gt;&lt;br /&gt;The Mule in front of a LARGE display (only got to 1024x768 resolution, though).&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bcLw_LVf5nA/Sg7J4nEnbGI/AAAAAAAAA4k/vX2xRsA0BQw/s1600-h/snip2.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 213px;" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/Sg7J4nEnbGI/AAAAAAAAA4k/vX2xRsA0BQw/s320/snip2.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5336424582878817378" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A rapt audience.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bcLw_LVf5nA/Sg7J4jOR0hI/AAAAAAAAA4s/qa1q87hkb98/s1600-h/snip3.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 213px;" src="http://4.bp.blogspot.com/_bcLw_LVf5nA/Sg7J4jOR0hI/AAAAAAAAA4s/qa1q87hkb98/s320/snip3.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5336424581845602834" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The Mule making an important point.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bcLw_LVf5nA/Sg7J4qfG0VI/AAAAAAAAA4c/Gu8itJff-xo/s1600-h/snip1.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 211px;" src="http://1.bp.blogspot.com/_bcLw_LVf5nA/Sg7J4qfG0VI/AAAAAAAAA4c/Gu8itJff-xo/s320/snip1.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5336424583795233106" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Definitely had some fun, with a little help from my buddy Ironlung on the Mark II 5D.&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;*** end update ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The Mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-8194101452738846214?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NvYPdNCw4RiRwqw59gT6jCXDn1I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NvYPdNCw4RiRwqw59gT6jCXDn1I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NvYPdNCw4RiRwqw59gT6jCXDn1I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NvYPdNCw4RiRwqw59gT6jCXDn1I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/ZkM-sNl8D4w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/8194101452738846214/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=8194101452738846214" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/8194101452738846214?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/8194101452738846214?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/ZkM-sNl8D4w/presentation-at-tcf-tomorrow-42509.html" title="presentation at TCF, 4/25/09" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_bcLw_LVf5nA/Sg7J4nEnbGI/AAAAAAAAA4k/vX2xRsA0BQw/s72-c/snip2.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2009/04/presentation-at-tcf-tomorrow-42509.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4NRH44fyp7ImA9WxVaEUw.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-2921499939359532474</id><published>2009-04-05T10:25:00.012-04:00</published><updated>2009-04-07T10:36:35.037-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-07T10:36:35.037-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="shapewipe" /><category scheme="http://www.blogger.com/atom/ns#" term="gimp" /><category scheme="http://www.blogger.com/atom/ns#" term="map" /><category scheme="http://www.blogger.com/atom/ns#" term="animated route" /><category scheme="http://www.blogger.com/atom/ns#" term="transition" /><category scheme="http://www.blogger.com/atom/ns#" term="cinelerra" /><title>animated route in Cinelerra</title><content type="html">This was fun. I spent the day perfecting a way to automate a line on a map in Cinelerra. You might think that was a somewhat pedantic exercise, but I think the image I used was very pretty and that the moving line, ala Raiders of the Lost Ark, came out great. What would make it even better would be to use an ancient map of some sort.&lt;br /&gt;&lt;br /&gt;Here it is:&lt;br /&gt;&lt;object height="300" width="400"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4004417&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1"&gt;&lt;embed src="http://vimeo.com/moogaloop.swf?clip_id=4004417&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;a href="http://vimeo.com/4004417"&gt;a line on a map&lt;/a&gt; from &lt;a href="http://vimeo.com/crazedmule"&gt;crazed mule&lt;/a&gt; on &lt;a href="http://vimeo.com/"&gt;Vimeo&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Update 2009/04/07&lt;/span&gt;&lt;br /&gt;For some reason, this video is not playing as embedded on this page. Please visit my &lt;a href="http://vimeo.com/crazedmule"&gt;crazed mule&lt;/a&gt; profile on Vimeo to view.&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;*** end update ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Using Gimp to Spice Things Up&lt;/span&gt;&lt;br /&gt;I created the graphics in Gimp:&lt;br /&gt;-the line representing the route and its shadow&lt;br /&gt;-the circle representing the route's start&lt;br /&gt;-the star representing the route's end&lt;br /&gt;&lt;br /&gt;The circle and the star were created using Gfig, the Gimp add-on utility that let's you create geometric shapes. Also note that the shadow of the line matches the position of the light source in the photo of the globe.&lt;br /&gt;&lt;br /&gt;Note that the circle and the star are not flat, 2D creations, but they look like stickers pasted on the side of the globe. I acheived that effect by using Gimp's Perspective and Shear tools. Here's a resource that discusses Perspective in Gimp:&lt;br /&gt;&lt;a href="http://gimp-university.blogspot.com/2008/03/perspective-and-layers.html"&gt;http://gimp-university.blogspot.com/2008/03/perspective-and-layers.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I created four images to import in Cinelerra:&lt;br /&gt;1) globe with no Gimp object overlays&lt;br /&gt;2) globe with just the circle as start of route&lt;br /&gt;3) globe with the circle and the line&lt;br /&gt;4) globe with the circle, line and star representing the full trip&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Assembling the Images in Cinelerra&lt;/span&gt;&lt;br /&gt;The tracks in Cinelerra looked like this:&lt;br /&gt;&lt;span style="FONT-STYLE: italic"&gt;Top Video Track&lt;/span&gt;&lt;br /&gt;image 1 (plain globe) at beginning of timeline and image 4 (all objects) at end of timeline&lt;br /&gt;&lt;span style="FONT-STYLE: italic"&gt;Bottom Video Track&lt;/span&gt;&lt;br /&gt;image 2 (globe and circle) and image 3 (globe, circle and line)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bcLw_LVf5nA/SdjFTBldosI/AAAAAAAAA4M/EZTEaPC14ck/s1600-h/mapRouteProject.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5321219890371994306" style="WIDTH: 640px; CURSOR: hand; HEIGHT: 314px" alt="" src="http://4.bp.blogspot.com/_bcLw_LVf5nA/SdjFTBldosI/AAAAAAAAA4M/EZTEaPC14ck/s640/mapRouteProject.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Gradient Created for Line's Movement&lt;/span&gt;&lt;br /&gt;The key to the movement of the route was a screen wipe that travelled from the upper left corner of the screen to the lower right, mimicking the direction of the line's travel. Since Cinelerra does not have a built in wipe that moves in this direction, I had to create my own gradient using Gimp and plop it in /usr/local/lib/cinelerra/shapewipe. I then used that gradient in the Shape Wipe video transition tool:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bcLw_LVf5nA/SdjGmUyQDlI/AAAAAAAAA4U/TBVSLKCkDnk/s1600-h/gradientShapeWipe.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5321221321455046226" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 104px" alt="" src="http://4.bp.blogspot.com/_bcLw_LVf5nA/SdjGmUyQDlI/AAAAAAAAA4U/TBVSLKCkDnk/s320/gradientShapeWipe.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In the timeline picture above, you can see the Shape Wipe transition effect that I used between the image of the map with the circle and the image of the map with the circle and the line.&lt;br /&gt;&lt;br /&gt;Here are some resources on wipes and making your own wipe in Cinelerra:&lt;br /&gt;&lt;a href="http://cvs.cinelerra.org/transitions.php"&gt;http://cvs.cinelerra.org/transitions.php&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.mail-archive.com/cinelerra@skolelinux.no/msg05664.html"&gt;http://www.mail-archive.com/cinelerra@skolelinux.no/msg05664.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://akiradproject.net/your_own_transition"&gt;http://akiradproject.net/your_own_transition&lt;/a&gt;&lt;br /&gt;&lt;a href="http://cvs.cinelerra.org/images/"&gt;http://cvs.cinelerra.org/images/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I love the way this turned out, because it looks a s*1tload better than most of the other animated routes I've seen out there. In fact, it blows away the lame route create with Photoshop and After Effects that I read about in VideoMaker magazine this month.&lt;br /&gt;&lt;a href="http://www.videomaker.com/article/14206/"&gt;http://www.videomaker.com/article/14206/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;enjoy,&lt;br /&gt;the mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-2921499939359532474?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WXFC1J3w0JsRqGi6X7rM2k6HWDs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WXFC1J3w0JsRqGi6X7rM2k6HWDs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WXFC1J3w0JsRqGi6X7rM2k6HWDs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WXFC1J3w0JsRqGi6X7rM2k6HWDs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/4LedoKpWR_k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/2921499939359532474/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=2921499939359532474" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/2921499939359532474?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/2921499939359532474?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/4LedoKpWR_k/animated-route-in-cinelerra.html" title="animated route in Cinelerra" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_bcLw_LVf5nA/SdjFTBldosI/AAAAAAAAA4M/EZTEaPC14ck/s72-c/mapRouteProject.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2009/04/animated-route-in-cinelerra.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYDRX88eSp7ImA9WxVUEUk.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-7781781284505765388</id><published>2009-03-14T20:50:00.024-04:00</published><updated>2009-03-15T14:02:54.171-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-15T14:02:54.171-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="video effect" /><category scheme="http://www.blogger.com/atom/ns#" term="stabilization" /><category scheme="http://www.blogger.com/atom/ns#" term="cinelerra" /><category scheme="http://www.blogger.com/atom/ns#" term="motion" /><title>motion stabilization tutorial</title><content type="html">After reading Jacob's post today:&lt;br /&gt;&lt;a href="http://jakedth.tumblr.com/post/85794790/cinelerra-cv-motion-tracking-tutorial"&gt;http://jakedth.tumblr.com/post/85794790/cinelerra-cv-motion-tracking-tutorial&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I realized I never mastered a repeatable method to stabilize shakey video using Cinelerra's motion tracking tool.  The Motion effect is very powerful, but also difficult to understand.  At least for me.  In addition, the manual isn't much help because it is couched in confusing terminology.   &lt;br /&gt;&lt;br /&gt;The motion tracker can do a lot of different things.  However in this post, I am going to keep it simple and only describe how to stabilize shakey video.  I made it easy for myself and chose a sample piece of video that bounces around pretty badly:&lt;br /&gt;&lt;object width="480" height="295"&gt;&lt;param name="movie" value="http://www.youtube.com/v/smpR_JUH-Ss&amp;hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/smpR_JUH-Ss&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;This movement left and right and up and down is called Translation.  Or to a programmer, movement on the &lt;a href="http://en.wikipedia.org/wiki/Cartesian_coordinate_system"&gt;Cartesian Coordination System&lt;/a&gt;.  Before we get into further discussion, familiarize yourself with what the manual says about the motion tracker: &lt;br /&gt;&lt;a href="http://heroinewarrior.com/cinelerra/cinelerra.html#MOTION"&gt;http://heroinewarrior.com/cinelerra/cinelerra.html#MOTION&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;What You Need to Make It Work&lt;/span&gt;&lt;br /&gt;Since the manual's description of motion tracking is cryptic, I'm going to try to clarify the muddy waters.  In order to stabilize a section of video, you're going to need a few things:&lt;br /&gt;1) a easily identifiable object in your video that will be used to track motion&lt;br /&gt;2) a box that encircles that object.  The following is important: this box needs to be wide and tall enough to encompass the range of motion of the shakey video. &lt;br /&gt;3) a video track (master layer) with the range of motion that needs to be stabilized&lt;br /&gt;4) a video track (target layer) that will be stabilized&lt;br /&gt;&lt;br /&gt;I would suggest starting small.  Just try stabilization with a clip of video that is short (&lt;10seconds) and needs stabilization throughout.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1: Apply the motion effect to the video track you want to stabilize&lt;/span&gt;&lt;br /&gt;Like so:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bcLw_LVf5nA/Sbxabp-fGxI/AAAAAAAAA3M/U5xssS4DvVo/s1600-h/motionVideoTrack.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 210px;" src="http://4.bp.blogspot.com/_bcLw_LVf5nA/Sbxabp-fGxI/AAAAAAAAA3M/U5xssS4DvVo/s320/motionVideoTrack.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5313221091561249554" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2: Open the Motion tracker effect dialog.&lt;/span&gt;  &lt;br /&gt;In order to simplify the configuration process for the motion tracker, I've divided the configuration box into the only three sections you'll need to worry about:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bcLw_LVf5nA/Sbxluad5cKI/AAAAAAAAA3s/et-hSsuyW6g/s1600-h/motionSections.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 290px; height: 320px;" src="http://1.bp.blogspot.com/_bcLw_LVf5nA/Sbxluad5cKI/AAAAAAAAA3s/et-hSsuyW6g/s320/motionSections.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5313233508443451554" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3: Enable Draw Vectors&lt;/span&gt; (in Section 2 of the graphic above)&lt;br /&gt;You may leave Track Single Frame selected.  Also, Frame Number set to 0 means that the motion tracking of your video will start at the beginning of the timeline.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 4: Use Translation Block and Search Radius and Block X/Y to fit a box around an easily identifiable object in your video that will be used to track motion&lt;/span&gt;  (in Section 1 of the graphic above)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bcLw_LVf5nA/Sbxbl49cVpI/AAAAAAAAA3U/P43Yi9IzXvA/s1600-h/motionTranslationBlock.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/Sbxbl49cVpI/AAAAAAAAA3U/P43Yi9IzXvA/s320/motionTranslationBlock.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5313222366893725330" /&gt;&lt;/a&gt;&lt;br /&gt;In the above picture, you'll notice there are two boxes around the Budweiser sign.  The center box around the Budweiser sign is the Translation Block.  You'll make the Translation Block fit neatly around the object you're tracking.  The outer box is the Translation Search Radius.  For the purpose of this tutorial, we'll make the Translation Block always fit within the Translation Search Radius.  Below is a graphic depicting these components:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bcLw_LVf5nA/SbxdM4lCx0I/AAAAAAAAA3c/dKOBmtmdeEQ/s1600-h/motionVectors.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="http://4.bp.blogspot.com/_bcLw_LVf5nA/SbxdM4lCx0I/AAAAAAAAA3c/dKOBmtmdeEQ/s320/motionVectors.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5313224136317912898" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The Translation Search Radius needs to be as large as the range of motion of the video.  In other words, the Search Radius needs to be large enough to accommodate all the shaking of your video.  If the shaking extends beyond that box, strange things happen, like the motion tracker will start tracking another object in your video.  Remember that.&lt;br /&gt;&lt;br /&gt;Finally, Block X and Block Y represent the X/Y coordinate location of where you will move your Translation Search Radius. &lt;br /&gt;&lt;br /&gt;In sum, you will configure those objects just discussed in the Motion Tracker effect dialog.  To review:&lt;br /&gt;1) Encircle the object you want to track with the Translation Block&lt;br /&gt;2) Encompass the entire range of motion of your shakey video inside the Translation Search Radius&lt;br /&gt;3) Use the Block X and Block Y coordinates to move the Translation Search Radius (including the Translation Block) around the screen&lt;br /&gt;&lt;br /&gt;It is cumbersome to move the boxes around and X/Y coordinate plane using a round dial.  The Translation Block and Search Radius should be drag and drop.  The motion tracker interface can definitely be improved upon in this respect.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 5: In Section 3 of the Motion config screen, set Action to Track Pixel and set Calculation to Save Coordinates to /tmp&lt;/span&gt;&lt;br /&gt;The reason why we do this is that we are going to Track the motion of the video around our selected object (the Translation Block).  The coordinates of the movement will be saved in temporary files, which we will later apply to a second track.&lt;br /&gt;&lt;br /&gt;You may now either playback the video or render out a test video to see the results of the motion tracking.  As the motion effect is very CPU intensive, I would recommend just doing a few seconds of playback or rendering, just to make sure the motion tracker is working properly.  I also recommend rendering to a file, as it will be at the same speed as a playback, but will also give you some output that you can replay at will.  &lt;br /&gt;&lt;br /&gt;Reviewing Vector Paths and Translation Block object&lt;br /&gt;Once you've rendered out a test file, review the vector path to make sure the Motion tracker is always centered on the Translation Block, the object you want to track.  I have found that the Motion tracker is easily confused if the object you've chosen to track is a similar color to the background.  You'll know it loses track when the arrow on one end of the vector path no longer points to the original object in your translation block.  &lt;br /&gt;&lt;br /&gt;Also, the Motion tracker will lose track if the Translation Search Radius is not wide enough to capture the entire range of motion of the camera movement.  In my Budweiser example, I found that I needed to widen Search Radius to more than half the width of the video so that the Motion tracker would stay on track.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 6: In the Motion effect on the original track, deselect Draw Vectors, set Action to Stabilize Pixel and set Calculation to Load Coordinates from /tmp&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bcLw_LVf5nA/SbxwtnMXrBI/AAAAAAAAA38/i6TgsT5gxiw/s1600-h/motionStabilizePixel.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 290px; height: 320px;" src="http://4.bp.blogspot.com/_bcLw_LVf5nA/SbxwtnMXrBI/AAAAAAAAA38/i6TgsT5gxiw/s320/motionStabilizePixel.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5313245589307632658" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 7: Make a duplicate of your original track&lt;/span&gt;&lt;br /&gt;Once you have good motion tracking, you will then be able to apply your saved coordinates to another track or Target Layer.  In my Budweiser example, I simply made a duplicate of the track that I generated the coordinates from.  One way to make a duplicate of the original track is to:&lt;br /&gt;* in the patch bay of the original track, set both the playback and record to on&lt;br /&gt;* select the entire track (key "a")&lt;br /&gt;* press "c" for copy&lt;br /&gt;* create a new video track (Shift-T)&lt;br /&gt;* in the patch bay of the new track, make sure playback and record are both set to on &lt;br /&gt;* press "v" for paste&lt;br /&gt;&lt;br /&gt;This procedure *should* copy the motion effect as well, with the settings from Step 6.  If the settings from Step 6 are not in the Motion effect dialog, manually set them.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bcLw_LVf5nA/SbxvOk7gPzI/AAAAAAAAA30/o3NurrXo4N0/s1600-h/motionDupeTrack.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 222px;" src="http://1.bp.blogspot.com/_bcLw_LVf5nA/SbxvOk7gPzI/AAAAAAAAA30/o3NurrXo4N0/s320/motionDupeTrack.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5313243956612448050" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 8: Set the original track to not playback.&lt;/span&gt;&lt;br /&gt;The Target Layer (duplicated track) should already be set to playback from the last step.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bcLw_LVf5nA/Sbx7t9uZcII/AAAAAAAAA4E/_KwNO5bH96s/s1600-h/motionFinalPlayback.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 222px;" src="http://3.bp.blogspot.com/_bcLw_LVf5nA/Sbx7t9uZcII/AAAAAAAAA4E/_KwNO5bH96s/s320/motionFinalPlayback.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5313257689983840386" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 9: Playback or Render the Video&lt;/span&gt;&lt;br /&gt;Again, I suggest to render out the video to a file, as playing back or rendering will take the same amount of time.  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 10: Analyze your results&lt;/span&gt;&lt;br /&gt;You'll find that with motion stabilization, your video will tend to bounce around and you'll see black borders appear along with the motion removal.  The easiest way to remove them is to experiment with different zoom levels (Z axis levels) using the Projector (NOT the Camera).  For my Budweiser video, I found I needed to zoom in 1.6x.  Of course, the side effect is that it may ruin whatever cinematic effect you were trying to achieve.  So be advised!&lt;br /&gt;&lt;br /&gt;Here were my results from earlier today:&lt;br /&gt;1) The original video:&lt;br /&gt;&lt;object width="480" height="295"&gt;&lt;param name="movie" value="http://www.youtube.com/v/smpR_JUH-Ss&amp;hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/smpR_JUH-Ss&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;2) Motion vectors being generated to /tmp:&lt;br /&gt;&lt;object width="480" height="295"&gt;&lt;param name="movie" value="http://www.youtube.com/v/hL32pDR5AEM&amp;hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/hL32pDR5AEM&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;3) Motion stabilized&lt;br /&gt;&lt;object width="480" height="295"&gt;&lt;param name="movie" value="http://www.youtube.com/v/voQ-z9BSWGc&amp;hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/voQ-z9BSWGc&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;4) Video zoomed in to crop after stabilization.  Note this crops out most of the interesting content of the video:&lt;br /&gt;&lt;object width="480" height="295"&gt;&lt;param name="movie" value="http://www.youtube.com/v/cUFQd-K_08o&amp;hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/cUFQd-K_08o&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Advanced Use&lt;/span&gt;&lt;br /&gt;I had a second video that bounced around quite a bit:&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/gAQnboWCxEU&amp;hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/gAQnboWCxEU&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;This time, I followed my own directions from above, but the resulting video came out jittery and jumpy:&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/VMzBbTPPEbo&amp;hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/VMzBbTPPEbo&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Therefore, I increased the sensitivity of the Motion tracker by increasing Translation Search Steps from 256 to 1024:&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/JjYt2WbACyg&amp;hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/JjYt2WbACyg&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;This still was not sufficient, as I saw a couple jitters and jumps.  I increased Translation Search Steps from 1024 to 8196.  Be advised that this took about four times as long to render as having Translation Search Steps set to 1024.  But it did remove the jitters and jumps!&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/Jy1hBSs1s8E&amp;hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/Jy1hBSs1s8E&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;The final outcome..sweet!&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/LuQ-pa46OZc&amp;hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/LuQ-pa46OZc&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;br /&gt;The Mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-7781781284505765388?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/C1a-y9MUnL5mZ5B71HulDJQIFi8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/C1a-y9MUnL5mZ5B71HulDJQIFi8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/C1a-y9MUnL5mZ5B71HulDJQIFi8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/C1a-y9MUnL5mZ5B71HulDJQIFi8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/DywGsP8XnfI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/7781781284505765388/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=7781781284505765388" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/7781781284505765388?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/7781781284505765388?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/DywGsP8XnfI/motion-stabilization-tutorial.html" title="motion stabilization tutorial" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_bcLw_LVf5nA/Sbxabp-fGxI/AAAAAAAAA3M/U5xssS4DvVo/s72-c/motionVideoTrack.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2009/03/motion-stabilization-tutorial.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8EQ3gzfip7ImA9WxVWEk4.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-6673408244707528207</id><published>2009-02-21T11:21:00.006-05:00</published><updated>2009-02-21T11:30:02.686-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-21T11:30:02.686-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="x86-64" /><category scheme="http://www.blogger.com/atom/ns#" term="install" /><category scheme="http://www.blogger.com/atom/ns#" term="cinelerra" /><category scheme="http://www.blogger.com/atom/ns#" term="flash" /><title>Adobe 64-bit Flash plugin..and it works!</title><content type="html">At the end of November, Adobe released a 64-bit Flash plugin:&lt;br /&gt;&lt;a href="http://labs.adobe.com/technologies/flashplayer10/"&gt;http://labs.adobe.com/technologies/flashplayer10/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And, shocker of shockers, it actually works!  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;To Install Flash Plugin on x86-64&lt;/span&gt;&lt;br /&gt;You'll download the tarball from here:&lt;br /&gt;&lt;a href="http://labs.adobe.com/downloads/flashplayer10.html"&gt;http://labs.adobe.com/downloads/flashplayer10.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The only thing in the tarball is libflashplayer.so.  To install the 64-bit Flash plugin, simply move libflashplayer.so into your user's .mozilla/plugins directory and restart Firefox.&lt;br /&gt;&lt;br /&gt;Even more amazing, the bloody thing works on my Fedora 10, x86-64 virtual machine running in VMware Fusion on my MacBook Pro!  Yee haw!  This will definetly help me as I'm preparing a presentation on Cinelerra for the &lt;a href="http://www.tcf-nj.org/web/TCF-2009-Press-Release.html"&gt;Trenton Computer Festival in April&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Much thanks to the Adobe Linux team!&lt;br /&gt;&lt;a href="http://blogs.adobe.com/penguin.swf/2008/11/now_supporting_16_exabytes.html"&gt;http://blogs.adobe.com/penguin.swf/2008/11/now_supporting_16_exabytes.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;the mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-6673408244707528207?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/IJ0BmzW3hcR9T9fUb0rt0slCtXI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IJ0BmzW3hcR9T9fUb0rt0slCtXI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/IJ0BmzW3hcR9T9fUb0rt0slCtXI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IJ0BmzW3hcR9T9fUb0rt0slCtXI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/cWM2o-rkPtQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/6673408244707528207/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=6673408244707528207" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/6673408244707528207?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/6673408244707528207?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/cWM2o-rkPtQ/adobe-64-bit-flash-pluginand-it-works.html" title="Adobe 64-bit Flash plugin..and it works!" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2009/02/adobe-64-bit-flash-pluginand-it-works.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYGQHo-cSp7ImA9WxJTFEQ.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-1555955915363859283</id><published>2009-02-15T12:46:00.019-05:00</published><updated>2009-04-23T10:15:21.459-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-23T10:15:21.459-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="dependencies" /><category scheme="http://www.blogger.com/atom/ns#" term="source" /><category scheme="http://www.blogger.com/atom/ns#" term="cinelerra" /><category scheme="http://www.blogger.com/atom/ns#" term="kwizart" /><category scheme="http://www.blogger.com/atom/ns#" term="fedora 10" /><title>Fedora 10 x86-64 Cinelerra build</title><content type="html">&lt;span style="color: rgb(255, 0, 0);"&gt;Update 2009/02/24&lt;/span&gt;&lt;br /&gt;You can avoid having to build Cinelerra from source by using Nicolas Chauvet's (Kwizart) precompiled Cinelerra installs:&lt;br /&gt;1) install the Kwizart yum repositories&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;http://rpms.kwizart.net/kwizart-release-10.rpm&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2) install cinelerra-cv&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[mule@ogre doc]$ sudo yum install cinelerra-cv* --enablerepo=kwizart&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[sudo] password for sfrase: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Loaded plugins: refresh-packagekit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Setting up Install Process&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Parsing package install arguments&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Resolving Dependencies&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;--&gt; Running transaction check&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;---&gt; Package cinelerra-cv.x86_64 0:2.1-21.git20081103.fc10 set to be updated&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;--&gt; Processing Dependency: bitstream-vera-fonts for package: cinelerra-cv&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;--&gt; Processing Dependency: libmpeg3-utils for package: cinelerra-cv&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;---&gt; Package cinelerra-cv-debuginfo.x86_64 0:2.1-21.git20081103.fc10 set to be updated&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;--&gt; Running transaction check&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;---&gt; Package libmpeg3-utils.x86_64 0:1.8-1.fc10 set to be updated&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;---&gt; Package bitstream-vera-fonts.noarch 0:1.10-8 set to be updated&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;--&gt; Finished Dependency Resolution&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Dependencies Resolved&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;================================================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; Package                 Arch    Version                  Repository       Size&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;================================================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Installing:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; cinelerra-cv            x86_64  2.1-21.git20081103.fc10  kwizart         6.3 M&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; cinelerra-cv-debuginfo  x86_64  2.1-21.git20081103.fc10  kwizart         9.6 M&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Installing for dependencies:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; bitstream-vera-fonts    noarch  1.10-8                   fedora          345 k&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; libmpeg3-utils          x86_64  1.8-1.fc10               rpmfusion-free   19 k&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Transaction Summary&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;================================================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Install      4 Package(s)         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Update       0 Package(s)         &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Remove       0 Package(s)&lt;br /&gt;Total download size: 16 M&lt;br /&gt;Is this ok [y/N]: y&lt;br /&gt;Downloading Packages:&lt;br /&gt;(1/4): libmpeg3-utils-1.8-1.fc10.x86_64.rpm              |  19 kB     00:00  &lt;br /&gt;(2/4): bitstream-vera-fonts-1.10-8.noarch.rpm            | 345 kB     00:00  &lt;br /&gt;(3/4): cinelerra-cv-2.1-21.git20081103.fc10.x86_64.rpm   | 6.3 MB     00:05  &lt;br /&gt;(4/4): cinelerra-cv-debuginfo-2.1-21.git20081103.fc10.x8 | 9.6 MB     00:11  &lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;Total                                           688 kB/s |  16 MB     00:24  &lt;br /&gt;warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 5b01f801&lt;br /&gt;kwizart/gpgkey                                           | 1.7 kB     00:00  &lt;br /&gt;Importing GPG key 0x5B01F801 "Nicolas Chauvet (kwizart) &lt;kwizart@gmail.com&gt;" from /etc/pki/rpm-gpg/RPM-GPG-KEY-kwizart&lt;br /&gt;Is this ok [y/N]: y&lt;br /&gt;Running rpm_check_debug&lt;br /&gt;Running Transaction Test&lt;br /&gt;Finished Transaction Test&lt;br /&gt;Transaction Test Succeeded&lt;br /&gt;Running Transaction&lt;br /&gt;Installing     : libmpeg3-utils                                           1/4&lt;br /&gt;Installing     : bitstream-vera-fonts                                     2/4&lt;br /&gt;Installing     : cinelerra-cv-debuginfo                                   3/4&lt;br /&gt;Installing     : cinelerra-cv                                             4/4&lt;br /&gt;&lt;br /&gt;Installed:&lt;br /&gt;cinelerra-cv.x86_64 0:2.1-21.git20081103.fc10                              &lt;br /&gt;cinelerra-cv-debuginfo.x86_64 0:2.1-21.git20081103.fc10&lt;br /&gt;&lt;/kwizart@gmail.com&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;You're done!&lt;br /&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;*** end update ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Building from Source&lt;/span&gt;&lt;br /&gt;Though editing video on Linux is never easy, I'm happy to say that Fedora 10 is finally stable, after I've resolved or worked around &lt;a href="http://crazedmuleproductions.blogspot.com/2009/02/dark-of-winter-has-me-in-its-grasp.html"&gt;the various bugs I've encountered&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I built &lt;a href="http://cvs.cinelerra.org/"&gt;Cinelerra&lt;/a&gt; from the CVS repository (not &lt;a href="http://www.heroinewarrior.com/"&gt;Heroine Warrior's&lt;/a&gt;) on Fedora 10 x86-64 about a month and a half ago, but haven't had time to post the steps. I can say I've put the Fedora 10 build through its paces by editing all different formats in the context of 1080p video. I will add the caveat that Cinelerra is very choosy about the formats it likes, as shown in my testing results below:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bcLw_LVf5nA/SU3DDZJHOsI/AAAAAAAAAz8/P3eaawZsNv8/s1600-h/renderCompatibilityFedora10.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5282092401031592642" style="width: 400px; height: 163px;" alt="" src="http://4.bp.blogspot.com/_bcLw_LVf5nA/SU3DDZJHOsI/AAAAAAAAAz8/P3eaawZsNv8/s400/renderCompatibilityFedora10.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;* Note that I haven't tested all combinations of containers and compression schemes, but this is a good first step&lt;br /&gt;&lt;br /&gt;The steps are the same as the &lt;a href="http://crazedmuleproductions.blogspot.com/2008/11/fedora-9-x86-64-install.html"&gt;steps I ran to build Cinelerra on Fedora 9&lt;/a&gt;. Though this post will be rather short, consult my Fedora 9 post for all the details. FYI - the Fedora 9 system and Cinelerra build was so fraught with problems that I opted to move on to Fedora 10. I suggest you do the same.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Detail&lt;/span&gt;&lt;br /&gt;The below steps should all be run as "root" or sudo&lt;br /&gt;1) install Fedora 10&lt;br /&gt;I usually select the Developer's package, as it will include many of the developer libraries necessary to build Cinelerra from source. Be aware that this install is rather large, weighing in at around 7GB.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 2008/02/17&lt;/span&gt;&lt;br /&gt;After reviewing the storage consuming "Developer" install, I decided to build out a "Custom" install of Fedora. The base + Cinelerra dependencies yielded a slimmer install, at about 3.5GB.&lt;br /&gt;&lt;br /&gt;However, for ease of use, it is probably easier to go ahead and install the "Developer" install.  I did not do this, and even with all the Cinelerra dependencies checking out as "Found", I encountered three problems:&lt;br /&gt;1) g++ was missing (go ahead and do "yum install gcc-c++" to resolve this)&lt;br /&gt;2) libXv-devel was missing (the Cinelerra make process failed on a libxv header file)&lt;br /&gt;3) libXxf86vm-devel was missing (the Cinelerra process failed on "/usr/bin/ld cannot find -lXxf86vm")&lt;br /&gt;&lt;br /&gt;Oh, the fun we have!&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;*** end update ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2) add the RPM Fusion repository for yum&lt;br /&gt;&lt;a href="http://rpmfusion.org/Configuration"&gt;http://rpmfusion.org/Configuration&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3) install the dependencies for Cinelerra&lt;br /&gt;For this step, I've provided a script below that installs all dependent programs for a Cinelerra installation from two repos: Fedora base and RPM Fusion.&lt;br /&gt;&lt;br /&gt;Paste the below text into a file, save it and run it as a script. Don't forget to "chmod a+x yourFile" in order to make your script executable. The script will install all the dependencies in order to build Cinelerra&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;yum install gsm-devel \&lt;br /&gt;libvorbis* \&lt;br /&gt;libogg* \&lt;br /&gt;libtool* \&lt;br /&gt;libtheora* \&lt;br /&gt;libpng* \&lt;br /&gt;libjpeg* \&lt;br /&gt;libtiff* \&lt;br /&gt;esound* \&lt;br /&gt;audiofile* \&lt;br /&gt;libraw1394* \&lt;br /&gt;libavc1394* \&lt;br /&gt;freetype* \&lt;br /&gt;fontconfig* \&lt;br /&gt;nasm \&lt;br /&gt;e2fsprogs* \&lt;br /&gt;OpenEXR* \&lt;br /&gt;fftw \&lt;br /&gt;fftw-devel \&lt;br /&gt;libsndfile* \&lt;br /&gt;libiec61883* \&lt;br /&gt;libdv* \&lt;br /&gt;libquicktime \&lt;br /&gt;ffmpeg \&lt;br /&gt;xvidcore* \&lt;br /&gt;lame \&lt;br /&gt;lame-devel \&lt;br /&gt;a52* \&lt;br /&gt;faad2* \&lt;br /&gt;x264* \&lt;br /&gt;mjpegtools* \&lt;br /&gt;faac* \&lt;br /&gt;vlc* &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4) get the Cinelerra source&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;git clone git://git.cinelerra.org/j6t/cinelerra.git cinelerra_source&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;5) in the Cinelerra source directory, run ./autogen.sh&lt;br /&gt;&lt;br /&gt;6) in the Cinelerra source directory, run ./configure&lt;br /&gt;&lt;br /&gt;7) As long as configure shows no errors, go ahead and run "make"&lt;br /&gt;&lt;br /&gt;8) As long as make showed no errors, run "make install"&lt;br /&gt;&lt;br /&gt;That should be it. Again, consult my &lt;a href="http://crazedmuleproductions.blogspot.com/2008/11/fedora-9-x86-64-install.html"&gt;Fedora 9 Cinelerra install post&lt;/a&gt; for more detail on these steps.&lt;br /&gt;&lt;br /&gt;Lastly, you could avoid the whole build process and just use my Fedora 10, x86-64 VMware virtual machine, about 3GB, here:&lt;br /&gt;&lt;a href="http://www.stormpigs.com/vm/Fedora10_x86_64.tar.gz"&gt;Fedora10_x86_64.tar.gz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please drop me a line and let me know how it goes..love to hear from you.&lt;br /&gt;&lt;br /&gt;Good luck,&lt;br /&gt;The Mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-1555955915363859283?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XH0mn1zj7IxxVTGz8uybepap8i0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XH0mn1zj7IxxVTGz8uybepap8i0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XH0mn1zj7IxxVTGz8uybepap8i0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XH0mn1zj7IxxVTGz8uybepap8i0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/OsLANlzW4SU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/1555955915363859283/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=1555955915363859283" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/1555955915363859283?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/1555955915363859283?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/OsLANlzW4SU/fedora-10-x86-64-cinelerra-build.html" title="Fedora 10 x86-64 Cinelerra build" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_bcLw_LVf5nA/SU3DDZJHOsI/AAAAAAAAAz8/P3eaawZsNv8/s72-c/renderCompatibilityFedora10.gif" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2009/02/fedora-10-x86-64-cinelerra-build.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIHQXs7fip7ImA9WxJXFUo.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-1197334105139108149</id><published>2009-02-07T12:16:00.024-05:00</published><updated>2009-06-09T15:08:50.506-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-09T15:08:50.506-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="bugs" /><category scheme="http://www.blogger.com/atom/ns#" term="1080p" /><category scheme="http://www.blogger.com/atom/ns#" term="canon 5d mark ii" /><category scheme="http://www.blogger.com/atom/ns#" term="cinelerra" /><category scheme="http://www.blogger.com/atom/ns#" term="fedora 10" /><title>the dark of winter has me in its grasp</title><content type="html">The Mule has been working long hours for himself and you, valued video compatriots!&lt;br /&gt;&lt;br /&gt;That sounds positive, as it should be. Though in truth, I am feeling less positive than that message implies. Personal and professional life has got me down, but is par for the course these days. Oh well. A pithy quote to pick myself up would be rather nice here. Instead, let me regale you of the past weeks activities, as some of the tribulations may help individuals in similar need.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Sh*t Storm&lt;/span&gt;&lt;br /&gt;This week, as I look back at my notes, I see a hailstorm of problems that I've dealt with:&lt;br /&gt;-&lt;a href="http://forums.fedoraforum.org/showpost.php?p=1163714"&gt;Fedora 10, x86-64 spontaneous system lockups/reboots&lt;/a&gt; (workaround: noapic on kernel cmd line)&lt;br /&gt;-&lt;a href="http://www.techanswerguy.com/2009/02/pulseaudio-and-fedora-10-dont-get-along.html"&gt;pulseaudio screwing up my audio&lt;/a&gt;&lt;br /&gt;-usb keyboard stops working (workaround: disable keyboard acceleration)&lt;br /&gt;-&lt;a href="http://fedoraproject.org/wiki/Bugs/F10Common#GNOME_session_saving_broken"&gt;Gnome session saving broken&lt;/a&gt; (&lt;a href="http://blogs.sun.com/mattman/entry/gnome_2_24_session_save1"&gt;the workaround &lt;/a&gt;seems more of a pain than its worth)&lt;br /&gt;-1080p editing eats RAM! (bought more RAM)&lt;br /&gt;-&lt;a href="http://forums.fedoraforum.org/showthread.php?p=1172883"&gt;Belkin firewire card causing reboots&lt;/a&gt;&lt;br /&gt;-I didn't order my RAM in matched pairs, so I'm stuck waiting until Monday for RAM! (finally got it!)&lt;br /&gt;-Evolution has trouble fetching mail from Comcast's POP servers, so I've reverted to use Pine (now "Alpine")&lt;br /&gt;&lt;br /&gt;Needless to say, my productivity dropped and frustration was running high.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Good News&lt;/span&gt;&lt;br /&gt;Knock on wood, I think I was able to workaround the spontaneous reboots using "noapic" boot option to the kernel. Whereas the box was rebooting every six hours, now it has been up a full two days without a reboot! Of course, this isn't a true fix and I will have to submit a bug to the &lt;a href="http://fedoraproject.org/"&gt;Fedora&lt;/a&gt; team. And the other problems still exist.&lt;br /&gt;&lt;br /&gt;Most importantly, I've discovered a new scheme for solid, fast 1080P editing in Cinelerra:&lt;br /&gt;1) convert &lt;a href="http://www.amazon.com/gp/product/B001G5ZTLS?ie=UTF8&amp;amp;tag=crazmuleprod-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B001G5ZTLS"&gt;Canon 5D&lt;/a&gt;&lt;img style="border: medium none ; margin: 0px;" alt="" src="http://www.assoc-amazon.com/e/ir?t=crazmuleprod-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=B001G5ZTLS" border="0" height="1" width="1" /&gt; video to MPEG2-TS&lt;br /&gt;2) import into Cinelerra&lt;br /&gt;3) render to any format you need&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A Couple of Options&lt;/span&gt;&lt;br /&gt;&lt;a href="http://crazedmuleproductions.blogspot.com/2008/10/converting-1080p-video-part-ii.html"&gt;In my initial post on editing Canon 5D video&lt;/a&gt;, I found that the easiest way for me to get content from the Canon 5D into Cinelerra was using a conversion to MJPEG. However, the drawback with using mjpeg is that the image quality is lacking. Specifically, the output is darker than the original content. So over the past week, I found two solutions to convert the beautiful output of the Canon:&lt;br /&gt;&lt;br /&gt;&lt;a name="h264"&gt;1) convert to H264 using this two pass string:&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;#CONVERT CANON USING H264, pass 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -y -i INPUT.MOV -an -v 1 -threads 8 -vcodec libx264 -aspect 1.7777 -b 9000k -bt 7775k -refs 1 -loop 1 -deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 -me full -subq 1 -me_range 21 -chroma 1 -slice 2 -bf 0 -level 30 -g 300 -keyint_min 30 -sc_threshold 40 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.7 -qmax 51 -qdiff 4 -i_qfactor 0.71428572 -maxrate 10000k -bufsize 2M -cmp 1 -f mp4 -pass 1 /dev/null&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#CONVERT CANON USING H264, pass 2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -y -i INPUT.MOV -v 1 -threads 8 -vcodec libx264 -aspect 1.7777 -b 9000k -bt 7775k -refs 1 -loop 1 -deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 -me full -subq 1 -me_range 21 -chroma 1 -slice 2 -bf 0 -level 30 -g 300 -keyint_min 30 -sc_threshold 40 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.7 -qmax 51 -qdiff 4 -i_qfactor 0.71428572 -maxrate 10000k -bufsize 2M -acodec libfaac -ab 160k -ar 48000 -ac 2 -cmp 1 -f mp4 -pass 2 OUTPUT.mp4&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now, this H264 content is beautiful, will import into Cinelerra and is editable. However, I found that when I went to render the final output, four minutes of the 1080p, H264 content took SIX HOURS to render!! That is unacceptable. I believe the lengthy render time has something to do with the color space or internal conversion that Cinelerra is doing. This bears further research.&lt;br /&gt;&lt;br /&gt;If you're not familiar with H264 (x264 libraries on Linux), &lt;a href="http://crazedmuleproductions.blogspot.com/2009/01/high-quality-h264-output.html"&gt;here's some useful H264 reference material&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a name="mpegts"&gt;2) convert to MPEG2-TS&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Converting Canon to 1080p, MPEG2-TS&lt;/span&gt;&lt;br /&gt;Now, there are a few steps here.&lt;br /&gt;&lt;br /&gt;a. Take a file from the Canon and use ffmpeg to pass a lossless yuv4mpegpipe stream into mpeg2enc, with the result a video stream with no audio:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -i INPUT.MOV -threads 8 -s 1920x1088 -f yuv4mpegpipe - | mpeg2enc --multi-thread 8 --verbose 0 --aspect 3 --format 13 --frame-rate 5 --video-bitrate 24000 --nonvideo-bitrate 384 --interlace-mode 0 --force-b-b-p --video-buffer 448 --video-norm n --keep-hf --no-constraints --sequence-header-every-gop --min-gop-size 6 --max-gop-size 6 -o OUTPUT.m2v&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Next, render out the audio:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -y -i INPUT.MOV -acodec mp2 -ar 44100 -ab 256k -ac 2 OUTPUT.m2a&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Using mplex, mux the video and audio streams together:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;mplex -f 3 -b 2000 OUTPUT.m2a OUTPUT.m2v -o OUTPUT.ps&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Using VLC, convert the MPEG2-PS into an MPEG2-TS:&lt;br /&gt;&lt;span style="text-decoration: line-through;font-family:courier new;font-size:85%;"  &gt;cvlc OUTPUT.ps --sout '#duplicate{dst=std{access=file,mux=ts,dst="OUTPUT.m2t"}}' vlc://quit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 2009/02/13&lt;/span&gt;&lt;br /&gt;I've found that VLC is not writing proper keyframes at the beginning of the converted MPEG-PS video output from mplex. This is only for 1080p video.  The VLC command for 720p video still works.  For the 1080p, I've found a workaround using our savior, ffmpeg:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -y -i OUTPUT.ps -acodec copy -f mpegts -qscale 1 OUTPUT.m2t&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;*** end update ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I used this method to output a new version of my Water video from Cinelerra to Vimeo here:&lt;br /&gt;&lt;a href="http://crazedmuleproductions.blogspot.com/2009/01/water-new-canon-5d-video.html"&gt;/2009/01/water-new-canon-5d-video.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The quality and the colors are definetly improved upon over the old version. However, the larger file size is a drawback (479MB for 4m16s of video). So I'd like to get the H264 output without compression artifacts during the scenes with a lot of motion. So now its time to figure that out. Erg.&lt;br /&gt;&lt;br /&gt;In general though, I think this is some good news!&lt;br /&gt;&lt;br /&gt;Until the next time,&lt;br /&gt;the mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-1197334105139108149?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NZ8pyYdQE8p8PL2lnaSSIgjz3LI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NZ8pyYdQE8p8PL2lnaSSIgjz3LI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NZ8pyYdQE8p8PL2lnaSSIgjz3LI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NZ8pyYdQE8p8PL2lnaSSIgjz3LI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/TTSKKlGhZ_E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/1197334105139108149/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=1197334105139108149" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/1197334105139108149?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/1197334105139108149?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/TTSKKlGhZ_E/dark-of-winter-has-me-in-its-grasp.html" title="the dark of winter has me in its grasp" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2009/02/dark-of-winter-has-me-in-its-grasp.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUGQXc4fyp7ImA9WxVWEUk.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-2877976278021927298</id><published>2009-01-30T10:03:00.012-05:00</published><updated>2009-02-20T09:30:20.937-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-20T09:30:20.937-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="aspect ratio" /><category scheme="http://www.blogger.com/atom/ns#" term="1080p" /><category scheme="http://www.blogger.com/atom/ns#" term="rendering" /><category scheme="http://www.blogger.com/atom/ns#" term="fields" /><category scheme="http://www.blogger.com/atom/ns#" term="h264" /><category scheme="http://www.blogger.com/atom/ns#" term="frames" /><category scheme="http://www.blogger.com/atom/ns#" term="720p" /><category scheme="http://www.blogger.com/atom/ns#" term="3:2pulldown" /><category scheme="http://www.blogger.com/atom/ns#" term="broadcast" /><title>high quality h264 output</title><content type="html">For the last few years, I've been working with &lt;a href="http://en.wikipedia.org/wiki/720p"&gt;720P&lt;/a&gt; content. With the recent purchase of a Canon 5D, I'm now working with &lt;a href="http://en.wikipedia.org/wiki/1080p"&gt;1080P video&lt;/a&gt;. Both formats are in 16:9 aspect ratio.&lt;br /&gt;&lt;br /&gt;720P video implies a horizontal resolution of 1280 pixels, 1280x720 frame resolution with a total of 921,600 pixels.&lt;br /&gt;&lt;br /&gt;1080P video implies a horizontal resolution of 1920 pixels, 1920x1080 frame resolution with a total of 2,073,600 pixels.&lt;br /&gt;&lt;br /&gt;Though this is a blog on Linux video editing, I heartily welcome good information on the often confusing subject of video compression. Here is an article on Apple's site that conveys the basic information you'll need to understand about encoding H264 videos:&lt;br /&gt;&lt;a href="http://www.apple.com/quicktime/tutorials/h264.html"&gt;http://www.apple.com/quicktime/tutorials/h264.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As I work to produce higher quality video, one of the things I've thought about is the possibility of getting my material aired on cable TV. So the &lt;a href="http://en.wikipedia.org/wiki/1080p#Broadcasting_standards"&gt;Broadcast Standards&lt;/a&gt; discussion in &lt;a href="http://en.wikipedia.org/wiki/1080p"&gt;the above Wikipedia article&lt;/a&gt; was very interesting. Also, it occurred to me that I've never &lt;a href="http://en.wikipedia.org/wiki/3:2_pulldown#2:3_pulldown"&gt;properly understood the differences between fields and frames&lt;/a&gt;, in the context of telecine, or how film is transferred to video. The Wiki article above clarified it for me and is highly recommended. Fields and frames are also useful in the context of &lt;a href="http://cvs.cinelerra.org/docs/split_manual_en/cinelerra_cv_manual_en_14.html#SEC192"&gt;how Cinelerra processes video&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Rendering High Quality H264 video&lt;/strong&gt;&lt;br /&gt;It is important to understand aspect ratio in the context of rendering high quality video. Lately, I've been encoding H264 video; specifically, I've been reducing the size of my videos to load onto an iPhone/iTouch. For this task, one of the easiest ways to assure best output quality is to make sure that both the height and width of the rendered output are divisible by 16.&lt;br /&gt;&lt;br /&gt;Without going into the &lt;a href="http://en.wikipedia.org/wiki/H264"&gt;highly technical details of the H.264/MPEG-4 AVC standard&lt;/a&gt; or &lt;a href="http://www.videsignline.com/showArticle.jhtml;jsessionid=5QG4QKQNQO0H0QSNDLOSKHSCJUNN2JVN?articleID=201308291&amp;amp;queryText=how+video+compression+works"&gt;how video compression works&lt;/a&gt;, here is a somewhat simplistic analysis:&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;"..it's slightly better to have dimensions divisible by 16, but only because H.264 divides up a picture into 16x16 blocks and if you have a partial block it still has to expend time and bandwidth on it.&lt;br /&gt;&lt;br /&gt;A size that is an exact multiple of 16 H &amp;amp; V will compress a tiny bit more efficiently, or look slightly better at the same bitrate."&lt;/span&gt;&lt;br /&gt;-extracted from &lt;a href="http://discussions.apple.com/thread.jspa?threadID=1802274&amp;amp;tstart=0"&gt;this conversation&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To make sure the dimensions of my videos are always divisible by 16, you can do the calculations yourself, or take a look at a &lt;a href="http://aarmstrong.org/tutorials/aspect-ratios-and-h264"&gt;couple nice charts from Andrew Armstrong's site&lt;/a&gt; to help you choose dimensions where the height and width are both divisible by 16. To make it easy for you, there are only a few choices:&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;1536x864&lt;br /&gt;1280x720&lt;br /&gt;768x432&lt;br /&gt;512x288&lt;br /&gt;256x144&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This will avoid the dread "&lt;span style="font-family:courier new;font-size:85%;"&gt;width or height not divisible by 16, compression will suffer&lt;/span&gt;" error you would see in many H264 encoders.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://rob.opendot.cl/index.php/useful-stuff/ffmpeg-x264-encoding-guide/"&gt;Robert Swain's blog&lt;/a&gt; was very helpful in determining x264 parameters that yield great looking video.   Especially &lt;a href="http://rob.opendot.cl/index.php/2008/09/17/ffmpeg-libx264-presets/"&gt;the page regarding ffmpeg presets&lt;/a&gt;, though I haven't yet determined what preset is best for my content.  The presets listed on Robert's page need to be put into a .ffmpeg directory under your user's home directory.&lt;br /&gt;&lt;br /&gt;Finally, this bitrate calculator for Adobe's Flash Videos was something useful I stumbled up while researching this post:&lt;br /&gt;&lt;a href="http://www.adobe.com/devnet/flash/apps/flv_bitrate_calculator/"&gt;http://www.adobe.com/devnet/flash/apps/flv_bitrate_calculator/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;the Mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-2877976278021927298?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/oxWMR0exWT6ggHQKFfRwrdG-PeU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oxWMR0exWT6ggHQKFfRwrdG-PeU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/oxWMR0exWT6ggHQKFfRwrdG-PeU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oxWMR0exWT6ggHQKFfRwrdG-PeU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/tMxaem89RIQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/2877976278021927298/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=2877976278021927298" title="6 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/2877976278021927298?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/2877976278021927298?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/tMxaem89RIQ/high-quality-h264-output.html" title="high quality h264 output" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">6</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2009/01/high-quality-h264-output.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQFQX4_fip7ImA9WxVXGUo.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-7253102357511051297</id><published>2009-01-25T02:13:00.023-05:00</published><updated>2009-02-18T11:25:10.046-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-18T11:25:10.046-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="yuv4mpeg" /><category scheme="http://www.blogger.com/atom/ns#" term="vimeo" /><category scheme="http://www.blogger.com/atom/ns#" term="resolution" /><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg" /><category scheme="http://www.blogger.com/atom/ns#" term="1080p" /><category scheme="http://www.blogger.com/atom/ns#" term="stock footage" /><category scheme="http://www.blogger.com/atom/ns#" term="canon 5d mark ii" /><category scheme="http://www.blogger.com/atom/ns#" term="h264" /><category scheme="http://www.blogger.com/atom/ns#" term="cinelerra" /><category scheme="http://www.blogger.com/atom/ns#" term="ipod" /><title>stock footage, encoding H264 and the iPod</title><content type="html">I had a bit of a rough day yesterday. I started early, about 8am, upgrading my &lt;a href="http://www.amazon.com/gp/product/B0006HU56Q?ie=UTF8&amp;amp;tag=crazmuleprod-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B0006HU56Q"&gt;MacBook Pro&lt;/a&gt; to Leopard. That process went more or less smoothly and finished around noon. Next, I had taken some video the night before and wanted to create a video that would serve as a table of contents to my archive. Also, this short video might enable me to market some of my source material as stock footage. So it might be a fun little project that shouldn't take long. I should know to never say "shouldn't take too long", because things have a way of blowing up in your face when you don't expect them to.&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Converting 1080P directly to an iPod-ready format&lt;/span&gt;&lt;br /&gt;The goal was to convert some 1080P video from my Canon 5D directly into an iPod readable format. However, as I was overly tired on this day, my mind defeated me. Essentially what happened was that after I rendered out the video and loaded it to the iPod, I kept seeing only three quarters of the video. Flummoxed, I thought it must be a rendering problem. Long story short, I found that the problem was not with my rendering parameters, but the fact that my iTouch has a zoom/scaling feature that I forgot about, but had enabled. Here is the little bugger:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bcLw_LVf5nA/SX1IDDiTxeI/AAAAAAAAA2Q/DP1yf6BqXbU/s1600-h/touch-playing-video.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5295467954183587298" style="WIDTH: 400px; HEIGHT: 278px" alt="" src="http://3.bp.blogspot.com/_bcLw_LVf5nA/SX1IDDiTxeI/AAAAAAAAA2Q/DP1yf6BqXbU/s400/touch-playing-video.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So I had spent about three hours until 2am fighting with encoding parameters, re-encoding video, transferring many test files to my Mac and then loading them to the iPod, only to find that the source of the problem was this little stupid icon on the iTouch.&lt;br /&gt;&lt;br /&gt;Boy, am I dense.&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;A Learning Experience&lt;/span&gt;&lt;br /&gt;I did learn a few things through my travails this weekend:&lt;br /&gt;1) The el cheapo haze filter on my camera shows a lot of lens flare and needs to be replaced.&lt;br /&gt;&lt;br /&gt;2) Don't merge a longer audio stream with a shorter video stream or else you'll be wondering why your 1m45s video is suddenly 9m30s. Duh.&lt;br /&gt;&lt;br /&gt;3) When encoding videos to H264 format, always try to use resolutions where the height and width are divisible by 16. This will make the level of compression and quality of the resulting video better. I will post separately about resolutions that are divisible by 16.&lt;br /&gt;&lt;br /&gt;4) A dvd video encoded by ffmpeg using -target ntsc-dvd and then downrezzed using the following command syntax will NOT have the proper aspect ratio once loaded onto the iPod:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="TEXT-DECORATION: line-through;font-family:courier new;" &gt;ffmpeg -y -i ${NAME}.mpg -an -v 1 -threads 8 -vcodec h264 -b 250k -bt 175k -refs 1 -loop 1 -deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 -me full -subq 1 -me_range 21 -chroma 1 -slice 2 -bf 0 -level 30 -g 300 -keyint_min 30 -sc_threshold 40 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.7 -qmax 51 -qdiff 4 -i_qfactor 0.71428572 -maxrate 450k -bufsize 2M -cmp 1 -s 720x480 -f mp4 -pass 1 /dev/null&lt;br /&gt;&lt;br /&gt;ffmpeg -y -i ${NAME}.mpg -v 1 -threads 8 -vcodec h264 -b 250k -bt 175k -refs 1 -loop 1 -deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 -me full -subq 6 -me_range 21 -chroma 1 -slice 2 -bf 0 -level 30 -g 300 -keyint_min 30 -sc_threshold 40 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.7 -qmax 51 -qdiff 4 -i_qfactor 0.71428572 -maxrate 450k -bufsize 2M -cmp 1 -s 720x480 -acodec aac -ab 160k -ar 48000 -ac 2 -f mp4 -pass 2 -threads 8 ${NAME}.mp4 &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So don't try that at home, kids.&lt;br /&gt;&lt;br /&gt;I had previously been using this string of encoding parameters to encode a video of my band rehearsals. The encode was from a DVD source file, so perhaps I will just use the 1080P as source going forward. I will have to test this out first. Strangely, the conversion of the audio from AC3 format had audible hiccups from time to time. Since this process was working fine on Fedora 7, perhaps this is just an issue with Fedora 10.&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Downrezzed 1080P Video Ready for the iPod&lt;/span&gt;&lt;br /&gt;The following two pass Cinelerra encoding parameters via yuv4mpeg stream worked well to produce a high quality video from 1080P source.  In short, you will do two renders from a YUV4MPEG stream:&lt;br /&gt;render 1: the pipe to /dev/null in order to create the optimization log&lt;br /&gt;render 2: the pipe to create the file&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;#CINELERRA YUV4MPEG RENDER 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -f yuv4mpegpipe -y -i - -an -v 1 -threads 8 -vcodec libx264 -b 1000k -bt 775k -refs 1 -loop 1 -deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 -me full -subq 1 -me_range 21 -chroma 1 -slice 2 -bf 0 -level 30 -g 300 -keyint_min 30 -sc_threshold 40 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.7 -qmax 51 -qdiff 4 -i_qfactor 0.71428572 -maxrate 1000k -bufsize 2M -cmp 1 -s 512x288 -f mp4 -pass 1 /dev/null&lt;br /&gt;&lt;br /&gt;#CINELERRA YUV4MPEG RENDER 2&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -f yuv4mpegpipe -y -i - -i /mnt/videos/projects/2009_01_23/nightUrbanIndustrialIpod.mp3 -v 1 -threads 8 -vcodec libx264 -b 1000k -bt 775k -refs 1 -loop 1 -deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 -me full -subq 6 -me_range 21 -chroma 1 -slice 2 -bf 0 -level 30 -g 300 -keyint_min 30 -sc_threshold 40 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.7 -qmax 51 -qdiff 4 -i_qfactor 0.71428572 -maxrate 1000k -bufsize 2M -cmp 1 -s 512x288 -acodec libfaac -ab 160k -ar 48000 -ac 2 -f mp4 -pass 2 -threads 8 %&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I chose a resolution of 512x288 because:&lt;br /&gt;1) the aspect ratio is the same as my 1080P source video, 16:9 (1.777)&lt;br /&gt;2) both the height and width are divisible by 16&lt;br /&gt;3) there were no errors and it comes out looking great on the iPod&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Rendering Parameters for a High Quality Vimeo Upload&lt;/span&gt;&lt;br /&gt;Finally, I was able to output an H264 video at 1920x1080 that looks great in Vimeo. Psych! I was able to remove the ugly bottom bar seen in Vimeo &lt;a href="http://crazedmuleproductions.blogspot.com/2009/01/water-new-canon-5d-video.html"&gt;from my previous post&lt;/a&gt;. Here is the two-pass encoding method that I used from Cinelerra. Two notes:&lt;br /&gt;1) the two passes are YUV4MPEG stream renders from Cinelerra using FFMPEG and will need to be run as individual renders in Cinelerra.&lt;br /&gt;2) the second pass muxes (combines) a pre-rendered audio stream with the video stream.  So you'll need to render that audio file first.&lt;br /&gt;&lt;br /&gt;Here is your first render command string (the first pass of the two-pass) that will create the optimization log:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;#CINELERRA RENDER PASS1&lt;br /&gt;ffmpeg -f yuv4mpegpipe -y -i - -an -v 1 -threads 8 -vcodec libx264 -aspect 1.7777 -b 9000k -bt 7775k -refs 1 -loop 1 -deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 -me full -subq 1 -me_range 21 -chroma 1 -slice 2 -bf 0 -level 30 -g 300 -keyint_min 30 -sc_threshold 40 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.7 -qmax 51 -qdiff 4 -i_qfactor 0.71428572 -maxrate 10000k -bufsize 2M -cmp 1 -f mp4 -pass 1 /dev/null&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here is the second render command that takes advantage of the optimization log created in the first-pass render. I rendered an audio file of my project earlier, so this second command also combines that audio file with the video for my final result:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;#CINELERRA RENDER PASS2&lt;br /&gt;ffmpeg -f yuv4mpegpipe -y -i - -i /mnt/videos/projects/blog/waterSmall.mp3 -v 1 -threads 8 -vcodec libx264 -aspect 1.7777 -b 9000k -bt 7775k -refs 1 -loop 1 -deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 -me full -subq 1 -me_range 21 -chroma 1 -slice 2 -bf 0 -level 30 -g 300 -keyint_min 30 -sc_threshold 40 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.7 -qmax 51 -qdiff 4 -i_qfactor 0.71428572 -maxrate 10000k -bufsize 2M -acodec libfaac -ab 160k -ar 48000 -ac 2 -cmp 1 -f mp4 -pass 2 % &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I think the quality is bloody AWESOME! Take a gander:&lt;br /&gt;&lt;object height="360" width="640"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2960788&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1"&gt;&lt;embed src="http://vimeo.com/moogaloop.swf?clip_id=2960788&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" height="360" width="640"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;a href="http://vimeo.com/2960788"&gt;2009/01/23: night, urban, industrial&lt;/a&gt; from &lt;a href="http://vimeo.com/user771196"&gt;crazed mule&lt;/a&gt; on &lt;a href="http://vimeo.com/"&gt;Vimeo&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Conclusion&lt;/span&gt;&lt;br /&gt;Through pain, there can sometimes be the brighter side. In this case, I learned a few things. In retrospect, I may have chosen my production company's name correctly. A mule is one stubborn beast.&lt;br /&gt;&lt;br /&gt;Related to crazed mules, here is a story I stumbled upon the other day you might find funny:&lt;br /&gt;&lt;a href="http://www.jimforeman.com/Stories/mules.htm"&gt;The Day the Mules Went Crazy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The Mule&lt;br /&gt;&lt;br /&gt;Reference&lt;br /&gt;&lt;a href="http://crazedmuleproductions.blogspot.com/2009/01/high-quality-h264-output.html"&gt;H264 Encoding&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-7253102357511051297?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZB1-7nDnKqwQ8V0M71PyGt6lz3o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZB1-7nDnKqwQ8V0M71PyGt6lz3o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZB1-7nDnKqwQ8V0M71PyGt6lz3o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZB1-7nDnKqwQ8V0M71PyGt6lz3o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/ir_fBCpBQFM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/7253102357511051297/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=7253102357511051297" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/7253102357511051297?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/7253102357511051297?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/ir_fBCpBQFM/stock-footage-encoding-h264-and-ipod.html" title="stock footage, encoding H264 and the iPod" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_bcLw_LVf5nA/SX1IDDiTxeI/AAAAAAAAA2Q/DP1yf6BqXbU/s72-c/touch-playing-video.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2009/01/stock-footage-encoding-h264-and-ipod.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IHRHc9cCp7ImA9WxVXEUQ.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-4690169456309732142</id><published>2009-01-12T15:36:00.020-05:00</published><updated>2009-02-09T09:58:55.968-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-09T09:58:55.968-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="rendering" /><category scheme="http://www.blogger.com/atom/ns#" term="MG-350HD" /><category scheme="http://www.blogger.com/atom/ns#" term="canon 5d mark ii" /><category scheme="http://www.blogger.com/atom/ns#" term="MediaGate" /><category scheme="http://www.blogger.com/atom/ns#" term="cinelerra" /><title>Water, a new Canon 5D video</title><content type="html">After a couple of weeks of gathering content, I completed my first real Cinelerra project using the 1080P output from my brand new &lt;a href="http://www.amazon.com/gp/product/B001G5ZTLS?ie=UTF8&amp;amp;tag=crazmuleprod-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B001G5ZTLS"&gt;Canon EOS 5D Mark II&lt;/a&gt;&lt;img style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; MARGIN: 0px; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" height="1" alt="" src="http://www.assoc-amazon.com/e/ir?t=crazmuleprod-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=B001G5ZTLS" width="1" border="0" /&gt;. &lt;br /&gt;&lt;br /&gt;This camera outputs some gorgeous video &lt;a href="http://crazedmuleproductions.blogspot.com/2009/01/first-edit-canon-5d-mark-ii.html"&gt;as I showed in my last post&lt;/a&gt;. Now I have to learn how to shoot with it!&lt;br /&gt;&lt;object height="480" width="640"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2797853&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1"&gt;&lt;embed src="http://vimeo.com/moogaloop.swf?clip_id=2797853&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;strong&gt;The Project&lt;/strong&gt;&lt;br /&gt;My goal with this short production was:&lt;br /&gt;1) to show the capabilities of the camera&lt;br /&gt;2) to prove that Cinelerra was up to the task of editing 1080P content&lt;br /&gt;3) to output the final results to different output formats (media player, Vimeo, back into Cinelerra)&lt;br /&gt;&lt;br /&gt;I'm a hobbyist, so I don't have a budget and "script" like &lt;a href="http://blog.vincentlaforet.com/2008/10/10/without-further-ado-reverie/"&gt;Vincent Laforet&lt;/a&gt;. However, I like to compile scenes and organize them with musical accompaniment in thoughtful ways that are (hopefully) enjoyable to the viewer.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The Images&lt;/strong&gt;&lt;br /&gt;Since I am not a professional photographer, I did not have a slew of lenses before I bought the cam. I only used two lenses that I recently bought for this video:&lt;br /&gt;&lt;a href="http://www.amazon.com/gp/product/B000AZ57M6?ie=UTF8&amp;amp;tag=crazmuleprod-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B000AZ57M6"&gt;Canon EF 24-105mm f/4 L IS USM Lens&lt;/a&gt;&lt;img style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; MARGIN: 0px; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" height="1" alt="" src="http://www.assoc-amazon.com/e/ir?t=crazmuleprod-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=B000AZ57M6" width="1" border="0" /&gt;&lt;br /&gt;&lt;a href="http://www.amazon.com/gp/product/B00009XVCZ?ie=UTF8&amp;amp;tag=crazmuleprod-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B00009XVCZ"&gt;Canon EF 50mm f1.4 USM Lens&lt;/a&gt;&lt;img style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; MARGIN: 0px; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" height="1" alt="" src="http://www.assoc-amazon.com/e/ir?t=crazmuleprod-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=B00009XVCZ" width="1" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;In regards to the imagery, about half of the shots were taken with a tripod. Where you see shakey video is obviously where I held the cam by hand. You definetly do NOT want to shoot high definition video by hand. It serves to amplify any wobbling present and looks terrible when presented on a high definition television. One thing that saved me was the stabilization provided by the Canon L series zoom lens. It is very effective in dampening bounces, though the stabilization mechanism is loud and is picked up by the camera's poor quality, but usable internal stereo microphone.&lt;br /&gt;&lt;br /&gt;I used the 50mm mainly for the indoor shots and the zoom for the outdoor shots. I shot some of the outdoor night shots with the zoom, but then realized that the zoom doesn't do well in low light conditions since it has such a long zoom barrel. So just last week, I bought the 50mm. The 50mm fixed length (prime) lens really makes night shots clear with none of the spotty, dappled artifacts that you see with high ISO night shots. During the video, you'll notice those artifacts on the shot of the ferry.&lt;br /&gt;&lt;br /&gt;Note that I used no filters on the shots..what you see in the video is truly what you get with the camera. As I gain expertise with the camera, I look forward to acquiring lenses over the next few years.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The Editing Process&lt;/strong&gt;&lt;br /&gt;The editing process has been a bit of a challenge, as the native output from the camera does not import cleanly into Cinelerra. Hence, I needed to transcode the native output into something more Cinelerra friendly, which I discuss in earlier posts:&lt;br /&gt;&lt;a href="http://crazedmuleproductions.blogspot.com/2009/01/first-edit-canon-5d-mark-ii.html"&gt;/2009/01/first-edit-canon-5d-mark-ii.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://crazedmuleproductions.blogspot.com/2008/11/playing-tokyo-reality-in-1080p.html"&gt;/2008/11/playing-tokyo-reality-in-1080p.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I didn't want to revisit the conversion process, so I opted to use the MJPEG conversion command I previously discovered:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -i input.mov -b 3000k -vcodec mjpeg -ab 256k -ar 44100 -acodec libfaac -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 output.mov&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Once loaded in Cinelerra, I found I had quite a few assets from the last couple weeks of shooting.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bcLw_LVf5nA/SWvhqqtFWvI/AAAAAAAAA0U/B0mhLspSKcg/s1600-h/media.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5290570310410918642" style="WIDTH: 400px; CURSOR: pointer; HEIGHT: 296px" alt="" src="http://1.bp.blogspot.com/_bcLw_LVf5nA/SWvhqqtFWvI/AAAAAAAAA0U/B0mhLspSKcg/s400/media.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If I could have one improvement made to the software, it would be to add folders to the Media bin in order to better manage assets.&lt;br /&gt;&lt;br /&gt;I went about editing the video as normal. I applied only time-based effects, like speeding up or slowing down the video, and transitions. The time-based effects were accomplished by attaching the ReframeRT video effect:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bcLw_LVf5nA/SWviNNABejI/AAAAAAAAA0c/0Fy_y-YbSKk/s1600-h/timelineReframeRt.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5290570903732714034" style="WIDTH: 400px; CURSOR: pointer; HEIGHT: 177px" alt="" src="http://3.bp.blogspot.com/_bcLw_LVf5nA/SWviNNABejI/AAAAAAAAA0c/0Fy_y-YbSKk/s400/timelineReframeRt.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Output&lt;/strong&gt;&lt;br /&gt;I needed to output files from the project for different purposes:&lt;br /&gt;1) to reimport back into Cinelerra (JPEG or MJPEG Quicktime video)&lt;br /&gt;2) to export/render a format usable with my &lt;a href="http://www.amazon.com/gp/product/B000IANW52?ie=UTF8&amp;amp;tag=crazmuleprod-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B000IANW52"&gt;MG-350HD Media Player&lt;/a&gt;&lt;img style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; MARGIN: 0px; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" height="1" alt="" src="http://www.assoc-amazon.com/e/ir?t=crazmuleprod-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=B000IANW52" width="1" border="0" /&gt;&lt;br /&gt;(1080I/1080P MPEG2 video)&lt;br /&gt;3) to export/render a format usable for Vimeo (720P MPEG2)&lt;br /&gt;&lt;br /&gt;For #1, I exported a Quicktime for Linux container, using MJPEG compression. I just needed the video, so I had no audio on the export. I was able to reimport the resulting file easily into Cinelerra.&lt;br /&gt;&lt;br /&gt;For #2, I rendered the video using a YUV4MPEG pipe. I needed to adjust the pipe command to export a different format and higher video bitrate.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;mpeg2enc --verbose 0 --aspect 3 &lt;/span&gt;&lt;b style="FONT-FAMILY: courier new"&gt;--format 13&lt;/b&gt;&lt;span style="font-family:courier new;"&gt; --frame-rate 4 &lt;b&gt;--video-bitrate 24000&lt;/b&gt; --nonvideo-bitrate 384 --interlace-mode 0 --force-b-b-p --video-buffer 448 --video-norm n --keep-hf --no-constraints --sequence-header-every-gop --min-gop-size 6 --max-gop-size 6 -o %&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Using mplex, I then combined the video stream with an existing audio track to an MPEG2 Program Stream:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;mplex -f 3 -b 2000 canon5d.m2a canon5d.m2v -o canon5d.ps&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Finally, I converted the program stream to an MPEG2 Transport Stream using vlc:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;cvlc canon5d.ps --sout '#duplicate{dst=std{access=file,mux=ts,dst="canon5d.m2t"}}' vlc:quit&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For #3, I reduced the 1080i/p output to 720P using FFMPEG:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -i canon5d.m2t -target ntsc-dvd -s 1280x720 -qscale 1 -threads 8 canon5d.mpg&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(255,0,0)"&gt;Update 2008/01/13&lt;/span&gt;&lt;br /&gt;I hadn't noticed before, but after I uploaded the 720P file to Vimeo, there was a little bit of a line on the bottom of the video. I am going to have to revisit the edit to make sure I didn't mess something up.&lt;br /&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(255,0,0)"&gt;*** end update ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I think the quality of the output can definitely be improved. However, I am glad that I was able to output to formats usable across different platforms (HDTV/Internet/Linux-Cinelerra).&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(255,0,0)"&gt;Update 2008/02/08&lt;/span&gt;&lt;br /&gt;I've been working on improving the quality of the output from Cinelerra.  Specifically, instead of using MJPEG source files (the first conversion from the cam), I'm converting the Canon's video to MPEG2-TS.  The MPEG2-TS format has very nice quality and edits quickly in Cinelerra.  Here's the full skinny:&lt;br /&gt;&lt;a href="http://crazedmuleproductions.blogspot.com/2009/02/dark-of-winter-has-me-in-its-grasp.html"&gt;/2009/02/dark-of-winter-has-me-in-its-grasp.html&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(255,0,0)"&gt;*** end update ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;In Sum&lt;/span&gt;&lt;br /&gt;Dealing with a new media format in Linux and Cinelerra is never easy. But if you have patience, it is very satisfying to get a project done that makes your friends say "Wow" or have a laugh.&lt;br /&gt;&lt;br /&gt;the mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-4690169456309732142?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xMBpYxBHSny1W1iIpBndW5sIgSE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xMBpYxBHSny1W1iIpBndW5sIgSE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xMBpYxBHSny1W1iIpBndW5sIgSE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xMBpYxBHSny1W1iIpBndW5sIgSE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/ktzLN6Q6u3Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/4690169456309732142/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=4690169456309732142" title="7 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/4690169456309732142?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/4690169456309732142?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/ktzLN6Q6u3Y/water-new-canon-5d-video.html" title="Water, a new Canon 5D video" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_bcLw_LVf5nA/SWvhqqtFWvI/AAAAAAAAA0U/B0mhLspSKcg/s72-c/media.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">7</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2009/01/water-new-canon-5d-video.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0ECRn4zfCp7ImA9WxVXEUk.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-6054500043025541175</id><published>2009-01-03T15:58:00.025-05:00</published><updated>2009-02-08T21:14:27.084-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-08T21:14:27.084-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="yuv4mpeg" /><category scheme="http://www.blogger.com/atom/ns#" term="vimeo" /><category scheme="http://www.blogger.com/atom/ns#" term="1080p" /><category scheme="http://www.blogger.com/atom/ns#" term="rendering" /><category scheme="http://www.blogger.com/atom/ns#" term="canon 5d mark ii" /><category scheme="http://www.blogger.com/atom/ns#" term="h264" /><title>Canon 5D Mark II video: Cinelerra edit</title><content type="html">Well folks, I got myself quite a present for Christmas: the &lt;a href="http://www.amazon.com/gp/product/B001G5ZTLS?ie=UTF8&amp;amp;tag=crazmuleprod-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B001G5ZTLS"&gt;Canon EOS 5D Mark II&lt;/a&gt;&lt;img style="border: medium none ; margin: 0px;" alt="" src="http://www.assoc-amazon.com/e/ir?t=crazmuleprod-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=B001G5ZTLS" border="0" height="1" width="1" /&gt;:&lt;br /&gt;&lt;a href="http://www.usa.canon.com/consumer/controller?act=ModelInfoAct&amp;amp;fcategoryid=139&amp;amp;modelid=17662"&gt;http://www.usa.canon.com/consumer/controller?act=ModelInfoAct&amp;amp;fcategoryid=139&amp;amp;modelid=17662&lt;/a&gt;&lt;br /&gt;Amazon: &lt;a href="http://www.amazon.com/gp/product/B001G5ZTLS?ie=UTF8&amp;amp;tag=crazmuleprod-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B001G5ZTLS"&gt;Canon EOS 5D Mark II&lt;/a&gt;&lt;img style="border: medium none ; margin: 0px;" alt="" src="http://www.assoc-amazon.com/e/ir?t=crazmuleprod-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=B001G5ZTLS" border="0" height="1" width="1" /&gt;&lt;br /&gt;&lt;br /&gt;I've acquired a bit of video over the first few days with the cam. Now let's make sure I can edit the bloody stuff in Cinelerra! :)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 1/14/2009&lt;/span&gt;&lt;br /&gt;I've done &lt;a href="http://crazedmuleproductions.blogspot.com/2009/01/water-new-canon-5d-video.html"&gt;a full edit session with the output of the 5D&lt;/a&gt;. Lovely!&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;*** end update ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I've found the following process works pretty well.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1) Convert video to a Cinelerra-usable format&lt;/span&gt;&lt;br /&gt;As I explained in &lt;a href="http://crazedmuleproductions.blogspot.com/2008/10/converting-1080p-video-part-ii.html"&gt;one of my earlier posts&lt;/a&gt;, mjpeg seems a good format to convert the H264 output of the cam:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[mule@ogre 2008_12_26]$ ffmpeg -i MVI_0072.MOV -b 3000k -vcodec mjpeg -ab 256k -ar 44100 -acodec libfaac -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 mvi_0072.mov&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here's an image that compares the original, Canon saved H264 video to the MJPEG conversion:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bcLw_LVf5nA/SWAFeeIZH0I/AAAAAAAAA0E/c8nBtgEVFkI/s1600-h/1080pOriginalConvert.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5287231983575441218" style="width: 400px; cursor: pointer; height: 258px;" alt="" src="http://1.bp.blogspot.com/_bcLw_LVf5nA/SWAFeeIZH0I/AAAAAAAAA0E/c8nBtgEVFkI/s400/1080pOriginalConvert.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Pretty close, eh? The MJPEG video seems a little lighter and you can see more detail, though the colors are a little washed out.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2) Import into Cinelerra&lt;/span&gt;&lt;br /&gt;Unlike the H264 format the Canon saves, the MJPEG conversion imports cleanly into Cinelerra without error messages. Also, on my &lt;a href="http://www.techanswerguy.com/2007/09/setting-up-dell-sc1430.html"&gt;dual, quad core Dell&lt;/a&gt; running &lt;a href="http://crazedmuleproductions.blogspot.com/2008/12/fedora-10-x86-64-compability-chart.html"&gt;Fedora 10&lt;/a&gt;, I get about 18fps playing back the raw video. Nice.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3) Render to YUV4MPEG stream as H264 video&lt;/span&gt;&lt;br /&gt;I do this step in two parts:&lt;br /&gt;&lt;br /&gt;a. Render the audio&lt;br /&gt;The Canon stores its audio in 44Khz, 16-bit PCM format. I rendered out an MPEGI, Layer2 audio file:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;--------------------------------------------&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Input File : 'stdin' 44.1 kHz&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Output File: '/mnt/videos/projects/2008_12_26/audioTrack.m2a'&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;256 kbps MPEG-1 Layer II j-stereo Psy model 1 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[De-emph:Off Copyright:No Original:No CRC:Off]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[Padding:Normal Byte-swap:Off Chanswap:Off DAB:Off]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ATH adjustment 0.000000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;--------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;encode_init: using tablenum 0 with sblimit 27&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Hit end of audio data&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Avg slots/frame = 768.000; b/smp = 5.33; bitrate = 256.000 kbps&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Render::run: Session finished.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;b. Render a YUV4MPEG stream. Using the following pipe, I combine the audio track that was output in the previous step with the video that is being rendered:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -f yuv4mpegpipe -y -i - -i /mnt/videos/projects/2008_12_26/audioTrack.m2a -b 3000k -vcodec libx264 -ab 256k -ar 44100 -acodec libfaac -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 5 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 %&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Step B is very similar to the advanced rendering technique I showed you in the &lt;a href="http://crazedmuleproductions.blogspot.com/2007/06/beginners-guide-to-exporting-video-from.html"&gt;Beginner's Guide to Exporting Video from Cinelerra&lt;/a&gt;. Here's how the render looks in a terminal window:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Input #0, yuv4mpegpipe, from 'pipe:':&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Duration: N/A, bitrate: N/A&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Stream #0.0: Video: rawvideo, yuv420p, 1920x1080, 30.00 tb(r)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Input #1, mp3, from '/mnt/videos/projects/2008_12_26/audioTrack.m2a':&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Duration: 00:00:28.42, start: 0.000000, bitrate: 255 kb/s&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Stream #1.0: Audio: mp2, 44100 Hz, stereo, s16, 256 kb/s&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Output #0, mp4, to '/mnt/videos/projects/2008_12_26/mvi_0072_h264.mp4':&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Stream #0.0: Video: libx264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 3000 kb/s, 30.00 tb(c)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Stream #0.1: Audio: libfaac, 44100 Hz, stereo, s16, 256 kb/s&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Stream mapping:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Stream #0.0 -&gt; #0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Stream #1.0 -&gt; #0.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[libx264 @ 0x1ec6200]using SAR=1/1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[libx264 @ 0x1ec6200]using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;frame= 852 fps= 5 q=5.0 Lsize= 18223kB time=28.35 bitrate=5265.6kbits/s &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;video:17680kB audio:526kB global headers:0kB muxing overhead 0.092246%&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[libx264 @ 0x1ec6200]slice I:4 Avg QP:27.33 size: 74266&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[libx264 @ 0x1ec6200]slice P:848 Avg QP:28.42 size: 21000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[libx264 @ 0x1ec6200]mb I I16..4: 61.4% 0.0% 38.6%&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[libx264 @ 0x1ec6200]mb P I16..4: 16.9% 0.0% 2.2% P16..4: 28.4% 8.9% 1.0% 0.0% 0.0% skip:42.6%&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[libx264 @ 0x1ec6200]final ratefactor: 35.54&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[libx264 @ 0x1ec6200]SSIM Mean Y:0.9495821&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[libx264 @ 0x1ec6200]kb/s:5099.9&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Render::run: Session finished.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Result&lt;/span&gt;&lt;br /&gt;Comparing the resulting video, the quality seems acceptable, though a bit dark and drained of color in comparison to the original. Notice the removal of the color bands in the sky:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bcLw_LVf5nA/SWAPVqMOHLI/AAAAAAAAA0M/X-1WewKuMQ4/s1600-h/1080pOriginalH264convert.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5287242827310177458" style="width: 400px; cursor: pointer; height: 258px;" alt="" src="http://3.bp.blogspot.com/_bcLw_LVf5nA/SWAPVqMOHLI/AAAAAAAAA0M/X-1WewKuMQ4/s400/1080pOriginalH264convert.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;That's a bit of a bummer. I am going to have to investigate how to improve the quality, especially the color.&lt;br /&gt;&lt;br /&gt;However, you can't argue with the efficiency of the file size of the H264. Here's a comparison of all three files:&lt;br /&gt;&lt;pre&gt;-rw-r--r--    1 mule  ogre       138M Jan  3 16:04 MVI_0072orig.MOV (ORIGINAL)&lt;br /&gt;-rw-r--r--    1 mule  ogre       164M Jan  3 16:02 MVI_0072_convert.MOV (MJPEG CONVERSION)&lt;br /&gt;-rw-r--r--    1 mule  ogre        17M Jan  3 20:02 mvi_0072_h264.mp4 (H264 FINAL)&lt;/pre&gt;&lt;br /&gt;All in all, its still pretty cool.&lt;br /&gt;&lt;br /&gt;Here is the video on Vimeo:&lt;br /&gt;&lt;a href="http://vimeo.com/2711794"&gt;http://vimeo.com/2711794&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Since I'm on Fedora, the Vimeo uploader seems to hang. So for Fedora (and I'm sure other Linux distributions) uploads seem to work better using the Basic Uploader:&lt;br /&gt;&lt;a href="http://www.vimeo.com/upload/video/basic"&gt;http://www.vimeo.com/upload/video/basic&lt;/a&gt;&lt;br /&gt;Thanks Raffa!&lt;br /&gt;&lt;br /&gt;Keep you posted,&lt;br /&gt;The Mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-6054500043025541175?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/QojwMMzaAiImLA2d2wAspg3svNo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QojwMMzaAiImLA2d2wAspg3svNo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/QojwMMzaAiImLA2d2wAspg3svNo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QojwMMzaAiImLA2d2wAspg3svNo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/WYyPegIWLYM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/6054500043025541175/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=6054500043025541175" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/6054500043025541175?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/6054500043025541175?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/WYyPegIWLYM/first-edit-canon-5d-mark-ii.html" title="Canon 5D Mark II video: Cinelerra edit" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_bcLw_LVf5nA/SWAFeeIZH0I/AAAAAAAAA0E/c8nBtgEVFkI/s72-c/1080pOriginalConvert.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2009/01/first-edit-canon-5d-mark-ii.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D04DRXo7eCp7ImA9WxJTGU8.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-5380305861816008709</id><published>2008-12-20T16:40:00.045-05:00</published><updated>2009-04-28T09:39:34.400-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-28T09:39:34.400-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="rendering" /><category scheme="http://www.blogger.com/atom/ns#" term="compatibility" /><category scheme="http://www.blogger.com/atom/ns#" term="batch" /><category scheme="http://www.blogger.com/atom/ns#" term="fedora 10" /><title>Cinelerra render compatibility on Fedora 10, x86-64</title><content type="html">I spent the last four days building a new Fedora 10, x86-64 server for video editing based on programs available through the &lt;a href="http://rpmfusion.org/"&gt;RPM Fusion repository&lt;/a&gt;.  I'll post something soon about that whole process, which required more work and frustration than expected.  However, my primary goal was to create a flexible and solid Cinelerra video editing rig. &lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Update 2009/02/15&lt;/span&gt;&lt;br /&gt;Here's a post on &lt;a href="http://crazedmuleproductions.blogspot.com/2009/02/fedora-10-x86-64-cinelerra-build.html"&gt;how to build Cinelerra from source on Fedora 10, x86-64&lt;/a&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;*** end update ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Testing the New System&lt;/span&gt;&lt;br /&gt;In order to verify my new build, I needed to test high quality, rendered output from Cinelerra.  More specifically, I wanted to &lt;span style="font-style:italic;"&gt;test formats that required no external multiplexing (muxing)&lt;/span&gt;.  This will save me time in the future. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Assumptions&lt;/span&gt;&lt;br /&gt;Also, note the test will be conducted against a larger resolution, 720P project.  This will influence the playback ability of some of the programs.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Testing Procedure&lt;/span&gt;&lt;br /&gt;During the testing phase, I was able to put &lt;a href="http://crazedmuleproductions.blogspot.com/2006/09/digging-that-batch-render-capability.html"&gt;Cinelerra's batch processing feature&lt;/a&gt; to use.  This is very nice if you need to render large masses of files.  Especially nice if you want to repeat or standardize that process across different Linux distributions. &lt;br /&gt;&lt;br /&gt;Thinking more about this, it might be a boon to the &lt;a href="http://cvs.cinelerra.org/"&gt;cvs.cinelerra.org&lt;/a&gt; community if I made the XML of the batch list available to the community.  That way, we could standardize the testing of output on different Linux distributions.  At the end of the day, we could say things like "mplayer on SUSE 11 doesn't playback a 720P Quicktime rendered from Cinelerra that uses MPEG4 video compression with AAC audio encoding.  However, that same file does work in mplayer on Fedora 10."  So, it would be helpful to the QA process.  I will bring this up as an idea to the community.&lt;br /&gt;&lt;br /&gt;Source File&lt;br /&gt;The original video is 21 seconds long and is in 720P format, 1280x720 at 29.97fps. &lt;br /&gt;&lt;br /&gt;In order to test the new operating system, I exported various combinations of audio and video formats, choosing fixed bitrates that seemed appropriate given the resolution of the source project:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bcLw_LVf5nA/SU2_gHJXJ0I/AAAAAAAAAzs/cQcx6IQsv7o/s1600-h/renderCompatibilityFedora10FileList.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 207px;" src="http://3.bp.blogspot.com/_bcLw_LVf5nA/SU2_gHJXJ0I/AAAAAAAAAzs/cQcx6IQsv7o/s400/renderCompatibilityFedora10FileList.gif" border="0" alt="" id="BLOGGER_PHOTO_ID_5282088496370493250" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I tested the output in standard Linux media players (vlc/mplayer/ffplay/totem), as well as reimported them into Cinelerra.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Results&lt;/span&gt;&lt;br /&gt;In order to make it easy for people to comprehend the results, I've put together this graphic:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bcLw_LVf5nA/SU3DDZJHOsI/AAAAAAAAAz8/P3eaawZsNv8/s1600-h/renderCompatibilityFedora10.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 163px;" src="http://4.bp.blogspot.com/_bcLw_LVf5nA/SU3DDZJHOsI/AAAAAAAAAz8/P3eaawZsNv8/s400/renderCompatibilityFedora10.gif" border="0" alt="" id="BLOGGER_PHOTO_ID_5282092401031592642" /&gt;&lt;/a&gt;&lt;br /&gt;Using a stop light analogy, green means that the file plays with no problem.  So, if you want to know the "best" or "good", compatible formats to use in Linux media players and Cinelerra, go for the green.  Red means the file doesn't play at all.  And yellow means that the file plays, but plays with some problem.  For instance, the audio may be out of sync or stutters, or the video plays but maybe at the wrong resolution.  Be advised that my system is fairly powerful, so your mileage may vary:&lt;br /&gt;* Dell SC1430, dual quad core, 1.6Ghz, 2GB RAM&lt;br /&gt;* RAID0 sys/working drive, RAID1 storage drive&lt;br /&gt;* NVidia 8800GT video card&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Observations&lt;/span&gt;&lt;br /&gt;JPEG and MPEG-4 Quicktimes seem to work well and have the side benefit of being re-usable within Cinelerra.  MPEG-4 rendering is unbelievably quick.  H264 direct out of Cinelerra seems not to work at all in most cases.  There was a tie for the file type with the widest compatibility among the chosen media players: Ogg/Vorbis and surprisingly, Microsoft MPEG4 using twos complement audio.&lt;br /&gt;&lt;br /&gt;It is interesting to note the varying file sizes of the output from Cinelerra: Besides the uncompressed formats, Motion JPEG A creates the largest file sizes, while either of the MPEG4 formats are the most space efficient.  Given the chart above, this is an important data point that video editors will be able to consider when selecting a particular format. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Conclusion&lt;/span&gt;&lt;br /&gt;Though it is powerful, Cinelerra has been somewhat crippled by new users' ability to get usable content out of Cinelerra.  I think this chart will improve that situation, even if it has only been proven out on Fedora 10, 64-bit.  In that light, it would be interesting to see the same chart from an alternate Linux distribution.  With my source Cinelerra and batch process EDL files, it should be easy to replicate the procedure on another system.  I'd be happy to share them if an interested party wants to drop me a line.&lt;br /&gt;&lt;br /&gt;Finally, I realize there are some missing file types like avi container, MPEG2 program and transport stream formats.  The MPEG2 formates generally require external muxing and thus, were off the list for this test.  However, I will try to test the at some point.&lt;br /&gt;&lt;br /&gt;enjoy,&lt;br /&gt;The Mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-5380305861816008709?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/iepSyjBrL5KXHWT9Si-CBLXfmkM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iepSyjBrL5KXHWT9Si-CBLXfmkM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/iepSyjBrL5KXHWT9Si-CBLXfmkM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iepSyjBrL5KXHWT9Si-CBLXfmkM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/5pU8yjX0z28" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/5380305861816008709/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=5380305861816008709" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/5380305861816008709?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/5380305861816008709?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/5pU8yjX0z28/fedora-10-x86-64-compability-chart.html" title="Cinelerra render compatibility on Fedora 10, x86-64" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_bcLw_LVf5nA/SU2_gHJXJ0I/AAAAAAAAAzs/cQcx6IQsv7o/s72-c/renderCompatibilityFedora10FileList.gif" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2008/12/fedora-10-x86-64-compability-chart.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcNSXg5eip7ImA9WxVXF08.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-8753734093234489947</id><published>2008-12-12T20:56:00.009-05:00</published><updated>2009-02-15T13:38:18.622-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-15T13:38:18.622-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="rpm fusion" /><category scheme="http://www.blogger.com/atom/ns#" term="dependencies" /><category scheme="http://www.blogger.com/atom/ns#" term="atrpms" /><category scheme="http://www.blogger.com/atom/ns#" term="fedora 9" /><category scheme="http://www.blogger.com/atom/ns#" term="cinelerra" /><title>Fedora 9 Cinelerra deps, ATrpms note</title><content type="html">Some people have &lt;a href="http://fedoraproject.org/wiki/JohnMahowald/ATrpmsWarning"&gt;complained of incompatibilities with Fedora and ATrpms&lt;/a&gt;. Instead, they recommend using the better supported &lt;a href="http://rpmfusion.org/"&gt;RPMFusion&lt;/a&gt;, the repository that has merged all the other repositories for Fedora. This is a good idea; &lt;span style="TEXT-DECORATION: line-through"&gt;however, I have not yet had a chance to test the Fusion RPMs.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Update 2009/02/15&lt;/span&gt;&lt;br /&gt;Here's a post on &lt;a href="http://crazedmuleproductions.blogspot.com/2009/02/fedora-10-x86-64-cinelerra-build.html"&gt;how to build Cinelerra from source on Fedora 10, x86-64&lt;/a&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;*** end update ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I'm using ATrpms for a small number of Cinelerra dependencies, sixteen programs in all (listed below). I've given my new Fedora 9 system a fairly good break in test and have not found any issues arising from my use of ATrpms.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;12/17/2008 Note regarding my use of ATrpms&lt;/span&gt;&lt;br /&gt;So often in this topsy-turvy world of new distributions and funky repositories, the moment you write that an install is without problems, that old devil fate creeps up on you and proves you wrong. &lt;br /&gt;&lt;br /&gt;Such is the case with my recent Cinelerra build from source using ATrpms dependencies. The whole day last Sunday was shot with a nasty Cinelerra hang that was only resolved when I removed the ATrpms repo programs, installed the RPM Fusion repository and recompiled Cinelerra. I'll follow up with a more detailed explanation but for now, The Mule would like to humbly apologize to anyone he led astray by recommending ATrpms.  &lt;br /&gt;&lt;br /&gt;On the positive side, unexpected problems usually lead one to find new solutions and better ways of doing things.  So that's the upside of this mess.&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;end note&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here are the packages that I installed from ATrpms (and subsequently removed) on my Fedora 9, x86-64 system:&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;pre&gt;&lt;br /&gt;Name       : ffmpeg&lt;br /&gt;Version    : 0.4.9&lt;br /&gt;Release    : 28_r15845.fc9&lt;br /&gt;--&lt;br /&gt;Name       : fftw&lt;br /&gt;Version    : 3.1.2&lt;br /&gt;Release    : 11.fc9&lt;br /&gt;--&lt;br /&gt;Name       : fftw-devel&lt;br /&gt;Version    : 3.1.2&lt;br /&gt;Release    : 11.fc9&lt;br /&gt;--&lt;br /&gt;Name       : freetype-static&lt;br /&gt;Version    : 2.3.5&lt;br /&gt;Release    : 4.fc9.cubbi2&lt;br /&gt;--&lt;br /&gt;Name       : lame&lt;br /&gt;Version    : 3.98.2&lt;br /&gt;Release    : 19.1.fc9&lt;br /&gt;--&lt;br /&gt;Name       : libdvdcss&lt;br /&gt;Version    : 1.2.10&lt;br /&gt;Release    : 5.fc9&lt;br /&gt;--&lt;br /&gt;Name       : libdvdcss-devel&lt;br /&gt;Version    : 1.2.10&lt;br /&gt;Release    : 5.fc9&lt;br /&gt;--&lt;br /&gt;Name       : libdvdcss2&lt;br /&gt;Version    : 1.2.10&lt;br /&gt;Release    : 5.fc9&lt;br /&gt;--&lt;br /&gt;Name       : libdvdnav4&lt;br /&gt;Version    : 0.1.10&lt;br /&gt;Release    : 2.fc9&lt;br /&gt;--&lt;br /&gt;Name       : libraw1394&lt;br /&gt;Version    : 1.3.0&lt;br /&gt;Release    : 8_11.fc9&lt;br /&gt;--&lt;br /&gt;Name       : libraw1394&lt;br /&gt;Version    : 1.3.0&lt;br /&gt;Release    : 8_11.fc9&lt;br /&gt;--&lt;br /&gt;Name       : libraw1394-devel&lt;br /&gt;Version    : 1.3.0&lt;br /&gt;Release    : 8_11.fc9&lt;br /&gt;--&lt;br /&gt;Name       : libraw1394_8&lt;br /&gt;Version    : 1.3.0&lt;br /&gt;Release    : 8_11.fc9&lt;br /&gt;--&lt;br /&gt;Name       : libraw1394_8&lt;br /&gt;Version    : 1.3.0&lt;br /&gt;Release    : 8_11.fc9&lt;br /&gt;--&lt;br /&gt;Name       : x264&lt;br /&gt;Version    : 0.65&lt;br /&gt;Release    : 8_20081108.2245.fc9&lt;br /&gt;--&lt;br /&gt;Name       : x264-devel&lt;br /&gt;Version    : 0.65&lt;br /&gt;Release    : 8_20081108.2245.fc9&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;I've put my system through the following tests:&lt;br /&gt;-edit 720P project in Cinelerra&lt;br /&gt;-via Cinelerra's YUV4MPEG streamer and mpeg2enc, export 720P resolution MPEG2 video&lt;br /&gt;-from Cinelerra, export MPEG, Layer II audio&lt;br /&gt;-using mplex, combine MPEG2 video and MPEG Layer II audio stream into MPEG-PS&lt;br /&gt;-using VLC, convert program stream into MPEG-TS&lt;br /&gt;-using FFMPEG, convert transport stream into DVD&lt;br /&gt;-using FFMPEG, convert DVD file into iTunes compatible format&lt;br /&gt;&lt;br /&gt;This is my normal workflow. &lt;span style="TEXT-DECORATION: line-through"&gt;Nothing seems to have broken in this workflow, so I think ATrpms has not effected my particular install.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Again, my apologies if anyone had tried using ATrpms based on my advice.&lt;br /&gt;the mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-8753734093234489947?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4JObmP94ul_1lD91Eny983HvrzU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4JObmP94ul_1lD91Eny983HvrzU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4JObmP94ul_1lD91Eny983HvrzU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4JObmP94ul_1lD91Eny983HvrzU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/f4NE0HSObwc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/8753734093234489947/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=8753734093234489947" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/8753734093234489947?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/8753734093234489947?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/f4NE0HSObwc/fedora-9-cinelerra-deps-atrpms-note.html" title="Fedora 9 Cinelerra deps, ATrpms note" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2008/12/fedora-9-cinelerra-deps-atrpms-note.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4EQ3kyfSp7ImA9WxRaEk0.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-6337344765228888734</id><published>2008-11-23T16:42:00.011-05:00</published><updated>2008-12-13T16:48:22.795-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-13T16:48:22.795-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="libfaac" /><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg" /><category scheme="http://www.blogger.com/atom/ns#" term="h264" /><category scheme="http://www.blogger.com/atom/ns#" term="cvlc" /><category scheme="http://www.blogger.com/atom/ns#" term="vlc" /><category scheme="http://www.blogger.com/atom/ns#" term="aac" /><category scheme="http://www.blogger.com/atom/ns#" term="libx264" /><title>minor problems from new Fedora 9</title><content type="html">I'm glad I took the time to rerun my main encoding script, as it showed a number of errors due to changes between Fedora 7 and Fedora 9.  The first four I've encountered are specific to VLC; the last couple are problems with the latest FFMPEG install.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;VLC Problems&lt;/span&gt;&lt;br /&gt;1) permissions issue&lt;br /&gt;This is not necessarily a problem with a change in Fedora, just a problem with how I've reorganized some of my videos to be owned by a different user.  When I ran VLC to convert one of the files, I got this error:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[00000436] access_output_file access out error: cannot open `20081123.m2t' (Permission denied)&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;[00000434] stream_out_standard stream out error: no suitable sout access module for `file/ts://20081123.m2t'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;At least the text of the error was not ambiguous..Permission Denied!  :) Once I identified the permissions problem and granted appropriate privileges to the file, this message went away.  A good option when running VLC is to run it with the -vvv verbose switch in order to get full debug stream on what is going on.&lt;br /&gt;&lt;br /&gt;2) command line VLC doesn't accept quit anymore&lt;br /&gt;VLC used to quit properly when my old script used to look like this:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;vlc input.ps --sout '#duplicate{dst=std{access=file,mux=ts,dst="output.m2t"}}' vlc:quit&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;VLC's authors must now be enforcing command line syntax, as there now needs to be two slashes after the colon in the quit directive.  So the following works again:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;vlc input.ps --sout '#duplicate{dst=std{access=file,mux=ts,dst="output.m2t"}}' vlc://quit&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 12/13/2008&lt;/span&gt;&lt;br /&gt;3) Can't run VLC as root anymore&lt;br /&gt;When I tried to run VLC from a script as root, I got this error:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;VLC is not supposed to be run as root. Sorry.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;If you need to use real-time priorities and/or privileged TCP ports&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;you can use vlc-wrapper (make sure it is Set-UID root first and&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;cannot be run by non-trusted users first).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For security reasons, it is probably better that VLC enforces this.  I addressed the issue in two ways:&lt;br /&gt;1) login as a non-privileged user to run VLC&lt;br /&gt;2) if I need to run VLC as root, I will use the "su" command to run the command using a different user's privileges.  Using my non-privileged "mule" user, the syntax of the command is something like the below.  I am using command line VLC, which is started by "cvlc":&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;su mule -c "cvlc input.ps --sout '#duplicate{dst=std{access=file,mux=ts,dst=output.mp4}}' vlc://quit"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In either case, I made sure that all my files are owned by or at least accessible by the user that runs VLC.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;end update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4) Some obscure dbus error&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[00000415] inhibit interface error: Failed to connect to the D-Bus session daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;Looking up this error in Google points to a number of threads regarding the reinstall of dbus message bus. However, this error doesn't inhibit my ability to convert video, so I'm not going to do anything about this error right now.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;5) a bunch of other GUI related errors&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[00000415] main interface error: no suitable interface module&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;[00000001] main libvlc error: interface "inhibit,none" initialization failed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;No protocol specified&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[00000421] qt4 interface error: Could not connect to X server&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;No protocol specified&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[00000421] skins2 interface error: Cannot open display&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[00000421] skins2 interface error: cannot initialize OSFactory&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Even with these errors, VLC does start, though in remote control mode only.  You can quit out of this mode by typing "quit" after the line that reads:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Remote control interface initialized. Type `help' for help.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Since I am running VLC as part of a command script, I changed the script to use the command-line version of VLC, CVLC as below:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-weight: bold;"&gt;cvlc&lt;/span&gt; input.ps --sout '#duplicate{dst=std{access=file,mux=ts,dst="output.m2t"}}' vlc://quit&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note that the quit directive is still "vlc://quit".  Eventually, I do want to run VLC's GUI mode, so I will have to return to fixing this error.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;FFMPEG Problems&lt;/span&gt;: library naming&lt;br /&gt;Running this FFMPEG command on my shiny new Fedora 9 system:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -i input.mpg -threads 8 -f mov -vcodec mpeg4 -qscale 3 -s 320x180 -r 29.97 -aspect 16:9 -acodec &lt;span style="font-weight: bold;"&gt;aac&lt;/span&gt; -ac 2 -ar 48000 -ab 448k output.mov&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Gave me this error:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Unknown encoder 'aac'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Researching on Google led me to this thread, which stated that the proper syntax is to now using the name of the library, libfaac:&lt;br /&gt;&lt;a href="http://bbs.archlinux.org/viewtopic.php?id=46958."&gt;http://bbs.archlinux.org/viewtopic.php?id=46958.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The version of FFMPEG that I had been using with Fedora 7 was SVN version 9975.  With Fedora 9, that is revised to SVN version 12135.  During the interim between the two versions, command syntax now requires full library names.&lt;br /&gt;&lt;br /&gt;So using the proper library name 'libfaac' fixed the issue and allowed ffmpeg to continue:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -i input.mpg -threads 8 -f mov -vcodec mpeg4 -qscale 3 -s 320x180 -r 29.97 -aspect 16:9 -acodec &lt;span style="font-weight: bold;"&gt;libfaac&lt;/span&gt; -ac 2 -ar 48000 -ab 448k output.mov&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The same error occurred with my command to encode a file to h264 format:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -y -i input.mpg -v 1 -threads 8 -vcodec &lt;span style="font-weight: bold;"&gt;h264&lt;/span&gt; -b 250k -bt 175k -refs 1 -loop 1 -deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 -me full -subq 6 -me_range 21 -chroma 1 -slice 2 -bf 0 -level 30 -g 300 -keyint_min 30 -sc_threshold 40 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.7 -qmax 51 -qdiff 4 -i_qfactor 0.71428572 -maxrate 450k -bufsize 2M -cmp 1 -s 720x480 -acodec libfaac -ab 160k -ar 48000 -ac 2 -f mp4 -pass 2 -threads 8 output.mp4&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I received this error:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Unknown encoder 'h264'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The solution was to simply replace 'h264' with 'libx264' in the command line:&lt;br /&gt;&lt;br /&gt;Silliness!&lt;br /&gt;the mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-6337344765228888734?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XFtCT_Gaov3-JzMqsgVorF4Yglo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XFtCT_Gaov3-JzMqsgVorF4Yglo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XFtCT_Gaov3-JzMqsgVorF4Yglo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XFtCT_Gaov3-JzMqsgVorF4Yglo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/O_fNMw742f0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/6337344765228888734/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=6337344765228888734" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/6337344765228888734?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/6337344765228888734?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/O_fNMw742f0/minor-problems-from-new-fedora-9.html" title="minor problems from new Fedora 9" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2008/11/minor-problems-from-new-fedora-9.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUEERn0yfCp7ImA9WxVVEEw.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-7717295304941702773</id><published>2008-11-22T17:23:00.012-05:00</published><updated>2009-03-02T13:13:27.394-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-02T13:13:27.394-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="marketing" /><category scheme="http://www.blogger.com/atom/ns#" term="distribution" /><category scheme="http://www.blogger.com/atom/ns#" term="blogging ecosystem" /><category scheme="http://www.blogger.com/atom/ns#" term="workflow" /><category scheme="http://www.blogger.com/atom/ns#" term="content" /><title>video distribution and the blogosphere</title><content type="html">After having this blog for a few years now, I've been thinking about the entire chain of events that occur when producing a video.  So I mapped out the different components  of this production workflow in relation to distribution and marketing via the blogosphere.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Blogging Ecosystem&lt;/span&gt;&lt;br /&gt;In the clickable map below, I've listed the major steps in the production chain, as well as specific subjects within each step.  Go ahead and click on anything in the picture and it will take you to a summary of that particular topic or a direct resource on the web.  Some of this is old hat for readers, but it was helpful to see it holistically, as an ecosystem of sorts.  The flow represents a way to distribute one's video creations (content) over the web and get some eyes looking at that content.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://content.serveftp.net/content/bloggingEcosystem.html"&gt;&lt;img style="cursor: pointer; width: 400px; height: 278px;" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/SShpKo-9kJI/AAAAAAAAAlY/nIG4IiN1dyU/s400/bloggingEcosystem.gif" alt="" id="BLOGGER_PHOTO_ID_5271578995358273682" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;(the graphic is hotlinked, so click on a subject for further investigation)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Summary&lt;br /&gt;In general, the white boxes represent steps that the producer is responsible for; the blue box represent actions taken by the consumers of the content.  The main steps are:&lt;br /&gt;-having an idea for a video and storyboarding (not shown)&lt;br /&gt;-acquiring source content (video/audio/imagery)&lt;br /&gt;-bringing the idea to life via a production workflow&lt;br /&gt;-distributing that video via the web&lt;br /&gt;-syndicating the content via rss feed&lt;br /&gt;-having individuals consume that feed&lt;br /&gt;-monitoring and analyzing the consumption&lt;br /&gt;-promoting and marketing of content&lt;br /&gt;-perhaps making some money one day&lt;br /&gt;&lt;br /&gt;Detail&lt;br /&gt;If you click on any part of the graph, you'll be able to dig down further into the resources I've provided.  As it will require some explaining, I'll probably do a follow up video to this graphic.&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-7717295304941702773?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xMreUN6ijUx3X2EsJbTO42YGi0g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xMreUN6ijUx3X2EsJbTO42YGi0g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xMreUN6ijUx3X2EsJbTO42YGi0g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xMreUN6ijUx3X2EsJbTO42YGi0g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/IOFfUFHsSP8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/7717295304941702773/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=7717295304941702773" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/7717295304941702773?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/7717295304941702773?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/IOFfUFHsSP8/video-distribution-and-blogosphere.html" title="video distribution and the blogosphere" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_bcLw_LVf5nA/SShpKo-9kJI/AAAAAAAAAlY/nIG4IiN1dyU/s72-c/bloggingEcosystem.gif" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2008/11/video-distribution-and-blogosphere.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UDSHgyeCp7ImA9WxVRF08.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-4446401509378822804</id><published>2008-11-21T17:10:00.015-05:00</published><updated>2009-01-23T09:34:39.690-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-23T09:34:39.690-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="1080p" /><category scheme="http://www.blogger.com/atom/ns#" term="blu-ray" /><title>burning blu-ray discs on Linux</title><content type="html">If I actually get a camera that can do 1080p, I'm going to have to have some means of distribution.&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;Update 2009/01/11&lt;/span&gt;&lt;br /&gt;Gosh darnit, &lt;a href="http://crazedmuleproductions.blogspot.com/2009/01/water-new-canon-5d-video.html"&gt;I DID get a new cam&lt;/a&gt;! Hooray!&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;*** end update ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Blu ray seems the best bet. For testing, I'd opt to use the Blu ray rewriteable format, BD-RE.&lt;br /&gt;&lt;br /&gt;From a few hours of research, these facts appear:&lt;br /&gt;1) It IS possible to write blu ray &lt;span style="FONT-STYLE: italic"&gt;data discs&lt;/span&gt; via the dvd+rw-tools. See Technical discussion and Burning links below&lt;br /&gt;2) The burning of blu ray &lt;span style="FONT-STYLE: italic"&gt;video discs&lt;/span&gt; to be played in consumer players may be possible in the dvd+rw-tools, but should be definetly possible in the Nero 3 product for Linux (around $25). This bears testing.&lt;br /&gt;&lt;br /&gt;Final Thoughts&lt;br /&gt;Prices are still high: $300-$400 for an internal burner and roughly $10 per disc. Testing these options out will be essential.&lt;br /&gt;&lt;br /&gt;the mule&lt;br /&gt;&lt;br /&gt;Blu Ray US site&lt;br /&gt;&lt;a href="http://www.blu-raydisc.com/bluray_site.htm"&gt;http://www.blu-raydisc.com/bluray_site.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Technical discussion of dvd+rw-tools methodology&lt;br /&gt;&lt;a href="http://fy.chalmers.se/~appro/linux/DVD+RW/"&gt;http://fy.chalmers.se/~appro/linux/DVD+RW/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Burning BD-RE disks with dvd+rw-tools&lt;br /&gt;&lt;a href="http://forums.aliensoup.com/showthread.php?t=24180"&gt;http://forums.aliensoup.com/showthread.php?t=24180&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Untested open source blu ray authoring tools *&lt;br /&gt;&lt;a href="http://linux.softpedia.com/get/Multimedia/Video/Blu-ray-video-authoring-tools-28112.shtml"&gt;http://linux.softpedia.com/get/Multimedia/Video/Blu-ray-video-authoring-tools-28112.shtml&lt;/a&gt;&lt;br /&gt;* UDF generator, does not generate ISO9660 structures&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Update 1/23/2009&lt;/span&gt;&lt;br /&gt;Looks like these tools compile under 32-bit systems, but not 64-bit systems. A user (E Chalaron) got this to work under 32-bit Ubuntu Feisty. Thanks E!&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;*** end update ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Nero 3 Linux product&lt;br /&gt;&lt;a href="http://club.cdfreaks.com/f104/blu-ray-burning-hw-support-236218/"&gt;http://club.cdfreaks.com/f104/blu-ray-burning-hw-support-236218/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.burnworld.com/software/cdrburning/linux.htm"&gt;http://www.burnworld.com/software/cdrburning/linux.htm&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.nero.com/enu/linux3.html?NeroSID=75c7543438b27626c11913f2ed0c329e"&gt;http://www.nero.com/enu/linux3.html?NeroSID=75c7543438b27626c11913f2ed0c329e&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Recent prices&lt;br /&gt;&lt;a href="http://club.cdfreaks.com/f142/blu-ray-blank-media-player-recorder-prices-japan-254787/"&gt;http://club.cdfreaks.com/f142/blu-ray-blank-media-player-recorder-prices-japan-254787/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hardware&lt;br /&gt;&lt;a href="http://www.addonics.com/support/application_notes/app_hd.asp"&gt;http://www.addonics.com/support/application_notes/app_hd.asp&lt;/a&gt;&lt;br /&gt;LG BE06LU11 Blu-ray&lt;br /&gt;LG GGW-H10N Blu-ray/HD-DVD&lt;br /&gt;&lt;a href="http://www.cdfreaks.com/reviews/LG-GBW-H10N-Super-Multi-Blu-ray-Burner-Review" target="_blank"&gt;LG GBW-H10N Blu-ray&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cdfreaks.com/reviews/Panasonic-SW-5582-Blu-ray-Burner-Review/" target="_blank"&gt;Panasonic SW-5582 Blu-ray&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Playing BluRay/HDDVD under Ubuntu&lt;br /&gt;&lt;a href="https://help.ubuntu.com/community/RestrictedFormats/BluRayAndHDDVD"&gt;https://help.ubuntu.com/community/RestrictedFormats/BluRayAndHDDVD&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Other Options&lt;/span&gt;&lt;br /&gt;Perhaps run HD DVD Fab under Wine&lt;br /&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=763837"&gt;http://ubuntuforums.org/showthread.php?t=763837&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Google, dammit&lt;br /&gt;&lt;a href="http://www.google.com/search?num=100&amp;amp;hl=en&amp;amp;rls=com.microsoft%3Aen-us&amp;amp;q=burn+blu+ray+video+in+linux"&gt;http://www.google.com/search?num=100&amp;amp;hl=en&amp;amp;rls=com.microsoft%3Aen-us&amp;amp;q=burn+blu+ray+video+in+linux&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Other BluRay references&lt;br /&gt;&lt;a href="http://sourceforge.net/projects/blurayauthor/"&gt;http://sourceforge.net/projects/blurayauthor/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-4446401509378822804?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nichQdYPwc_ilgK_p3RNyKgajdQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nichQdYPwc_ilgK_p3RNyKgajdQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nichQdYPwc_ilgK_p3RNyKgajdQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nichQdYPwc_ilgK_p3RNyKgajdQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/J3TQpSlXayo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/4446401509378822804/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=4446401509378822804" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/4446401509378822804?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/4446401509378822804?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/J3TQpSlXayo/burning-blu-ray-discs-on-linux.html" title="burning blu-ray discs on Linux" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2008/11/burning-blu-ray-discs-on-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQMSHc-eyp7ImA9WxVXF08.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-2927493932719887565</id><published>2008-11-17T22:42:00.030-05:00</published><updated>2009-02-15T13:43:09.953-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-15T13:43:09.953-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="rpm fusion" /><category scheme="http://www.blogger.com/atom/ns#" term="dependencies" /><category scheme="http://www.blogger.com/atom/ns#" term="fedora 9" /><category scheme="http://www.blogger.com/atom/ns#" term="git" /><category scheme="http://www.blogger.com/atom/ns#" term="64-bit" /><category scheme="http://www.blogger.com/atom/ns#" term="cinelerra" /><title>Fedora 9 x86-64, Cinelerra dependencies</title><content type="html">I'm happy to report that the installation of Fedora 9 x86-64 went very smoothly tonight. I yanked down a DVD install &lt;a href="http://fedoraproject.org/en/get-fedora"&gt;from here via torrent&lt;/a&gt;. I then burnt an ISO dvd of Fedora 9 using &lt;a href="http://crazedmuleproductions.blogspot.com/2008/02/creating-bootable-iso-in-linux.html"&gt;my own instructions here&lt;/a&gt;. From the perspective of a Cinelerra advocate, the biggest change from Fedora 7 is that Fedora 9 is more reliant on the ATrpms repository for Cinelerra source code dependencies.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Update 2009/02/15&lt;/span&gt;&lt;br /&gt;Since writing this article, I've had very strange crashes and hangs from Cinelerra on Fedora 9.  So I've moved on to using Fedora 10 x86-64.  The general steps listed below to install Cinelerra still apply, but here's a post that summarizes the steps on &lt;a href="http://crazedmuleproductions.blogspot.com/2009/02/fedora-10-x86-64-cinelerra-build.html"&gt;how to build Cinelerra from source on Fedora 10, x86-64&lt;/a&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;*** end update ***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Advice on the Use of Repositories&lt;/strong&gt;&lt;br /&gt;As a general note, &lt;span style="FONT-STYLE: italic"&gt;use as few repositories as possible&lt;/span&gt; for the various Cinelerra dependencies. Mixing many repos will result in a compile that doesn't work or worse, poor performance or odd behavior in Cinelerra resulting from slightly incompatible libraries. I've lived both and the latter is far worse because you'll spend hours or days pulling your hair out when, in the end, you've got some natty problem that only occurs between this library or that library. Ugh! I get the shivers just thinking about it!&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Building Cinelerra from Source?&lt;/span&gt;&lt;br /&gt;If you're using Cinelerra on Fedora 9 and want to build Cinelerra from source, here's what you need to do. &lt;span style="TEXT-DECORATION: line-through"&gt;There will be only three repos needed:&lt;br /&gt;1) Fedora&lt;br /&gt;2) ATrpms&lt;br /&gt;3) Freshrpms (only for mjpegtools)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;12/17/2008 NOTE on my strikethrough above&lt;/span&gt;&lt;br /&gt;It was brought to my attention that RPM Fusion is the new repository of the repositories for Fedora (&lt;a href="http://crazedmuleproductions.blogspot.com/2008/12/fedora-9-cinelerra-deps-atrpms-note.html"&gt;a note about Fedora and ATrpms&lt;/a&gt;). As I experimented more with my Fedora 9 build, I found an issue with Cinelerra hanging that I will describe in a later post. I fixed the problem by removing the ATrpms dependencies and adding RPMFusion as the only additional Fedora repository.&lt;br /&gt;&lt;br /&gt;To reiterate, going forward, I am only using RPM Fusion in addition to Fedora's own repo.&lt;br /&gt;&lt;br /&gt;The text below has been updated to reflect this new reality.&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;end NOTE&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There will be only two repos needed:&lt;br /&gt;1) Fedora&lt;br /&gt;2) RPM Fusion&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Here are the steps&lt;/span&gt;&lt;br /&gt;1) install base Fedora 9 by selecting Office/Productivity and Development tools&lt;br /&gt;&lt;br /&gt;2) The set of Cinelerra dependencies will come mainly from the RPM Fusion repository, so add the Fusion repo from here:&lt;br /&gt;&lt;a href="http://rpmfusion.org/Configuration"&gt;http://rpmfusion.org/Configuration&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3) In addition to the Fedora repo, you'll now have RPMFusion added as a repository. Use the following script to install core programs for the Cinelerra build. Don't forget to chmod a+x your script!&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;yum install gsm-devel \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libvorbis* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libogg* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libtool* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libtheora* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libpng* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libjpeg* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libtiff* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;esound* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;audiofile* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libraw1394* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libavc1394* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;freetype* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;fontconfig* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;nasm \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;e2fsprogs* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;OpenEXR* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;fftw \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;fftw-devel \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libsndfile* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libiec61883* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libdv*&lt;/span&gt;&lt;/span&gt; \&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;libquicktime \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;xvidcore* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;lame \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;lame-devel \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;a52* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;faad2* \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;x264* \&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New;"&gt;mjpegtools \&lt;/span&gt; &lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;faac* &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4) As the Cinelerra CVS source code is no longer available via subversion, install git:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;yum install git&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here's a &lt;a href="http://www.37signals.com/svn/posts/1071-git-smart-how-were-using-git-to-track-our-source-code"&gt;good intro to git&lt;/a&gt;&lt;br /&gt;Another good git reference&lt;br /&gt;&lt;a href="http://www-cs-students.stanford.edu/~blynn/gitmagic/ch02.html"&gt;http://www-cs-students.stanford.edu/~blynn/gitmagic/ch02.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here are a couple useful git commands:&lt;br /&gt;To find an earlier version of source code:&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;git whatchanged --since="20 weeks ago"&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;To checkout an earlier version of source code:&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;git checkout [revision number]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;example:&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;git checkout d91e062cadb8a5a7b8c35e9092234948d6918767&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;5) Grab the Cinelerra CVS source:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;git clone git://git.cinelerra.org/j6t/cinelerra.git cinelerra_source&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;6) Run autogen.sh&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[mule@ogre cinelerra_source]# ./autogen.sh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;User defined paths to the preferred autoconf and automake versions.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Read the script if you would like to modify them.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;AUTOMAKE=automake&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ACLOCAL=aclocal&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;AUTOCONF=autoconf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;AUTOHEADER=autoheader&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;..&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;7) Run configure&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[mule@ogre cinelerra_source]# ./configure&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;checking build system type... x86_64-unknown-linux-gnu&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;checking host system type... x86_64-unknown-linux-gnu&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;checking target system type... x86_64-unknown-linux-gnu&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;checking for a BSD-compatible install... /usr/bin/install -c&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;checking whether build environment is sane... yes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;checking for a thread-safe mkdir -p... /bin/mkdir -p&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;checking for gawk... gawk&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;..&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;8) Hopefully, configure ran properly and shows that you have all the prerequisites for a build from source:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Summary of mandatory components:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libogg found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libvorbis found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libvorbisenc found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libvorbisfile found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libtheora found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;OpenEXR found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libdv found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libpng found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libjpeg libraries found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libjpeg headers found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libtiff libraries found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libtiff headers found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;FreeType 2 found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libx264 libraries found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libx264 headers found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libuuid libraries found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libuuid headers found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;mjpegtools found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libfftw3 libraries found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libfftw3 headers found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;liba52 libraries found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;liba52 headers found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libmp3lame libraries found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libmp3lame headers found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libsndfile libraries found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libsndfile headers found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libfaac libraries found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libfaac headers found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libfaad libraries found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libfaad headers found&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Summary of optional components:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ESD subsystem found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ESD (Enlightenment Sound Daemon) is enabled&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ALSA subsystem found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ALSA is enabled&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libraw1394 found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libiec61883 found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libavc1394 libraries found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libavc1394 headers found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;librom1394 libraries found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;librom1394 headers found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Firewire is enabled&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;OpenGL 2.0 libraries found&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Hardware acceleration using OpenGL 2.0 is enabled&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Now type&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;make&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;to start compilation.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;9) Run "make"&lt;br /&gt;&lt;br /&gt;10) Hopefully, there were no errors on make, so run "make install"&lt;br /&gt;&lt;br /&gt;11) As the topper, don't forget to install some media players and extra encoding tools!:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;yum install avidemux mencoder mplayer transcode audacious vnc&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Good luck!&lt;br /&gt;The Mule&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;Update 2008/11/23&lt;/span&gt;&lt;br /&gt;I verified that importing live HDV video from my cam via test-mpeg2 still works. This is done with the following command:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;test-mpeg2 -r [node] [file]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;end update&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-2927493932719887565?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qObhlWON-V60Eu02UKgbQhyI398/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qObhlWON-V60Eu02UKgbQhyI398/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qObhlWON-V60Eu02UKgbQhyI398/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qObhlWON-V60Eu02UKgbQhyI398/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/qr_1i8dsxOE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/2927493932719887565/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=2927493932719887565" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/2927493932719887565?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/2927493932719887565?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/qr_1i8dsxOE/fedora-9-x86-64-install.html" title="Fedora 9 x86-64, Cinelerra dependencies" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2008/11/fedora-9-x86-64-install.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04CQXo9fCp7ImA9WxVSE04.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-7319834224291817093</id><published>2008-11-16T16:50:00.028-05:00</published><updated>2009-01-07T09:52:40.464-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-07T09:52:40.464-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="1080p" /><category scheme="http://www.blogger.com/atom/ns#" term="ffplay" /><category scheme="http://www.blogger.com/atom/ns#" term="canon 5d mark ii" /><category scheme="http://www.blogger.com/atom/ns#" term="macbook pro" /><category scheme="http://www.blogger.com/atom/ns#" term="MediaGate" /><category scheme="http://www.blogger.com/atom/ns#" term="tokyo reality" /><category scheme="http://www.blogger.com/atom/ns#" term="cinelerra" /><category scheme="http://www.blogger.com/atom/ns#" term="xine" /><category scheme="http://www.blogger.com/atom/ns#" term="mplayer" /><title>playing Tokyo Reality in 1080p</title><content type="html">The guys at &lt;a href="http://www.akihabaranews.com/"&gt;Akihabara News&lt;/a&gt; got their hands on a &lt;a href="http://www.amazon.com/gp/product/B001G5ZTLS?ie=UTF8&amp;tag=crazmuleprod-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B001G5ZTLS"&gt;Canon EOS 5D Mark II&lt;/a&gt;&lt;img src="http://www.assoc-amazon.com/e/ir?t=crazmuleprod-20&amp;l=as2&amp;o=1&amp;a=B001G5ZTLS" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /&gt; and produced some beautiful (though shakey) video while running and gunning around Tokyo:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bcLw_LVf5nA/SSCbYN8LKBI/AAAAAAAAAk4/NTxpyqRjs2w/s1600-h/Screenshot-FFplay.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5269382404384696338" style="width: 320px; cursor: pointer; height: 197px;" alt="" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/SSCbYN8LKBI/AAAAAAAAAk4/NTxpyqRjs2w/s320/Screenshot-FFplay.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The video &lt;a href="http://www.vimeo.com/2125645"&gt;is on Vimeo&lt;/a&gt;, but the guys kindly also made the 1080p source &lt;a href="http://www.akihabaranews.com/en/news-17029-Download+Now+our+Full+HD+Canon%27s+5D+Mark+II+Video+%3A+The+World%27s+First+Forbidden+HD+Video.html"&gt;available here&lt;/a&gt;. I downloaded the gigantic 1.8GB Torrent &lt;a href="http://www.mininova.org/get/2010025"&gt;from here&lt;/a&gt;. That is 1.8GB for six minutes and ten seconds of video. Wow!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Linux Playback&lt;/span&gt;&lt;br /&gt;I wanted to see which media players could handle such a large file. Here were my results on my Fedora 7 x86-64 system:&lt;br /&gt;- dual quad core, 1.6Ghz&lt;br /&gt;- 2GB&lt;br /&gt;- NVidia 8800GT dual head system with twin Dell FP1905 monitors&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mplayer &lt;/span&gt;played the file cleanly if the application window was stretched to a max of about 1400 pixels wide. Any wider, and mplayer would stutter.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;xine &lt;/span&gt;couldn't play the file as it seems I do not have the correct codec installed. I got the dreaded "file uses an unsupported codec" error:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bcLw_LVf5nA/SSCXdCxpKNI/AAAAAAAAAko/tLop4eMo-z4/s1600-h/Screenshot-Start+Playback+%3F.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5269378089240570066" style="width: 320px; cursor: pointer; height: 182px;" alt="" src="http://4.bp.blogspot.com/_bcLw_LVf5nA/SSCXdCxpKNI/AAAAAAAAAko/tLop4eMo-z4/s320/Screenshot-Start+Playback+%3F.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ffplay &lt;/span&gt;played it with slight audio stutters and the following error:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[mpeg4aac @ 0x3947e23ca0]faac: frame decoding failed: Gain control not yet implemented&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I will have to investigate this.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 2008/11/23&lt;/span&gt;&lt;br /&gt;Reviewing Google for this error, most of the suggestions for fixing the problem state that you should have the latest version of faad2/faac. According to the developer at &lt;a href="http://www.audiocoding.com/"&gt;www.audiocoding.com&lt;/a&gt;, I do:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; faac                    x86_64     1.26-3.fc9       installed         182 k&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; faac-devel              x86_64     1.26-3.fc9       installed          49 k&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; faad2                   x86_64     1:2.6.1-10.fc9   installed         344 k&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; faad2-devel             x86_64     1:2.6.1-10.fc9   installed         414 k&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So, I'm at a loss why these messages are occurring.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;end update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I converted Tokyo Reality using mjpeg as the video compression method:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -i Tokyo-Reality-h264-1080p.mp4 -b 3000k -vcodec mjpeg -ab 256k -ar 44100 -acodec mpeg4aac -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me hex -subq 5 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 tokyo.mp4&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On my Dell SC1430, 1.6Ghz with eight cores, the conversion took about the same time as the file was long, about 6 minutes, 10 seconds.  The size of the original was 1.8GB; the size of the conversion was 1.6GB.  Not much difference there.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 2008/11/22&lt;/span&gt;&lt;br /&gt;I compared the output of the original to the output of the MJPEG conversion.  On the left of the below screengrab is the original from Akihabara.  On the right is my conversion.  You'll notice that the converted image on the right is slightly more saturated than the one on the left.  I'll have to play with the conversion parameters to get the colors a little more like the original.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bcLw_LVf5nA/SSjhBpZT5eI/AAAAAAAAAlg/9fe8VDQpQho/s1600-h/twoTokyos.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 160px;" src="http://4.bp.blogspot.com/_bcLw_LVf5nA/SSjhBpZT5eI/AAAAAAAAAlg/9fe8VDQpQho/s400/twoTokyos.png" alt="" id="BLOGGER_PHOTO_ID_5271710782245299682" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;end update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When I replayed this video, within about four minutes, I exhausted 2GB of RAM and 4GB of swap. Holy crap! The normal Cinelerra editing functions (cutting/pasting) did not exacerbate this memory issue. Only the replay function seemed to suck up all my memory:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_bcLw_LVf5nA/SSLvxGV2gjI/AAAAAAAAAlI/wwIK5ahKxZ8/s1600-h/memoryfull.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 247px;" src="http://3.bp.blogspot.com/_bcLw_LVf5nA/SSLvxGV2gjI/AAAAAAAAAlI/wwIK5ahKxZ8/s320/memoryfull.jpg" alt="" id="BLOGGER_PHOTO_ID_5270038140771795506" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The replay was a little choppy at the beginning, but ran at 30fps. However, as RAM filled up, playback performance dropped to 12fps, as RAM was exhausted and swap was being utilized.  Once swap was exhausted, &lt;em&gt;the entire box locked up!&lt;/em&gt;  Scary!!&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 2008/11/17&lt;/span&gt;&lt;br /&gt;I had been planning on &lt;a href="http://crazedmuleproductions.blogspot.com/2008/11/fedora-9-x86-64-install.html"&gt;upgrading my system to Fedora 9&lt;/a&gt; and the above memory leak was enough for me to say "fuck it" and just do the upgrade. Upgrades are increasingly complex as I've added four RAID drives to my setup. Well, just when you think it is going to be a nightmare, along comes Fedora and actually made the process pretty seemless. Within two hours, I had Fedora 9 installed, all my Cinelerra source dependencies installed, Cinelerra compiled and up and running. Of course, this is from a guy who has been doing this for how many years now? But still..two hours..I hardly believe it myself.&lt;br /&gt;&lt;br /&gt;The icing on the cake is that my memory leak is no longer present!  The below chart show CPU utilization and memory while the video plays:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bcLw_LVf5nA/SSIbjyw2bcI/AAAAAAAAAlA/sW9P-NWUU3k/s1600-h/Screenshot-System+Monitor.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5269804815712939458" style="width: 262px; height: 320px;" alt="" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/SSIbjyw2bcI/AAAAAAAAAlA/sW9P-NWUU3k/s320/Screenshot-System+Monitor.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So far, the system is much more responsive than the old Fedora 7, 64-bit. I guess I had some old/outdated/corrupted libraries in there. Now playback of Tokyo Reality in Cinelerra is more consistent, albeit at a slower 19fps.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;end update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;MacBook Pro Playback&lt;/span&gt;&lt;br /&gt;I next copied the file to my 2GB, dual core Intel 2.2Ghz &lt;a href="http://www.amazon.com/gp/product/B0006HU56Q?ie=UTF8&amp;amp;tag=crazmuleprod-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B0006HU56Q"&gt;MacBook Pro 17"&lt;/a&gt;. I attached my 42inch display to the second head on the MacBook's video card. The file played in QuickTime. It played without errors when I manually enlarged the Quicktime window to fill the screen; however, QuickTime stuttered when the video was maximized to Full Screen using the 42" monitor as the output display.&lt;br /&gt;&lt;br /&gt;Finally, I tried to play the file on my MediaGate to absolutely no avail.&lt;br /&gt;&lt;br /&gt;So, it looks like the only reliable players are mplayer on Fedora 7 and QuickTime on my MacBook Pro.&lt;br /&gt;&lt;br /&gt;I think I need to &lt;a href="http://crazedmuleproductions.blogspot.com/2008/11/fedora-9-x86-64-install.html"&gt;upgrade my Fedora 7 system to a newer OS&lt;/a&gt;. Hopefully, a more recent OS and supporting encoders/decoders will do a better job of playing these large files back.&lt;br /&gt;&lt;br /&gt;The Mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-7319834224291817093?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7C7er_bg08Bpb6otGe7tKmm39QY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7C7er_bg08Bpb6otGe7tKmm39QY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7C7er_bg08Bpb6otGe7tKmm39QY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7C7er_bg08Bpb6otGe7tKmm39QY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/QR6pnj1OC3c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/7319834224291817093/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=7319834224291817093" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/7319834224291817093?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/7319834224291817093?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/QR6pnj1OC3c/playing-tokyo-reality-in-1080p.html" title="playing Tokyo Reality in 1080p" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_bcLw_LVf5nA/SSCbYN8LKBI/AAAAAAAAAk4/NTxpyqRjs2w/s72-c/Screenshot-FFplay.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2008/11/playing-tokyo-reality-in-1080p.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IMQn8-eip7ImA9WxRaEk8.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-269624219359845778</id><published>2008-11-16T10:24:00.011-05:00</published><updated>2008-12-13T21:26:23.152-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-13T21:26:23.152-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="knoppix" /><category scheme="http://www.blogger.com/atom/ns#" term="mdadm" /><category scheme="http://www.blogger.com/atom/ns#" term="partition" /><category scheme="http://www.blogger.com/atom/ns#" term="raid" /><category scheme="http://www.blogger.com/atom/ns#" term="fedora 9" /><category scheme="http://www.blogger.com/atom/ns#" term="partimage" /><title>using partimage with RAID</title><content type="html">&lt;span style="font-weight: bold;"&gt;Background&lt;/span&gt;&lt;br /&gt;As I am planning on a purchase of a 1080p cam, I will need my system to be up on the latest and greatest kernal and software to get the highest performance from Cinelerra.  In that light, I'd like to backup my current Fedora 7 boot and root filesystems, just in case something goes wrong with the Fedora 9 install.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Partimage and My System&lt;/span&gt;&lt;br /&gt;I will use partimage to backup these filesystems.  Partimage will need to see source and destination filesystems.  My first task is to figure out what I have.  I built this system over a year ago and don't remember all the specifics of which physical drive has x or y filesystems.  I could go back into my notes to find out how I partitioned my system, but that would be cheating.  So let's see what the filesystem tells me.&lt;br /&gt;&lt;br /&gt;The first thing I do is look at the output of df:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[mule@ogre ~]# df -m&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Filesystem           1M-blocks      Used Available Use% Mounted on&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;/dev/md0                457295      6720    426972   2% /&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;/dev/md2                469453    417004     28602  94% /mnt/videos&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;/dev/sda1                   99        19        76  20% /boot&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;tmpfs                     1007         0      1007   0% /dev/shm&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I have two RAID devices, one mounted as my root partition (/dev/md0) and one mounted as my video storage (/dev/md2).  Next, I see that /dev/sda1 is my boot partition.  Finally, there is a filesystem defined for &lt;a href="http://fscked.org/writings/SHM/shm-1.html#ss1.1"&gt;shared memory&lt;/a&gt;, though I am not concerned about saving the contents of that as it is RAM.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How It Works&lt;/span&gt;&lt;br /&gt;Partimage backs up filesystems that are not mounted.  But partimage is started from a bootable rescue disk, like Knoppix or SysRescCd.  The twist here is that I am using RAID partitions.  Thus, when I boot with one of these CDs, I will need to assemble my RAID drives in order to have a source to backup (my root filesystem) and a destination to write to (my /mnt/videos filesystem).  Partimage will not use a mounted filesystem as a source, but I will need to mount the destination.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Assembling My RAID Drives&lt;/span&gt;&lt;br /&gt;I have forgotten the configuration of my RAID drives, so I look at /etc/mdadm.conf to figure out what partitions and UUIDs make up my two RAID sets:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[mule@ogre ~]# cat /etc/mdadm.conf &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# mdadm.conf written out by anaconda&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;DEVICE partitions&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;MAILADDR root&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ARRAY /dev/md0 level=raid0 num-devices=2 uuid=c0d4b597:c33b3014:ab694cee:76920165&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ARRAY /dev/md2 level=raid1 num-devices=2 UUID=1705b387:1c71d83e:364b60b4:fb0cc192&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This tells me that my root partition (/dev/md0) is a stripe set (RAID0) and that the storage for my important stuff, all my videos in /mnt/video is mirrored (RAID1) in case of a failure.  I'm glad I built the system this way, as I like the performance benefits of a stripe set for my root partition, but I would consider it tragic if I lost all my work.  Therefore, I've mirrored the video drive on two drives in case of a failure.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Video Display Problem with Linux and NVidia Card&lt;/span&gt;&lt;br /&gt;For some reason I have not figured out, I cannot see virtual consoles once I exit Gnome.  This is due to some incompatibility between the NVidia 8800GT card and my Dell SC1430.  This also effects the display when I boot with either &lt;a href="http://www.knoppix.com/"&gt;Knoppix&lt;/a&gt; or &lt;a href="http://www.sysresccd.org/Main_Page"&gt;SysRescCD&lt;/a&gt;.  Using these tools, the screen goes black and I can't see any terminal sessions or virtual consoles.  Therefore, in order to use the boot cd, I removed the NVidia card and booted using Dell's ATI ES1000 onboard video.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Booting with Knoppix&lt;/span&gt;&lt;br /&gt;Once Knoppix is fully booted, I need to assemble my two RAID partitions.  You can use either use the UUID or the super-minor number of each RAID set to do this.  I chose the super-minor, as it was simpler. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Assemble the Source RAID set&lt;/span&gt;&lt;br /&gt;Here I am assembling the source drive, my root filesystem:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;root@Knoppix:/ramdisk/home/knoppix# modprobe md&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;root@Knoppix:/ramdisk/home/knoppix# mdadm --assemble -m 0 /dev/md0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Mount the Destination Partition&lt;/span&gt;&lt;br /&gt;Since I want to store the backup image on the same mirrored drive set that holds my videos, I'll mount that partition as the destination for the partimage.  Of course, I first have to create the mount point:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;mkdir /mnt/videos&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;mount -t ext3 /dev/md2 /mnt/videos&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Run Partimage to Backup Root Partition&lt;/span&gt;&lt;br /&gt;I'll need three things to run partimage:&lt;br /&gt;-an assembled RAID set of the source, my root/boot partitions, unmounted&lt;br /&gt;-an assembled RAID set of the destination, mounted&lt;br /&gt;-a compression method&lt;br /&gt;&lt;br /&gt;Here's the partimage process:&lt;br /&gt;1) Select the partition to save and give the backup a destination and name.  Note that the "Save partition into an image file" is selected as the default behavior:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bcLw_LVf5nA/SSB80Ub1dYI/AAAAAAAAAjw/BWkgDLLxP5s/s1600-h/partimage1.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 222px;" src="http://1.bp.blogspot.com/_bcLw_LVf5nA/SSB80Ub1dYI/AAAAAAAAAjw/BWkgDLLxP5s/s320/partimage1.jpg" alt="" id="BLOGGER_PHOTO_ID_5269348802303980930" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2) Select a compression method:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bcLw_LVf5nA/SSB80_51r9I/AAAAAAAAAj4/-ZoesVNPyhY/s1600-h/partimage2.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 222px;" src="http://3.bp.blogspot.com/_bcLw_LVf5nA/SSB80_51r9I/AAAAAAAAAj4/-ZoesVNPyhY/s320/partimage2.jpg" alt="" id="BLOGGER_PHOTO_ID_5269348813972549586" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3) Give the backup image a description (optional):&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bcLw_LVf5nA/SSB81BEA6oI/AAAAAAAAAkA/dic8WmC723A/s1600-h/partimage3.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 222px;" src="http://3.bp.blogspot.com/_bcLw_LVf5nA/SSB81BEA6oI/AAAAAAAAAkA/dic8WmC723A/s320/partimage3.jpg" alt="" id="BLOGGER_PHOTO_ID_5269348814283664002" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4) Partimage takes a few minutes to gather information about large (500GB+ drives), but then displays basic information about the partition to be backed up:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bcLw_LVf5nA/SSB81fzOk4I/AAAAAAAAAkI/oyXpJZUqOHU/s1600-h/partimage4.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 222px;" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/SSB81fzOk4I/AAAAAAAAAkI/oyXpJZUqOHU/s320/partimage4.jpg" alt="" id="BLOGGER_PHOTO_ID_5269348822534755202" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5) Partimage starts the imaging process.  I had about 6GB to backup:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bcLw_LVf5nA/SSB81mT0QuI/AAAAAAAAAkQ/5E76nrMwRsM/s1600-h/partimage5.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 222px;" src="http://1.bp.blogspot.com/_bcLw_LVf5nA/SSB81mT0QuI/AAAAAAAAAkQ/5E76nrMwRsM/s320/partimage5.jpg" alt="" id="BLOGGER_PHOTO_ID_5269348824282055394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;6) Partimage took about 20 minutes to create the backup image:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bcLw_LVf5nA/SSB-Reej9kI/AAAAAAAAAkY/z7eIcpB2rj0/s1600-h/partimage6.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 222px;" src="http://3.bp.blogspot.com/_bcLw_LVf5nA/SSB-Reej9kI/AAAAAAAAAkY/z7eIcpB2rj0/s320/partimage6.jpg" alt="" id="BLOGGER_PHOTO_ID_5269350402727605826" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Backup complete.  The restore process is similar, but instead of backing up an image file as in Step 1 above, you'll choose the "Restore Partition from an image file" option.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Run Partimage for Boot Partition&lt;/span&gt;&lt;br /&gt;Since my boot partition is small 128MB, creating a backup image shouldn't take very long.  My boot partition is /dev/sda1&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bcLw_LVf5nA/SSB-Ry7ovUI/AAAAAAAAAkg/7yGNjmgVF0c/s1600-h/partimage7.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 222px;" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/SSB-Ry7ovUI/AAAAAAAAAkg/7yGNjmgVF0c/s320/partimage7.jpg" alt="" id="BLOGGER_PHOTO_ID_5269350408218262850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now I should be ready to an upgrade to Fedora 9.  One hurdle I already see: the Fedora 9 installation doesn't recognize pre-existing RAID sets.  Yarg.  Looks like I might have to blow away the existing stripe set that is home to my root partition.  Let you know how that goes.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 11/17/2008&lt;/span&gt;&lt;br /&gt;The Fedora 9 x86-64 install went well.  Here are some of the natty details:&lt;br /&gt;&lt;a href="http://crazedmuleproductions.blogspot.com/2008/11/fedora-9-x86-64-install.html"&gt;http://crazedmuleproductions.blogspot.com/2008/11/fedora-9-x86-64-install.html&lt;/a&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;end update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Good day,&lt;br /&gt;The Mule&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;References&lt;/span&gt;&lt;br /&gt;&lt;a href="http://linux.die.net/man/8/mdadm"&gt;mdadm man page&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-269624219359845778?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Aox08-2Dkxvzt4BlUF0EuqKgjQ4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Aox08-2Dkxvzt4BlUF0EuqKgjQ4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Aox08-2Dkxvzt4BlUF0EuqKgjQ4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Aox08-2Dkxvzt4BlUF0EuqKgjQ4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/LUtdsD1xIA8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/269624219359845778/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=269624219359845778" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/269624219359845778?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/269624219359845778?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/LUtdsD1xIA8/fedora-9-prep-using-partimage-wraid.html" title="using partimage with RAID" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_bcLw_LVf5nA/SSB80Ub1dYI/AAAAAAAAAjw/BWkgDLLxP5s/s72-c/partimage1.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2008/11/fedora-9-prep-using-partimage-wraid.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04NQ387fip7ImA9WxVSE04.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-7343209417798286706</id><published>2008-11-06T21:53:00.013-05:00</published><updated>2009-01-07T09:53:12.106-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-07T09:53:12.106-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="video effect" /><category scheme="http://www.blogger.com/atom/ns#" term="resize track" /><category scheme="http://www.blogger.com/atom/ns#" term="1080p" /><category scheme="http://www.blogger.com/atom/ns#" term="test video" /><category scheme="http://www.blogger.com/atom/ns#" term="decimate" /><category scheme="http://www.blogger.com/atom/ns#" term="canon 5d mark ii" /><category scheme="http://www.blogger.com/atom/ns#" term="cinelerra" /><title>converting 1080p video, part III</title><content type="html">Here is another experiment in order to justify my planned expenditure of $4000 on the &lt;a href="http://www.amazon.com/gp/product/B001G5ZTLS?ie=UTF8&amp;tag=crazmuleprod-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B001G5ZTLS"&gt;Canon EOS 5D Mark II&lt;/a&gt;&lt;img src="http://www.assoc-amazon.com/e/ir?t=crazmuleprod-20&amp;l=as2&amp;o=1&amp;a=B001G5ZTLS" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /&gt;.  Down the road of doom I plod, unabated in my quest.&lt;br /&gt;&lt;br /&gt;If I am to get the new Canon, I will be integrating some of its video along with video from my current 720p cam, the JVC HD10U.  Therefore as a test, I threw some test 1080p video from the Canon and output from my JVC together on the timeline in Cinelerra.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Upconvert 720p or Downconvert 1080p?&lt;/span&gt;&lt;br /&gt;For the time being, I don't want to upconvert the 720p video.  Instead, I reduced the 1080p's resolution (downrezzed) in Cinelerra.  This makes more sense from a practical point of view, as rendering 1080p video in its pure, unadulterated state will surely:&lt;br /&gt;1) increase my storage needs&lt;br /&gt;2) increase the time to render final output&lt;br /&gt;&lt;br /&gt;In the future, after I have a few bucks lying around to spend on a next generation dual, quad core with terabytes of disk and a bluray writer, I will then start rendering final videos to 1080p format.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Integrating the two videos&lt;/span&gt;&lt;br /&gt;Back to the task at hand, I put the mjpeg conversion of the 1080p video &lt;a href="http://crazedmuleproductions.blogspot.com/2008/10/converting-1080p-video-part-ii.html"&gt;from my last 1080p blog entry&lt;/a&gt; on the timeline, along with another video I recently finished:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bcLw_LVf5nA/SROvrvHGH8I/AAAAAAAAAjI/m8nyi_0iMOs/s1600-h/Screenshot-Cinelerra:+Program.png"&gt;&lt;img style="cursor: pointer; width: 320px; height: 148px;" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/SROvrvHGH8I/AAAAAAAAAjI/m8nyi_0iMOs/s320/Screenshot-Cinelerra:+Program.png" alt="" id="BLOGGER_PHOTO_ID_5265745555241705410" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I set my project format to 720P:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bcLw_LVf5nA/SROzt9iCztI/AAAAAAAAAjo/qvNy0qgHHWk/s1600-h/Screenshot-Cinelerra:+Set+Format.png"&gt;&lt;img style="cursor: pointer; width: 320px; height: 309px;" src="http://3.bp.blogspot.com/_bcLw_LVf5nA/SROzt9iCztI/AAAAAAAAAjo/qvNy0qgHHWk/s320/Screenshot-Cinelerra:+Set+Format.png" alt="" id="BLOGGER_PHOTO_ID_5265749991519080146" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This reduced the size of the 1080P track in the Compositor:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bcLw_LVf5nA/SROwck8uzZI/AAAAAAAAAjQ/wuLg0XArJXM/s1600-h/Screenshot-Cinelerra:+Compositor-1.png"&gt;&lt;img style="cursor: pointer; width: 320px; height: 256px;" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/SROwck8uzZI/AAAAAAAAAjQ/wuLg0XArJXM/s320/Screenshot-Cinelerra:+Compositor-1.png" alt="" id="BLOGGER_PHOTO_ID_5265746394327469458" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I could see that I only had part of the 1080p video displayed, I used a calculator to find the ratio between 1280 and 1920 pixels:&lt;br /&gt;1280/1920 = .6667&lt;br /&gt;&lt;br /&gt;In the Compositor window, I entered this percentage into the Z-Axis of the Projector's "Show Tool Info" screen:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bcLw_LVf5nA/SROw_4ylpzI/AAAAAAAAAjY/7ARajSaHRcs/s1600-h/Screenshot-Cinelerra:+Projector.png"&gt;&lt;img style="cursor: pointer; width: 180px; height: 199px;" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/SROw_4ylpzI/AAAAAAAAAjY/7ARajSaHRcs/s320/Screenshot-Cinelerra:+Projector.png" alt="" id="BLOGGER_PHOTO_ID_5265747000949057330" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This effectively "zoomed out" on the 1080p video track so that the entire frame is now shown:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bcLw_LVf5nA/SROxVRIvzhI/AAAAAAAAAjg/KQhgxF59Vv4/s1600-h/Screenshot-Cinelerra:+Compositor.png"&gt;&lt;img style="cursor: pointer; width: 320px; height: 256px;" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/SROxVRIvzhI/AAAAAAAAAjg/KQhgxF59Vv4/s320/Screenshot-Cinelerra:+Compositor.png" alt="" id="BLOGGER_PHOTO_ID_5265747368261701138" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now, both tracks of the video are for all intents and purposes, 720P.  If interested, I've put the downrezzed video (3.2MB) &lt;a href="http://content.serveftp.net/video/qt_mjpeg_reduced_withPigs.mp4"&gt;here&lt;/a&gt; for you to check out.&lt;br /&gt;&lt;br /&gt;Please forgive the lousy quality of the 720p track, but the JVC is really horrible in low light..another reason why I want to get the Canon.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 11/9/2008&lt;/span&gt;&lt;br /&gt;One thing I neglected to mention is that the frame rate of the 1080p track from the Canon is 30fps, whereas the 720p video track from my JVC is 29.97.  In order to accurately merge these two tracks into my 720p project, I will need to apply the Decimate video effect in Cinelerra.  Decimate drops frames from a video track.  It takes an input frame rate of a higher fps and uses the project's lower frame rate as output.  In this case, I want to lower the frame rate of the Canon's track from 30 down to 29.97fps.  So the input rate would be 30fps and the output is the frame rate of the project, 29.97 fps.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://heroinewarrior.com/cinelerra/cinelerra.html#DECIMATE"&gt;As noted in the Cinelerra documentation&lt;/a&gt;, always place computationally intensive effects AFTER the Decimate effect, as those effects will be rendered at the lower frame rate, thus using less CPU cycles.&lt;br /&gt;&lt;br /&gt;Using Decimate, I can now be assured that I will have no synchronization problems when merging 1080p and 720p video.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;end update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Tally ho!&lt;br /&gt;the mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-7343209417798286706?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ImN7gyDKF8RTn261CINpqVOoC64/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ImN7gyDKF8RTn261CINpqVOoC64/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ImN7gyDKF8RTn261CINpqVOoC64/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ImN7gyDKF8RTn261CINpqVOoC64/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/GMVYU-YX7WU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/7343209417798286706/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=7343209417798286706" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/7343209417798286706?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/7343209417798286706?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/GMVYU-YX7WU/converting-1080p-video-part-iii.html" title="converting 1080p video, part III" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_bcLw_LVf5nA/SROvrvHGH8I/AAAAAAAAAjI/m8nyi_0iMOs/s72-c/Screenshot-Cinelerra:+Program.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2008/11/converting-1080p-video-part-iii.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8MR3g-eip7ImA9WxVWEk4.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-3407730491634035099</id><published>2008-11-02T13:24:00.007-05:00</published><updated>2009-02-21T11:14:46.652-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-21T11:14:46.652-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="firefox" /><category scheme="http://www.blogger.com/atom/ns#" term="plugins" /><category scheme="http://www.blogger.com/atom/ns#" term="nspluginwrapper" /><category scheme="http://www.blogger.com/atom/ns#" term="flash" /><category scheme="http://www.blogger.com/atom/ns#" term="mozilla" /><title>flash player 9 install in Fedora 7/9/10 64-bit</title><content type="html">I inadvertantly removed the flash-plugin from my 64-bit system and figuring out how to reinstall the thing took about two hours, so I thought I'd write the steps down:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 2009/02/21&lt;/span&gt;&lt;br /&gt;Finally, Adobe has released a 64-bit Flash plugin:&lt;br /&gt;&lt;a href="http://labs.adobe.com/technologies/flashplayer10/"&gt;http://labs.adobe.com/technologies/flashplayer10/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And, shocker of shockers, it actually works!  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;To Install Flash Plugin on x86-64&lt;/span&gt;&lt;br /&gt;You'll download the tarball from here:&lt;br /&gt;&lt;a href="http://labs.adobe.com/downloads/flashplayer10.html"&gt;http://labs.adobe.com/downloads/flashplayer10.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The only thing in the tarball is libflashplayer.so.  To install the 64-bit Flash plugin, simply move libflashplayer.so into your user's .mozilla/plugins directory and restart Firefox.&lt;br /&gt;&lt;br /&gt;Even more amazing, the bloody thing works on my Fedora 10, x86-64 virtual machine running in VMware Fusion on my MacBook Pro!  Yee haw!&lt;br /&gt;&lt;br /&gt;Awesome!&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;end update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 2008/12/19&lt;/span&gt;&lt;br /&gt;As my recent build of Fedora 9 &lt;a href="http://crazedmuleproductions.blogspot.com/2008/12/fedora-9-cinelerra-deps-atrpms-note.html"&gt;may have gotten corrupted by bad ATrpms repo files&lt;/a&gt;, I upgraded AGAIN, this time to Fedora 10, x86_64.  Here are some nice instructions for the Fedora 10 Flash install:&lt;br /&gt;&lt;a href="http://fedoraproject.org/wiki/Flash"&gt;http://fedoraproject.org/wiki/Flash&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I learned a new trick in Firefox to check plugins.  Type "about:plugins" in the URL bar.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;end update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 2008/11/18&lt;/span&gt;&lt;br /&gt;I just &lt;a href="http://crazedmuleproductions.blogspot.com/2008/11/fedora-9-x86-64-install.html"&gt;upgraded to Fedora 9, x86_64&lt;/a&gt;.  Here are some nice instructions for the Fedora 9 Flash install:&lt;br /&gt;&lt;a href="http://fedorasolved.org/browser-solutions/flash"&gt;http://fedorasolved.org/browser-solutions/flash&lt;/a&gt;&lt;br /&gt;&lt;a href="http://macromedia.mplug.org/"&gt;http://macromedia.mplug.org/&lt;/a&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;end update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As Flash 9 was not built for 64-bit systems, I'll need to install &lt;a href="http://gwenole.beauchesne.info//en/projects/nspluginwrapper"&gt;nspluginwrapper&lt;/a&gt; to get Flash to work on my Fedora 7, 64-bit box.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1) install nspluginwrapper&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;yum install nspluginwrapper&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Installed Packages&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Name   : nspluginwrapper&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Arch   : x86_64&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Version: 1.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Release: 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Size   : 124 k&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Repo   : installed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Summary: A compatibility layer for Netscape 4 plugins&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Description:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;nspluginwrapper makes it possible to use Netscape 4 compatible plugins&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;compiled for i386 into Mozilla for another architecture, e.g. x86_64.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;This package consists in:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  * npviewer: the plugin viewer&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  * npwrapper.so: the browser-side plugin&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  * nspluginwrapper: a tool to manage plugins installation and update&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2) Download the flash 9 install&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3) Unpack the tarball&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;gunzip install_flash_player_9_linux.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;tar xvf install_flash_player_9_linux.tar&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4) From the install directory created from the extract, copy libflashplayer.so to Mozilla's plugin directory&lt;/span&gt;:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;cp libflashplayer.so /usr/lib/mozilla/plugins/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5) Use nspluginwrapper to enable the 32-bit flash to work in 64-bit Firefox&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6) Restart Firefox&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Lovely, now YouTube works again.&lt;br /&gt;&lt;br /&gt;that's all folks!&lt;br /&gt;mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-3407730491634035099?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hDrrL4FG_NZ1zPXIbk3la7_ucgo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hDrrL4FG_NZ1zPXIbk3la7_ucgo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hDrrL4FG_NZ1zPXIbk3la7_ucgo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hDrrL4FG_NZ1zPXIbk3la7_ucgo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/W6EwsC__oC8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/3407730491634035099/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=3407730491634035099" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/3407730491634035099?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/3407730491634035099?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/W6EwsC__oC8/flash-player-9-install-in-fedora-7-64.html" title="flash player 9 install in Fedora 7/9/10 64-bit" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2008/11/flash-player-9-install-in-fedora-7-64.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcHQXY7eip7ImA9WxVSE0k.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-2448392101920050053</id><published>2008-10-28T17:19:00.031-04:00</published><updated>2009-01-07T09:53:50.802-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-07T09:53:50.802-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="video effect" /><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg" /><category scheme="http://www.blogger.com/atom/ns#" term="1080p" /><category scheme="http://www.blogger.com/atom/ns#" term="rendering" /><category scheme="http://www.blogger.com/atom/ns#" term="raw yv12" /><category scheme="http://www.blogger.com/atom/ns#" term="canon 5d mark ii" /><category scheme="http://www.blogger.com/atom/ns#" term="raw yuv" /><category scheme="http://www.blogger.com/atom/ns#" term="mjpeg" /><category scheme="http://www.blogger.com/atom/ns#" term="cinelerra" /><category scheme="http://www.blogger.com/atom/ns#" term="mplayer" /><title>converting 1080p video, part II</title><content type="html">A couple nights back, I spent a few hours finding a usable intermediate format for 1080P video editing. Of course, my goal was to prove that I can still use my preferred NLE Cinelerra in order to edit the gorgeous, high definition output from the &lt;a href="http://www.amazon.com/gp/product/B001G5ZTLS?ie=UTF8&amp;tag=crazmuleprod-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B001G5ZTLS"&gt;Canon EOS 5D Mark II&lt;/a&gt;&lt;img src="http://www.assoc-amazon.com/e/ir?t=crazmuleprod-20&amp;l=as2&amp;o=1&amp;a=B001G5ZTLS" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /&gt;. An alternative way of putting it is that this is my justification for purchasing what will amount to a $4000 camera!&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Import: which format works well?&lt;/strong&gt;&lt;br /&gt;Since Cinelerra is rather picky about the types of video it accepts (&lt;a href="http://content.serveftp.net/video/qtcompatibility.ods.html"&gt;see my original Quicktime compatability document&lt;/a&gt;), it was a challenge to find a Cinelerra-editable intermediate format for that &lt;a href="http://www.dpreview.com/previews/canoneos5dmarkII/page15.asp"&gt;test 1080p video&lt;/a&gt; I told you about in the &lt;a href="http://crazedmuleproductions.blogspot.com/2008/10/converting-1080p-video.html"&gt;first part of this two-part blog entry&lt;/a&gt;. The video is a five-second city scene of a bicycler launching from a stop. That video is 23MB.&lt;br /&gt;&lt;br /&gt;Keep in mind that various versions of media encoders (like ffmpeg and mplayer) do not always implement codecs and container formats consistently. Also, program dependencies for the encoders across different Linux distros complicate matters. So what I state as working below may not work for you. (Your mileage may vary).  Note that I am currently using Fedora 7, 64-bit.&lt;br /&gt;&lt;br /&gt;Caveats aside, transcoding the biker video to the following formats did NOT work:&lt;br /&gt;- I420 from ffmpeg&lt;br /&gt;- rawvideo (RAW YV12) from ffmpeg&lt;br /&gt;&lt;br /&gt;Here are a couple formats that did work:&lt;br /&gt;1) MJPEG output from ffmpeg&lt;br /&gt;2) RAW YV12 output from mplayer&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;MJPEG from FFmpeg&lt;/span&gt;&lt;br /&gt;Playback Performance&lt;br /&gt;This format seems to be a likely candidate, as I got about 15fps on my dual, quad core Dell SC1430 in Cinelerra.&lt;br /&gt;&lt;br /&gt;File Size&lt;br /&gt;The resulting file size is small..about 35MB for five seconds of 1080P.&lt;br /&gt;&lt;br /&gt;Image Quality Compared to Original&lt;br /&gt;The image quality is very good.  However, the colors seem bit oversaturated and dark in contrast to the original.  With a bit of tweaking to the conversion command, I might be able to get more realistic colors out of the conversion.  Here's a comparison shot:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bcLw_LVf5nA/SQpagJuy95I/AAAAAAAAAio/HHxadrKgawY/s1600-h/originalvsmjpeg.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 128px;" src="http://3.bp.blogspot.com/_bcLw_LVf5nA/SQpagJuy95I/AAAAAAAAAio/HHxadrKgawY/s320/originalvsmjpeg.jpg" alt="" id="BLOGGER_PHOTO_ID_5263118622950356882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Editing Notes&lt;br /&gt;No problems surfaced with a couple initial edits and renderings. As this is a compressed format, there will be some loss of quality over successive encodings.&lt;br /&gt;&lt;br /&gt;Here is the command I used to convert the video:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -i Video1.MOV -b 3000k -vcodec mjpeg -ab 256k -ar 44100 -acodec mpeg4aac -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me hex -subq 5 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 testmjpeg.mov&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is the same conversion command that I ran in part I of this blog entry.&lt;br /&gt;&lt;br /&gt;Information about the file looks like this in mplayer:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Playing testmjpeg.mov.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;ISO: File Type Major Brand: Original QuickTime&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Quicktime/MOV file format detected.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;[mov] Video stream found, -vid 0&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;VIDEO: [jpeg] 1920x1080 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;==========================================================================&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;==========================================================================&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;RAWYV12 from mplayer&lt;/span&gt;&lt;br /&gt;Playback Performance&lt;br /&gt;Playback is slow, 7fps, roughly 1/2 the speed of MJPEG. Not a show stopper.&lt;br /&gt;&lt;br /&gt;File Size&lt;br /&gt;Huge. About 450MB for about five seconds of video.  Woah!&lt;br /&gt;&lt;br /&gt;Image Quality Compared to Original&lt;br /&gt;Image quality is very good as well.  Less saturated then the mjpeg version.  That's what almost 100MB/sec pays for.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bcLw_LVf5nA/SQpcTJhAakI/AAAAAAAAAi4/37cMWTrybFs/s1600-h/originalvsstream.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 128px;" src="http://1.bp.blogspot.com/_bcLw_LVf5nA/SQpcTJhAakI/AAAAAAAAAi4/37cMWTrybFs/s320/originalvsstream.jpg" alt="" id="BLOGGER_PHOTO_ID_5263120598577474114" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Editing Notes&lt;br /&gt;This is an uncompressed format, corresponding to the YUV 4:2:0 spec:&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/YUV#Y.27UV420p_.28and_Y.27V12.29"&gt;http://en.wikipedia.org/wiki/YUV#Y.27UV420p_.28and_Y.27V12.29&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also, here is an excellent article on understanding color sampling:&lt;br /&gt;&lt;a href="http://www.dvxuser.com/articles/colorspace/"&gt;http://www.dvxuser.com/articles/colorspace/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Cinelerra loads the raw YV12 file, but the timeline does not show thumbnails. Not a show stopper, but a bit of a bummer. The one benefit of yuv4mpeg stream from mplayer is that you can feed that stream directly into &lt;a href="http://mjpeg.sourceforge.net/"&gt;mjpegtools&lt;/a&gt; for further processing.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 2008/11/22&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;It seems that 1080p in raw yuv format is actually unusable in my Fedora 9 Cinelerra install.  When I load a project with a large raw yuv file, Cinelerra hangs for ten minutes as it loads the file.  Once loaded, the GUI tends to freeze for another ten minutes.  Thus, it seems that MJPEG may be my only choice for rendering 1080p.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;I will continue to experiment.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;end update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here is the command I used to convert the video:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;mplayer Video1.MOV -vo yuv4mpeg&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;I received this message while trying to convert the video&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;           ************************************************&lt;br /&gt;          **** Your system is too SLOW to play this!  ****&lt;br /&gt;          ************************************************&lt;br /&gt;Possible reasons, problems, workarounds:&lt;br /&gt;- Most common: broken/buggy _audio_ driver&lt;br /&gt; - Try -ao sdl or use the OSS emulation of ALSA.&lt;br /&gt; - Experiment with different values for -autosync, 30 is a good start.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;So, I amended my command to add the autosync feature, which gradually adjusts the audio/video synchronization based on audio delay:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;mplayer Video1.MOV -autosync 30 -vo yuv4mpeg&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;That seemed to alleviate the messages.  Without redirecting to a specified filename, Mplayer outputs a file called "stream.yuv".&lt;br /&gt;&lt;br /&gt;Information about the file looks like this in mplayer:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Playing stream.yuv.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;YUV4MPEG2 file format detected.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;YUV4MPEG2 Video stream 0 size: display: 1920x1080, codec: 1920x1080&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;VIDEO: [YV12] 1920x1080 12bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;==========================================================================&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Opening video decoder: [raw] RAW Uncompressed Video&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;VDec: using Planar YV12 as output csp (no 0)&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;VO: [xv] 1920x1080 =&gt; 1920x1080 Planar YV12 &lt;/span&gt; &lt;span style="font-family:courier new;"&gt;[ASPECT] Warning: No suitable new res found!&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;[ASPECT] Warning: No suitable new res found!&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Selected video codec: [rawyv12] vfm: raw (RAW YV12)&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;==========================================================================&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Quality&lt;br /&gt;There seem to be quite a difference in the colors rendered by each format. The MJPEG-formatted file seems to much closer to the original than the raw YV12.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Applying Effects&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;For fun, I applied an oil painting effect to this five seconds of video. I then rendered the output to MJPEG format. I was disappointed to find out that five seconds of video with the oil paint effect applied takes a &lt;em&gt;full three minutes and twenty seconds &lt;/em&gt;to render at 1080p in my dual, quad core Dell SC1430. Holy cow! I guess I won't be doing Star Wars green screens in 1080p!&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bcLw_LVf5nA/SQpeUglw-DI/AAAAAAAAAjA/TsJrMvqXKfQ/s1600-h/oilpainting.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 184px;" src="http://3.bp.blogspot.com/_bcLw_LVf5nA/SQpeUglw-DI/AAAAAAAAAjA/TsJrMvqXKfQ/s320/oilpainting.jpg" alt="" id="BLOGGER_PHOTO_ID_5263122820974573618" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In the interest of full disclosure, the oil paint effect is a notorious CPU hog and is not indicative of the type of work the average editor will perform.  Another note: while rendering the output, &lt;em&gt;all eight CPUs were maxed out at 95% utilization&lt;/em&gt;.  Kowabunga!&lt;br /&gt;&lt;br /&gt;To give people hope, applying a simple title to the image doesn't do too much damage to load on the CPU. The video with a title rendered to MJPEG format took twenty seconds.&lt;br /&gt;&lt;br /&gt;Thoughts&lt;br /&gt;My goal is to get some really fantastic looking video rendered from Cinelerra.  In combination with the new Canon and some wise encoding choices, I believe I should be able to do this.  This article shows that I'm getting closer, but I'm not there yet.  I'm hoping to get closer with another round of experimentation.&lt;br /&gt;&lt;br /&gt;One final thing..be ready to spend money on RAM.  I noticed my paltry 2GB was immediately sucked up by Cinelerra when I was doing these various test videos.  I'm going to get another 4GB and will let you know if that helps.&lt;br /&gt;&lt;br /&gt;more to come.&lt;br /&gt;The Mule&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-2448392101920050053?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4RCqcfrHdV8bVgQJ8dbHynhLRtI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4RCqcfrHdV8bVgQJ8dbHynhLRtI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4RCqcfrHdV8bVgQJ8dbHynhLRtI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4RCqcfrHdV8bVgQJ8dbHynhLRtI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/Fm6BCt3_7cw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/2448392101920050053/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=2448392101920050053" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/2448392101920050053?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/2448392101920050053?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/Fm6BCt3_7cw/converting-1080p-video-part-ii.html" title="converting 1080p video, part II" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_bcLw_LVf5nA/SQpagJuy95I/AAAAAAAAAio/HHxadrKgawY/s72-c/originalvsmjpeg.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2008/10/converting-1080p-video-part-ii.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQFRXY9eyp7ImA9WxVSE0k.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-4809927814942697975</id><published>2008-10-23T23:17:00.027-04:00</published><updated>2009-01-07T09:58:34.863-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-07T09:58:34.863-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="1080p" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="canon 5d mark ii" /><category scheme="http://www.blogger.com/atom/ns#" term="h264" /><category scheme="http://www.blogger.com/atom/ns#" term="convert" /><title>converting 1080p video, part I</title><content type="html">I was interested in buying the new Canon EOS 5D Mark II, a really sweet bit of kit:&lt;br /&gt;Amazon: &lt;a href="http://www.amazon.com/gp/product/B001G5ZTLS?ie=UTF8&amp;tag=crazmuleprod-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B001G5ZTLS"&gt;Canon EOS 5D Mark II&lt;/a&gt;&lt;img src="http://www.assoc-amazon.com/e/ir?t=crazmuleprod-20&amp;l=as2&amp;o=1&amp;a=B001G5ZTLS" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /&gt;&lt;br /&gt;&lt;a href="http://www.usa.canon.com/consumer/controller?act=ModelInfoAct&amp;amp;fcategoryid=139&amp;amp;modelid=17662"&gt;Canon Product Page&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.usa.canon.com/dlc/controller?act=GetProductAct&amp;amp;productID=249"&gt;Canon Learning Center&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.robgalbraith.com/bins/multi_page.asp?cid=7-9316-9607"&gt;Rob Galbraith Review&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.usa.canon.com/consumer/controller?act=ModelInfoAct&amp;tabact=SupportDetailTabAct&amp;fcategoryid=215&amp;modelid=17662#DownloadDetailAct"&gt;Manual&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I was excited at the possibility of stellar high quality video at a &lt;span style="font-style: italic;"&gt;somewhat&lt;/span&gt; reasonable price. See Vincent Laforet's great demo video here:&lt;br /&gt;&lt;a href="http://blog.vincentlaforet.com/2008/10/10/without-further-ado-reverie/"&gt;http://blog.vincentlaforet.com/2008/10/10/without-further-ado-reverie/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So I downloaded test video output from a review of the preproduction cam here:&lt;br /&gt;&lt;a href="http://www.dpreview.com/previews/canoneos5dmarkII/page15.asp"&gt;http://www.dpreview.com/previews/canoneos5dmarkII/page15.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt;&lt;br /&gt;DPReview stated that these videos are direct from the cam, though according to Canon, the production model &lt;em&gt;uses MPEG4 video compression.  &lt;span class="Apple-style-span" style="font-style: normal;"&gt;This does not jibe with my results, as I found by reviewing the output of mplayer and Quicktime on my MacBook that &lt;/span&gt;these test videos actually use H264 video compression&lt;/em&gt;.  Strange.  Of course, we'll see what the real deal is once the camera is available for purchase.  Regardless, my testing procedures below maybe helpful for people using Linux and/or Cinelerra that need to work around similar problems.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 10/25/2008&lt;/span&gt;&lt;br /&gt;I downloaded a couple longer clips from the review here:&lt;br /&gt;&lt;a href="http://www.dpreview.com/news/0809/08091705canon_5dmarkII.asp"&gt;http://www.dpreview.com/news/0809/08091705canon_5dmarkII.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My results were consistent with the original post.  Interestingly, it took six minutes to convert one minute of 1080P video on my dual, quad core Dell SC1430.  Oh Momma, 1080P is a resource hog!&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;End Update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Linux Media Player Results&lt;/span&gt;&lt;br /&gt;Not so good. I was able to replay the video in mplayer fine, but vlc and avidemux2 hung half way, and xine played, though very choppily. Most of the above showed output errors of various kinds.&lt;br /&gt;&lt;br /&gt;Next, I thought I'd see if its 1080P video output was usable at all in Cinelerra.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Cinelerra Results&lt;/span&gt;&lt;br /&gt;Putting the original 1080P video into Cinelerra gave me a bunch of ugly errors, like so:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[h264 @ 0x2aaaaaf7e1b0]concealing 8160 DC, 8160 AC, 8160 MV errors&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;[h264 @ 0x2aaaaaf7e1b0]AVC: Consumed only 161417 bytes instead of 161420&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;[h264 @ 0x2aaaaaf7e1b0]Unknown NAL code: 22&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And the Cinelerra timeline and compositor windows weren't very promising either:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bcLw_LVf5nA/SQFM1vtyrVI/AAAAAAAAAiU/Thfeof50o6o/s1600-h/cinelerra.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5260570325970758994" style="width: 320px; cursor: pointer; height: 257px;" alt="" src="http://4.bp.blogspot.com/_bcLw_LVf5nA/SQFM1vtyrVI/AAAAAAAAAiU/Thfeof50o6o/s320/cinelerra.png" border="0" width="720" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Convert!&lt;/span&gt;&lt;br /&gt;So, I did what all good Cinelerra users do:&lt;br /&gt;Convert the video to a usable format!&lt;br /&gt;&lt;br /&gt;This command seems to produce very good output from a 1080P, H264 encoded video:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -i Video1.MOV -b 3000k -vcodec h264 -ab 256k -ar 44100 -acodec mpeg4aac -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me hex -subq 5 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 test.mp4&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let's take the command options apart:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;-i Video1.MOV: my input file&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-b 3000k: bitrate of 3000K&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-vcodec h264: use the h264 output video compression algorithm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-ab 256k: use an audio bitrate of 256kbps&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-ar 44100: use an audio sampling rate of 44.1Khz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-acodec mpeg4aac: use the Apple Audio Compression codec&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Next set of options related specifically to x264&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;-coder 1: enables CABAC entropy encoder used by x264 (better compression)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-flags +loop: enables loop filter&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-cmp +chroma&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-partitions +parti4x4+partp8x8+partb8x8: improves quality by looking at inter/intra partitions (i b p)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-me hex: set motion estimation method to hex (range-2 search of six surrounding points)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-me_range 16: max range of motion search (hex is limited to 16), higher useful on HD&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-subq 5: good medium for higher speed encoding&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-g 250: group of pictures size&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-keyint_min 25: set minimum length between IDR frames (keyframes)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-sc_threshold 40: adjusts sensitivity of x264's scenecut detection&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-i_qfactor 0.71: qscale (quality) difference between I-frames and P-frames&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Finally, the output:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;test.mp4: my output file&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I don't know much about those switches.  Here are two good pages explaining at least the words, if not their meaning, of these cryptic options:&lt;br /&gt;&lt;a href="http://ffmpeg.x264.googlepages.com/mapping"&gt;FFmpeg x264 mapping&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mewiki.project357.com/wiki/X264_Settings"&gt;x264 (H264) options&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 10/25/2008&lt;/span&gt;&lt;br /&gt;However, I did see a number of these errors again while doing the conversion:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[h264 @ 0x3c2d71ab30]AVC: Consumed only 197265 bytes instead of 197268ts/s    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[h264 @ 0x3c2d71ab30]AVC: nal size 0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Searching the web, it seems that they may have to do with an old version of ffmpeg:&lt;br /&gt;&lt;a href="http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2007-October/012075.html"&gt;http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2007-October/012075.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I am currently running the following: &lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;=============================================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; Package                 Arch       Version          Repository        Size &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;=============================================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Removing:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ffmpeg                  x86_64     0.4.9-0.37.20070503.lvn7  installed         527 k&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; ffmpeg-libs             x86_64     0.4.9-0.37.20070503.lvn7  installed         3.8 M&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And it's going to be a pain to compile with external ffmpeg libraries.  I think I will hold off on that for now.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;End Update&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;The original (Video1.MOV) and converted (test.mp4) files were marketedly different sizes:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;-rw-r--r-- 1 root root 4214234 2008-10-23 23:15 test.mp4&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;-rw-r--r-- 1 root root 23690277 2008-10-23 22:55 Video1.MOV&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As read by mplayer with -identify option, diffing the original and converted file's properties showed no differences.  Here is what mplayer thinks both files :&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;[mov] Video stream found, -vid 0&lt;br /&gt;VIDEO:  [avc1]  1920x1080  24bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)&lt;br /&gt;ID_DEMUXER=mov&lt;br /&gt;ID_VIDEO_FORMAT=avc1&lt;br /&gt;ID_VIDEO_BITRATE=0&lt;br /&gt;ID_VIDEO_WIDTH=1920&lt;br /&gt;ID_VIDEO_HEIGHT=1080&lt;br /&gt;ID_VIDEO_FPS=30.000&lt;br /&gt;ID_VIDEO_ASPECT=0.0000&lt;br /&gt;==========================================================================&lt;br /&gt;Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family&lt;br /&gt;Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)&lt;br /&gt;==========================================================================&lt;br /&gt;ID_VIDEO_CODEC=ffh264&lt;br /&gt;Audio: no sound&lt;br /&gt;Starting playback...&lt;br /&gt;VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)&lt;br /&gt;VDec: using Planar YV12 as output csp (no 0)&lt;br /&gt;Movie-Aspect is undefined - no prescaling applied.&lt;br /&gt;VO: [xv] 1920x1080 =&gt; 1920x1080 Planar YV12&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This was odd, as mplayer spat out errors like this while playing the original:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[h264 @ 0xcfa780]AVC: Consumed only 197265 bytes instead of 197268 &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;[h264 @ 0xcfa780]AVC: nal size 0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Once the file was converted, mplayer showed none of these errors.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Linux Media Player Results&lt;/span&gt;&lt;br /&gt;I'm happy to say that the converted file replayed well in all the Linux media players, xine, mplayer and vlc, with the notable exception that playback in avidemux2 was slow.&lt;br /&gt;&lt;br /&gt;In mplayer, the converted file did not show any errors, outside of a minor ASPECT warning error:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[ASPECT] Warning: No suitable new res found!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;From a still, you can't really tell much of a difference..at least I couldn't.  Note that the below images have been cropped for easier comparison, so they are not the full 1080P (1920x1280) resolution.&lt;br /&gt;&lt;br /&gt;Original&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bcLw_LVf5nA/SQFF3x53ulI/AAAAAAAAAiM/8YqWEbCjZ50/s1600-h/original.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5260562664336636498" style="width: 320px; cursor: pointer; height: 165px;" alt="" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/SQFF3x53ulI/AAAAAAAAAiM/8YqWEbCjZ50/s320/original.png" border="0" width="720" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Converted&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bcLw_LVf5nA/SQFF1xkvDRI/AAAAAAAAAiE/xif5mBpK-WQ/s1600-h/convert.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5260562629888249106" style="width: 320px; cursor: pointer; height: 166px;" alt="" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/SQFF1xkvDRI/AAAAAAAAAiE/xif5mBpK-WQ/s320/convert.png" border="0" width="720" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The big test was bringing the converted file into Cinelerra. Since the OS level media players didn't have a problem, I was hopeful that Cinelerra wouldn't have any issues. Loading the file, I received no errors. However, playback was horrendous. I'd say that I got about 1fps in the compositor, though Preferences (Shift-P) showed that I was getting 32fps. Hmmm. Something definetly wrong here.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Final shot before I go to sleep&lt;/span&gt;&lt;br /&gt;While in Cinelerra, I rendered the already converted 1080P content into one of the formats Cinelerra is happiest using, Quicktime using JPEG Photo compression. Rendering that video took no time at all (there was no audio track). Reloading the video back into Cinelerra, the file play more smoothly than the original conversion, but still had problems. I got 6fps. CPU on my dual, quad core was about 20% across all CPUs during playback (see below image). But memory use went through the roof! Swap was up too:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bcLw_LVf5nA/SQFVqqvd5MI/AAAAAAAAAic/mxHI8lqm2yQ/s1600-h/cpu.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5260580031261697218" style="width: 303px; cursor: pointer; height: 320px;" alt="" src="http://3.bp.blogspot.com/_bcLw_LVf5nA/SQFVqqvd5MI/AAAAAAAAAic/mxHI8lqm2yQ/s320/cpu.png" border="0" width="720" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Woah! What's up with that? Well, looks like I have more testing to do. The possibility of gorgeous 1080P HD video has me slavering. Perhaps my eyes are too big for my stomach? As in everything Linux, this will take time.&lt;br /&gt;&lt;br /&gt;to be continued..&lt;br /&gt;the mule&lt;br /&gt;&lt;br /&gt;Reference&lt;br /&gt;&lt;a href="http://bbs.archlinux.org/viewtopic.php?id=35836"&gt;http://bbs.archlinux.org/viewtopic.php?id=35836&lt;/a&gt;&lt;br /&gt;thanks Skottish!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-4809927814942697975?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8PIzFii3EmRlqLZx1JzeeAo2gZ4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8PIzFii3EmRlqLZx1JzeeAo2gZ4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8PIzFii3EmRlqLZx1JzeeAo2gZ4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8PIzFii3EmRlqLZx1JzeeAo2gZ4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/5qFOyayHfzE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/4809927814942697975/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=4809927814942697975" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/4809927814942697975?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/4809927814942697975?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/5qFOyayHfzE/converting-1080p-video.html" title="converting 1080p video, part I" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_bcLw_LVf5nA/SQFM1vtyrVI/AAAAAAAAAiU/Thfeof50o6o/s72-c/cinelerra.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2008/10/converting-1080p-video.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEcNQ3k5fSp7ImA9WxRUFEg.&quot;"><id>tag:blogger.com,1999:blog-17915976.post-1222853867301609440</id><published>2008-10-04T11:37:00.012-04:00</published><updated>2008-11-23T09:54:52.725-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-23T09:54:52.725-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="shell scripts" /><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="distribution" /><category scheme="http://www.blogger.com/atom/ns#" term="workflow" /><category scheme="http://www.blogger.com/atom/ns#" term="ipod" /><category scheme="http://www.blogger.com/atom/ns#" term="itunes" /><title>iTunes/iPod video workflow, scripted</title><content type="html">I am going to revisit &lt;a href="http://crazedmuleproductions.blogspot.com/2007/02/big-picture.html"&gt;my conversation about workflow&lt;/a&gt;.  Here's what we briefly discussed:&lt;br /&gt;- the transformation of an idea (video) into reality and distributing it (in this case, using iTunes)&lt;br /&gt;&lt;br /&gt;With today's internet, the steps involved are broad-based:&lt;br /&gt;- idea creation, storyboard, distribution, production, archiving, marketing&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Update 2008/11/22&lt;/span&gt;&lt;br /&gt;I've added a few more details to my workflow &lt;a  href="http://crazedmuleproductions.blogspot.com/2008/11/video-distribution-and-blogosphere.html"&gt;in a new post here&lt;/a&gt;.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;end update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I shall give you an example and how I reduced the amount of time spent creating and distributing my content.&lt;br /&gt;&lt;br /&gt;When not working, my world is playing music with a band of itinerant musicians called the &lt;a href="http://www.stormpigs.com/"&gt;StormPigs&lt;/a&gt;.  We gather together once every couple of months to play freeform music.  No prior thought involved, just play.  The joy of this is being together and having a good time.  Otherwise, we are all busy professionals with full-time jobs and families.  In remembrance of that good time, I produce videos of the event, distributed via &lt;a href="http://www.stormpigs.com/vodcast.xml"&gt;iTunes&lt;/a&gt; and &lt;a href="http://www.youtube.com/user/snufflerstormpig"&gt;YouTube&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;As time seems compressed these days, I want to spend as little time as possible behind the keyboard (though I am a technologist by trade).  And as readers of this blog know, I am avid proponent of Linux.  The beauty of Linux is that the system is completely configurable and flexible.  But with this power comes a price.  You have to invest the time to learn the shell, some bits of scripting and other Linux arcana.  Consequently, it is daunting to the newcomer.  But the benefits return to you many times over, as time you once spent on minutiae can now be spent thinking of new ideas for shows and creating new content, rather than simply focusing on the details of getting a file up to the server or copy and pasting content from one application to the other.&lt;br /&gt;&lt;br /&gt;I am not a programmer of fanciful GUI front ends.  I am a guy who just needs to get work done.  So I try to solve my problems in the simplest way possible using the Linux programs and bash shell scripts to tie multiple programs together.&lt;br /&gt;&lt;br /&gt;Here is the latest problem I needed to solve:&lt;br /&gt;- how to I get my videos onto the web and in an iTunes ready form as quickly as possible?&lt;br /&gt;&lt;br /&gt;In that light, I have come up with some scripts to help me on my way:&lt;br /&gt;- the first encodes my editing video project into various formats (HDV, DVD, podcast)&lt;br /&gt;- the second creates the list of songs from the video that will go into the podcast&lt;br /&gt;- the third merges that songlist information into the podcast&lt;br /&gt;- the fourth creates a new iTunes RSS feed (XML file) from the songlist information&lt;br /&gt;- the fifth uploads the new podcast to my webserver&lt;br /&gt;- the last is a wrapper that starts the other five&lt;br /&gt;&lt;br /&gt;The encoding script is most useful and is the basis for the others.  This script takes 720P video and 48Khz MPEG, Layer II stereo audio output rendered from a Cinelerra project and converts it to various formats: MPEG2 Program Stream, HDV, DVD and iTunes/iPod compatible formats.  You will need the following programs installed for this script to work:&lt;br /&gt;-mplex&lt;br /&gt;-vlc&lt;br /&gt;-ffmpeg&lt;br /&gt;&lt;br /&gt;I've found the quality of each output file to be very good to excellent.&lt;br /&gt;&lt;br /&gt;You can wrap some validation and input around this script, but the guts of the script look like this, where the arguments enclosed in curly braces will be replaced by the names of your input and output files:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;#!/bin/bash&lt;br /&gt;echo "Input: M2A audio and MPEG2 720P video streams"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;echo "Output: program stream"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;mplex -f 3 -b 2000 ${AUDIO} ${VIDEO} -o ${PS}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;echo "Input: program stream"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;echo "Output: MPEG2-TS, HDV"&lt;br /&gt;vlc ${PS} --sout '#duplicate{dst=std{access=file,mux=ts,dst="'${HDV}'"}}' vlc:quit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;echo "Input: MPEG2-TS, HDV"&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;echo "Output: MPEG2 DVD"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -i ${HDV} -target dvd -threads 8 ${DVD}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;echo "Input: MPEG2 DVD"&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;echo "Output: iTunes/iPod compatible MP4"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -y -i ${DVD} -an -v 1 -threads 8 -vcodec h264 -b 250k -bt 175k -refs 1 -loop 1 -deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 -me full -subq 1 -me_range 21 -chroma 1 -slice 2 -bf 0 -level 30 -g 300 -keyint_min 30 -sc_threshold 40 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.7 -qmax 51 -qdiff 4 -i_qfactor 0.71428572 -maxrate 450k -bufsize 2M -cmp 1 -s 720x480 -f mp4 -pass 1 /dev/null&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ffmpeg -y -i ${DVD} -v 1 -threads 8 -vcodec h264 -b 250k -bt 175k -refs 1 -loop 1 -deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 -me full -subq 6 -me_range 21 -chroma 1 -slice 2 -bf 0 -level 30 -g 300 -keyint_min 30 -sc_threshold 40 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.7 -qmax 51 -qdiff 4 -i_qfactor 0.71428572 -maxrate 450k -bufsize 2M -cmp 1 -s 720x480 -acodec aac -ab 160k -ar 48000 -ac 2 -f mp4 -pass 2 -threads 8 ${MP4}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Stay tuned for discussions of the remaining scripts to make your life easier,&lt;br /&gt;CM&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17915976-1222853867301609440?l=crazedmuleproductions.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OcllqkG_BlHJ9T3taOjHM7WjfHw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OcllqkG_BlHJ9T3taOjHM7WjfHw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OcllqkG_BlHJ9T3taOjHM7WjfHw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OcllqkG_BlHJ9T3taOjHM7WjfHw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrazedMule/~4/IqVhYvnHgrg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://crazedmuleproductions.blogspot.com/feeds/1222853867301609440/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=17915976&amp;postID=1222853867301609440" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/1222853867301609440?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17915976/posts/default/1222853867301609440?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrazedMule/~3/IqVhYvnHgrg/itunesipod-video-workflow-scripted.html" title="iTunes/iPod video workflow, scripted" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>cacasododom@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="11966800285392441852" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://crazedmuleproductions.blogspot.com/2008/10/itunesipod-video-workflow-scripted.html</feedburner:origLink></entry></feed>
