[mythtv-users] myth2ipod/nuvexport

Nick F nikos.f at gmail.com
Tue Nov 13 04:29:36 UTC 2007


On 11/11/07, Chris Isip <cmisipster at gmail.com> wrote:
>
>
>  On Nov 8, 2007 3:26 PM, Fred Squires <fsquires at gmail.com> wrote:
>
> >  On Nov 8, 2007 12:03 PM, Stephen Robertson <stephengrobertson at gmail.com>
> > wrote:
> > > I wonder if anyone is having any success with exporting video to an
> > > ipod, specifically in this case one of the nanos that can do video if
> > > that's relevant.
> > I got this from the net somewhere  and seems to work well for my ipod
> > touch.
> >
> > #!/bin/bash
> > rm -rf tmp.mpg* 2> /dev/null
> > mythtranscode --mpeg2 -i $1 -o tmp.mpg
> > /usr/bin/ffmpeg -i tmp.mpg  -acodec aac -ac 2 -ar 44100 -ab 128k -s
> > 320x240 -vcodec h264 -b 300k -flags +loop -cmp +chroma -partitions
> > +parti4x4+partp8x8+partb8x8 -me umh -subq 5 -trellis 1 -refs 1 -coder 0
> > -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt
> > 300k -maxrate 300k -bufsize 300k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6-qmin 15 -qmax 51 -qdiff 4 -level 30 -aspect 320:240 $2
> > rm -rf tmp.mpg* 2> /dev/null
> >
>
Thanks - this worked quite well for me for my iPhone.

In case anyone elses tries it - to make it work on a recent ffmpeg - you
need to change 'aac' to 'libfaac' and 'h264' to 'libx264'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20071113/5938b8ab/attachment.htm 


More information about the mythtv-users mailing list