[mythtv-users] nuvexport problem in mythtranscode step

James Pifer jep at obrien-pifer.com
Tue Jan 2 20:15:58 UTC 2007

> First, make sure you're running the latest version of nuvexport that you
> can.  Then read this:
> http://www.mythtv.org/wiki/index.php/Nuvexport#Debug_Mode
> -Chris

Sorry for my failure to read thoroughly... Okay, I think I'm doing it
correctly now. Here's what I get. 

First terminal window:

$ mkdir -m 0755 /tmp/fifodir_28317/
$ /bin/nice -n19 /usr/bin/mythtranscode --showprogress -p autodetect -c 1004 -s 2006-12-19-21-55-00 -f "/tmp/fifodir_28317/" 2>&1

Second terminal window:

$ /bin/nice -n19 ffmpeg -f rawvideo -s 720x480 -r 29.970 -i /tmp/fifodir_28832/vidout -f yuv4mpegpipe - 2> /dev/null | /bin/nice -n19 yuvdenoise 2> /dev/null | /bin/nice -n19 ffmpeg -threads 4 -y -f s16le -ar 48000 -ac 2 -i /tmp/fifodir_28832/audout -f yuv4mpegpipe -s 720x480 -aspect 1.33333333333333 -r 29.970 -i - -aspect 1.33333333333333 -r 29.970 -deinterlace -croptop  10 -cropright 14 -cropbottom 10 -cropleft  14 -s 320x240  -vcodec mpeg4 -b 960 -lumi_mask 0.05 -dark_mask 0.02 -scplx_mask 0.5 -mv4 -part -vtag divx -acodec mp3 -ab 128 -f avi './Star Trek- Voyager - Caretaker.avi' 2>&1
FFmpeg version SVN-r7401, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  libavutil version: 49.1.0
  libavcodec version: 51.28.0
  libavformat version: 51.7.0
  built on Jan  2 2007 10:49:50, gcc: 4.1.1 20060525 (Red Hat 4.1.1-1)
Warning: not compiled with thread support, using thread emulation
Input #0, s16le, from '/tmp/fifodir_28832/audout':
  Duration: N/A, bitrate: N/A
  Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Input #1, yuv4mpegpipe, from 'pipe:':
  Duration: N/A, bitrate: N/A
  Stream #1.0: Video: rawvideo, yuv420p, 720x480, 29.97 fps(r)
Output #0, avi, to './Star Trek- Voyager - Caretaker.avi':
  Stream #0.0: Video: mpeg4, yuv420p, 320x240, q=2-31, 0 kb/s, 29.97 fps(c)
  Stream #0.1: Audio: 0x0000, 48000 Hz, stereo, 128 kb/s
Stream mapping:
  Stream #1.0 -> #0.0
  Stream #0.0 -> #0.1
Unsupported codec for output stream #0.1

Then in the first window the process goes and appears to complete to
100%. All I get is a 0 byte file. I'm trying this one using the divx
codec. I have divx4linux package installed. 

How do I get ffmpeg to recognize divx?

I also tried asf (using the default settings) and I get:
[msmpeg4 @ 0x84db2d8]multi threaded encoding not supported by codec
Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

Right now I'm trying it using XviD and the eta is over 9 hours. This is
on a dual Xeon 2Ghz machine. 

I'm using nuvexport-0.4-0.20061203.svn.noarch.rpm. I would also like to
try MP4 but it looks like I need to download the source and build that
to enable it. I guess I'd like to get asf and divx working before
reinstalling from source and enabling it. 

Suggestions are appreciated. 


More information about the mythtv-users mailing list