Am Di., 2. Juli 2019 um 10:58 Uhr schrieb Asaf Kave <[email protected]>:

> I track the first call to 'avcodec_send_packet', and i find that the majority 
> of
> the memory consumption is made by call to
> 'IDirectXVideoAccelerationService_CreateSurface' with initial_pool_size == 20.

16 is the maximum number of surfaces needed for h264 streams, my guess
is that the remaining four surfaces come from the number of decoding threads.

> Is  there any way to configure this number ?

Edit the source code.

Please find out what top-posting means and avoid it here, Carl Eugen
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to