[mythtv-users] myth2ipod or nuvexport - for ipod high-res video output

Jeff Simpson jeffsimpson at alum.wpi.edu
Thu Nov 1 13:38:18 UTC 2007

I was able to get myth2ipod to work, with a little bit of patching of
nuvexport (to handle the new version of ffmpeg). I can generate
320x240 h264 and mpeg videos, make the podcast, and load them onto my

I just bought an iFlip. It's basically an 8.5" LCD screen and a 5 hour
battery for the iPod video. the 320x240 videos look like crap on it,
so I wanted to kick it up a notch and start encoding them as higher
quality (I know it must be possible, since the iPod can output to a

Here's the modification I made to myth2ipod:

        my $nuvoptions ="--mode=iPod --nice=19 --cutlist --nodenoise
--nodeinterlace --nomultipass";
        # To be playable on TV
        $nuvoptions .= " --width=640 --height=480 --mp4_codec=h264";

This creates a file that even mplayer can't play:

Quicktime/MOV file format detected.
[mov] Video stream found, -vid 0
[mov] Audio stream found, -aid 1
VIDEO:  [avc1]  640x480  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 64.2 kbit/4.18% (ratio: 8021->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)

Apart from the 0.0kbyte/s it looks good so far, right? Once it starts
trying to play, it gets a few dozen of each of these messages in rapid
succession and just plays a garbage movie file:

FAAD: Failed to decode frame: Scalefactor out of range
FAAD: Failed to decode frame: Gain control not yet implemented
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded

Any suggestions? Can I not use h264 with a 640x480 size? Will the iPod
play a different size that is better? The video being imported is
720x480 from a PVR-350.

More information about the mythtv-users mailing list