Jellyfin Forum
DVR recording offset due to live stream delay - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: DVR recording offset due to live stream delay (/t-dvr-recording-offset-due-to-live-stream-delay)



DVR recording offset due to live stream delay - Yuuichi - 2025-06-06

I use the DVR function to record m3u streams. I have everything recording correctly. The only issue I have is there is about a 2 minute delay in the video stream. So my recordings start at the correct time in the EPG but the recording is 2 minutes behind. So at the end of the recording it stops 2 minutes early.

Example :
Show starts at 8:00 PM and end 8:30 PM. DVR records the show as scheduled.
The show itself time stamp when played back is 7:58 PM to 8:28 PM.

I have tried setting the stop when possible but when there are multiple episodes together it doesn't stop late. Start when possible doesn't allow negative numbers.

Is there a way to shift the EPG a couple minutes? I run Jellyfin in a docker so I don't know if I can change the time just in the docker container.

Any help would be great.

Thanks


RE: DVR recording offset due to live stream delay - EPG Tech Talk - 2025-06-10

(2025-06-06, 10:03 PM)Yuuichi Wrote: I use the DVR function to record m3u streams. I have everything recording correctly. The only issue I have is there is about a 2 minute delay in the video stream. So my recordings start at the correct time in the EPG but the recording is 2 minutes behind. So at the end of the recording it stops 2 minutes early.

Example :
Show starts at 8:00 PM and end 8:30 PM. DVR records the show as scheduled.
The show itself time stamp when played back is 7:58 PM to 8:28 PM.

I have tried setting the stop when possible but when there are multiple episodes together it doesn't stop late. Start when possible doesn't allow negative numbers.

Is there a way to shift the EPG a couple minutes? I run Jellyfin in a docker so I don't know if I can change the time just in the docker container.

Any help would be great.

Thanks

The 2-minute delay in your DVR recordings is likely caused by the live stream buffer. Since your EPG aligns with the correct start time but the recording lags, adjusting the EPG offset may help.

In Jellyfin, try modifying the EPG padding settings. While "Start when possible" doesn’t support negative values, you can manually shift the EPG data. Tools like xmltv or EPG editors allow you to offset guide times before importing them into Jellyfin. If your provider uses XMLTV, adjust the timestamps by +2 minutes.

For Docker, the time shift won’t be container-specific—it’s tied to the EPG source. Instead of relying on Jellyfin’s padding, preprocess the EPG file elsewhere (e.g., a script or middleware) to apply the offset.

If multiple episodes back-to-back cause early stops, ensure your provider’s EPG includes proper "padding" tags. Some IPTV services flag transitions poorly, forcing hard cuts. Testing with a different EPG source or provider might resolve this.