[mythtv] Bug in mencoder patch

John Fettig jfettig at uiuc.edu
Tue May 6 16:11:29 EDT 2003


I have version 0.8-11 (the Debian package) installed, and am
encountering problems when I try to transcode using mencoder.  It
doesn't happen on every file, and it seems to have a tendancy to happen
on certain channels (for instance, shows recorded off of PBS have this
bad frame about 33 seconds in every time, whereas shows recorded off of
CBS don't ever have the bad frame).  I'm using a ATI TV Wonder VE, if
that is of interest.

I believe that this can be fixed through the patch to MPlayer, but can't
quite seem to put my finger on it.  Here is what happens:

NUV frame: frametype: R, comptype: T, packetlength: 1785358954, timecode: 1785358954
NUV frame: frametype: S, comptype: V, packetlength: 0, timecode: 990
NUV frame: frametype: S, comptype: A, packetlength: 0, timecode: 3197092
NUV frame: frametype: V, comptype: 4, packetlength: 25542, timecode: 33083
NUV frame: frametype: A, comptype: 3, packetlength: 432, timecode: 33110
NUV frame: frametype: V, comptype: 4, packetlength: 5569, timecode: 33116
NUV frame: frametype: V, comptype: 4, packetlength: 8438, timecode: 33150
NUV frame: frametype: A, comptype: 3, packetlength: 432, timecode: 33150
NUV frame: frametype: A, comptype: 3, packetlength: 432, timecode: 33182
NUV frame: frametype: V, comptype: 4, packetlength: 8645, timecode: 33183
NUV frame: frametype: A, comptype: 3, packetlength: 432, timecode: 33214
NUV frame: frametype: V, comptype: 4, packetlength: 7877, timecode: 33216
NUV frame: frametype: A, comptype: 3, packetlength: 432, timecode: 33238
NUV frame: frametype: V, comptype: 4, packetlength: 7485, timecode: 33250
NUV frame: frametype: A, comptype: 3, packetlength: 432, timecode: 33278
NUV frame: frametype: V, comptype: 4, packetlength: 7413, timecode: 33283
NUV frame: frametype: A, comptype: 3, packetlength: 432, timecode: 33302
NUV frame: frametype: V, comptype: 4, packetlength: 7065, timecode: 33316
NUV frame: frametype: A, comptype: 3, packetlength: 432, timecode: 33342
NUV frame: frametype: V, comptype: 4, packetlength: 7644, timecode: 33350
NUV frame: frametype: V, comptype: 4, packetlength: 7618, timecode: 33383
NUV frame: frametype: A, comptype: 3, packetlength: 432, timecode: 33406
NUV frame: frametype: V, comptype: 4, packetlength: 7134, timecode: 33417
NUV frame: frametype: A, comptype: 3, packetlength: 432, timecode: 33438
Static Sprites not supported5fps Trem:  12min 284mb  A-V:0.025 [1566:96]
Complexity estimation not supported
Static Sprites not supported
Complexity estimation not supported
header damaged
Error while decoding frame!
Marker bit missing before vop_codedem:  12min 284mb  A-V:0.025 [1566:96]
VDec: vo config request - 1753 x 4219 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
FATAL: Cannot initialize video driver.
init_vo failed
./convert.sh: line 3:  9558 Segmentation fault      mencoder -idx $1 -ovc 
lavc -lavcopts vcodec=mpeg4:vbitrate=1500:keyint=15:aspect=1.3333:vpass=1 
-vop lavcdeint -oac mp3lame -lameopts cbr:cbr=128:padding=0 -aspect 4:3 -o $2


Now, if I encode up to this point in the file, it works fine.  If I
encode after this point, it works fine.  So I think that if the
offending frames are dropped, this would work.  Is anybody aware
of/working on this?


-- 
John Fettig <jfettig at uiuc.edu>



More information about the mythtv-dev mailing list