[FFmpeg-devel] [PATCH] hlsenc: intialize only on ref_pkt (v2)

Steven Liu lingjiujianke at gmail.com
Tue Feb 14 05:59:48 EET 2017


2017-02-13 21:15 GMT+08:00 Miroslav Slugeň <thunder.m at email.cz>:

> 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)
>
> 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.
>
> This patch was splitted to two parts, this is first independent part
>
> --
> Miroslav Slugeň
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>
Patch can compile passed, but i cannot reproduce the problem before your
patch, can you send a reproduce step and test file?


More information about the ffmpeg-devel mailing list