[mythtv] ts stream w/ res change badly breaks demux

Steve Brown sbrown at cortland.com
Tue Dec 30 13:37:19 EST 2003


If a ts hdtv stream changes for example from 1920x1080 to 1280x720, due 
to a channel change or change at the source, the demux breaks and never 
recovers.

I instrumented the continuity counter check in mpegts.c and after the 
change I get lots of cc errors. From the errors, it looks like duplicate 
packets. I'm testing this with a file consisting of a short sequence of 
both formats. There are no cc errors in any of the original files.

This breaks mplayer the same way and probably belongs on the ffmpeg list 
too.

Anybody see anything obvious or recommend where to start looking?

Steve



Starting program: /usr/local/bin/mythfrontend -v channel,playback
[New Thread 1093368768 (LWP 18518)]
2003-12-30 09:57:50 mythfrontend version: 0.13.12252003-1 www.mythtv.org
2003-12-30 09:57:50 Enabled verbose msgs : important general channel 
playback
2003-12-30 09:57:55 Connecting to backend server: 127.0.0.1:6543 (try 1 
of 5)
[New Thread 1116941632 (LWP 18529)]
[New Thread 1125440704 (LWP 18530)]
[New Thread 1133829184 (LWP 18531)]
2003-12-30 09:57:57 Estimated bitrate = 384000
Input #0, mpegts, from '/var/video/0_20031230073800_20031230073900.nuv':
  Stream #0.0[0x11]: Video: mpegvideo_xvmc, 1920x1080, 29.97 fps
  Stream #0.1[0x14]: Audio: ac3, 48000 Hz, stereo, 384 kb/s
