[FFmpeg-devel] [PATCH] hlsenc: intialize only on ref_pkt and drop all packets

Miroslav Slugeň 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.

-- 
Miroslav Slugeň










-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-hlsenc-intialize-only-on-ref_pkt-and-drop-all-packet.patch
Type: text/x-patch
Size: 2117 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170212/d59fea34/attachment.bin>


More information about the ffmpeg-devel mailing list