[FFmpeg-user] issue with [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames
chrisjohannesen at gmail.com
Thu Jan 12 18:40:58 EET 2017
On Thu, Jan 12, 2017 at 11:32 AM, Christian Johannesen <
chrisjohannesen at gmail.com> wrote:
> On Thu, Jan 12, 2017 at 1:27 AM, Steven Liu <lingjiujianke at gmail.com>
>> I have sent a patch to the ffmpeg-devel maillist, you can test it.
> I've tested the patch from http://ffmpeg.org/pipermail/ffmpeg-devel/2017-
> January/205706.html on Windows 2012 x64 with msys2. It now works as
> expected and creates the directory & index.m3u8 with filenames that include
> the size in bytes and duration. Thanks very much for creating the patch!
> ffmpeg.exe -i D:\media\mix_of_clip_960x540_2128.mp4 -codec copy -f hls
> -hls_time 6 -hls_list_size 0 -hls_flags second_level_segment_index+
> second_level_segment_size+second_level_segment_duration -use_localtime 1
> -use_localtime_mkdir 1 -hls_segment_filename "D:\media\mix_of_clip_960x540_
> 2128\segment_%%04d_%%08s_%%013t.ts" D:\media\mix_of_clip_960x540_
> ffmpeg version N-83083-gf7191cc Copyright (c) 2000-2017 the FFmpeg
> built with gcc 6.2.0 (Rev2, Built by MSYS2 project)
> 01/12/2017 11:31 AM 307,944 segment_0117_00307944_
> 01/12/2017 11:31 AM 309,636 segment_0118_00309636_
> 01/12/2017 11:31 AM 302,868 segment_0119_00000000_
> 121 File(s) 117,359,480 bytes
> Looks like I may have misspoke, the last segment looks to be an issue.
More information about the ffmpeg-user