From 7845c13881979494db766f67ca9a0cd1fbe1f0fa Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Wed, 5 Oct 2016 00:32:48 +0200 Subject: lavfi/sidedata: add filter for manipulating frame side data This is a similar filter to f_metadata, only it works on side data. Since adding side data from a user provided arbitrary binary string is unsafe, because current code assumes that a side data of a certain kind has the proper size, this filter only implements selection and deletion. Also, no value matching support is implemented yet, because there is no uniform way to specify a side data textually. Signed-off-by: Marton Balint --- doc/filters.texi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index 76265e79f2..e3eb00818a 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -17568,6 +17568,36 @@ ffmpeg -i audio.flac -lavfi showwavespic=split_channels=1:s=1024x800 waveform.pn @end example @end itemize +@section sidedata, asidedata + +Delete frame side data, or select frames based on it. + +This filter accepts the following options: + +@table @option +@item mode +Set mode of operation of the filter. + +Can be one of the following: + +@table @samp +@item select +Select every frame with side data of @code{type}. + +@item delete +Delete side data of @code{type}. If @code{type} is not set, delete all side +data in the frame. + +@end table + +@item type +Set side data type used with all modes. Must be set for @code{select} mode. For +the list of frame side data types, refer to the @code{AVFrameSideDataType} enum +in @file{libavutil/frame.h}. For example, to choose +@code{AV_FRAME_DATA_PANSCAN} side data, you must specify @code{PANSCAN}. + +@end table + @section spectrumsynth Sythesize audio from 2 input video spectrums, first input stream represents -- cgit v1.2.3