[FFmpeg-user] libavformat/segment.c duration min time always 10s
Steven Liu
lingjiujianke at gmail.com
Wed Oct 24 15:40:34 CEST 2012
Hi guys,
When i use the command bellow:
ffmpeg -i input.mkv -strict experimental -acodec aac -vcodec
libx264 -map 0:0 -map 0:1 -b:v 2000k -r 25 -b:a 88k -ar 44100 -preset
ultrafast -vprofile main -vlevel 2.0 -f segment -segment_time 3
-segment_format mpegts -segment_list a.m3u8 -segment_list_flags live
-async 1 -bsf:v h264_mp4toannexb -v debug -s 1280x720 test-%d.ts
the duration time of m3u8 file and the ts file always 10s
But when i use -segment_time 20
the duration time of m3u8 file and the ts file is 20s
Which parameter can i use?
Or must modify some code of ffmpeg?
Thanks
More information about the ffmpeg-user
mailing list