May 16, 2006
Electrical tape wearing thin holding together my old cell phone (Samsung i500), I decided it was time to give in and upgrade to a new phone. I drank the kool-aid on a 2 year Sprint contract given the discounts both on the phone and in my monthly service, and in the end settled on the Samsung a920. It's an EVDO enabled phone with Sprint's $15 unlimited monthly data service. Playing around with the mobile TV functionality (that's an extra $10/month but I was enjoying the first month free), I had one of those lightning bolt moments.
Why not stream my own video to the phone? Better yet, why not just automate my MythTV to convert my recorded programs and automatically have them ready to be streamed whenever I care to watch them on the phone?
A bit of research later, I discovered SlingBox can stream your tv to your phone, but it needs to be a Windows mobile phone and then there's the monthly service fees and the box to buy. I also found random mythtv devotees with similar ideas at least as far back as January 2005, but couldn't otherwise find a concise guide or more information. Inspired by ZooVision, I knew it was possible for users to stream their own content to their phone, it was just a matter of putting the pieces all together. A couple hours of tinkering later, and I've got a working solution... my "tivo" on my cell phone wherever there's sprint evdo access. So here are the steps:
- Get MythTV up and running. I won't go into that, but it's worth the hassle even if I couldn't stream it to my cell phone.
- Follow these directions which will get you an updated version of ffmpeg (named ffmpeg3gp) and a myth3gp script which, in combination, allow you to take Myth recorded video and convert it to 3gp, a mobile video format standard that most multimedia phones support. However, instead of using the myth3gp script from there, you'll likely want to use this myth3gp script as I've included a couple of necessary changes. Save that txt file as /usr/local/bin/myth3gp on your Myth box.
- Create a directory to hold your 3gp videos on your Myth system. Open up the myth3gp script from the previous step and change the line that says:
out="/mnt/drive2/myth3gp" to: out="/directory/for/saving/your/3gp/videos"
- Install gpac. Once you've compiled and installed gpac, it will provide you with an executable called MP4Box which is used to convert the 3gp file from step two into a 3gp file that is streaming enabled. The myth3gp script calls MP4Box to take care of this for us.
- Find an internet connected server which can house your 3gp videos and be available to stream them at will to your phone. On said server you'll need to install Apple's Darwin Streaming Server. Installing it can be a bit of pain, but just be sure to have port 554 open so that it can handle the rtsp streaming protocol. For me, getting Darwin to work took the most effort. If your MythTV box has a static IP and is internet accessible, that should work fine, but in my case I'm uploading the videos to another server.
- We're in the homestretch. We've got programs to convert Myth recorded video to a phone friendly format, and we've got a server that can stream them to our phone. We just now need an automated process to convert the video and upload it to the server running Darwin and we'll be in phone tv nirvana. Myth can do this automation for us. You'll need to exit out of Myth and run:
mythtv-setup From there, choose the "General" menu item and hit enter until you get to the "Job Queue" screen. Put a checkmark in "Allow User Job #1 jobs and continue to the next screen until you get the page with label "User Job #1 description". Give it a description like "Myth 3GP" and for the command, use (note the quotes): /usr/local/bin/myth3gp %DIR%/%FILE%
"%STARTTIME%~~~%TITLE~~~%SUBTITLE%" Save your changes, exit, restart the mythbackend and restart Myth.
- With Myth restarted, go into Utilities / Setup -> Setup -> TV Settings -> General and click through until you get the "General (Jobs)" page. On this page, put a check in the checkbox next "Run User Job #1 On New Recordings". This will ensure that our process gets run after each new recording. Important Note: For all existing recurring recordings that you had prior to setting up Myth3GP, you'll need to manually edit the recording options and in "Post Recording Processing", you'll need to switch its setting so that it says "Run 'Myth3GP'".
- If your using your local Myth system for Darwin streaming, just be sure that Darwin knows where to find the 3gp files on your system. Otherwise, edit the myth3gp script from step number two and set the darwin_username, darwin_hostname and darwin_dir as appropriate for your external server. At the bottom of the script, it uses scp to transfer the file from your Myth system to your Darwin server. Though, for everything to be automated, you'll need to set up scp to not require a password. Directions for password free ssh/scp are short and sweet. Once you can transfer files between systems sans password, you are good to go.
- The final step. On your Darwin machine, make sure you have a web server running (apache), php installed and place this php script somewhere in a web accessible folder. It's job is to scan your 3gp movie folder for movies and generate a webpage with rtsp:// links so that you can access your recordings from your phone. Edit the php script and change $directory to the directory path for your 3gp videos and set $hostname to your hostname. With that installed, you're done. You can manually convert your old recordings by starting the "Myth3GP" job on them and any new recording will automatically get the mobile treatment. Fire up the URL for the mythmobile php script and start streaming.
mph. Indeed some beautiful uses of fair use. Fair use to record the tv program to my hard drive... Fair use to convert the video format to one viewable by my cell phone... Fair use to stream it to my cell phone for my own personal enjoyment. Now imagine trying to do any of this with the broadcast flag in place.
Originally posted by Gary Lerhaupt from Torrentocracy Blog, remediated by yatta on May 16, 2006 at 10:38 PM
Had to add a comment (and a plug) related to successful streaming experience you detail here. I.e. Holy cow...Can I suggest and easier way? 1.) Download orb onto your home pc 2.) Log in via your new phone 3.) watch your videos, live tv or recorded tv. It really is that simple. You can also control the Orb pvr from your phone to set shows to record (live TV, iTV or iRadio, etc). Check it out...it works. thanks, Curt.
|
unmediated.av:
The Weekly Show

