[mythtv-users] Apostrophe problem & myth2ipod

Tony Enriquez tony_mythtv at yahoo.com
Sun Feb 5 11:07:15 UTC 2006


I've been looking for answers concerning the myth2ipod script and the apostrophe problem and have been coming up empty.  I tried adding:

  $filename =~ s/'//g;

to the myth2ipod script and get this output, and no .mov file generated.

$myth2ipod /video/tv 1206_20060204083000_20060204101500.nuv
Starting pass 1 of 2...
/usr/local/bin/ffmpeg -i /video/tv/1206_20060204083000_20060204101500.nuv -comment '1206_20060204083000_20060204101500.nuv' -title 'Ferris Bueller's Day Off' -author 'MythTV - myth2ipod' -timestamp 'Sun Feb  5 05:40:15 GMT 2006
' -y -cropleft 10 -cropright 10 -croptop 8 -cropbottom 8 -deinterlace -vcodec xvid -s 320x240 -r 29.97 -b 384 -qmin 2 -qmax 5 -bufsize 4096 -acodec aac -ab 96 -g 300 -pass 1 -passlogfile /tmp/myth2ipod_log -f mov /video/ipod/'Ferris_Bueller's_Day_Off--20060204'.pass1
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-xvid --enable-gpl --enable-faac 
  libavcodec version: 51.1.0
  libavformat version: 50.0.0
  built on Jan 22 2006 07:00:40, gcc: 4.0.2 20051125 (Red Hat 4.0.2-8)
Input #0, mpeg, from '/video/tv/1206_20060204083000_20060204101500.nuv':
  Duration: 01:44:52.4, start: 0.333844, bitrate: 5190 kb/s
  Stream #0.0[0x1e0], 29.97 fps(r): Video: mpeg2video, yuv420p, 480x480, 6000 kb/s
  Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 384 kb/s
Unable for find a suitable output format for 'Day'
sh: line 1:  -y -cropleft 10 -cropright 10 -croptop 8 -cropbottom 8 -deinterlace -vcodec xvid -s 320x240 -r 29.97 -b 384 -qmin 2 -qmax 5 -bufsize 4096 -acodec aac -ab 96 -g 300 -pass 1 -passlogfile /tmp/myth2ipod_log -f mov /video/ipod/Ferris_Buellers_Day_Off--20060204.pass1: No such file or directory
Pass one failed
Pass 1 competed, starting pass 2 of 2...
/usr/local/bin/ffmpeg -i /video/tv/1206_20060204083000_20060204101500.nuv -comment '1206_20060204083000_20060204101500.nuv' -title 'Ferris Bueller's Day Off' -author 'MythTV - myth2ipod' -timestamp 'Sun Feb  5 05:40:15 GMT 2006
' -y -cropleft 10 -cropright 10 -croptop 8 -cropbottom 8 -deinterlace -vcodec xvid -s 320x240 -r 29.97 -b 384 -qmin 2 -qmax 5 -bufsize 4096 -acodec aac -ab 96 -g 300 -pass 2 -passlogfile /tmp/myth2ipod_log -f mov /video/ipod/'Ferris_Bueller's_Day_Off--20060204'.pass2
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-xvid --enable-gpl --enable-faac 
  libavcodec version: 51.1.0
  libavformat version: 50.0.0
  built on Jan 22 2006 07:00:40, gcc: 4.0.2 20051125 (Red Hat 4.0.2-8)
Input #0, mpeg, from '/video/tv/1206_20060204083000_20060204101500.nuv':
  Duration: 01:44:52.4, start: 0.333844, bitrate: 5190 kb/s
  Stream #0.0[0x1e0], 29.97 fps(r): Video: mpeg2video, yuv420p, 480x480, 6000 kb/s
  Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 384 kb/s
Unable for find a suitable output format for 'Day'
sh: line 1:  -y -cropleft 10 -cropright 10 -croptop 8 -cropbottom 8 -deinterlace -vcodec xvid -s 320x240 -r 29.97 -b 384 -qmin 2 -qmax 5 -bufsize 4096 -acodec aac -ab 96 -g 300 -pass 2 -passlogfile /tmp/myth2ipod_log -f mov /video/ipod/Ferris_Buellers_Day_Off--20060204.pass2: No such file or directory
Pass two failed
Pass 2 competed, building video XML file
"Ferris_Bueller's_Day_Off--20060204" has been added to the feed.
XML file created for "Ferris_Bueller's_Day_Off--20060204" : Cleaning up temporary files
mv -f /video/ipod/'Ferris_Bueller's_Day_Off--20060204'.pass2 /video/ipod/'Ferris_Bueller's_Day_Off--20060204'.ipod.mov
mv: missing file argument
Try `mv --help' for more information.
Moving pass2 to final .mov failed
rm -f /tmp/myth2ipod_log*
rm -f /video/ipod/'Ferris_Bueller's_Day_Off--20060204'.pass1
sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file
Removing pass 1 file failed
Ferris Bueller's Day Off is ready for your ipod

Other than the apostrophe glitch, the script has always worked.  I am using FC4 and the latest myth2ipod script w/out using the transcode patch.  

Is there a way to fix this apostrophe glitch in the myth2ipod script?  

Since I can't get the script to work with apostrophes, I would like to do this manually w/out using the myth2ipod script.  

Is it possible to run ffmpeg from the command line to convert the .nuv file to the ipod?  I've tried various options (just to convert the .nuv, no .xml stuff) which resembled the myth2ipod script w/ negative results.

-Tony
		
---------------------------------
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060205/a6bfe1c8/attachment-0001.htm


More information about the mythtv-users mailing list