Recording Error - originally recorded fine, playback issues

I recorded the Tottenham Hotspur premier league game on Monday afternoon on NBCSN. I had set it up to record by season pass, which has worked fine every time i've used it until now. and, this seemed to have worked fine as well. Last night, I watched the first half of the game with no problems and no indication of an error. I turned it off right at half-time (about 55 minutes into the recording), with the intent of watching the rest later

However, when I turned it on again this evening, the recording was now only showed as being 44 minutes long instead of 3(+) hours (I set the recording to run very long so I don't miss anything) that it would've been set for. Notably, I had already watched the game beyond that 44 minute mark, so I know that something has changed since last night with the recording.

Equally odd, when i play it back, sometimes it's showing me the game, and other times it shows me what appears to be a show about hockey (perhaps a show that came on after the Tottenham game, which was recorded as part of my extended recording time?).

Since I found this issue, I've tried playing it back several times (opening and closing the Channels app), and sometimes it shows me nothing but the hockey show (no soccer game at all), sometimes it's mixed, and sometimes it's just the soccer game (no hockey show at all).

I've tried playing it from my appleTV (how i was watching it originally last night with no problem), as well as from the web interface (my.channelsdvr.net), and even tried playing the mpg file directly from my Synology DS 218+ NAS. They all show me 44 minute recording, and all seem to have the problem of inconsistently playing back either the soccer game, the hockey show, or a combination.

Now, as I was writing this, I found something in the log that may be the issue (though based on the timestamp, i'm not sure why it would've been doing anything with the recording at the time? i hadn't prompted it to do anything, I don't think?). The first two pieces appear in red text in the log, and then the rest (errors while decoding stream / corrupt packet) appear to repeat over and over (seems like maybe 50-100 times??) as follows:

2020/07/07 21:58:49 write tcp 192.168.0.156:8089->192.168.0.158:55673: write: broken pipe
GET /devices/TVE-Verizon/guide?time=1594177118&duration=3600 HTTP/1.1
Host: 192.168.0.156:8089
Accept: application/json
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: keep-alive
User-Agent: ChannelsApp/3.2.45 (AppleTV6,2; tvOS 13.2; com.getchannels.dvr.extension 6.23.2358; en-US; America/New_York)

2020/07/07 21:58:50 write tcp 192.168.0.156:8089->192.168.0.158:55672: write: broken pipe
GET /devices/13223EC7/guide?time=1594177118&duration=3600 HTTP/1.1
Host: 192.168.0.156:8089
Accept: application/json
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: keep-alive
User-Agent: ChannelsApp/3.2.45 (AppleTV6,2; tvOS 13.2; com.getchannels.dvr.extension 6.23.2358; en-US; America/New_York)

2020/07/07 22:54:20.068871 [ENC] Starting encoder for Premier League Soccer Tottenham vs Everton 2020-07-06-1355.mpg in /volume1/homes/joshuaclowers/DVR/Streaming/file810-ip192.168.0.147-719795479/encoder-0-470663050 at 0 (0.000000) (encoder=h264_vaapi, resolution=1080, deinterlacer=hardware, bitrate=10000 segment_size=0.01)
2020/07/07 22:54:20.254602 [HLS] ffmpeg: file810-ip192.168.0.147: [mpegts @ 0x3728780] Dropped corrupted packet (stream = 1)
2020/07/07 22:54:20.258621 [HLS] ffmpeg: file810-ip192.168.0.147: Error while decoding stream #0:1: Invalid data found when processing input
2020/07/07 22:54:20.258804 [HLS] ffmpeg: file810-ip192.168.0.147: Error while decoding stream #0:2: Invalid data found when processing input
2020/07/07 22:54:53.090841 [ENC] Request for 2527 is more than 10 from the last encoded segment of 32
2020/07/07 22:54:53.111330 [ENC] Stopped encoder for Premier League Soccer Tottenham vs Everton 2020-07-06-1355.mpg in /volume1/homes/joshuaclowers/DVR/Streaming/file810-ip192.168.0.147-719795479/encoder-0-470663050 after encoding 0 to 32
2020/07/07 22:54:53.112637 [ENC] Starting encoder for Premier League Soccer Tottenham vs Everton 2020-07-06-1355.mpg in /volume1/homes/joshuaclowers/DVR/Streaming/file810-ip192.168.0.147-719795479/encoder-2527-996645217 at 2527 (2528.526000) (encoder=h264_vaapi, resolution=1080, deinterlacer=hardware, bitrate=10000 segment_size=0.01)
2020/07/07 22:54:53.129230 [HLS] ffmpeg: file810-ip192.168.0.147: [mpegts @ 0x23f77c0] Dropped corrupted packet (stream = 1)
2020/07/07 22:54:53.477254 [HLS] ffmpeg: file810-ip192.168.0.147: Last message repeated 5 times
2020/07/07 22:54:53.477315 [HLS] ffmpeg: file810-ip192.168.0.147: Error while decoding stream #0:1: Invalid data found when processing input
2020/07/07 22:54:53.477336 [HLS] ffmpeg: file810-ip192.168.0.147: Error while decoding stream #0:2: Invalid data found when processing input
2020/07/07 22:54:59.890976 [ENC] Request for 2574 is more than 10 from the last encoded segment of 2531
2020/07/07 22:54:59.910127 [ENC] Stopped encoder for Premier League Soccer Tottenham vs Everton 2020-07-06-1355.mpg in /volume1/homes/joshuaclowers/DVR/Streaming/file810-ip192.168.0.147-719795479/encoder-2527-996645217 after encoding 2527 to 2531
2020/07/07 22:54:59.911327 [ENC] Starting encoder for Premier League Soccer Tottenham vs Everton 2020-07-06-1355.mpg in /volume1/homes/joshuaclowers/DVR/Streaming/file810-ip192.168.0.147-719795479/encoder-2574-559750476 at 2574 (2575.573000) (encoder=h264_vaapi, resolution=1080, deinterlacer=hardware, bitrate=10000 segment_size=0.01)
2020/07/07 22:54:59.941224 [HLS] ffmpeg: file810-ip192.168.0.147: [mpegts @ 0x339a7c0] Dropped corrupted packet (stream = 1)

What is the source of the recording? PRIME or TVE?

You can try in the web UI run "Regenerate Timestamps" on that recording which may fix it

Regenerate Video Index, or Fix Video Timestamps?

Oh, and the source is an HDHR Prime.

Fix Video Timestamps

thanks, that mostly fixed it! still a couple weird spots, but got essentially the whole second half of the game back! appreciate it!

2 Likes