[mythtv-users] nuvexport issue - AFD: Warning, video codec type (Video) already open.
Anthony Giggins
seven at seven.dorksville.net
Mon Aug 24 11:06:29 UTC 2009
Hi Guys,
Trying to debug some nuvexport issues, this was all working fine but stopped
working, I was getting errors about mythtranscode dieing early so I ran a
debug as it advised
------------------
/usr/bin/nuvexport --infile=/storage/recordings/1060_20090520135000.mpg
--path=/storage/videos --height=1088 --width=1440 --mode=xvid --deinterlace
--nonoise_reduction --cutlist --noconfirm --nice=19 --debug
Loading MythTV recording info.
98%
Default resolution based on requested dimensions.
--------------------------------
To encode: The Great Outdoors: Untitled
Use the following commands:
First pass...
system call:
mkdir -m 0755 /tmp/fifodir_19882/
forking:
/bin/nice -n19 /usr/bin/mythtranscode --showprogress -p '0' -c '1060' -s
'2009-05-20T13:50:00' -f "/tmp/fifodir_19882/" --honorcutlist --fifosync
2>&1
forking:
cat /tmp/fifodir_19882/audout > /dev/null
forking:
/bin/nice -n19 ffmpeg -threads 2 -y -f s16le -ar 48000 -ac 2 -f rawvideo
-pix_fmt yuv420p -s 1440x1088 -aspect 1.77777777777778 -r 25.000 -i
/tmp/fifodir_19882/vidout -aspect 1.77777777777778 -r 25.000 -deinterlace
-croptop 16 -cropright 22 -cropbottom 16 -cropleft 22 -padtop 138
-padbottom 138 -s 1440x812 -vcodec libxvid -b '768k' -minrate '32' -maxrate
'1536k' -bt '32k' -bufsize 65535 -flags +mv4+trell+loop -aic 1 -mbd 1 -cmp 2
-subcmp 2 -cgop 1 -b_qfactor '150' -b_qoffset '100' -bf '1' -pass 1
-passlogfile '/tmp/xvid.19882.log' -f avi /dev/null 2>&1
Final pass...
system call:
mkdir -m 0755 /tmp/fifodir_19882/
forking:
/bin/nice -n19 /usr/bin/mythtranscode --showprogress -p '0' -c '1060' -s
'2009-05-20T13:50:00' -f "/tmp/fifodir_19882/" --honorcutlist 2>&1
forking:
/bin/nice -n19 ffmpeg -threads 2 -y -f s16le -ar 48000 -ac 2 -i
/tmp/fifodir_19882/audout -f rawvideo -pix_fmt yuv420p -s 1440x1088 -aspect
1.77777777777778 -r 25.000 -i /tmp/fifodir_19882/vidout -aspect
1.77777777777778 -r 25.000 -deinterlace -croptop 16 -cropright 22
-cropbottom 16 -cropleft 22 -padtop 138 -padbottom 138 -s 1440x812 -vcodec
libxvid -b '768k' -minrate '32' -maxrate '1536k' -bt '32k' -bufsize 65535
-flags +mv4+trell+loop -aic 1 -mbd 1 -cmp 2 -subcmp 2 -cgop 1 -b_qfactor
'150' -b_qoffset '100' -bf '1' -pass 2 -passlogfile '/tmp/xvid.19882.log'
-acodec libmp3lame -async 1 -ab '128k' -f avi '/storage/videos/The Great
Outdoors.avi' 2>&1
Cleaning up temp files.
Please see the following article for what to do with this information:
http://www.mythtv.org/wiki/index.php/Nuvexport#Debug_Mode
------------------------
If I run the first mythtranscode command I get these errors....
/bin/nice -n19 /usr/bin/mythtranscode --showprogress -p '0' -c '1060' -s
'2009-05-20T13:50:00' -f "/tmp/fifodir_19882/" --honorcutlist --fifosync
2009-08-24 20:42:59.261 Using runtime prefix = /usr
2009-08-24 20:42:59.293 Empty LocalHostName.
2009-08-24 20:42:59.380 New DB connection, total: 1
2009-08-24 20:42:59.413 Closing DB connection named 'DBManager0'
2009-08-24 20:42:59.414 Enabled verbose msgs: important
2009-08-24 20:42:59.440 New DB connection, total: 2
2009-08-24 20:42:59.542 Using protocol version 40
2009-08-24 20:42:59.909 AFD: Warning, video codec 0x1db3a30 id(MPEG2VIDEO)
type (Video) already open.
2009-08-24 20:42:59.909 AFD: Warning, audio codec 0x1db3f10 id(MP3) type
(Audio) already open, leaving it alone.
2009-08-24 20:42:59.909 NVP: Disabling Audio, params(0,0,0)
2009-08-24 20:43:00.160 NVP: Disabling Audio, params(0,0,0)
Segmentation fault
---------------------------
Can anyone tell me what I need to do to fix this? And why I need to set my
height to 1088 instead of 1080 (so I don't get the error "Height must be a
multiple of 16.") which is the actually height of the HD recording?
Cheers,
Anthony
More information about the mythtv-users
mailing list