Post

Replies

Boosts

Views

Activity

AVFoundation Not Respecting HAVC With Alpha's RGB Pixels With Opacity Values
I have a HAVC With Alpha video and have inserted it into an app via this method, in that website you can also download a sample project (comes with three projects but I am this video is regarding only the "Playback" implementation of a HAVC With Alpha video, the simplest of the three). The problem is, the application is not respecting those parts of the video frame which is not fully transparent but also not fully space, in between rather, like a window (a layer of blue that is maybe 10% opaque). Actually, the sections that are supposed to be partly transparent become fully opaque, getting rid of any transparency in those pixels whatsoever. I need help on having the application respect the colours and transparency of the original file, I need to have transparency and colours in one same pixel working harmoniously.
0
1
540
Jul ’22
Play Transparent Video
I was sent a video (made in after effects) with an alpha channel (has transparency). I need to add that video to an iOS app, like adding a transparent GIF. There is this tutorial https://medium.com/@quentinfasquel/ios-transparent-video-in-swiftui-92a9a1cce94e online on how to do just that, however he is using a single mp4 that displays alpha info on the bottom and the colour info on the top, I am using Quicktime 444 which is already transparent by nature. Is there anyway I can play a transparent video on Swift for iOS? I am using SwiftUI.
2
3
4.1k
Jul ’22