logo Sign In

Post #884425

Author
pittrek
Parent topic
Automatically matching the color of one video source to another.
Link to post in topic
https://originaltrilogy.com/post/id/884425/action/topic#884425
Date created
9-Dec-2015, 4:57 AM

I’m assuming you’re on windows.

  1. Install AviSynth ( http://avisynth.nl/index.php/Main_Page )
  2. Install the ColourLike plugin ( http://www.avisynth.nl/users/warpenterprises/files/colourlike_5F25_dll_20050825.zip )
  3. Write scripts for both of your videos, try to make them as similar as possible (framerate, cropping etc.)
  4. Write the histogram for the original file
  5. Read the histogram created in step 4 in the script for your “second” video

Check this thread for longer explanation of usage of Colourlike http://forum.doom9.org/showthread.php?t=96308
And of course the first video is the one you’re taking the colour information from, the second video is the one you’re trying to have the same colors as the first one.