[mythtv-users] nuvexport (mythtranscode) problem

SG sgreszcz at yahoo.com
Tue Feb 7 17:18:11 UTC 2006


Hi,

I have been trying to get nuvexport working as it
seems to be an easy way to export some of my mythtv
recordings.  I am trying to export a one-hour
documentary to divX format.  I'm using Ubuntu Breezy,
but I have installed a non-crippled (Debian) version
of ffmpeg to allow me to transcode.  The documentary
that I am trying to transcode was recorded with a DVB
card and it has a manual cutlist to remove
commercials.  I chose the same width and hight as the
native recording.

mythtranscode and ffmpeg seem to chug along nicely,
but suddenly after transcoding about 21 minutes of the
recording, mythtranscode crashes.

Here is the output from nuvexport --debug

You have chosen to export 1 episode:

  1. Munich: Mossad's Revenge:
     (1/26, 10:03 PM) 704x576 MPEG2 (16:9)

Here 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] no
Enable deinterlacing? [Yes] no
Crop broadcast overscan (2% border)? [Yes] no
Audio bitrate? [128]
Variable bitrate video? [No]
Video bitrate? [960]
Default resolution based on 16:9 aspect ratio.
Width? [624] 704
Height? [400] 576

--------------------------------
To encode:  Munich: Mossad's Revenge:  Untitled
Use the following commands:

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

forking:
/usr/bin/nice -n19 /usr/bin/mythtranscode
--showprogress -p autodetect -c 1010 -s
2006-01-26-22-03-00 -f "/tmp/fifodir_10032/"
--honorcutlist 2>&1

forking:
/usr/bin/nice -n19 ffmpeg -y -f s16le -ar 48000 -ac 1
-i /tmp/fifodir_10032/audout -f rawvideo -pix_fmt
yuv420p -s 704x576 -aspect 1.77777777777778 -r 25.000
-i /tmp/fifodir_10032/vidout -aspect 1.77777777777778
-r 25.000 -padtop 90 -padbottom 90 -s 704x396  -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 './Munich- Mossad'\''s Revenge.avi' 2>&1
----------------------
Fork 1 (mythtranscode)
----------------------

mythtv at myth:/myth$ /usr/bin/nice -n19
/usr/bin/mythtranscode --showprogress -p autodetect -c
1010 -s 2006-01-26-22-03-00 -f "/tmp/fifodir_10032/"
--honorcutlist 2>&1
adding pes stream at pid 0x230 with type 2
adding pes stream at pid 0x231 with type 4
adding pes stream at pid 0x232 with type 4
terminate called after throwing an instance of
'std::bad_alloc'
  what():  St9bad_alloc
Aborted

---------------
Fork 2 (ffmpeg)
---------------

mythtv at myth:~$ /usr/bin/nice -n19 ffmpeg -y -f s16le
-ar 48000 -ac 1 -i /tmp/fifodir_10032/audout -f
rawvideo -pix_fmt yuv420p -s 704x576 -aspect
1.77777777777778 -r 25.000 -i
/tmp/fifodir_10032/vidout -aspect 1.77777777777778 -r
25.000 -padtop 90 -padbottom 90 -s 704x396  -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 './Munich- Mossad'\''s Revenge.avi' 2>&1
ffmpeg version CVS, build 3277056, Copyright (c)
2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --libdir=${prefix}/lib
--enable-shared --enable-mp3lame --enable-gpl
--enable-faad --mandir=${prefix}/share/man
--enable-vorbis --enable-pthreads --enable-faac
--enable-xvid --enable-dts --enable-amr_nb
--enable-amr_wb --enable-pp --enable-shared-pp
--enable-libogg --enable-a52 --enable-a52bin
--enable-x264 --enable-theora
  built on Dec 30 2005 15:07:33, gcc: 3.3.5 (Debian
1:3.3.5-13)
Input #0, s16le, from '/tmp/fifodir_10032/audout':
  Duration: N/A, bitrate: N/A
  Stream #0.0: Audio: pcm_s16le, 48000 Hz, mono, 768
kb/s
Input #1, rawvideo, from '/tmp/fifodir_10032/vidout':
  Duration: N/A, bitrate: N/A
  Stream #1.0, 25.00 fps: Video: rawvideo, yuv420p,
704x576
Output #0, avi, to './Munich- Mossad's Revenge.avi':
  Stream #0.0,   nan fps: Video: mpeg4, yuv420p,
704x576, q=2-31, 960 kb/s
  Stream #0.1: Audio: mp3, 48000 Hz, mono, 128 kb/s
Stream mapping:
  Stream #1.0 -> #0.0
  Stream #0.0 -> #0.1
[mpeg4 @ 0xb7e44110]removing common factors from
framerate
Press [q] to stop encoding
frame=32270 q=0.0 Lsize=  173593kB time=1290.8
bitrate=1101.7kbits/s
video:151371kB audio:20180kB global headers:0kB muxing
overhead 1.190370%

Thanks for any help with nuvexport, or if anyone knows
of a fairly simple way to export the .nuv files to
DivX, Xvid or DVDshrink format.

Stephen


More information about the mythtv-users mailing list