<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
<tt> I'm having quite a horrible time trying to get myth2ipod working.
The
script runs, and I'm only left with an xml entry in the ipodfeed
directory</tt><tt> for the video file</tt><tt>, but no video file.
Maybe you can see a problem, and steer me
straight!...<br>
<br>
nuvexport command - in this example, I'm using a video I captured on
the s-video input of my PVR-500, so the weird chanid. Bypassing
myth2ipod, and going directly to the nuvexport command:<br>
<br>
[mythtv@localhost bin]$ /usr/local/bin/nuvexport --chanid=4294967295
--start=20061126115353 --mode=iPod --nice=19 --cutlist --nodenoise
--nodeinterlace --nomultipass --filename=4294967295_20061126115353.mpg
--path=/video/ipodfeed/<br>
<br>
Loading MythTV recording info.<br>
99%<br>
Default resolution based on 4:3 aspect ratio.<br>
<br>
Now encoding: Untitled: Untitled<br>
Encode started: Sun Nov 26 19:58:16 2006<br>
Use of uninitialized value in pattern match (m//) at
/usr/local/share/nuvexport/export/ffmpeg/MP4.pm line 184.<br>
Use of uninitialized value in pattern match (m//) at
/usr/local/share/nuvexport/export/ffmpeg/MP4.pm line 184.<br>
Waiting for mythtranscode to set up the fifos.<br>
Starting ffmpeg.<br>
processed: 0 of 519 frames at 0 fps (~%, eta: unknown) sh: line 1:
8114 Floating point exception/bin/nice -n19 ffmpeg -y -f s16le -ar 0
-ac 0 -i /tmp/fifodir_8037/audout -f rawvideo -pix_fmt yuv420p -s
640x480 -aspect 1.33333333333333 -r 29.970 -i /tmp/fifodir_8037/vidout
-aspect 1.33333333333333 -r 23.97 -croptop 10 -cropright 12 -cropbottom
10 -cropleft 12 -s 320x240 -vcodec mpeg4 -b '393216' -title 'Untitled'
-flags +4mv+trell+loop -aic 1 -mbd 1 -cmp 2 -subcmp 2 -acodec aac -ar
48000 -async 1 -ab 64
'/video/ipodfeed/4294967295_20061126115353.mpg.mp4' 2>&1<br>
processed: 0 of 519 frames at 0 fps (~%, eta: unknown)<br>
ffmpeg finished.<br>
processed: 0 of 7785 frames at 0 fps (~%, eta: unknown)<br>
<br>
ffmpeg died early.Please use the --debug option to figure out what went
wrong.<br>
<br>
<br>
[mythtv@localhost bin]$<br>
<br>
Looking at this more, should I be using filename.temp or filename.mpg?
I'm using the iPod.pm from myth2ipod.com. I cannot find an issue with
line 184 of MP4.pm. The header from MP4.pm contains:<br>
# @date $Date: 2006-09-27 03:42:47 -0400 (Wed, 27 Sep 2006) $<br>
# @version $Revision: 286 $<br>
<br>
The output using --debug:<br>
<br>
[mythtv@localhost bin]$ /usr/local/bin/nuvexport --chanid=4294967295
--start=20061126115353 --mode=iPod --nice=19 --cutlist --nodenoise
--nodeinterlace --nomultipass --filename=4294967295_20061126115353.mpg
--path=/video/ipodfeed/ --debug<br>
<br>
Loading MythTV recording info.<br>
99%<br>
Default resolution based on 4:3 aspect ratio.<br>
<br>
--------------------------------<br>
To encode: Untitled: Untitled<br>
Use the following commands:<br>
Use of uninitialized value in pattern match (m//) at
/usr/local/share/nuvexport/export/ffmpeg/MP4.pm line 184.<br>
Use of uninitialized value in pattern match (m//) at
/usr/local/share/nuvexport/export/ffmpeg/MP4.pm line 184.<br>
<br>
system call:<br>
mkdir -m 0755 /tmp/fifodir_7775/<br>
<br>
forking:<br>
/bin/nice -n19 /usr/local/bin/mythtranscode --showprogress -p
autodetect -c 4294967295 -s 2006-11-26-11-53-53 -f "/tmp/fifodir_7775/"
--honorcutlist 2>&1<br>
<br>
forking:<br>
/bin/nice -n19 ffmpeg -y -f s16le -ar 0 -ac 0 -i
/tmp/fifodir_7775/audout -f rawvideo -pix_fmt yuv420p -s 640x480
-aspect 1.33333333333333 -r 29.970 -i /tmp/fifodir_7775/vidout -aspect
1.33333333333333 -r 23.97 -croptop 10 -cropright 12 -cropbottom 10
-cropleft 12 -s 320x240 -vcodec mpeg4 -b '393216' -title 'Untitled'
-flags +4mv+trell+loop -aic 1 -mbd 1 -cmp 2 -subcmp 2 -acodec aac -ar
48000 -async 1 -ab 64
'/video/ipodfeed/4294967295_20061126115353.mpg.mp4' 2>&1<br>
[mythtv@localhost bin]$<br>
<br>
Now, having something wrong in a script or configuration is one thing,
but the next problem caught me by surprise. After running the
nuvexport command above (or one like it) the computer acts normal. Top
shows very little activity. But about 15 minutes later, the computer
"locks up" and is unresponsive to where I have to do a hard reset.
This last time, I was actually able to get some diagnosis. It took me
5 minutes to get a command line open, top running, and the offending
process killed. The hard disks were screaming the whole time:<br>
<br>
[root@localhost bin]# top<br>
<br>
top - 20:18:31 up 7:51, 9 users, load average: 15.11, 9.54, 4.22<br>
Tasks: 174 total, 2 running, 172 sleeping, 0 stopped, 0 zombie<br>
Cpu(s): 0.0% us, 5.8% sy, 0.0% ni, 0.0% id, 91.8% wa, 0.0% hi,
2.4% si<br>
Mem: 1026820k total, 1018732k used, 8088k free, 132k buffers<br>
Swap: 1059832k total, 1059832k used, 0k free, 17432k cached<br>
<br>
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND<br>
8105 mythtv 34 19 1791m 804m 1464 D 1.1 80.3 0:12.44
mythtranscode<br>
2992 root 16 0 358m 4364 1464 S 1.0 0.4 0:05.70 mythbackend<br>
3575 mythtv 15 0 141m 4520 1432 S 0.6 0.4 0:19.22 kicker<br>
3744 mythtv 18 0 279m 18m 1480 R 0.6 1.8 0:07.25 firefox-bin<br>
2920 mysql 15 0 160m 3132 896 S 0.5 0.3 0:09.85 mysqld<br>
3586 mythtv 17 0 102m 1628 952 D 0.4 0.2 0:01.38
pam-panel-icon<br>
204 root 15 0 0 0 0 D 0.4 0.0 0:02.96 kswapd0<br>
6905 mythtv 15 0 141m 1980 1096 S 0.3 0.2 0:00.90 knotify<br>
7881 root 16 0 139m 1604 1100 D 0.2 0.2 0:00.67 knotify<br>
3407 root 16 0 169m 23m 1308 D 0.2 2.3 1:58.05 X<br>
-snip-<br>
<br>
So I killed mythtranscode and the computer was usable again...<br>
<br>
[root@localhost bin]# killall mythtranscode<br>
[root@localhost bin]# sh: line 1: 8105 Terminated
/bin/nice -n19 /usr/local/bin/mythtranscode --showprogress -p
autodetect -c 4294967295 -s 2006-11-26-11-53-53 -f "/tmp/fifodir_8037/"
--honorcutlist 2>&1<br>
<br>
[root@localhost bin]#<br>
<br>
Again, maybe you will see something I don't!<br>
<br>
Thanks,<br>
Kevin<br>
<br>
<br>
<br>
</tt>
<br>
</body>
</html>