[FFmpeg-devel] [PATCH 0/1] Explanation for "Add option to set DASH stream start time"

2024-08-16 Thread Jerome Berclaz via ffmpeg-devel
The need for this patch arose while attempting to live stream a DASH feed with low latency. Since I did not use a timeline, having an accurate start time became crucial. Without it, the player might download segments at incorrect times. Currently, the start time is set to the system time, which mig

[FFmpeg-devel] [PATCH 1/1] Add option to set DASH stream start time, instead of relying on system clock

2024-08-16 Thread Jerome Berclaz via ffmpeg-devel
--- libavformat/dashenc.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index d4a6fe0304..e586e934cb 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -204,6 +204,7 @@ typedef struct DASHContext { AVRa

[FFmpeg-devel] [PATCH] avformat/dashenc: add option to set live DASH stream start time

2024-08-19 Thread Jerome Berclaz via ffmpeg-devel
When encoding a DASH stream in live ("dynamic") mode without timeline, the field "availabilityStartTime" is set to the system time. The new options allows the libavformat user to pass a specific time to be used instead of the system time. --- libavformat/dashenc.c | 9 - 1 file changed, 8

[FFmpeg-devel] [PATCH] dashenc: allow setting custom start time for Live DASH streams - Follow-Up

2025-03-31 Thread Jerome Berclaz via ffmpeg-devel
Hi all, I submitted this patch [1] back in August to add an option for setting a custom start time in dashenc for Live DASH streams, rather than defaulting to system time. It’s a small change that passes all tests and preserves existing behavior unless the option is used. I’d really appreciate