TSHAlphaVideos
TSHAlphaVideos copied to clipboard
not seeing anything
Hi! Your tool seems pretty cool, but does not work on my side. I converted it to swift like this:
if let myAwesomeVideo = TSHAlphaVideoController.video(withRGBVideoFile: "Alpha-TestVideo",
with:self)
{
self.view.addSubview(myAwesomeVideo.view)
myAwesomeVideo.play()
}
I tried to play an mp4 with alpha channel, but I dont see anything (yes, my background is blue). Does the mp4 have to be prepared somehow?
Thanks for your support.
Regards, Werner
Hey @pawelnathan yes, there is a very specific way you have to encode the video. The instructions are in the readme under Video Processing
If it's not working for you, feel free to attach your video here and I'll take a look.