jkb Posted February 17, 2023 Report Posted February 17, 2023 I have read the post on Alpha Channel with Lagarith Codec & installed PTE 11.02 build 2 but I still cannot get an alpha channel video to display without showing a black background instead of transoarent. If I import the video into Photoshop it displays with a transparent background. How do I tell PTE to display as Alpha Channel?? I have tried creating the video as a straight Alpha & also as RGB+pre multiplied Alpha & still can't get it to work. It is in ProRes format as a .mov file Importing into Photoshop & then exporting as a .avi file greatly reduces the file size from 890 mb down to just over 7 mb, but PTE is still not displaying the transparency. The only way I can get it to work is to reduce the opacity to enable the image underneath to show through but this darkens the image as the black background of the video is still partly visible. Any help would be appreciated. Jill PS Some videos I need to keep as RGB+pre multiplied Alpha to keep the individuals colours within them. Others are fine as straight Alpha as I can easily colour them as one colour within PTE Quote
vbl2007 Posted February 17, 2023 Report Posted February 17, 2023 9 minutes ago, jkb said: How do I tell PTE to display as Alpha Channel? Video with Alpha Channel and Lagarith Codec will be support in PTE 10.0.3 and later. Quote
jkb Posted February 17, 2023 Author Report Posted February 17, 2023 vbl2007 my video is not Lagarith Code. Also the test version 11.0.2 supports Alpha Channel, I have downloaded & installed that version. Jill Quote
tom95521 Posted February 17, 2023 Report Posted February 17, 2023 Hi Jill, For Windows I think you would either have to install the lagarith codec or install virtualdub2. I did my testing with virtualdub2. https://lags.leetcode.net/codec.html http://virtualdub2.com/ Tom Quote
Igor Posted February 21, 2023 Report Posted February 21, 2023 Tom, You can try a new v11.0.3 Beta on your Mac to check videos with Alpha channel (Lagarith Codec and others). 1 Quote
tom95521 Posted February 21, 2023 Report Posted February 21, 2023 Hi Igor, Yes. Both Lagarith and Quicktime RLE alpha channel videos work great on my Mac M1 mini and M2 mini. Thanks, Tom Quote
jkb Posted February 22, 2023 Author Report Posted February 22, 2023 6 hours ago, Igor said: Alpha channel (Lagarith Codec and others) Hi Igor, I have installed 11.0.3 but still cannot get my videos to show with a transparent background. I have sent you sample videos & project by WeTransfer. Jill Quote
Igor Posted February 22, 2023 Report Posted February 22, 2023 Hi Jill, Thanks for sending me the sample videos. Yes, I see that they're being displayed without Alpha transparency. We'll check the code. 1 Quote
Igor Posted February 22, 2023 Report Posted February 22, 2023 11 hours ago, jkb said: I have installed 11.0.3 but still cannot get my videos to show with a transparent background. I have sent you sample videos & project by WeTransfer. Jill, Try a new Beta version: https://files.wnsoft.com/test/pteavstudio-setup.exe 11.0.2 Build 3 It should display correctly Alpha channel for 2 videos which you've sent me. And 3rd video (LightWisps01.mov) doesn't include Alpha channel). Quote
jkb Posted February 22, 2023 Author Report Posted February 22, 2023 39 minutes ago, Igor said: It should display correctly Alpha channel Igor, thank you for fixing this so quickly. It works great for the RGB+Premultiplied Alpha. The other video which I think is Straight Alpha doesn't show up that well, but that could be the video itself. If possible it may be useful if we could have a Checkbox for Video to set Alpha Channel On or Off as we have for Still images? Jill Quote
Igor Posted February 22, 2023 Report Posted February 22, 2023 Jill, Glad that the first video now works fine. When you export a video with Alpha, please don't choose "Premultiplied" option. Probably it will help to reach desired visual result. I noticed that first 2 videos are in ProRes format which is heavy for realtime playback. And Alpha channel is 12-bit. It seems that this format is intended for professional use. File is also very large. Try to choose H.264 format with Alpha channel. If it will not be recognized in PTE, we'll add its support. Quote
Igor Posted February 22, 2023 Report Posted February 22, 2023 52 minutes ago, jkb said: If possible it may be useful if we could have a Checkbox for Video to set Alpha Channel On or Off as we have for Still images? I'm not sure that it requires one more option. Probably it's very rare case? There is alternative solution - put a black rectangle below a video clip with Alpha channel. Quote
jkb Posted February 22, 2023 Author Report Posted February 22, 2023 19 minutes ago, Igor said: Try to choose H.264 format with Alpha channel. Thanks I will give this a try later. 14 minutes ago, Igor said: put a black rectangle below a video clip with Alpha channel. Thanks for the suggestion Jill Quote
jienense Posted February 22, 2023 Report Posted February 22, 2023 24 minutes ago, Igor said: Try to choose H.264 format with Alpha channel I think H264 does not support Alfa Channel, PTE does not support AVI with the GRASS Valley HQX CODEC. example video. https://we.tl/t-skdhGpzhcW Quote
Igor Posted February 22, 2023 Report Posted February 22, 2023 1 hour ago, jienense said: I think H264 does not support Alfa Channel, PTE does not support AVI with the GRASS Valley HQX CODEC. example video. We cannot add support for this video format. Sorry. VLC also cannot play this video file. Quote
jienense Posted February 22, 2023 Report Posted February 22, 2023 You are right VLC does not play it, on the other hand Windows media player, Potplayer and QuickTime do play them well. And video editors like Adobe premiere, Magix vegas or AE also support it, I think it's open source. It would be good for its level of compression and quality, but if you can't, there's not much more to say Thank you so much. Quote
Igor Posted February 22, 2023 Report Posted February 22, 2023 Media Player also cannot play it. The most likely, the support was added by installing external decoder in Windows on your PC. Decoders in PTE don't support this format at all. Quote
jienense Posted February 22, 2023 Report Posted February 22, 2023 I understand, thank you very much for all your explanations Quote
jkb Posted February 25, 2023 Author Report Posted February 25, 2023 On 2/22/2023 at 2:33 PM, Igor said: Try to choose H.264 format with Alpha channel. If it will not be recognized in PTE, we'll add its support. Hi Igor, I have tried H264 output & it is not recognised in PTE. I have sent you some sample files & details of how they were created, see email. Jill Quote
tom95521 Posted February 25, 2023 Report Posted February 25, 2023 1 minute ago, jkb said: Hi Igor, I have tried H264 output & it is not recognised in PTE. I have sent you some sample files & details of how they were created, see email. Jill I don't know of any software that can create H.264 alpha channel. Newer Apple Macs can use H.265 alpha channel videos, but not Windows. My idea was for PTE to add alpha channel support for the webm VP8/VP9 codec. PTE on both Windows and Macs can already play webm video files. The encoding time is slow but the file sizes are small. I would like to try H.264 alpha if you know how to make them. Tom Quote
jienense Posted February 25, 2023 Report Posted February 25, 2023 1 hour ago, tom95521 said: I would like to try H.264 alpha if you know how to make them. H.264 does not support alpha channel, the only solution is to create the alpha channel separately, to be able to use it in PTE, after trying different codecs that support alpha channel, you find that the ones with the least weight are not supported by PTE and the others have a considerable weight. I am going to continue creating files in .mp4 (h.264) and the other video only the alpha channel, between the two videos the size is less than any file created with embedded alpha channel, at least until I know of an option better. Example: https://we.tl/t-Kxwnfvv7bf Quote
tom95521 Posted February 25, 2023 Report Posted February 25, 2023 5 minutes ago, jienense said: H.264 does not support alpha channel, the only solution is to create the alpha channel separately, to be able to use it in PTE, after trying different codecs that support alpha channel, you find that the ones with the least weight are not supported by PTE and the others have a considerable weight. I think VP9 is as good or better than H.264 in quality and file size and is supported in PTE on Windows and Mac? Tom Quote
jienense Posted February 25, 2023 Report Posted February 25, 2023 I am going to try it again, but my VP9 did not show transparency in PTE, although I think I remember that when rendering in VP9 it was super slow Quote
tom95521 Posted February 25, 2023 Report Posted February 25, 2023 Hi Jienense, Currently PTE can play webm video files, but it can not decode the alpha channel in the webm files. Yes, software encoding to VP8 or VP9 is slower than H.264 hardware encoding. If you have an alpha channel video that Shutter Encoder can read then it can convert to webm with alpha channel. Thanks, Tom 1 Quote
Igor Posted February 27, 2023 Report Posted February 27, 2023 You can send me sample file(s) in VP8/VP9 format with Alpha channel for checking. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.