[mythtv-users] mythtranscode segfault

Chris Thielen chris at luethy.net
Thu Jan 19 19:02:35 UTC 2006


Hello all,
	I recently got _most_ of my awesome new MythTV PVR running. I'm using
Fedora Core 4 with the RPMs provided by the Fedora Myth HOWTO, using
MythTV 0.18.1 and IVTV 0.4.1. It is a P4 2.5 GHz box with a PVR-500.
	All the shows that are recorded from the PVR500 are in huge MPEG-2
format, taking up roughly a gigabyte every half hour. I told MythTV to
transcode these titles without setting any options (transcode them to
what?) and checked back on them hours later. They both had failed
immediately.

	When I sudo and run "mythtranscode -i somefile.nuv" in my /video
partition (where MythTV is keeping everything, and where space is
running out fast), I receieve the following:

[root at localhost video]# mythtranscode -i
1056_20060119010000_20060119013000.nuv Stream: 0 Type: 0
Stream: 1 Type: 1
Input #0, mpeg, from '1056_20060119010000_20060119013000.nuv':
  Stream #0.0: Video: mpeg2video, 480x480, 29.97 fps, 6000 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
Output #0, vob, to '1056_20060119010000_20060119013000.nuv.tmp':
  Stream #0.0: Video: mpeg2video, 480x480, 29.97 fps, q=2-31, 6000 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
Segmentation fault

	I tried to backtrace the error:
(gdb) run -i 1056_20060119010000_20060119013000.nuv
Starting program: /usr/bin/mythtranscode -i
1056_20060119010000_20060119013000.nuv
Reading symbols from shared object read from target memory...(no
debugging symbols found)...done.
Loaded system supplied DSO at 0xc12000
(no debugging symbols found)
...
(no debugging symbols found)
Stream: 0 Type: 0
Stream: 1 Type: 1
Input #0, mpeg, from '1056_20060119010000_20060119013000.nuv':
  Stream #0.0: Video: mpeg2video, 480x480, 29.97 fps, 6000 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
Output #0, vob, to '1056_20060119010000_20060119013000.nuv.tmp':
  Stream #0.0: Video: mpeg2video, 480x480, 29.97 fps, q=2-31, 6000 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1209133344 (LWP 10143)]
0x00d347b9 in av_write_frame ()
from /usr/lib/libmythavformat-0.18.2.so.0

(gdb) bt
#0  0x00d347b9 in av_write_frame ()
from /usr/lib/libmythavformat-0.18.2.so.0
#1  0x0805e20d in RecordingProfile::~RecordingProfile ()
#2  0x0805f60c in RecordingProfile::~RecordingProfile ()

	As best I can tell, mythtranscode is failing in some function that has
to do with writing a frame. Now since I installed RPM packages that many
others use on an updated, stable (heh) Fedora Core 4 box, I would think
that somebody would notice if mythtranscode wasn't working.

	But, given the fact that it has trouble writing a frame, and that it's
coming from what looks like the destructor for the RecordingProfile
function, _and_ the fact that mythtranscode is doing something very
stupid (transcoding mpeg2->mpeg2), I'm guessing it's just a bug in
mythtranscode b/c no one would be stupid enough to waste CPU time
transcoding from one format to the exact same format?

	So, my question is two-fold:
	1) How do I stop mythtranscode from failing?
	and, related:
	2) How do I create and specify a different profile, perferrably
MPEG2->MPEG4, seeing as my /video partition is currently only 30GB.

Thanks for your help!
Chris Thielen



More information about the mythtv-users mailing list