[mythtv-users] nuvexport problem, can't figure it out

Tom Lichti tom at redpepperracing.com
Thu Sep 15 15:36:45 UTC 2005


I've been beating myself over the head on this for awhile, and I can't 
figure out the problem. I am trying to convert a show to Xvid, and it's 
just not working. I have upgraded everything I can think of (ffmpeg, 
latest svn of nuvexport, lastest svn of mythtv, mjpegtools, etc) but 
I've made no headway. Here is the output of nuvexport --debug:

Choose a function, or episode(s) to remove:  c
Where would you like to export the files to? [.]
Enable Myth cutlist? [Yes]
Enable noise reduction (slower, but better results)? [Yes]
Enable deinterlacing? [Yes]
Crop broadcast overscan (2% border)? [Yes]
Audio bitrate? [128]
Variable bitrate video? [Yes]
Multi-pass (slower, but better quality)? [Yes]
Video bitrate? [960]
Default resolution based on 4:3 aspect ratio.
Width? [624]
Height? [464]

--------------------------------
To encode:  Trailer Park Boys:  The Green Bastard
Use the following commands:
First pass...

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

forking:
/usr/bin/nice -n19 mythtranscode --showprogress -p autodetect -c 1039 -s 
2005-05-19-21-30-00 -f "/tmp/fifodir_9195/" --honorcutlist 2>&1

forking:
/usr/bin/nice -n19 ffmpeg -f rawvideo -s 480x480 -r 29.970 -i 
/tmp/fifodir_9195/vidout -f yuv4mpegpipe - 2> /dev/null | /usr/bin/nice 
-n19 yuvdenoise -r 16 -f -b 10,10,-10,-10 2> /dev/null | /usr/bin/nice 
-n19 ffmpeg -hq -y -f s16le -ar 48000 -ac 2 -i /tmp/fifodir_9195/audout 
-f yuv4mpegpipe -s 480x480 -aspect 1.33333333333333 -r 29.970 -i - 
-aspect 1.33333333333333 -r 29.970 -deinterlace -croptop 10 -cropbottom 
10 -cropleft 10 -cropright 10 -padleft 2 -padright 2 -s 620x464  -vcodec 
xvid -b 960 -minrate 32 -maxrate 1920 -bt 32 -bufsize 65535 -lumi_mask 
0.05 -dark_mask 0.02 -scplx_mask 0.5 -4mv -part -pass 1 -passlogfile 
'/tmp/xvid.9195.log' -f avi /dev/null 2>&1
Final pass...

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

forking:
/usr/bin/nice -n19 mythtranscode --showprogress -p autodetect -c 1039 -s 
2005-05-19-21-30-00 -f "/tmp/fifodir_9195/" --honorcutlist 2>&1

forking:
/usr/bin/nice -n19 ffmpeg -f rawvideo -s 480x480 -r 29.970 -i 
/tmp/fifodir_9195/vidout -f yuv4mpegpipe - 2> /dev/null | /usr/bin/nice 
-n19 yuvdenoise -r 16 -f -b 10,10,-10,-10 2> /dev/null | /usr/bin/nice 
-n19 ffmpeg -hq -y -f s16le -ar 48000 -ac 2 -i /tmp/fifodir_9195/audout 
-f yuv4mpegpipe -s 480x480 -aspect 1.33333333333333 -r 29.970 -i - 
-aspect 1.33333333333333 -r 29.970 -deinterlace -croptop 10 -cropbottom 
10 -cropleft 10 -cropright 10 -padleft 2 -padright 2 -s 620x464  -vcodec 
xvid -b 960 -minrate 32 -maxrate 1920 -bt 32 -bufsize 65535 -lumi_mask 
0.05 -dark_mask 0.02 -scplx_mask 0.5 -4mv -part -acodec mp3 -ab 128 
-pass 2 -passlogfile '/tmp/xvid.9195.log' -f avi "./Trailer Park Boys - 
The Green Bastard.avi" 2>&1

So, following the debug example, I make the directory and start the 
mythtranscode which works fine, I can see the two named pipes:

mythtv at mythtv:~$ file /tmp/fifodir_9195/audout
/tmp/fifodir_9195/audout: fifo (named pipe)


I then try to run ffmpeg and get this:

mythtv at mythtv:~$ /usr/bin/nice -n19 ffmpeg -f rawvideo -s 480x480 -r 
29.970 -i /tmp/fifodir_9195/vidout -f yuv4mpegpipe - 2> /dev/null | 
/usr/bin/nice -n19 yuvdenoise -r 16 -f -b 10,10,-10,-10 2> /dev/null | 
/usr/bin/nice -n19 ffmpeg -hq -y -f s16le -ar 48000 -ac 2 -i 
/tmp/fifodir_9195/audout -f yuv4mpegpipe -s 480x480 -aspect 
1.33333333333333 -r 29.970 -i - -aspect 1.33333333333333 -r 29.970 
-deinterlace -croptop 10 -cropbottom 10 -cropleft 10 -cropright 10 
-padleft 2 -padright 2 -s 620x464  -vcodec xvid -b 960 -minrate 32 
-maxrate 1920 -bt 32 -bufsize 65535 -lumi_mask 0.05 -dark_mask 0.02 
-scplx_mask 0.5 -4mv -part -pass 1 -passlogfile '/tmp/xvid.9195.log' -f 
avi /dev/null 2>&1
ffmpeg version cvs, build 4753, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --libdir=${prefix}/lib --enable-shared 
--enable-mp3lame --host=i386-linux --enable-gpl --build=i386-linux 
--enable-faad --mandir=${prefix}/share/man --enable-vorbis 
--enable-pthreads --enable-faac --enable-xvid --enable-dts cc 
--enable-amr_nb --enable-amr_wb --enable-pp --enable-shared-pp 
--enable-libogg --enable-a52bin --enable-x264
  built on Jun  9 2005 15:41:29, gcc: 3.3.5 (Debian 1:3.3.5-13)
Input #0, s16le, from '/tmp/fifodir_9195/audout':
  Duration: N/A, bitrate: N/A
  Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
pipe:: Error while opening file

I am running on KnoppMyth, not the most current, but everything else 
seems to work ok. I'm leaning towards a problem with ffmpeg, but I can't 
seem to figure out what might be the problem. Anyone have any ideas?

Thanks
Tom


More information about the mythtv-users mailing list