drawing from extrastruggle.
We've been having a back channel conversation amongst the trackers at unmediated about how/whether to update the way in which we aggregate, present, and make useable the content on the site, in light of all the various aggregators, digg and its clones, and role model group blog sites that we all consume/use/hate/love. Since we all primarily support open media movements and the freedom of bits and so forth, and with all of us being busy with our primary projects, we are looking for ways to make getting content on the site easier and more streamlined, while making it obvious that we are presenting other sources content. With the availability of open API's for just about any type of media aggegration literally getting past the saturation point, and mashups taking every possible form, we are wondering, is it time to take a step back, or a step forward with how/what we do at umediated? In the course of my surfing today, i found this new site, Boxxet Which just might be the straw that breaks the camel's back in how we all perceive the current mix and match nature of the web as it now stands. What's different about Boxxet from other aggregators and mashups like the newest entry popurls, (which aggregates digg, slashdot, reddit, newsvine, tailrank, and flickr) is that Boxxet is a Website generator. Thats right, just pop in all the urls u want to aggregate (and WHAT from them) choose how u want to format it, plug in the url that u want it to be accessed at... and whammo: Your own site with everyone elses content, and all thats left to do is decide whether googleplex or yahooza is going to be the source of your linklove revenue. And if u have on older domain that u plug this into...well, we all know how the pageranking with search engines work by now. It used to be that u had to have a bit of code knowledge to make all this stuff work. Eyebeam's Re-blog engine which powers this site was not a simple undertaking at the time that Michael Frumin and Michael Migurski put it all together... a half a year before Marc Broadband-mechanicked the term Reblog as his latest buzzword before casting his attention on the ourmedia-meme. (kudo's, kudo's) But now, with the cut and paste mentality of webculture that we at unmediated have helped create, the pace at which people are remixing and repurposing code is accelerating at a rate similar to the curve that we saw with pro-sumer desktop video... almost anyone can do it. I have this sinking feeling in my gut that we will arrive sooner than later at the same existential threshold that the film studios and record labels are squirming under to our joyful cries of "die, dinosaurs, die!". What i am wondering, is how long until my hero of the open-information movement, Cory Doctorow, and the rest of our pals at BB will tolerate re-aggregation and repurposing of his content, (now that he is investing so much more time at the site) before he (or any of one us) screams, "FOUL!" Stewart Butterfield over at Flickr is dealing with this beast at the moment...and i have to admire the dryness with which he states, "I loaded the FlickrCentral pool and firefox got up to using 240mb of ram before dying. So that's not a great user experience, but it's really terrible for Flickr. If it catches on and you don't limit it, we'll have to cut you off :\" Sure, Stewart, blame it on the user experience and firefox. ;) I admire your candor, and personal attention/approach to what has become one of the hottest new BRANDS in Web 2.0 ...that u still have time to be personal and all flickr-fuzzy even after being acquired, but I am sure that your jeans feel like they're fitting a bit tighter all of a sudden. Pretty soon, I expect, a lot of us bell-bottomed infornistas are going to wake up in a similar pair of Jordaches. I'm curious which of us will cut the inseams and sew in another totally different material to keep our style,and which of us will claim that now that we're wearing skintight jeans ("they're really really comfortable...REALLY! You think i should get a pair of Reeboks to go with 'em?"), that the manufacture of bell-bottoms should be forbidden. I point this all out in good humour only to illustrate a point: The times, they are('nt) a changin'>, and Cory just might wake up one day soon in his magic kingdom, and say "Hey, man, where'd all my whuffie go? And he's going to have no choice but to join Walt's pinstripesuits in pushing for copyright extension. It's a pill i hope he (and we) never have to swallow. So i pose the question to our community readers: How do you see unmediated-Are we crossing the boundaries in how we repurpose content? Would you like to see more editorializing? Narrower/Broader scope? Are we a repository of information that you come back to use, or just part of your daily information addiction? Let us know... I, for one, would like to have an idea about what pair of jeans to wear this year ;) michael
Featured Project
Berkeley Conference: Online Video and the Future of Television - Friday, September 30, 2005
This one-day conference brings together archivists, educators, technologists, entrepreneurs, producers, legal experts, and investors to explore the enormous promise offered by the availability of online video and television content. Demonstrations and interactive panel discussions will highlight new video technologies, services, legal issues, and economic models. Participants from diverse – and until now, largely disconnected – specialties will be especially encouraged to interact.
del.icio.us/tag/unmediated
[+]
About unmediated
unmediated is a group blog that tracks the tools, processes,
and ideas being used to decentralize media production and distribution.
|
flickr/tag/
citizenmedia
[+]
|
Had to add a comment (and a plug) related to successful streaming experience you detail here. I.e. Holy cow...Can I suggest and easier way? 1.) Download orb onto your home pc 2.) Log in via your new phone 3.) watch your videos, live tv or recorded tv. It really is that simple. You can also control the Orb pvr from your phone to set shows to record (live TV, iTV or iRadio, etc). Check it out...it works. thanks, Curt.
Posted by: Curt at May 17, 2006 05:30 PM