Opened 18 years ago

Closed 18 years ago

#1243 closed defect (invalid)

mythtranscode terminates with "terminate called after throwing an instance of 'std::bad_alloc'"

Reported by: sgreszcz[at]yahoo[dot]com Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: 0.18.1
Severity: medium Keywords:
Cc: Ticket locked: no

Description

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 to DivX/XviD. The documentary that I am trying to transcode was recorded with a DVB card in Mythtv and it has a manual cutlist to remove commercials. I chose the same width and hight as the native recording.

mythbackend version: 0.18.1.20050510-1

nuvexport version: 0.2 0.20060125.svn

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)

mythtranscode and ffmpeg seem to work nicely for a while, but then after transcoding about 21 minutes of the recording, mythtranscode crashes.

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@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@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%

Change History (1)

comment:1 Changed 18 years ago by danielk

Resolution: invalid
Status: newclosed

Please reproduce with the current SVN.

Note: See TracTickets for help on using tickets.