[FFmpeg-devel] [PATCH] hlsenc: intialize only on ref_pkt and drop all packets
thunder.m at email.cz
Sun Feb 12 20:31:43 EET 2017
This patch will fix cutting hls segments into exactly same length.
Because it will intialize only on first ref_packet, which is video
frame, not audio frame (old behavior)
It will also drop all packets without PTS, drop all packets before
initialization and drop all packets before first intialization packet PTS.
Now it should be possible to create segments at exactly same length if
we use new -force_key_frames hls:time_in_seconds parameter.
This is required to support adaptive HLS.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2117 bytes
Desc: not available
More information about the ffmpeg-devel