DreamingWell Logo

Transcoding MythTV for UPnP transport to a PS3

Posted by Travis Collins at August 3, 2008 10:22 PM

MythTV has a builtin UPnP server that can serve recorded shows to the PS3's UPnP client. However, the format that MythTV records may not be directly compatible with the PS3s video client.

I use the following user job in MythTV to transcode recorded videos to a format that is compatible for the PS3 over UPNP. My PCHDTV-5500 card captures audio in MPEG-PS and the PS3 will only play MPEG-TS formats (thus the requirement to transcode the video file).

Be sure to change the two instances of "/storage/mythtv" to your appropriate mythtv video directory.

mythtranscode -c %CHANID% -s %STARTTIME% -p autodetect -m -e dvd --honorcutlist; mv /storage/mythtv/%FILE%.tmp /storage/mythtv/%FILE%; mythcommflag -c %CHANID% -s %STARTTIME% --rebuild --clearcutlist;

This is script performs the following steps:

  1. transcodes the captured video to a tmp file.
    • this step also cuts commercials
  2. overwrites the original capture file with the new file
  3. rebuilds the commercial flags so that a normal myth frontend doesn't skip the commercials that have been cut in the transcoding

Enter the script above as a "User Job" and enable that user job on any recordings (under advanced options in MythWeb) you'd like to be able to view on your PS3.

 

Post a comment




Remember Me?


Flickr Feed

IMG_0037.JPGIMG_0036.JPGIMG_0035.JPGIMG_0034.JPGIMG_0032.JPG

Twitter Status

Travis Is in Chicago for the week. Cold weather is his friend.

Last Seen in

Paularino, California

 

Privacy Policy

|

Copyright DreamingWell.com 2008