How to Create Filter for Videos (Using Photoshop .acv file)
By aalekya in Education
User should be able to add video filter over the existing footer clip
Open any Image which you want to edit on Adobe Photoshop
Go to Main Menu > Images > Adjustments > Curves
Select Curves option from the menu as shown below
The window which is shown as below opens up
Click on Channel > drop down of Red, Green and Blue options are provided
Select each individual option and change values until required effect is appeared.
Set the values as required or follow the same curve values as above
Set values of curves as required or just follow the above curves for reflecting the same effect which is been applied for the image shown above
Are you done with applying effects ?
If YES then, Click on the “gear icon” and options of Save Preset and Load Preset appears
Select Save Preset
The following window appears
Save the file in your preferred location
And the file will be saved as “.acv file”.
This process is similar for any effect just that the Red, Green & Blue curve values changes based on which the effect also changes.
FFmpeg is the library which has been used in by development team in DIYDOC project as it generates filters as there are few inbuilt effects which can be used.
FFmpeg is a free software project that produces libraries and programs for handling multimedia data. FFmpeg includes libavcodec, an audio/video codec library used by several other projects, libavformat, an audio/video container mux and demux library, and the ffmpeg command line program for transcoding multimedia files.
As we have Imported the .acv file in the Library the curve values of RGB will be applied and give the effect which as defined.
Below is the syntax how .acv file is been declared
ffmpeg -i scene1.mp4 -vf “curves=psfile=crossprocess.acv” -vcodec libx264 -pix_fmt yuv420p scene1contra.mp4
This is the process for generating Filters by defining curve values and importing them on to the Video
AALEKYA | M O B I U S O