[mythtv-users] Corrupted recording when another ends

John Pilkington johnpilk222 at gmail.com
Wed Dec 18 11:52:45 UTC 2019


I'm running master, but that may not be relevant.

Over the past few weeks my post-processing logs from Project-X have 
included sections like the one below, showing packets out of sequence 
and a GOP being dropped.  Playback of the output is uninterrupted, but 
that GOP is missing.  What is new is that this is happening more often 
and seems to roughly coincide with the end of recording on another 
channel.  I don't have precise timings, though.  Recordings usually 
start 2m early and end 4m late.  This particular glitch is 3m 51s into 
the edited recording.

It may be related to system load or device driver issues.  I'm running 
with disks fuller than they used to be and old recordings are being 
deleted automatically (and 'slowly') rather than interactively.  And my 
signal quality is now more weather-and-wind dependent as nearby trees 
have grown.  But current recordings are not as clean as they used to be.

Perhaps I should use a backend log option?

John P

{{{

-> special PIDs for searching defined: { 0x191 0x192 }
demuxing DVB MPEG-TS file 10009_20191217192800.ts.old
7 %!> missing sync. byte @ 67430408
!> found sync. byte @ 67430524
ok> PID 0x0192 has PES-ID 0xC0 (MPEG Audio) (67441428 #59)
ok> PID 0x0191 has PES-ID 0xE0 (MPEG Video) (67456092 #137)
-> cut-in @ GOP# 2 / new vframe 0 / new Timecode 00:00:00.000 (70189424)
-> video basics: 704*576 @ 25fps @ 0.7031 (16:9) @ 15000000 bps - vbv 112
-> starting export of video data @ GOP# 2
!> dropping useless B-Frames @ GOP# 2 / new Timecode 00:00:00.000

The stuff above is all normal.  That below is happening more often than 
before, and  at possibly system-event related times.

17 %!> PID 0x0191 -> packet 591523 @ pos. 178636660 out of sequence 
(12/11) (shifting counter..) (~00:03:51.160)
!> PID 0x0191 -> packet 591541 @ pos. 178640044 out of sequence (3/8) 
(shifting counter..) (~00:03:51.160)
!> PID 0x0192 -> packet 591545 @ pos. 178640796 out of sequence (15/11) 
(shifting counter..) (~00:03:51.160)
!> PID 0x0191 -> packet 591679 @ pos. 178665988 out of sequence (3/4) 
(shifting counter..) (~00:03:51.160)
!> PID 0x0191 -> packet 591712 @ pos. 178672192 out of sequence (11/6) 
(shifting counter..) (~00:03:51.160)
!> PID 0x0192 -> packet 591720 @ pos. 178673696 out of sequence (15/14) 
(shifting counter..) (~00:03:51.160)
!> ID 0xC0 (sub 0x0) packet# 1951, big PTS difference: this 865151744, 
prev. 864881744
!> packet writing: length index out of bounds, shortened.. (192 / c0 / 
c0 / 1951 -- 1646 / 14 / 3840) @ PTS 02:40:12.797
!> dropping GOP# 262 @ orig.PTS 02:40:09.750 (864877569), errorcode: 24
!> Pics exp/cnt 26/38, inGOP PTS diff. 3880ms, new Timecode 00:03:51.160
87 %-> cut-out @ GOP# 1891 (926315668)
88 %packs: 3454454 87% 928110128

}}}


More information about the mythtv-users mailing list