[mythtv-users] MythBurn & mpeg2enc segfault

Mark Schuren schuren at ultra.de
Wed Nov 16 19:14:38 EST 2005


Yes I also have problems with segfaults using mythburn.

Relevant mythburn log entires:

/usr/src/mythburn/scripts/mpeg2cut-px.sh: line 104: 31325 Illegal 
instruction     nice -n 19 mplex -o ${outfile} -f 8 ${base}.m2v 
${audio} >/dev/null

and

/usr/src/mythburn/scripts/createscenemenu.sh: line 360: 32027 
Segmentation fault      nice jpeg2yuv -v 0 -n $framerate -I p -f 
$framerate -j ${tempdir}/sceneselection${index}.jpg
    32028 Illegal instruction     | nice mpeg2enc -q 2 -a 2 -v 0 -n p 
-f 8 -o ${tempdir}/sceneselection$index.m2v

My version of the mjpegtools is 1.6.3, all crashing tools are from that 
package it seems.

Here's the complete part where things go wrong:

-> cut-out @ GOP# 5118ile 1018_20051113225600_20051113233500.nuv
100% demuxing A/V PES file 1018_20051113225600_20051113233500.nuv
-> Video: fr/ ct/ 1p/ cg/ og/ dg -> 43043/ 1534/ 0/ 3669/ 0/ 0
-> Video length: 43043 frames @ 00:28:41.720
-> GOP summary: min. 12, max. 36 fields; contains interlaced & 
progressive frames
-> avg. nom. bitrate 1941190bps (min/max: 469200/8220400)
-> set first sequenceheader bitrate to 8220400bps
---> new File: ./1018_20051113225600_20051113233500.m2v

--> MPEG Audio (0xC0)
Audio PTS: first packet 07:58:00.819, last packet 08:38:16.8513233500.mp
Video PTS: start 1.GOP 07:59:00.393, end last GOP 08:37:36.913
-> adjusting audio at video-timeline
-> src_audio: MPEG-1, Layer2, 48000Hz, stereo, 192kbps, CRC @ 00:00:00.000
audio frames: wri/pre/skip/ins/add 71738/0/0/0/0 @ 00:28:41.712 done....mp
---> new File: ./1018_20051113225600_20051113233500.mpa

summary of created media files:
.Video (m2v):   43043 Frames    00:28:41.720            
'./1018_20051113225600_20051113233500.m2v'
Audio 0 (mp2):  71738 Frames    00:28:41.712    0/0/0/0 
'./1018_20051113225600_20051113233500.mpa'
=> 459094381 bytes written...
Remultiplexing video
mplex -o /content/mythburn/1018_20051113225600_20051113233500.nuv -f 8 
1018_20051113225600_20051113233500.m2v 
./1018_20051113225600_20051113233500.mpa
   INFO: [mplex] mplex version 1.6.3-rc3 (2.2.3 $Date: 2004/01/13 20:45:26 $)
   INFO: [mplex] File 1018_20051113225600_20051113233500.m2v looks like 
an MPEG Video stream.
   INFO: [mplex] File ./1018_20051113225600_20051113233500.mpa looks 
like an MPEG Audio stream.
   INFO: [mplex] Video stream 0: profile 8 selected - ignoring 
non-standard options!
   INFO: [mplex] Found 1 audio streams and 1 video streams
   INFO: [mplex] Selecting dvdauthor DVD output profile
   INFO: [mplex] Multiplexing video program stream!
   INFO: [mplex] Scanning for header info: Video stream e0 
(1018_20051113225600_20051113233500.m2v)
   INFO: [mplex] VIDEO STREAM: e0
   INFO: [mplex] Frame width     : 720
   INFO: [mplex] Frame height    : 576
   INFO: [mplex] Aspect ratio    : 4:3 display
   INFO: [mplex] Picture rate    : 25.000 frames/sec
   INFO: [mplex] Bit rate        : 8220400 bits/sec
   INFO: [mplex] Vbv buffer size : 229376 bytes
   INFO: [mplex] CSPF            : 0
   INFO: [mplex] Scanning for header info: Audio stream c0 
(./1018_20051113225600_20051113233500.mpa)
   INFO: [mplex] MPEG AUDIO STREAM: c0
   INFO: [mplex] Audio version  : 1.0
   INFO: [mplex] Layer          :        2
   INFO: [mplex] CRC checksums  :      yes
   INFO: [mplex] Bit rate       :    24576 bytes/sec (192 kbit/sec)
   INFO: [mplex] Frequency      :     48000 Hz
   INFO: [mplex] Mode           :        0 stereo
   INFO: [mplex] Mode extension :        0
   INFO: [mplex] Copyright bit  :        0 no copyright
   INFO: [mplex] Original/Copy  :        0 copy
   INFO: [mplex] Emphasis       :        0 none
   INFO: [mplex] SYSTEMS/PROGRAM stream:
/usr/src/mythburn/scripts/mpeg2cut-px.sh: line 104: 32204 Illegal 
instruction     nice -n 19 mplex -o ${outfile} -f 8 ${base}.m2v 
${audio} >/dev/null
Cleaning up
----- datestamp=17-11-2005 00:58
Building MPEG2 GOP index files...
----- datestamp=17-11-2005 00:58
----- datestamp=17-11-2005 00:58
[fileinfo.c:118] file read error: Success
There are 1 programmes to burn to DVD
----- datestamp=17-11-2005 00:58
******************************************************
starting createmenubackground.sh
******************************************************
....

lots of following errors, including also in mpeg2enc:

/usr/src/mythburn/scripts/createscenemenu.sh: line 360: 32027 
Segmentation fault      nice jpeg2yuv -v 0 -n $framerate -I p -f 
$framerate -j ${tempdir}/sceneselection${index}.jpg
    32028 Illegal instruction     | nice mpeg2enc -q 2 -a 2 -v 0 -n p 
-f 8 -o ${tempdir}/sceneselection$index.m2v


Any ideas anyone? I'm using mandriva 2006.0 with mythtv,
mjpegtools and almost everthing else from the mandriva/plf
rpms. Never had mythburn working previously. No idea where
to start my search for the reason... Should I get a different
mjpegtools package or compile some of the stuff myself from
sources?

Help!

Mark


Stuart Auchterlonie <stuarta at squashedfrog.net> wrote:

>
> Has anyone had problems with mpeg2enc segfaulting while
> it tries to encode files on behalf of mythburn?
>
>
> Stuart
>
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the mythtv-users mailing list