I’ve noticed that some videos are not affected by the negative filter on clips.
I tried to use the negative filter on a cat video from Shotstack and that worked fine.
Same with some of my images.
But then I tried two of my own videos. Both are in grayscale, so I expected them to switch from black to white, white to black and similar for different shades of gray. But for one of them, nothing happened, for the other one, it just went completely black.
Does the negative filter not work on all videos?
P.s. on a related note, I noticed that the documentation on github for the PHP SDK, states that the negative filter is called “invert,” while the documentation on the Shotstack website says it is “negative.”
Using “invert” gives an error, so I’m sticking to “negative”.
Here is a video that was created by showing first a negative video, then the original video, then a negative image and finally the original image: https://cdn.shotstack.io/au/stage/rojfw17rpf/cd30e64e-2689-4881-a85f-a648f6c31b94.mp4
Each clip is 2 seconds.
The only thing that isn’t working is the first two seconds, that should be an inverted video, but all I can see is a black screen.
Yes you are right. The filter effect doesn’t work on the luma asset.
I see what you’re trying to do and it’s a great idea but at this point you will have to have two separate mp4 files available. Potentially you can use Shotstack to first invert luma video asset and then use it in a subsequent render?