{"id":976,"date":"2012-11-05T09:15:39","date_gmt":"2012-11-05T15:15:39","guid":{"rendered":"http:\/\/blografia.net\/vicm3\/?p=976"},"modified":"2012-11-06T09:47:40","modified_gmt":"2012-11-06T15:47:40","slug":"easy-way-to-enconde-video-for-set-top-box","status":"publish","type":"post","link":"https:\/\/blografia.net\/vicm3\/2012\/11\/easy-way-to-enconde-video-for-set-top-box\/","title":{"rendered":"Easy way to enconde video for set top box"},"content":{"rendered":"<p>If you had one of these every day more affordable and really cheap mitzui and others DVD players that also reproduce vidx and xvid video and read USB sticks\/Memory Cards, but not MP4 with AC3. Sure you want to be able to reproduce without have to burn a CD with something like nero or similar to convert between formats.<\/p>\n<p>I tried ffmpeg on Debian and found some interesting things:<\/p>\n<ol>\n<li>Build lacks MP3 sound codec, cause patent problems on several countries<\/li>\n<li>Also DivX is not included as is commercially owned and the legal of this is not gray but more like black so not included (even when its a implementation of H264\/MPEG-4VC, same or worse problem for DivX ;) (MPEG-4 version 3)<\/li>\n<li>Strange enough never can make Xvid output, I found this is because patent issues on several countries&#8230;<\/li>\n<\/ol>\n<p>So even transforming to AVI, Indeo\/M$\/H264\/MPEG-4, the audio where in mp2 or AC as cant make use of liblame without make a mess o compile my own ffmpeg.<\/p>\n<p>In any case the magic incantation to get what I need was:<\/p>\n<p>ffmpeg -i movie.mp4 -vcodec xvid -acodec mp3 movie.avi<\/p>\n<p>This is cause before I have done a really big file with MPEG-1 video and mp2 sound (terrible if you wonder), to just found that my decoder reads well, but don&#8217;t support external subtitles on mpg files :( bummer.<\/p>\n<p>Finally found that even in win you can use ffmpeg for free with WinFF (that regardless of the name runs on Linux and Win) [1] that gives nice menus and combos, yes I know that for win exist a monstrous encoder called Super [2] but that thing is really big, useful when you need\u00a0\u00a0FFmpeg , MEncoder , MPlayer , x264 , MusePack (mpc) , Monkey&#8217;s Audio (ape) ,Shorten Audio (shn) , Tom&#8217;s Audio Kompressor (tak) , True Audio (tta) , WavPack (wv) ,libavcodec library (compiled inside FFmpeg and MEncoder) &amp; the theora\/vorbis RealProducer&#8217;s plugIn&#8230; but normally FFmpeg is just enough.<\/p>\n<p>By the way searching for info I reached 19 ffmpeg commands for all needs [3] that gives you a very good cheat sheet and examples of how craft ffmpeg switches and options.<\/p>\n<p>[1] <a href=\"http:\/\/winff.org\/html_new\/\">http:\/\/winff.org\/html_new\/<\/a><br \/>\n[2] <a href=\"http:\/\/www.erightsoft.com\/SUPER.html\">http:\/\/www.erightsoft.com\/SUPER.html<br \/>\n<\/a>[3] <a href=\"http:\/\/www.catswhocode.com\/blog\/19-ffmpeg-commands-for-all-needs\">http:\/\/www.catswhocode.com\/blog\/19-ffmpeg-commands-for-all-needs<\/a><a href=\"http:\/\/www.erightsoft.com\/SUPER.html\"><br \/>\n<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you had one of these every day more affordable and really cheap mitzui and others DVD players that also reproduce vidx and xvid video and read USB sticks\/Memory Cards, but not MP4 with AC3. Sure you want to be &hellip; <a href=\"https:\/\/blografia.net\/vicm3\/2012\/11\/easy-way-to-enconde-video-for-set-top-box\/\">Sigue leyendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[5,10,8,7],"tags":[],"class_list":["post-976","post","type-post","status-publish","format-standard","hentry","category-debraye","category-planetalinux","category-sysadmin","category-web"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":973,"url":"https:\/\/blografia.net\/vicm3\/2012\/11\/seatools-boot-from-usb-stick\/","url_meta":{"origin":976,"position":0},"title":"How To Create Bootable USB Disk For Seagate SeaTools","author":"vicm3","date":"3 noviembre, 2012","format":false,"excerpt":"This entry originally was named \"Seatools boot from usb stick\", but as I searched on google, results with bad to worse methods to create bootable usb sticks are up in place, so I changed the name in hope that gets more visibility on the net. Recently I need to use\u2026","rel":"","context":"En \u00abGeneral\u00bb","block_context":{"text":"General","link":"https:\/\/blografia.net\/vicm3\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1378,"url":"https:\/\/blografia.net\/vicm3\/2014\/09\/wordpress-xmlrpc-ddos-mitigation\/","url_meta":{"origin":976,"position":1},"title":"WordPress xmlrpc DDOS mitigation","author":"vicm3","date":"27 septiembre, 2014","format":false,"excerpt":"Well not long ago DH contacted me with this dreaded message: Hello, I'm writing you about your domain: foo.bar Specifically the file: xmlrpc.php This file is used for modifying your wordpress install from 3rd party\u00a0programs, like mobile site designers, desktop client programs, and pretty\u00a0much anything besides the wordpress control panel\u2026","rel":"","context":"En \u00abplanetalinux\u00bb","block_context":{"text":"planetalinux","link":"https:\/\/blografia.net\/vicm3\/category\/planetalinux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1407,"url":"https:\/\/blografia.net\/vicm3\/2014\/12\/two-things-are-infinite-the-universe-and-human-stupidity\/","url_meta":{"origin":976,"position":2},"title":"Two things are infinite: the universe and human stupidity","author":"vicm3","date":"10 diciembre, 2014","format":false,"excerpt":"I think that reality is better than fiction, so take this as a fiction story... well short of... The full quote that gives nave to this post it's \"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.\" Albert Einstein. Monday lost five hours\u2026","rel":"","context":"En \u00abDebraye\u00bb","block_context":{"text":"Debraye","link":"https:\/\/blografia.net\/vicm3\/category\/debraye\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":77,"url":"https:\/\/blografia.net\/vicm3\/2005\/04\/variaciones_de_voltaje\/","url_meta":{"origin":976,"position":3},"title":"Variaciones de voltaje","author":"vicm3","date":"2 abril, 2005","format":false,"excerpt":"Leyendo a Gunnar y el como murio la alimentacion de su maquinita en casa, transcribo algo sobre mi experiencia con variaciones de voltaje en esta zona de la ciudad... que me recordaron algunas cosas interesantes... desafortunadamente el comentario original esta en ingles, ya que me tome un rato para practicarlo\u2026","rel":"","context":"En \u00abGeneral\u00bb","block_context":{"text":"General","link":"https:\/\/blografia.net\/vicm3\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1104,"url":"https:\/\/blografia.net\/vicm3\/2013\/09\/svn-and-its-new-sqlite-format-again\/","url_meta":{"origin":976,"position":4},"title":"SVN and its new sqlite format again","author":"vicm3","date":"10 septiembre, 2013","format":false,"excerpt":"I been a user of svn for a quite long time now, and had to work around certain \"features\", like berkeley.db locking on multiuser home directories, the migration to FS logs, and problems working with multi platform environments, most of it its documented on this blog. Yeah, git is sexy,\u2026","rel":"","context":"En \u00abDebraye\u00bb","block_context":{"text":"Debraye","link":"https:\/\/blografia.net\/vicm3\/category\/debraye\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":978,"url":"https:\/\/blografia.net\/vicm3\/2012\/11\/about-new-disks\/","url_meta":{"origin":976,"position":5},"title":"About new disks","author":"vicm3","date":"15 noviembre, 2012","format":false,"excerpt":"I have the bad habit to put to test my new disks for 2 months before moving the original disk to storage and only after another 2 months move\/sell\/retire the old ones. Recently I buy 2 Seagate Barracuda ST2000DM001 @7200RPM, one is going directly to warranty as never can finish\u2026","rel":"","context":"En \u00abDebraye\u00bb","block_context":{"text":"Debraye","link":"https:\/\/blografia.net\/vicm3\/category\/debraye\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blografia.net\/vicm3\/wp-content\/uploads\/2012\/11\/sdd-week.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts\/976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/comments?post=976"}],"version-history":[{"count":0,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts\/976\/revisions"}],"wp:attachment":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/media?parent=976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/categories?post=976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/tags?post=976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}