[FFmpeg-user] Proper way to write data into an AVFrame

Ronak ronak2121 at yahoo.com
Fri Jan 4 08:06:54 EET 2019


Hi,

I'm trying to use FFmpeg in my iOS App; and would like to write data into an AVFrame that I can later filter using one of the filters in the libavfilter library (silenceremove, loudnorm or dynaudnorm for example).

I noticed there's a method to correctly write data into a frame in libavcodec: https://ffmpeg.org/doxygen/4.1/libavcodec_2utils_8c_source.html#l00372.

Is there any such method in libavfilter or libavutil to do the same? I would like to use an already provided C API; instead of trying to do this manually in Swift...since the bridging between Swift and C isn't the best for FFmpeg.

Thanks,

Ronak


More information about the ffmpeg-user mailing list