11 Nov 2015

How to Create Filter for Videos (Using Photoshop .acv file)

Client Requirement

User should be able to add video filter over the existing footer clip

Aesthetica_Short_Film_Festival_Collage_2013

We Require

Screen-Shot-2015-11-11-at-11.03.32-am

STEP 1:

Open any Image which you want to edit on Adobe Photoshop

Screen Shot 2015-10-26 at 6.52.09 pm

STEP 2:

Go to Main Menu > Images > Adjustments > Curves

Select Curves option from the menu as shown below

Screen Shot 2015-10-26 at 6.53.19 pm

STEP 3:

The window which is shown as below opens up

Screen Shot 2015-10-26 at 6.53.45 pm

Click on Channel > drop down of Red, Green and Blue options are provided

STEP 4:

Select each individual option and change values until required effect is appeared.

Select Red

Screen Shot 2015-10-26 at 6.55.59 pm

Set the values as required or follow the same curve values as above

Select Green

Screen Shot 2015-10-26 at 6.58.19 pm

Select Blue

Screen Shot 2015-10-26 at 6.58.54 pm

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

STEP 5:

Are you done with applying effects ?

If YES then, Click on the “gear icon” and options of Save Preset and Load Preset appears

Screen Shot 2015-10-26 at 6.59.06 pm

Select Save Preset

The following window appears

Screen Shot 2015-10-26 at 6.59.53 pm

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.

For Developers

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

Syntax:

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