Search code examples
ffmpegmpeg-dash

A query on ffmpeg's DASH muxer and setting timeShiftBufferDepth values in MPEG-DASH Media Presentation Description (MPD) files


The documentation for the webm_dash_manifest muxer mentions the time_shift_buffer_depth option, defined as "Smallest time (in seconds) shifting buffer for which any Representation is guaranteed to be available. "

What's the equivalent option/setting for the same in the dash muxer (,if implemented) ?

Documentation for the webm_dash_manifest muxer


Solution

  • -window_size <num_segments> multiplied by the last segment duration appears to set timeShiftBufferDepth, when a SegmentTemplate is in use.

    Source: https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/dashenc.c#L922