People in France, eastern and south eastern Europe may remember the old days of analog TV in the color standard SECAM. SECAM had a color disturbance called SECAM fire which consisted of red and blue stripes at sharp edges of the image.
Two years ago I build a little console application that is able to add SECAM fire to digital images. Today I improved the console interface so that the program takes arguments and thus it's ready to be released now with the name "secamizer".
At the moment secamizer can handle raw RGB-24 images only. To apply a SECAM fire on ordinary digital images a little shell helper script called easysecam.sh is included. It just needs an input file and an output file and with the help of ImageMagick it converts the image, invokes secamizer and converts the image back to an ordinary image format.
Video conversion is also possible, but very slow and you have to do a
little trick with ffmpeg: First you need to convert all video frames to
single images. After that you run easysecam.sh in a for loop:
for f in *.jpg; do easysecam.sh "\$f" "\$f.secam.jpg"; done
Now you have to combine all "SECAM-fired" images into a video stream with ffmpeg. How this is done with ffmpeg can be read here: [url]http://pr0gr4mm3r.com/linux/convert-video-to-images-and-back-using-ffmpeg/[/url]
The source code (GPLv3) of secamizer is hosted at: https://gitlab.com/ncc1988/secamizer
You may clone it with git: git clone https://gitlab.com/ncc1988/secamizer.git
To compile secamizer you just need the standard C libraries which should be included with your operating system and a C compiler (clang or gcc). A Makefile is included in the source code repository.
Now, let's see the results of secamizer. Before and after ;)