FFmpeg Special Effects Creating Black and White Video 1 of 4
MyLinuxToyBox
This was created using FFmpeg and Python Script. Special Effects often are created using masks in the form of black and white images. I wanted to Create Black and White Video. I enjoy special effects and was curious what effects might be created using the black and white video as a mask. I used black and white image masks to on videos. A round mask and make a circular video. Or a star mask and make a star shaped video. Now I will find out what a pure black and white video mask can accomplish . instead of one image I can mask every frame of a video with the frame of another video. It would give me a unique tool for special effects. I could not find an FFmpeg script to convert a video to a pure black and white video. So I used FFmpeg and converting a video to individual images. Then using a Python script to convert the images to black and white images. The Python script turned every image into a gray scale image. Then took the mean of the gray scale image and used it as a threshold to convert the image to pure black and white. Basically what that means is all the lighter regions of the image were turned white and the darker areas black. Then the black and white images were converted back into a video. It worked perfect. The images could actually be adjusted by biasing the threshold and I could get a black and white video almost exactly as I wanted. Next is to play with the special effects, now I have this mask video as a tool.
Much of the code used in and to create these videos is available on my website and in github. Both are linked in the header image. Although this channel is called MyLinuxToyBox many topics will also appropriate for Windows users. If you want to learn about computers it would be well worth the subscription. I will be posting videos about computer languages, computer graphics, video and audio creation and editing. How to create bots, use VPS services, docker and Github are just a few topics I will cover in the future. I am excited and only posted my first video today ( this is it ) ha ha ha My format will be simple, a sample video, followed up with a complete explanation as to how it was done. Subscribe and write me a comment. Ask a question I will try to answer. ... https://www.youtube.com/watch?v=1-WxOIPgZyE
11868171 Bytes