3. 滤镜列表 滤镜和libavfilter绑定在一起,如 4.3.100(as configured with --enable-gpl). 使用外部库的滤镜并未列在这里,如frei0r.可以查看FFMPEG的滤镜文档。 滤镜列表约定: T.. = Timeline support .S. = Slice threading ..C = Commmand support A = Audio input/output V = Video input/output N = Dynamic number and/or type of input/output | = Source or sink filter
滤镜: ... aconvert A->A Convert the input audio to sample_fmt:channel_layout. T.. adelay A->A 延迟一个或多个音频通道 ... aecho A->A 给音频添加回音 ... aeval A->A Filter audio signal according to a specified expression. T.. afade A->A Fade in/out input audio. ... aformat A->A Convert the input audio to one of the specified formats. ... ainterleave N->A Temporally interleave audio inputs. ... allpass A->A Apply a two-pole all-pass filter. ... amerge N->A Merge two or more audio streams into a single multi-channel stream. ... amix N->A Audio mixing. ... anull A->A Pass the source unchanged to the output. T.. apad A->A Pad audio with silence. ... aperms A->A Set permissions for the output audio frame. ... aphaser A->A Add a phasing effect to the audio. ... aresample A->A 重采样音频数据 ... aselect A->N 选择音频帧给输出 ... asendcmd A->A Send commands to filters. ... asetnsamples A->A Set the number of samples for each output audio frames. ... asetpts A->A Set PTS for the output audio frame. ... asetrate A->A Change the sample rate without altering the data. ... asettb A->A Set timebase for the audio output link. ... ashowinfo A->A Show textual information for each audio frame. ... asplit A->N Pass on the audio input to N audio outputs. ... astats A->A Show time domain statistics about audio frames. ... astreamsync AA->AA Copy two streams of audio data in a configurable order. ..C atempo A->A Adjust audio tempo. ... atrim A->A Pick one continuous section from the input, drop the rest. ... bandpass A->A Apply a two-pole Butterworth band-pass filter. ... bandreject A->A Apply a two-pole Butterworth band-reject filter. ... bass A->A Boost or cut lower frequencies. ... biquad A->A Apply a biquad IIR filter with the given coefficients. ... channelmap A->A Remap audio channels. ... channelsplit A->N Split audio into per-channel streams. ... compand A->A Compress or expand audio dynamic range. ... earwax A->A Widen the stereo image. ... ebur128 A->N EBU R128 scanner. ... equalizer A->A Apply two-pole peaking equalization (EQ) filter. ... highpass A->A Apply a high-pass filter with 3dB point frequency. ... join N->A Join multiple audio streams into multi-channel output. ... lowpass A->A Apply a low-pass filter with 3dB point frequency. ... pan A->A Remix channels with coefficients (panning). ... replaygain A->A ReplayGain scanner. ... silencedetect A->A 检测静音 ... treble A->A Boost or cut upper frequencies. T.C volume A->A 改变输入音量 ... volumedetect A->A 检测音频音量 ... aevalsrc |->A Generate an audio signal generated by an expression. ... anullsrc |->A Null audio source, return empty audio frames. ... sine |->A Generate sine wave audio signal. ... anullsink A->| Do absolutely nothing with the input audio. ... alphaextract V->N Extract an alpha channel as a grayscale image component. ... alphamerge VV->V Copy the luma value of the second input into the alpha channel of the first input. T.. bbox V->V Compute bounding box for each frame. ... blackdetect V->V Detect video intervals that are (almost) black. ... blackframe V->V 检测几乎全黑的帧 TS. blend VV->V Blend two video frames into each other. T.. boxblur V->V Blur the input. T.. colorbalance V->V Adjust the color balance. T.. colorchannelmixer V->V Adjust colors by mixing color channels. T.. colormatrix V->V Convert color matrix. ... copy V->V 复制输入视频到输出 ... crop V->V 裁剪输入视频 T.. cropdetect V->V 自动检测裁剪尺寸 TS. curves V->V Adjust components curves. T.. dctdnoiz V->V Denoise frames using 2D DCT. ... decimate N->V Decimate frames (post field matching filter). ... dejudder V->V Remove judder produced by pullup. T.. delogo V->V 去掉输入视频的logo ... deshake V->V Stabilize shaky video. T.. drawbox V->V 在输入视频上画一个颜色块 T.. drawgrid V->V 在输入视频上画一个颜色网格 T.. edgedetect V->V 检测并画边缘 ... elbg V->V Apply posterize effect, using the ELBG algorithm. ... extractplanes V->N Extract planes as grayscale frames. .S. fade V->V Fade in/out input video. ... field V->V Extract a field from the input video. ... fieldmatch N->V Field matching for inverse telecine. T.. fieldorder V->V Set the field order. ... format V->V Convert the input video to one of the specified pixel formats. ... fps V->V 强制成常量帧率Force constant framerate. ... framepack VV->V Generate a frame packed stereoscopic video. T.. framestep V->V 每N帧中选择一帧 T.. geq V->V Apply generic equation to each pixel. T.. gradfun V->V Debands video quickly using gradients. TS. haldclut VV->V Adjust colors using a Hald CLUT. .S. hflip V->V Horizontally flip the input video. T.. histeq V->V Apply global color histogram equalization. ... histogram V->V 计算并画直方图 T.. hqdn3d V->V Apply a High Quality 3D Denoiser. T.C hue V->V Adjust the hue and saturation of the input video. ... idet V->V 隔行检测滤镜 T.. il V->V 去隔行或隔行场 ... interlace V->V 转换逐行视频成隔行视频 ... interleave N->V Temporally interleave video inputs. ... kerndeint V->V Apply kernel deinterlacing to the input. TS. lut3d V->V Adjust colors using a 3D LUT. T.. lut V->V Compute and apply a lookup table to the RGB/YUV input video. T.. lutrgb V->V Compute and apply a lookup table to the RGB input video. T.. lutyuv V->V Compute and apply a lookup table to the YUV input video. ... mcdeint V->V Apply motion compensating deinterlacing. ... mergeplanes N->V Merge planes. ... mp V->V Apply a libmpcodecs filter to the input video. ... mpdecimate V->V Remove near-duplicate frames. T.. negate V->V Negate input video. ... noformat V->V Force libavfilter not to use any of the specified pixel formats for the input to the next filter. TS. noise V->V Add noise. ... null V->V Pass the source unchanged to the output. T.C overlay VV->V Overlay a video source on top of the input. T.. owdenoise V->V Denoise using wavelets. ... pad V->V Pad the input video. ... perms V->V Set permissions for the output video frame. T.. perspective V->V Correct the perspective of video. ... phase V->V Phase shift fields. ... pixdesctest V->V Test pixel format definitions. T.C pp V->V Filter video using libpostproc. ... psnr VV->V Calculate the PSNR between two video streams. ... pullup V->V Pullup from field sequence to frames. T.. removelogo V->V Remove a TV logo based on a mask image. TSC rotate V->V Rotate the input image. T.. sab V->V Apply shape adaptive blur. ... scale V->V Scale the input video size and/or convert the image format. ... select V->N 选择视频帧并传给输出 ... sendcmd V->V Send commands to filters. ... separatefields V->V Split input video frames into fields. ... setdar V->V Set the frame display aspect ratio. ... setfield V->V Force field for the output video frame. ... setpts V->V Set PTS for the output video frame. ... setsar V->V Set the pixel sample aspect ratio. ... settb V->V Set timebase for the video output link. ... showinfo V->V Show textual information for each video frame. ... shuffleplanes V->V Shuffle video planes T.. smartblur V->V Blur the input video without impacting the outlines. ... split V->N Pass on the input to N video outputs. T.C spp V->V Apply a simple post processing filter. ... stereo3d V->V Convert video stereoscopic 3D view. ... super2xsai V->V Scale the input by 2x using the Super2xSaI pixel art algorithm. ... swapuv V->V Swap U and V components. ... telecine V->V Apply a telecine pattern. ... thumbnail V->V Select the most representative frame in a given sequence of consecutive frames. ... tile V->V Tile several successive frames together. ... tinterlace V->V Perform temporal field interlacing. .S. transpose V->V Transpose input video. ... trim V->V Pick one continuous section from the input, drop the rest. T.. unsharp V->V Sharpen or blur the input video. ... vflip V->V Flip the input video vertically. T.. vignette V->V Make or reverse a vignette effect. T.. w3fdif V->V Apply Martin Weston three field deinterlace. TS. yadif V->V 对输入图像去隔行 ... cellauto |->V Create pattern generated by an elementary cellular automaton. ..C color |->V Provide an uniformly colored input. ... haldclutsrc |->V Provide an identity Hald CLUT. ... life |->V Create life. ... mandelbrot |->V Render a Mandelbrot fractal. ... mptestsrc |->V Generate various test pattern. ... nullsrc |->V Null video source, return unprocessed video frames. ... rgbtestsrc |->V Generate RGB test pattern. ... smptebars |->V Generate SMPTE color bars. ... smptehdbars |->V Generate SMPTE HD color bars. ... testsrc |->V Generate test pattern. ... nullsink V->| Do absolutely nothing with the input video. ... avectorscope A->V Convert input audio to vectorscope video output. ... concat N->N Concatenate audio and video streams. ... showspectrum A->V Convert input audio to a spectrum video output. ... showwaves A->V Convert input audio to a video output. ... amovie |->N Read audio from a movie source. ... movie |->N Read from a movie source. ... ffbuffersink V->| Buffer video frames, and make them available to the end of the filter graph. ... ffabuffersink A->| Buffer audio frames, and make them available to the end of the filter graph. ... abuffer |->A Buffer audio frames, and make them accessible to the filterchain. ... buffer |->V Buffer video frames, and make them accessible to the filterchain. ... abuffersink A->| Buffer audio frames, and make them available to the end of the filter graph. ... buffersink V->| Buffer video frames, and make them available to the end of the filter graph. ... afifo A->A Buffer input frames and send them when they are requested. ... fifo V->V Buffer input images and send them when they are requested.