[mythtv-users] Somewhat OT: Myth2iPod Transcode Succeeds but Won't Sync

Douglas Wagner douglasw0 at gmail.com
Sat Apr 28 23:35:57 UTC 2007


Ok so I got a chance to try the AtomicParsley, I get what it's doing now.  I
probably wasn't clear.

The mythTV show transcodes down to a mp4 file, that mp4 file does in fact
get displayed to the podcast and that podcast does in fact download to
iTunes.  It plays just fine in iTunes so all the underlying meta-data for
the mp4 file is properly correct, I ran AtomicParsley using the example
given for making the file into a video Podcast, it created the temp file, I
added the temp file to the library and it refused to sync that also due to
the video being in the wrong format.

When I look at Myth2Ipod / nuvExport, particuarly the "debug" run that I did
I have a few questions:

forking:
/bin/nice -n19 ffmpeg -y -f s16le -ar 48000 -ac 2 -i
/tmp/fifodir_18168/audout -f rawvideo -pix_fmt yuv420p -s 1280x720 -aspect
1.77777777777778 -r 59.940 -i /tmp/fifodir_18168/vidout -aspect
1.77777777777778 -r 23.97 -croptop    10 -cropright 18 -cropbottom 10
-cropleft  18 -s 320x176  -vcodec h264 -b '393216' -title '24 - Day 6:
6:00PM - 7:00PM' -level 30 -loop 1 -g 250 -keyint_min 25 -sc_threshold 40
-rc_eq 'blurCplx^(1-qComp)' -bt '393216' -maxrate '786432' -bufsize '249856'
-i_qfactor ' 0.71428572' -b_qfactor '0.76923078' -bf '0' -refs 2 -subq 7
-partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -flags2
+bpyramid+wpred+mixed_refs+8x8dct+brdo -me_range 21 -trellis 2 -chroma 1
-slice 2 -cmp 1 -deblockalpha 0 -deblockbeta 0 -acodec aac -ar 48000 -async
1 -ab 64 '/mnt/varchive/1021_20070312200000.temp.mp4' 2>&1

First, the 1280x720 - This is the origial size of the show as recorded by
MythTV...isn't this out of spec for the iPod?  Doesn't it do either 320x240
or 640x480 only?  Or is that the original size and it's being cut down to
320x176 (just before the h264 vcodec switch)?

Is there something in the line above that makes this out of iPod spec?  Or
is there something I should be setting specifically with AtomicParsley to
get iTunes to figure that it's OK to play this on an iPod?

--Douglas Wagner


On 4/28/07, Douglas Wagner <douglasw0 at gmail.com> wrote:
>
> Ok, I kind of need to remediate a few minutes.  I just realized last week
> that I could even do any of this.  I'm a computer tech but I know almost
> nothing about video, codecs, etc.
>
> To my knowledge I need to be using mp4 (MPEG-4) format to get the ipod to
> correctly play the files.  I'm not sure where h264 comes in, is that a
> standard format for the video?  (I probalby should have posted that i'm
> recording via a pchdTV3000 card, the recordings are dropped into my video
> directory in mpg format.)
>
> My assumption at this point is that myth2ipod is asking nuvexport to
> produce a file that is out of the iPod's range of play.
>
> What I don't understand is how to tell nuvexport to do something
> differently than it's doing now.  I'm not sure where i'd tell myth2ipod to
> encode in xvid format or what that would do for me.  Honestly i'm pretty
> lost on this whole thing.
>
> I'll take a look at AtomicParsley and see if I can get some info from it.
> Any additional information anyone would like to provide (or a tutorial on
> some of this transcoding stuff) would be most helpful.
>
> --Douglas Wagner
>
>
>  On 4/28/07, Jon <jon at sd-6.org> wrote:
> >
> >
> >
> > Douglas Wagner wrote:
> >
> > >
> > >     Myth2Ipod Script Variables:
> > >     # User variables
> > >             my $portable = "ipod";
> > >             my $feedfile = "/video/ipodfeed/feed.php";
> > >             my $feedpath = "/video/ipodfeed/";
> > >             my $wwwloc = "/var/www/html/";
> > >             my $feedurl = "http://ghost/ipodfeed/";
> > >             my $nuvoptions ="--mode=iPod --nice=19 --cutlist
> > --nodenoise
> > >     --nodeinterlace --nomultipass";
> > >
> > >     Putting a --debug into the $nuvoptions line above I get the
> > >     following when I run (for nuvexport options)
> > >     Starting nuvexport...
> > >     /usr/local/bin/nuvexport --chanid=1021 --start=20070312200000
> > >     --debug --mode=iPod --nice=19 --cutlist --nodenoise
> > --nodeinterlace
> > >     --nomultipass --filename=1021_20070312200000.temp
> > >     --path=/video/ipodfeed/
> > >
> > >     In iTunes when I go to the podcast, right click, and do a "get
> > info"
> > >     the following is showing:
> > >     Kind: MPEG-4 Video file
> > >     Profile: Low Compatibility
> > >     Size: 182 MB
> > >     Channels: Stereo
> > >     Bit Rate: 64 kbps
> > >     Purchase Date: 1/1/1970 12:00am
> > >     Sample Rate: 48,000 kHz
> > >     Total Bit Rate: 0 kbps
> > >     Date Modified: 4/28/2007 2:45 PM
> > >     Play Count: 0
> > >     Last Played: Not Available.
> > >
> > >     (Note: The file info here is not the file I ran the info on above
> > in
> > >     case the Date modified looks wrong).
> > >
> > >     I can't figure out what would be causing this not to transfer to
> > the
> > >     iPod: maybe the "0" bit rate is causing iTunes to say it's not
> > >     good?  There's got to be SOME settings I can throw into
> > myth2ipod's
> > >     script to allow it to properly transcode the file to be correctly
> > >     recognized and play on the iPod.
> >
> > To use iTunes to transfer h264 videos to your iPod, you need to have a
> > specific tag in the file. AtomicParsley(svn) can add it with the
> > following command.
> > AtomicParsley <file> --DeepScan --iPod-uuid 1200 --overWrite
> >
> >
> > >
> > >     HELP!!!! I have 2 weeks to get this figured out or i'm stuck in a
> > >     car for 15 hours with a 5 yo and an 3 yo who have VERY limited
> > >     entertainment...
> > >     At this point, i'm willing to get either myth2ipod to work or make
> > >     ANY OTHER SOLUTION work to get files to the iPod.  Transcoding
> > takes
> > >     time and I have a limited amount between now and the trip...and I
> > >     still have yet to test my car's dvd player to ensure it can play
> > >     what i'm pushing to it from the iPod.
> >
> > If you don't want to re-encode, use AtomicParsley.  Alternatively you
> > can have myth2ipod encode with xvid instead.  IMHO, the time it takes to
> > encode the h264 vs. xvid, is not worth the small gain in quality or
> > smaller filesize, unless you are outputting it to a TV.
> >
> >
> > >
> > >     --Douglas Wagner
> > >
> > >
> > >
> > >
> > ------------------------------------------------------------------------
> >
> > --
> > Jon
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070428/b289baed/attachment.htm 


More information about the mythtv-users mailing list