[FFmpeg-devel] [PATCH] avcodec/h264_ps: use the AVBufferPool API to allocate parameter set buffers

James Almer jamrial at gmail.com
Sun Jan 21 16:41:21 EET 2018


On 1/21/2018 9:12 AM, wm4 wrote:
> On Sun, 21 Jan 2018 03:33:08 +0100
> Michael Niedermayer <michael at niedermayer.cc> wrote:
> 
>> also a memcmp on the data might be worth looking into to avoid re-parsing of
>> unchanged PS
>> (theres already a memcmp in libavcodec/h264_ps.c)
> 
> That sounds like it'd help much more than a buffer pool.
> 
> Anyway, did anyone run benchmarks on this?

Do you have a raw h264/hevc stream with preferably more than one pps
before every keyframe? Otherwise i don't think there will be much of a
difference in performance.


More information about the ffmpeg-devel mailing list