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.

mythcommflag -c %CHANID% -s %STARTTIME% --gencutlist; 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. converts the already created commercial list into a "cut list"
    • Requires that commercial flagging run before this user job

  2. transcodes the captured video to a tmp file.

    • this step also cuts commercials


  3. overwrites the original capture file with the new file

  4. 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.

 

Comments

You specify -e dvd. I have some HD MPEG2 TS files that I converted w/ your command, and which then would not play properly w/ VLC. However, specifying -e ps lets me play them in VLC. I have not tried -e ps w/ a PS3 (as I don't have one). Try it out, if you would.

Comment by Martine Marietta at September 23, 2008 8:40 PM


When you use the -e ps option, the PS3 fails to play audio.

Comment by Travis Collins at September 30, 2008 3:12 PM


Post a comment




Remember Me?


Flickr Feed

IMG_0037.JPGIMG_0036.JPGIMG_0035.JPGIMG_0034.JPGIMG_0032.JPG

Twitter Status

Travis is gearing up for a DreamingWell product announcement that's been in the works for 6 months. :)

Last Seen in

Addison Heights, Virginia

 

Privacy Policy

|

Copyright DreamingWell.com 2008