Lazarus
Programming => Graphics and Multimedia => Audio and Video => Topic started by: ghamm on March 07, 2020, 07:50:54 pm
-
Hi,
I want to write an app that has 2 videos on a form. The first is the original video from a web cam. The second is a pixelated version of the first original video. Say, 64x64. Im trying for the life of me to figure out how I could do that. VLC player? What filter to use etc.. how do I make the second video a downscaled version of the first etc..
Can you give me some ideas?
-
I think you will have better luck using C/C++, there you should be able to find more libraries/filters for video editing programming.
But if you plan to write it yourself, then ask yourself can you write code to perform pixelated effect on a image? If the answer is no, sorry I don't mean to discourage you but you better forget it.
And please, don't do double posting.
-
Removed duplicate in other board.
-
BGRABitmap has a pixelate filter.
-
Does BGRABitmap do anything with videos? I know I can resample with BGRABitmap if its a bitmap, but can I do it with videos?
-
Video components for Pascal are rare. There are a few of them but they are for playback not for editing. You can try if they allow you to 'extract' the image for editing and then 'send' it back.
https://wiki.freepascal.org/Video_Playback_Libraries