[mythtv] New MPEG2 commercial-cut code ready for testing

Geoffrey Hausheer mythtv0368 at phracturedblue.com
Wed Nov 16 10:32:46 EST 2005


On 11/16/05, Adam Egger wrote:
> I unfortunately still can't use it. It still crashes here with 0.11
> after a few seconds. Do you need more information?
>
> ./mpeg2fix -i /big/myth/record/File\ -\ 2005-11-06\,\ 10-19\ AM.mpg -o
> ./temp.mpg
> Input #0, mpegts, from '/big/myth/record/File - 2005-11-06, 10-19 AM.mpg':
>   Duration: N/A, bitrate: N/A
>   Stream #0.0[0x131], 25.00 fps: Video: mpeg2video, yuv420p, 720x576, 15000 kb/s
>   Stream #0.1[0x132](deu): Audio: mp2, 48000 Hz, stereo, 192 kb/s
>   Stream #0.2[0x138](deu): Audio: ac3, 48000 Hz, 5:1, 448 kb/s
> #0 PTS:3782606226 Delta: 0.000000ms queue: 14
> #1 PTS:3782605700 Delta: 5.844444ms queue: 4
> #2 PTS:3782605833 Delta: 4.366667ms queue: 2
> Mux rate: 15.90 Mbit/s
>
> STATE: 4 (833e301) W: 720 H: 576 P: 1080000 4:24:29.7 T:2 F: 2
...
Yes, this isn't useful.  Not sure how you are getting STATE messages
without seeting the debug switch.  If you actually set dbg_level
inside the code, it is telling ithat you are never getting into the
PTS detection code.  You should be seeing lines saying 'VID ....' 
Especially since multiple I frames have passed.

But I'd need a gdb trace to actually make any progress on this (or
alternatively the first 2 megs of your video).

.Geoff


More information about the mythtv-dev mailing list