[FFmpeg-devel] [PATCH] hlsenc: single_file, support HLS ver 4 byteranges
Raento Mika
mika.raento at elisa.fi
Tue Sep 16 06:50:34 CEST 2014
On 15/09/14 23:30, "Michael Niedermayer" <michaelni at gmx.at> wrote:
>Hi
>
>On Mon, Sep 15, 2014 at 04:26:57PM +0300, Mika Raento wrote:
>> This adds a new option -hls_flags single_file that creates one .ts file
>> for HLS and adds byteranges to the .m3u8 file, instead of creating one
>> .ts file for each segment.
>>
>> This is helpful at least for storing large number of videos, as the
>> number of files per video is drastically reduced and copying and storing
>> those files takes less requests and inodes.
>>
>> This is based on work by Nicolas Martyanoff, discussed on ffmpeg-devel
>> in July 2014. That patch seems abandoned by the author, and contained
>> unrelated changes. This patch tries to add the minimum amount of code to
>> support the byterange playlists.
>> ---
>> doc/muxers.texi | 23 +++++++++++++++----
>> libavformat/hlsenc.c | 64
>>++++++++++++++++++++++++++++++++++++++++++----------
>> 2 files changed, 71 insertions(+), 16 deletions(-)
>
>patch applied
Thanks.
>
>can you add a fate test so that this feature is also tested ?
Willdo, I'll get back to you in a couple of days.
Mika
>
>Thanks
>
>[...]
>--
>Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
>While the State exists there can be no freedom; when there is freedom
>there
>will be no State. -- Vladimir Lenin
>
More information about the ffmpeg-devel
mailing list