2017-01-13 0:40 GMT+08:00 Christian Johannesen <[email protected]>:
> On Thu, Jan 12, 2017 at 11:32 AM, Christian Johannesen < > [email protected]> wrote: > > > > > > > On Thu, Jan 12, 2017 at 1:27 AM, Steven Liu <[email protected]> > > wrote: > > > >> > >> 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_ > > 2128\index.m3u8 > > ffmpeg version N-83083-gf7191cc Copyright (c) 2000-2017 the FFmpeg > > developers > > built with gcc 6.2.0 (Rev2, Built by MSYS2 project) > > ... > > > > 01/12/2017 11:31 AM 307,944 segment_0117_00307944_ > > 0000006006400.ts > > 01/12/2017 11:31 AM 309,636 segment_0118_00309636_ > > 0000006006400.ts > > 01/12/2017 11:31 AM 302,868 segment_0119_00000000_ > > 0000000000000.ts > > 121 File(s) 117,359,480 bytes > > > > Looks like I may have misspoke, the last segment looks to be an issue. > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". > patch update, and fix it, the problem is in hls_write_trailer for the last segments. _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
