[FFmpeg-user] why hls_list_size can't function correctly

qw applemax82 at 163.com
Fri Apr 22 13:40:02 CEST 2016


Hi,
 
ffmpeg version information is shown as follows:
 
ffmpeg version 2.8.3 Copyright (c) 2000-2015 the FFmpeg developers
  built with icc (ICC) 14.0.2 20140120
  configuration: --cc=/opt/intel/bin/icc --enable-version3 --enable-asm --enable-yasm --enable-avfilter --enable-libvidstab --disable-static --enable-shared --enable-libx264 --enable-gpl --prefix=/usr/local/ --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --enable-libfdk_aac --enable-nonfree --enable-libass --enable-libfreetype --extra-libs=-lfreetype
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

The hls option of '-hls_list_size' can affect output segment number.  Below is the option's description
 
  -hls_list_size     <int>        E....... set maximum number of playlist entries (from 0 to INT_MAX) (default 5)

I use two different value for '-hls_list_size' using the following commands, but the two commands have the same segment number. Why?
 
ffmpeg -y -i test.m3u8.mp4 -threads 0 -vbsf h264_mp4toannexb -strict -3 -c:v copy -c:a copy -f hls -hls_list_size 100 test.m3u8
ffmpeg -y -i test.m3u8.mp4 -threads 0 -vbsf h264_mp4toannexb -strict -3 -c:v copy -c:a copy -f hls -hls_list_size 1000 test.m3u8
 
B.R.
 
Andrew
 


More information about the ffmpeg-user mailing list