Large number of [MTS] unhandled_packets AND discontinuity_detected for ch6101 DISCOVERY

The recordings from DiY and NatGeo are OK.

Could this be from the ad insertions?

I can cut the commercials out of the recordings and don't lose any program material.
Running it through my video editor without removing the commercials results in video/audio frame removal to resync.

ch6108 DIY
2020/05/26 19:03:01.581660 [MTS] Statistics for "TV/Building Off the Grid/Building Off the Grid S09E00 Most Epic 2020-05-26-1759.mpg": skipped=0 unhandled_packets=0 discontinuity_detected=175 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=false saw_pmt=true highest_pts=3797.463044

ch6101 DISCOVERY
2020/05/26 21:03:01.907078 [MTS] Statistics for "TV/NASA & SpaceX Countdown to Launch/NASA & SpaceX Countdown to Launch 2020-05-26-1859.mpg": skipped=0 unhandled_packets=1426 discontinuity_detected=1718 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=false saw_pmt=true highest_pts=7402.961144

ch6071 NGCP
2020/05/27 14:03:02.334345 [MTS] Statistics for "TV/Launch America Mission to Space Live/Launch America Mission to Space Live 2020-05-27-1159.mpg": skipped=0 unhandled_packets=0 discontinuity_detected=81 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=false saw_pmt=true highest_pts=7402.784100

ch6101 DISCOVERY
2020/05/27 14:03:03.883419 [MTS] Statistics for "TV/Space Launch LIVE America Returns to Space/Space Launch LIVE America Returns to Space 2020-05-27-1059.mpg": skipped=0 unhandled_packets=3095 discontinuity_detected=3311 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=false saw_pmt=true highest_pts=11007.052311

I recorded one of those myself so I thought I would share my numbers:

2020/05/27 00:30:13.828920 [MTS] Statistics for "TV/NASA & SpaceX Countdown to Launch/NASA & SpaceX Countdown to Launch 2020-05-26-2200.mpg": skipped=0 unhandled_packets=1428 discontinuity_detected=1770 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=false saw_pmt=true highest_pts=9022.265744

Thanks, going to try recording the live launch again on Saturday since it was scrubbed for weather today.
Will record from both TVE and HDHR Prime on the same networks.

Definitely a timestamp issue with the inserted ads.
Here's one of them.


Looking at the individual frames the time jumps from 2:28:58.22 to 2:28:11.81 then 2:28:11.91 to 2:28:58.29
These jumps also appear in the comskip log.

Strange audio pts step of -39.10220 instead of 0.00000 at frame 40971
Jump in base apts from 1389.72994 to 1350.62715, delta=-39.10279
Strange audio pts step of 39.25376 instead of 0.00000 at frame 40971
Jump in base apts from 1350.66728 to 1389.92051, delta=39.25323

Strange audio pts step of -47.56216 instead of 0.00000 at frame 58282
Jump in base apts from 1973.62601 to 1926.06330, delta=-47.56271
Strange video pts step of -47.52211 instead of 0.03387 at frame 58284
Strange audio pts step of 47.39249 instead of 0.00000 at frame 58285
Jump in base apts from 1926.27137 to 1973.66329, delta=47.39192

Strange audio pts step of -47.59266 instead of 0.00000 at frame 59905
Jump in base apts from 2033.61789 to 1986.02468, delta=-47.59322
Strange audio pts step of 47.46566 instead of 0.00000 at frame 59908
Jump in base apts from 1986.33520 to 2033.80033, delta=47.46513
Strange video pts step of -47.46268 instead of 0.03387 at frame 59908

Strange audio pts step of -47.62466 instead of 0.00000 at frame 61528
Jump in base apts from 2093.77789 to 2046.15268, delta=-47.62522
Strange video pts step of -47.49595 instead of 0.03387 at frame 61531
Strange audio pts step of 47.45499 instead of 0.00000 at frame 61532
Jump in base apts from 2046.52857 to 2093.98302, delta=47.45445

Strange audio pts step of -47.62466 instead of 0.00000 at frame 63152
Jump in base apts from 2153.93508 to 2106.30984, delta=-47.62524
Strange audio pts step of 47.49766 instead of 0.00000 at frame 63155
Jump in base apts from 2106.62184 to 2154.11898, delta=47.49714
Strange video pts step of -47.49663 instead of 0.03387 at frame 63155
Strange video pts step of 47.56900 instead of 0.03387 at frame 63157

1 Like

Just did a couple test recordings and also seeing a large number of these [MTS] unhandled_packets and discontinuity_detected on ch6110 SCIENCE. Maybe it's all Discovery Network channels.

[MTS] Statistics for "TV/The Unexplained Files/The Unexplained Files S02E01 2014-06-01 Yeti The New Evidence 2020-05-28-1259.mpg": skipped=0 unhandled_packets=591 discontinuity_detected=689 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=false saw_pmt=true highest_pts=3802.811556

Good thing I left myself notes!

Have a recording from TVE Discovery tonight using v2020.07.30.2221 with these issues and went searching...
[MTS] Statistics for "TV/American Chopper/American Chopper The Last Ride 2020-08-04-1800.mpg": skipped=0 unhandled_packets=1950 discontinuity_detected=2246 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=false saw_pmt=true highest_pts=7603.510678

Once comskip is done with the recording I'll check it.
Good thing I'm also recording it from my Prime on my other NAS.
Thought I could see it 3 hrs early by recording from TVE (east coast feed) vs Prime (west coast feed)

UPDATE: Confirmed it's still the same issue with the commercial insertions. Program material is fine in the recording.

This happened again yesterday on a TVE Discovery recording.
I had also recorded the same episode on my other NAS using an HDHR Prime as source which was fine.

The TVE recording was missing some parts of the show (about a minute) and had timestamp issues causing some players to stall, glitch, loop or skip ahead.

Just for grins I ran the 'Fix Video Timestamps' on it which didn't help.

So the source of the problem appears to be when these TVE streams come out of commercials and back to the show there's a PTS timestamp issue in the stream or Channels is introducing it when it tries to rewrite timestamps while recording.

My video editor (VideoReDo) showed PTS jumping from 2 minutes something to 1 hour something and then back at the transition from a commercial to show segment. Same issue after I did the 'Fix Video Timestamps'.

I was going to spend the time to submit diags, do this writeup, submit logs, etc. but I decided to delete the TVE recording since I had a perfect copy on my other NAS from the HDHR Prime and nobody seems to be complaining about it anyway.