[FFmpeg-devel] [RFC] avdevice/lavfi: output wrapped AVFrames

Anton Khirnov anton at khirnov.net
Thu Jun 30 11:46:01 EEST 2022


Quoting Timo Rothenpieler (2022-06-29 21:52:50)
> The lavfi avdevice as it is right now can't output "special frames"
> like hardware frames.
> This patch makes the lavfi avdevice output wrapped AVFrames instead
> of copying the actual data, greatly simplifying it in the process.
> 
> ---
> I am not at all sure if this has some unexpected consequences.
> It works just fine with ffmpeg.c, but it might be an ABI break for
> potential library consumers?

Hardware frames wrapped in frames pretending to be packets. Hacks upon
hacks upon hacks. Why do we need this "device" again?
Why not just use lavfi directly?

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list