2003-12-30 09:57:57 Position map found
Opening ALSA audio device 'hw:0,0'.
2003-12-30 09:57:57 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
Using XvMC version: 1.0
2003-12-30 09:57:57 Using XV port 77
[New Thread 1216613312 (LWP 18532)]
2003-12-30 09:57:58 Changing from None to WatchingPreRecorded
2003-12-30 09:57:58 Video timing method: nVidia polling
2003-12-30 09:57:58 Refresh rate: 11761, frame interval: 33366
2003-12-30 09:57:58 waiting for prebuffer...
2003-12-30 09:57:58 prebuffer wait timed out..
2003-12-30 09:57:58 waiting for prebuffer...
2003-12-30 09:57:58 prebuffer wait timed out..
2003-12-30 09:57:58 waiting for prebuffer...
'video_output' mean = '34311.81', std. dev. = '23669.03', fps = '29.14'
-14
'video_output' mean = '33383.37', std. dev. = '23686.74', fps = '29.96'
-19
'video_output' mean = '33404.26', std. dev. = '23934.38', fps = '29.94'
-20
'video_output' mean = '33413.14', std. dev. = '23587.19', fps = '29.93'
-25
'video_output' mean = '33404.12', std. dev. = '23814.69', fps = '29.94'
-28
'video_output' mean = '33393.41', std. dev. = '23545.45', fps = '29.95'
-32
'video_output' mean = '32913.86', std. dev. = '23716.36', fps = '30.38'
-37
'video_output' mean = '33404.32', std. dev. = '23614.79', fps = '29.94'
-38
'video_output' mean = '33413.83', std. dev. = '23681.99', fps = '29.93'
-43
'video_output' mean = '33404.91', std. dev. = '23571.19', fps = '29.94'
-47
'video_output' mean = '33392.14', std. dev. = '23689.18', fps = '29.95'
-49
'video_output' mean = '33394.90', std. dev. = '23387.63', fps = '29.94'
-56
cc error cc:0x4 last_cc:0xc
cc error cc:0x7 last_cc:0xb
cc error cc:0x9 last_cc:0x9
cc error cc:0x9 last_cc:0x9
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
[mpegvideo_xvmc @ 0x8696928]ac-tex damaged at 92 36
[mpegvideo_xvmc @ 0x8696928]concealing errors
[mpegvideo_xvmc @ 0x8696928]Warning MVs not available
Error determining sound output delay: Broken pipe
Video has changed to: 1280x720 from: 1920x1080
Error determining sound output delay: Broken pipe
2003-12-30 09:58:39 Restart avcodec on video res change
Error determining sound output delay: Broken pipe
2003-12-30 09:58:39 prebuffering pause
2003-12-30 09:58:39 waiting for prebuffer...
2003-12-30 09:58:39 prebuffer wait timed out..
2003-12-30 09:58:39 waiting for prebuffer...
2003-12-30 09:58:39 prebuffer wait timed out..
2003-12-30 09:58:39 waiting for prebuffer...
2003-12-30 09:58:39 prebuffer wait timed out..
2003-12-30 09:58:39 waiting for prebuffer...
cc error cc:0x9 last_cc:0x9
cc error cc:0x6 last_cc:0x6
cc error cc:0xa last_cc:0xa
cc error cc:0x7 last_cc:0x7
cc error cc:0x7 last_cc:0x7
cc error cc:0xd last_cc:0xd
cc error cc:0xd last_cc:0xd
cc error cc:0x7 last_cc:0x7
cc error cc:0x1 last_cc:0x1
2003-12-30 09:58:40 prebuffer wait timed out..
2003-12-30 09:58:40 waiting for prebuffer...
cc error cc:0xe last_cc:0xe
cc error cc:0xe last_cc:0xe
cc error cc:0x8 last_cc:0x8
cc error cc:0x5 last_cc:0x5
cc error cc:0x2 last_cc:0x2
cc error cc:0x8 last_cc:0x8
cc error cc:0x0 last_cc:0x0
cc error cc:0xe last_cc:0xe
cc error cc:0x6 last_cc:0x6
cc error cc:0x3 last_cc:0x3
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
cc error cc:0xd last_cc:0xd
cc error cc:0xa last_cc:0xa
cc error cc:0xa last_cc:0xa
cc error cc:0x4 last_cc:0x4
cc error cc:0x1 last_cc:0x1
cc error cc:0x3 last_cc:0x3
cc error cc:0x5 last_cc:0x5
cc error cc:0x2 last_cc:0x2
cc error cc:0x8 last_cc:0x8
cc error cc:0xb last_cc:0xb
cc error cc:0x8 last_cc:0x8
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
cc error cc:0x2 last_cc:0x2
cc error cc:0x2 last_cc:0x2
cc error cc:0x9 last_cc:0x9
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
cc error cc:0x9 last_cc:0x9
cc error cc:0x3 last_cc:0x3
cc error cc:0x0 last_cc:0x0
'video_output' mean = '35938.55', std. dev. = '68139.58', fps = '27.83'
-139
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
cc error cc:0xc last_cc:0xc
cc error cc:0x9 last_cc:0x9
cc error cc:0x9 last_cc:0x9
cc error cc:0x3 last_cc:0x3
Error determining sound output delay: Broken pipe
cc error cc:0xf last_cc:0xf
cc error cc:0xf last_cc:0xf
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
cc error cc:0x3 last_cc:0x3
cc error cc:0xb last_cc:0xb
cc error cc:0x3 last_cc:0x3
cc error cc:0xf last_cc:0xf
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
cc error cc:0xc last_cc:0xc
cc error cc:0x6 last_cc:0x6
cc error cc:0x6 last_cc:0x6
cc error cc:0xd last_cc:0xd
cc error cc:0xd last_cc:0xd
cc error cc:0x6 last_cc:0x6
cc error cc:0x3 last_cc:0x3
cc error cc:0x4 last_cc:0x4
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
cc error cc:0xc last_cc:0xc
cc error cc:0xc last_cc:0xc
cc error cc:0x6 last_cc:0x6
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
cc error cc:0x0 last_cc:0x0
cc error cc:0xd last_cc:0xd
cc error cc:0x7 last_cc:0x7
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
Error determining sound output delay: Broken pipe
cc error cc:0x4 last_cc:0x4
cc error cc:0x4 last_cc:0x4
cc error cc:0xf last_cc:0xf
cc error cc:0x6 last_cc:0x6
cc error cc:0x5 last_cc:0x5
cc error cc:0x5 last_cc:0x5
cc error cc:0xc last_cc:0xc
[Thread 1216613312 (zombie) exited]
[Thread 1125440704 (zombie) exited]
[Thread 1133829184 (zombie) exited]
2003-12-30 09:58:44 Changing from WatchingPreRecorded to None
2003-12-30 09:58:44 Changing from None to None
[Thread 1116941632 (zombie) exited]
 
Program exited with code 01.
(gdb) quit




More information about the mythtv-dev mailing list