{"id":359,"date":"2013-02-11T21:26:08","date_gmt":"2020-02-18T06:53:26","guid":{"rendered":"https:\/\/redfrontdoor.org\/blg2\/?p=359"},"modified":"2020-02-18T16:51:50","modified_gmt":"2020-02-18T16:51:50","slug":"post-353","status":"publish","type":"post","link":"https:\/\/redfrontdoor.org\/blog\/?p=359","title":{"rendered":"Encoding video for Archos Vision 14"},"content":{"rendered":"<div style=\"float: right;margin-left: 2em\"><img decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/2013\/02\/Big-Buck-Bunny-still.jpg\"><br \/>\n<span style=\"font-size: 80%\">&copy; 2008, Blender Foundation : CC&nbsp;BY&nbsp;3.0<br \/><a href=\"http:\/\/www.bigbuckbunny.org\/\">www.bigbuckbunny.org<\/a><\/span><\/div>\n<p>The kids had taken a few videos which they wanted to put onto their Archos Vision 14 portable media players, but the supplied software is Windows-only and wouldn&#8217;t run successfully under Wine.  The example movie on the device (Big Buck Bunny) had in its metadata a comment that it had been encoded with <tt>mencoder<\/tt>, so I thought there was a reasonable chance that Archos&#8217;s clunky-GUI&#8217;d software just called out to <tt>mencoder<\/tt> to do the actual work.<\/p>\n<p>Running Archos&#8217;s AVIConverter on a real Windows XP machine and watching via Process Explorer revealed that this was the case.  Grabbing the command-line and trying it under Linux worked:<\/p>\n<pre>\nmencoder -noodml \\\n  input-file.avi \\\n  -of avi -o output-file.avi \\\n  -ofps 15 \\\n  -vf-add scale=128:-3 -vf-add expand=128:128:-1:-1:1 \\\n  -ovc xvid \\\n  -xvidencopts bitrate=400:max_bframes=0:quant_type=h263:me_quality=0 \\\n  -srate 44100 \\\n  -stereo 0 \\\n  -oac lavc -lavcopts acodec=mp2:abitrate=128\n<\/pre>\n<p>No doubt this could be translated into an <tt>ffmpeg<\/tt> command-line by someone who knows what they&#8217;re doing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&copy; 2008, Blender Foundation : CC&nbsp;BY&nbsp;3.0www.bigbuckbunny.org The kids had taken a few videos which they wanted to put onto their Archos Vision 14 portable media players, but the supplied software is Windows-only and wouldn&#8217;t run successfully under Wine. The example movie on the device (Big Buck Bunny) had in its metadata a comment that it had been encoded with mencoder, so I thought there was a reasonable chance that Archos&#8217;s clunky-GUI&#8217;d software just called out to mencoder to do the actual work. Running Archos&#8217;s AVIConverter on a real Windows XP machine and watching via Process Explorer revealed that this was the case. Grabbing the command-line and trying it under Linux worked: mencoder -noodml \\ input-file.avi \\ -of avi -o output-file.avi<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-359","post","type-post","status-publish","format-standard","hentry","category-uncategorized","comments-off"],"_links":{"self":[{"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=359"}],"version-history":[{"count":1,"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/359\/revisions"}],"predecessor-version":[{"id":2179,"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/359\/revisions\/2179"}],"wp:attachment":[{"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redfrontdoor.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}