{"id":36,"date":"2007-04-04T10:25:21","date_gmt":"2007-04-04T13:25:21","guid":{"rendered":"http:\/\/labs.morpheuz.eng.br\/blog\/04\/04\/2007\/prison-break-freedom-for-your-videos\/"},"modified":"2007-04-04T10:25:21","modified_gmt":"2007-04-04T13:25:21","slug":"prison-break-freedom-for-your-videos","status":"publish","type":"post","link":"https:\/\/blog.morpheuz.cc\/?p=36","title":{"rendered":"Prison Break: Freedom for your videos"},"content":{"rendered":"<p>Good news for all the people that ever wanted to watch live-tv\/DVD\/etc.. on your N800: <a href=\"http:\/\/gmyth.sf.net\" title=\"GMyth-Streamer\" target=\"_blank\" rel=\"noopener noreferrer\"><em>GMyth-Streamer<\/em><\/a>.<\/p>\n<p>At first it was an add-on for MythTV that would enable you to watch live-tv from MythTV on the device. But then, it started to grow and we had so many ideas that, right now, it can be more than just a simply add-on for MythTV, it can be a media streaming solution.<\/p>\n<p>Using it you are able to stream any kind of video from your computer through the Internet or cabled\/wireless network at home to your <a href=\"http:\/\/nokia.com\/n800\" title=\"N800\" target=\"_blank\" rel=\"noopener noreferrer\">N800<\/a> or another computer.<\/p>\n<p>During my tests I streamed video content from a file\/DVD disc on my computer using <em>GMyth-Streamer<\/em> and <em>Mplayer+test application<\/em> on N800. Mplayer used about 26% of N800&#8217;s CPU and CPU usage on my notebook depended on the video (sometimes got 50% of the CPU &#8211; Core 2 Duo @ 2.33 GHz). To test I streamed mpeg4 videos (mpeg2 720&#215;576 -&gt; mpeg4 320&#215;240) and mpeg1 videos (DVD &#8211; one episode of Prison Break and the entire &#8220;Butterfly Effect&#8221; movie &#8211; mpeg2 -&gt; mpeg1 400&#215;240).<\/p>\n<p>GMyth-Streamer was entirely written in <em>python<\/em> and supports <em>plugins<\/em> (MEDIA plugins to handle the transcode\/stream of the video and COMM plugins to handle what I call &#8220;control socket&#8221; &#8211; where you send commands to GMyth-Streamer). Right now we have fully working Mencoder media plugin (Gstreamer plugin almost there) and a VLC media plugin under development. Regarding comm plugins we have a TCP plugin (simple tcp connection) and also a XMLRPC plugin (both 100% working).<\/p>\n<p>The ones of you who have already played a little bit with Mencoder knows about it&#8217;s potential and understand that we are able to encode video directly from the tv tuner and also do some nice stuff like using video\/audio filters supported by Mencoder (some of them: remove logo from video, put logo on video, put subtitles, crop , flip, mirror, rotate, noise, denoise).<\/p>\n<p>It&#8217; s important to say that IMHO Mencoder+Mplayer is a better solution than gstreamer because it could encode\/play any kind of videos (as well stream them) and gstreamer had problems depending on the muxer+codec you used. For example, gstreamer could not play AVI files without index for seeking and Mplayer could handle it.<\/p>\n<p>Somebody can say that VLC already does all this stuff but we had more success using GMyth-Streamer to stream video to N800 than with VLC. Also notice that it&#8217;s very easy to implement your own plugin for GMyth-Streamer and it&#8217;s still easy to integrate it with MythTV\/Freevo and another solutions (transcoding videos for <a href=\"http:\/\/www.tivo.com\" title=\"Tivo\" target=\"_blank\" rel=\"noopener noreferrer\">Tivo<\/a>, <a href=\"http:\/\/www.slingmedia.com\/indexa.php\" title=\"Slingmedia\" target=\"_blank\" rel=\"noopener noreferrer\">Slingbox<\/a> ? \ud83d\ude09 ).<\/p>\n<p>Here you can see a little demo about what I said. I put a DVD inside my notebook and through my wireless connection I streamed it to N800 and at the same time I played it on the TV (notebook&#8217;s dvi out). The TV and the device were not synchronized because they didn&#8217;t start at the same time (and it was not the idea). But audio+video on the device and on the TV were 100% synchronized.<\/p>\n<p><object width=\"425\" height=\"350\"><param name=\"movie\" value=\"http:\/\/www.youtube.com\/v\/JxBEJhT08Ys\"><\/param><embed src=\"http:\/\/www.youtube.com\/v\/JxBEJhT08Ys\" type=\"application\/x-shockwave-flash\" width=\"425\" height=\"350\"><\/embed><\/object><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good news for all the people that ever wanted to watch live-tv\/DVD\/etc.. on your N800: GMyth-Streamer. At first it was an add-on for MythTV that would enable you to watch live-tv from MythTV on the device. But then, it started to grow and we had so many ideas that, right now, it can be more [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-36","post","type-post","status-publish","format-standard","hentry","category-maemo"],"_links":{"self":[{"href":"https:\/\/blog.morpheuz.cc\/index.php?rest_route=\/wp\/v2\/posts\/36","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.morpheuz.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.morpheuz.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.morpheuz.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.morpheuz.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=36"}],"version-history":[{"count":0,"href":"https:\/\/blog.morpheuz.cc\/index.php?rest_route=\/wp\/v2\/posts\/36\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.morpheuz.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.morpheuz.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.morpheuz.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}