[FFmpeg-devel] [PATCH] hlsenc: single_file, support HLS ver 4 byteranges

Michael Niedermayer michaelni at gmx.at
Mon Sep 15 22:30:48 CEST 2014


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

can you add a fate test so that this feature is also tested ?


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140915/9d875c30/attachment.asc>

More information about the ffmpeg-devel mailing list