Recording ends prematurely, restarts and finishes, but time length is incorrect

Hello,
I'm fairly new to Channels and have been seeing some strange behavior.

Behavior:

Recorded a soccer match that was 2hrs20mins long. I started the recording after the match started so missed the first 15mins or so. It recorded most of the game but close to the end, it was interrupted twice. Now when I go to watch the recording, it says that it's 6mins long in the recordings view. When I actually watch it, the time scrubber at the bottom shows 6mins. However, when the time scrubber gets to the end of the 6mins while playing, it just keeps playing and slides back a little bit. This repeats itself and eventually the full match plays.

In plex, it just plays the 6mins from the beginning and then stops.

Questions:

Why does it show it as 6 mins long but keeps playing?

The interruptions happened at the end of the recording. It looks like the 6mins might be related to the time between the first and second interruption of the recording. Is this correct? However, there were 13mins between the 2nd interruption and the end of the stream.

Logs (taken from the GUI under Support > Logs - is there a better place for more detailed logs)

2025/01/05 09:14:29.539605 [DVR] Starting job 1736086469-ch9252 Ipswich Town @ Fulham on ch=[9252]
2025/01/05 09:14:29.736738 [TNR] Opened connection to M3U-blah for ch9252 EPL : Fulham
2025/01/05 09:14:29.901734 [DVR] Recording for job 1736086469-ch9252 from M3U-blah ch9252 into "TV/Ipswich Town @ Fulham/Ipswich Town @ Fulham 2025-01-05-0914.mpg" for 2h5m30.460354441s
2025/01/05 09:14:29.925835 [IDX] Generating video index for job 1736086469-ch9252
2025/01/05 11:01:12.783525 [TNR] Closed connection to M3U-blah for ch9252 EPL : Fulham
2025/01/05 11:01:12.789787 [SNR] Buffer statistics for "TV/Ipswich Town @ Fulham/Ipswich Town @ Fulham 2025-01-05-0914.mpg": buf=0%-1% drop=0%
2025/01/05 11:01:12.944385 [DVR] Job 1736086469-ch9252 Ipswich Town @ Fulham ended prematurely: 18m47.05561612s
2025/01/05 11:01:12.950782 [DVR] Starting job 1736086469-ch9252 Ipswich Town @ Fulham on ch=[9252]
2025/01/05 11:01:13.267903 [ERR] Failed to start stream on channel 9252 via M3U-blah: M3U: GET: http:[redacted]: 404 Not Found
2025/01/05 11:01:13.267954 [DVR] Error running job 1736086469-ch9252 Ipswich Town @ Fulham: could not start stream on channels=[9252]: M3U: GET: http:[redacted]: 404 Not Found
2025/01/05 11:01:14.273377 [DVR] Starting job 1736086469-ch9252 Ipswich Town @ Fulham on ch=[9252]
2025/01/05 11:01:17.735333 [TNR] Opened connection to M3U-blah for ch9252 EPL : Fulham
2025/01/05 11:01:17.746479 [DVR] Recording for job 1736086469-ch9252 from M3U-blah ch9252 into "TV/Ipswich Town @ Fulham/Ipswich Town @ Fulham 2025-01-05-0914.mpg" for 18m45.726565265s
2025/01/05 11:07:01.626779 [TNR] Closed connection to M3U-blah for ch9252 EPL : Fulham
2025/01/05 11:07:01.633502 [SNR] Buffer statistics for "TV/Ipswich Town @ Fulham/Ipswich Town @ Fulham 2025-01-05-0914.mpg": buf=0% drop=0%
2025/01/05 11:07:01.635260 [DVR] Job 1736086469-ch9252 Ipswich Town @ Fulham ended prematurely: 12m58.364740471s
2025/01/05 11:07:01.637231 [DVR] Starting job 1736086469-ch9252 Ipswich Town @ Fulham on ch=[9252]
2025/01/05 11:07:01.843673 [TNR] Opened connection to M3U-blah for ch9252 EPL : Fulham
2025/01/05 11:07:01.853842 [DVR] Recording for job 1736086469-ch9252 from M3U-blah ch9252 into "TV/Ipswich Town @ Fulham/Ipswich Town @ Fulham 2025-01-05-0914.mpg" for 12m58.362743089s
2025/01/05 11:20:00.000342 [TNR] Closed connection to M3U-blah for ch9252 EPL : Fulham
2025/01/05 11:20:00.007099 [SNR] Buffer statistics for "TV/Ipswich Town @ Fulham/Ipswich Town @ Fulham 2025-01-05-0914.mpg": buf=0% drop=0%
2025/01/05 11:20:00.744888 [DVR] Finished job 1736086469-ch9252 Ipswich Town @ Fulham
2025/01/05 11:20:00.755212 [DVR] Processing file-22: TV/Ipswich Town @ Fulham/Ipswich Town @ Fulham 2025-01-05-0914.mpg
2025/01/05 11:20:06.354288 [IDX] Generating video index for file-22: TV/Ipswich Town @ Fulham/Ipswich Town @ Fulham 2025-01-05-0914.mpg
2025/01/05 11:25:30.966328 [IDX] Finished video index generation for file-22 in 324s

Note, in the DVR Management GUI, it also shows 6mins for the length:

Recording details from DVR > Manage GUI:

Options > Fix Video Timestamps

That looks like an MPEG-TS stream source.
You might get better results using an HLS stream source, if they have it.

1 Like

Thanks very much. That did indeed make the video now show to be 92:52 in length. However, if I play the recording and try to time scrub say 3/4 of the way through the video, it briefly shows a frame of the video then stops playing.

BTW, is the Fix Video Timestamps something that has to be done on each interrupted recording?

Looks like plex handles the video file just fine after Fixing Video Timestamps. That's good news.

Is there a way to automatically kick that process off whenever a recording gets interrupted?

No. It isn't always needed. It should only be done when the Developers tell you to as a last resort.
It could further corrupt your recording, since it doesn't make a backup and overwrites your recording, you'll be SOL at that point.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.