[FFmpeg-devel] [PATCH] avformat/hlsenc: add single file mode

Eli Kara eli at algotec.co.il
Tue Jul 22 09:16:20 CEST 2014


> HLS version 4 offers the possibility to keep the media file whole instead of splitting it. In that case, segments are specified with byte ranges.

> We introduce a new '-hls_flags' option for the hlsenc muxer, with a single flag for the time being, 'single_file'.

Nicolas, just out of curiosity - is there a valid use case for a single video file in HLS? After all, the whole point of the protocol is to allow adaptive
streaming, theoretically allowing switching resolutions and bitrates on-the-fly.

I'll be the last one to oppose adding something from the standard but I'm just curious.

Eli



More information about the ffmpeg-devel mailing list