filter_complex is used when multiple inputs are used or temporary streams are created. filter_complex doesn’t just apply to when chaining manipulation to video and audio. filter_complex syntax $ ffmpeg -i input.mp4 -filter_complex "reverse areverse" output.mp4 vf / -af syntax $ ffmpeg -i input.mp4 -vf reverse -af areverse output.mp4 ![]() ![]() Using -filter_complex will allow you omit the movie multimedia source filter and have a shorter command.īelow is an example of reversing the video and audio of the input with both syntax types: vf / -af (video filter / audio filter) is used for simple filtergraphs (one input, one output), and -filter_complex is used for complex filtergraphs (one or more inputs, one or more outputs). Filters follow a sequential order as given by the command. Filters are used to manipulate audio and video with the libavfilter library.Ī filter might result in a single change to an input file with a new output file or multiple changes to multiple output files or anything in between. Converting between one file format to another is extremely useful and might be all that’s needed for your use of FFMPEG but where the real fun begins is in the filters.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |