- Chief Hacker Blog - http://chiefhacker.com -

Streaming MythTV from MythWeb using Flash

Posted By chief On January 22, 2007 @ 8:20 pm In MythTV | 66 Comments

Upon researching how to watch my shows over the web I came across this link:
http://www.mythtv.org/wiki/index.php/Stream_mythtv_recordings_from_mythweb_using_flash_video

Unfortunately the site is more of a blog and contains many short enhancements without a straight forward installation. I have taken all that information, added a few more enhancements (web based encoding / better streaming) and provide all the files for download. Hopefully this page will make it much simpler for everyone out there to watch TV from the web.

Prerequisites

  • mythtv
  • mythweb
  • ffmpeg
  • flvtool2 (requires ruby and only necessary if using streamer)

Install

Start by downloading all the files you need right here: [1] mythflash.zip

Now as root…
unzip mythflash.zip
cd mythflash
mv ./* /var/www/mythweb/data or wherever your mythweb directory is located
cd /var/www/mythweb/data
mv mythflash.sh mythexpire.pl /usr/local/bin
chmod 755 /usr/local/bin/mythflash.sh /usr/local/bin/mythexpire.pl
chmod 775 ./recorded this should be a link to the mythtv recordings

Add www-data or apache to mythtv group so it can write to the mythtv data store

chown www-data:www-data * or whichever user runs apache
mv recorded.php ../modules/tv/tmpl/default/ this is for myth .20 default template
ln -s /usr/local/bin/mythexpire.pl /etc/cron.daily/

Next make sure ffmpeg is installed and has mp3lame support, you can check
with ffmpeg –help, you should see enable-mp3lame in there, if not you need to
recompile it with mp3lame support. Just google it.

Lastly is flvtool2, you should be able to apt-get –install flvtool2.

Thats it, now just login to mythweb, check your recorded programs. You can click encode to convert them to flash and once its done it should show up with stream and the magnification level. If you have any problems, post comments!


Article printed from Chief Hacker Blog: http://chiefhacker.com

URL to article: http://chiefhacker.com/2007/01/22/streaming-mythtv-from-mythweb-using-flash/

URLs in this post:
[1] mythflash.zip: http://chiefhacker.com/__oneclick_uploads/2007/01/mythflash.zip

Click here to print.