[FFmpeg-devel] [PATCH] avformat/segment.c: add experimental -segment_list_flags iframe
Aman Gupta
ffmpeg at tmm1.net
Mon Jun 2 23:13:14 CEST 2014
>> Here's how to generate iframe.m3u8 and iframe0.ts for an h264 input.
>> Notice that I only map the video stream into the segmenter.
>>
>> ./ffmpeg -i input.mkv -map 0:0 -c:v copy -bsf:v h264_mp4toannexb \
>> -f stream_segment -segment_format mpegts \
>> -segment_list iframe.m3u8 -segment_list_flags iframe iframe%d.ts
>
> why not use "-skip_frame nokey" if you want to create a file made
> from the keyframes ?
AFAIK, skip_frame requires decoding video frames and does not work
when remuxing.
More information about the ffmpeg-devel
mailing list