On 2014-07-22 07:16, Eli Kara wrote: > > > 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.
It depends on how you store your media files. When you already have whole media files, and you just want to be able to stream them while keeping them whole for other purposes, it's useful to have a single file mode. Of course if you want to be able to switch resolution between segments, you will have to split the file. The fact that HLS version >=4 adds support for byte ranges shows that I am not the only one who needs this feature :) -- Nicolas Martyanoff http://wandrian.net khae...@gmail.com _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel