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

Douglas Wagner douglasw0 at gmail.com
Sat Apr 28 21:17:06 UTC 2007


FYI This is what nuvexport returns when run directly with the --debug flag:

[mythtv at ghost video]$ nuvexport --chanid=1021 --start=20070312200000
--mode=iPod --nice=19 --cutlist --nodenoise --nodeinterlace --nomultipass
--filename=1021_20070312200000.temp --path=/mnt/varchive --debug

Loading MythTV recording info.
100%
Default resolution based on requested dimensions.

--------------------------------
To encode:  24:  Day 6: 6:00PM - 7:00PM
Use the following commands:

system call:
mkdir -m 0755 /tmp/fifodir_18168/

forking:
/bin/nice -n19 /usr/bin/mythtranscode --showprogress -p autodetect -c 1021
-s 2007-03-12-20-00-00 -f "/tmp/fifodir_18168/" --honorcutlist 2>&1

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



On 4/28/07, Douglas Wagner <douglasw0 at gmail.com> wrote:
>
> All:
>
>      Ok, so I really don't know what i'm doing here I guess.  Just got a
> 30g iPod about a week ago.  I'm trying to get some of the MythTV Kids shows
> i've got onto the iPod for a trip to denver we're taking in about 2
> weeks...limited Timeframe.
>
> So, I got myth2ipod from the site, downloaded everything and set it all
> up.  At the end of which I can transcode a show in the library, it gets put
> into the right place on disk, feed.php picks it up and iTunes even shows
> the podcast and will keep it up to date.  AWESOME!
>
> So next I subscribe to the podcast for the myth shows and go to sync...at
> which point I get: "Some of the videos from your iTunes library, including
> the video <video here>, were not copied to the iPod <iPod Name> because they
> cannot be played on this iPod."
>
> Huh?  I can watch the shows through iTunes itself so I know the transcode
> worked to a valid file.  On disk it is shown as an mp4 file.  If I then go
> to the podcast file in iTunes, right click and select "Convert selection for
> iPod" the conversion happens, the show goes into the "videos" section and
> WILL sync, however no video shows up, I get ONLY audio in iTunes when I play
> it and NOTHING but a black screen (not even audio) when I try to play it on
> the iPod.
>
> Working off of iTunes 7 (most up to date), and a recent version of the
> iPod (Software Version 1.2.1 according to about iPod).
>
> I understand that there's a specific format and parameters that these
> files need to be in for the iPod to show them.  And i'm guessing that the
> reason iTunes refuses to push them to the iPod is because they're out of
> spec.  However, I am stuck here.  So, i'll start posting some info on my
> spec:
>
> ffmpeg -version:
> FFmpeg version SVN-r6524, Copyright (c) 2000-2006 Fabrice Bellard, et al.
>   configuration:  --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib
> --mandir=/usr/share/man --enable-mp3lame --enable-libogg --enable-vorbis
> --enable-faadbin --enable-faac --enable-xvid --enable-x264 --enable-a52
> --enable-a52bin --enable-dts --enable-pp --enable-shared --enable-pthreads
> --enable-dc1394 --enable-gpl --disable-strip --extra-cflags=-O2 -g -pipe
> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables
>   libavutil version: 49.0.1
>   libavcodec version: 51.16.0
>   libavformat version: 50.5.0
>   built on Oct 27 2006 08:36:51, gcc: 4.1.1 20060525 (Red Hat 4.1.1-1)
> ffmpeg      SVN-r6524
> libavutil   3211265
> libavcodec  3346432
> libavformat 3278080
>
> 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.
>
>
> 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.
>
> --Douglas Wagner
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070428/0199284c/attachment-0001.htm 


More information about the mythtv-users mailing list