[mythtv-users] OT: ffmpeg and transcoding for the PSP

James L. Paul james at mauibay.net
Wed Aug 17 07:50:10 UTC 2005

Joe Rizzo wrote:
> I would like to use nuvexport and ffmpeg to encode recorded programs for
> the PSP.  I see this mentioned on this list.

I have a separate ffmpeg binary I built on my backend box to encode for 
PSP. My approach was to write a very simple shell script and define it 
as a user job. I just turn on that user job for any program I might want 
to watch on my PSP.

Here's the script I use: (No laughing, I said it was simple! I'm lazy!)

# MythTV user job to transcode a copy for Sony PSP
/in/ffmpegpsp/ffmpeg/ffmpeg -y -i $FILE -title "$TITLE" -bitexact -f psp 
-s 320x240 -r 29.97 -b 384 -acodec aac -ac 2 -ar 24000 -ab 32 

Of course, the directories needs to match your locations. I doubt mine 
will work for you, ;)

I did briefly have another line in the script to use the ImageMagick 
convert utility to copy a resized JPG version of the PNG thumbnail for 
the PSP, but I stopped that as I don't care enough. :)

> I checkout and build ffmpeg from CVS, but nuvexport shows that ffmpeg
> has no PSP support.  If I bypass nuvexport and use ffmpeg to transcode a
> show, it will not play on the PSP.  It will play with quicktime however.

I didn't bother with nuvexport at all, the user job mechanism can pass 
the title and filename, and it's all automated just the way it should 
be. User jobs rock, by the way!

The ffmpeg development versions have some PSP support, but I did this a 
couple months ago when it was easier to use the MobileHackerz tree. I 
haven't looked lately to see what the current status in the ffmpeg CVS is.

> Where can I get a build of ffmpeg that can transcode shows so that I can
> play them on the PSP?

A quick google for "psp ffmpeg" turns up tons of info, including sources 
and build howtos. I got my source that way and built it on my AMD64 
SuSE93 box without any trouble.

Here's a link I found in 10 seconds of googling:


> The system in question is running Linux, with a Hauppauge 350.

I'm running SuSE93 on AMD64 with PVR500MCE. I've had this PSP user job 
for a handful of programs working fine for a couple months or more.

> Thanks,
> Joe Rizzo

More information about the mythtv-users mailing list