test.m3u8 and testxx.ts are output files. And the number of ts files can't be limited by the option of 'hls_list_size'. I guess the latest version of ffmpeg has the same problem. If '-hls_wrap' is used and set to the same value as '-hls_list_size', the number of output ts files is correct. Its description is -hls_wrap <int> E....... set number after which the index wraps (from 0 to INT_MAX) (default 0)
Why I should set both hls_wrap and hls_list_size to limit the number of ts files? At 2016-04-22 19:54:23, "Carl Eugen Hoyos" <ceho...@ag.or.at> wrote: >qw <applemax82 <at> 163.com> writes: > >> ffmpeg version information is shown as follows: >> >> ffmpeg version 2.8.3 Copyright (c) 2000-2015 the FFmpeg developers > >Please understand that only current FFmpeg git head is supported >on this mailing list. > >> I use two different value for '-hls_list_size' using the >> following commands, but the two commands have the >> same segment number. Why? > >You mean the m2u8 output files have the same size? > >Carl Eugen > >_______________________________________________ >ffmpeg-user mailing list >ffmpeg-user@ffmpeg.org >http://ffmpeg.org/mailman/listinfo/ffmpeg-user _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user