[mythtv-users] PSP export workflow

Peter Chung petchu at gmail.com
Thu Feb 1 17:34:35 UTC 2007

On 12/29/06, greg at nodecam.com <greg at nodecam.com> wrote:
> I got a PSP for Christmas, primarily for the purpose of watching the late
> night news on the bus ride to/from work.  Anybody care to share how
> they've set up their PSP/MythTV symbiosis?
> What I want is to set up a recording rule to automatically launch a user
> job which cuts commercials then transcodes to a PSP friendy H.264 video.

Hi Greg,

I use the instructions from the following link to build a ffmpeg able
to make mpeg4 avc files playable on a psp:

I also used Arne Zellentin pspenc.sh script from the same link above
and modified it to allow my to use a -t switch to pass the title.

Below is the user job script i use in mythtv, you will probably have to edit it.

#user job command:auto-myth2psp %CHANID%" "%STARTTIME%" "%TITLE%"

export PATH=$PATH:/home/peter/bin

temp=/tmp/myth2psp`date +%s`.mpg

cd $exportdir

#if you want to use commercial cut points you set manually, comment
out line below
/usr/local/bin/mythcommflag --chanid "$chanid" --starttime
"$starttime" --gencutlist
/usr/local/bin/mythtranscode --chanid "$chanid" --starttime
"$starttime" --mpeg2 --honorcutlist --outfile $temp
sleep 1

#nice -n19
/home/peter/bin/pspenc.sh -1 -4 -t "$3" "$temp"
rm ${temp}
rm ${temp}.map


More information about the mythtv-users mailing list