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

Lou Logan lou at lrcd.com
Sat Jan 5 00:42:50 EET 2019


On Thu, Jan 3, 2019, at 9:06 PM, Ronak wrote:
> 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

ffmpeg-user is for questions involving the FFmpeg command-line tools (ffmpeg, ffplay, ffprobe). Questions involving the FFmpeg libraries should be asked at libav-user.


More information about the ffmpeg-user mailing list