[mythtv-users] problem transcoding shows with nuvexport and ffmpeg

Adam Hirsch mythtv at quakerporn.com
Fri Jan 23 01:57:46 UTC 2009


In trying to transcode shows using nuvexport, I've found that ffmpeg
consistently fails ... part way through.  I've found past examples where
people have seen it fail immediately, but never one where it starts
smoothly and only dies midway.

I'm running on an Ubuntu 8.04.1 machine, with the stock version of ffmpeg
that comes along with it:

> mwamizi% ffmpeg -version 
> FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
>   configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-libmp3lame --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb --enable-amr_wb --enable-shared --prefix=/usr
>   libavutil version: 1d.49.3.0
>   libavcodec version: 1d.51.38.0
>   libavformat version: 1d.51.10.0
>   built on Jul 29 2008 18:28:49, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
> ffmpeg      SVN-rUNKNOWN
> libavutil   3212032
> libavcodec  3352064
> libavformat 3344896

and I'm invoking nuvexport like so, with the following result:

> Choose a function, or episode(s) to remove:  c
> Where would you like to export the files to? [.] /home/adam
> Enable Myth cutlist? [Yes]
> Enable noise reduction (slower, but better results)? [No]
> Enable deinterlacing? [Yes] no
> Crop broadcast overscan border (0-5%) ? [1.5]
> Audio bitrate? [128]
> Variable bitrate video? [No]
> Video bitrate? [960]
> Default resolution based on requested dimensions.
> Width? [624]
> Height? [464]
> 
> Now encoding:  Top Chef:  Today Show: Rocco DiSpirito
> Encode started:  Thu Jan 22 09:40:00 2009
> Waiting for mythtranscode to set up the fifos.
> Starting ffmpeg.
> processed:  52257 of 78688 frames at 45.40 fps (66.41%, eta: 9m 42s)
> ffmpeg finished.
> processed:  52259 of 78688 frames at 44.21 fps (66.41%, eta: 9m 57s)
> 
> ffmpeg died early.Please use the --debug option to figure out what went wrong.

and after invoking nuvexport with "--debug" and running the encode commands by
hand, the encoding runs merrily for 15-20 minutes and fails like so:

> ...
> [mpeg4 @ 0x7f85d54308d0]rc buffer underflow.1 bitrate= 831.4kbits/s
> [mpeg4 @ 0x7f85d54308d0]rc buffer underflow2.0 bitrate= 831.4kbits/s
> frame=33951 q=19.6 Lsize=  116243kB time=1132.8 bitrate= 840.6kbits/s
> video:105465kB audio:8850kB global headers:0kB muxing overhead 1.686827%
> Received signal 15: terminating.
> [1]    4677 exit 255   /usr/bin/nice -n19 ffmpeg -y -f s16le -ar 48000 -ac 2 -i  -f rawvideo -pix_fm

Anyone seen anything similar? I can successfully use "nuvexport --transcode",
which uses mythtranscode instead of ffmpeg, but doesn't offer DivX, etc, etc.

Adam

-- 
  The Claw is our master.  The Claw decides who will stay and who will go.
          Adam Hirsch <> adam at baz.org <> http://web.baz.org/~adam/


More information about the mythtv-users mailing list