]> git.sesse.net Git - ffmpeg/commit
Improve hls VOD mode hls performance problem.
authorRonak Patel <ronak2121@yahoo.com>
Sun, 19 Aug 2018 01:57:44 +0000 (09:57 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Sun, 19 Aug 2018 01:57:44 +0000 (09:57 +0800)
commit223d2bde22ce33dcbcb6f17f234b609cb98f1fb6
tree7fb1804fcdd09567d0b8b45aad472c5f0f0b8742
parent46753bfdd0182f721499939a1118c0406c8a3674
Improve hls VOD mode hls performance problem.

This fixes the creation of the hls manifest in hlsenc.c by writing the
entire manifest at the end for VOD playlists. Live & Event Playlists are unaffected.
This also fixes the behavior with HLS_TEMP_FILE to work correctly when
-hlsflags temp_file is specified, instead of always relying on use_rename, which caused these problems.

Files that would previously take over a week to fragment now take
1 minute on the same hardware. This was a 153 hour audio file (2.2GB of audio).

Signed-off-by: Ronak Patel <ronak2121@yahoo.com>
libavformat/hlsenc.c