Jump to content
WnSoft Forums

Аlpha channel with the Lagarith codec


Aleina Show

Recommended Posts

The question is probably for Igor. Is it possible to use video with transparent background based on Lagarith codec? 
If anything, here's a link to the codec's author's website

I really like the compression with almost no loss of quality. If mov file size is 900 mb, avi file size with this codec is only 100 mb.

This is an example of a file

Link to comment
Share on other sites

On 2/1/2023 at 3:41 AM, Aleina Show said:

The question is probably for Igor. Is it possible to use video with transparent background based on Lagarith codec? 
If anything, here's a link to the codec's author's website

I really like the compression with almost no loss of quality. If mov file size is 900 mb, avi file size with this codec is only 100 mb.

This is an example of a file

Subscribe Button #03.avi

Hi,

Please try a new test version 11.0.2 Build 2:

https://files.wnsoft.com/test/pteavstudio-setup.exe

We added support for this video format with a transparency. Let me know about a result.

Link to comment
Share on other sites

6 hours ago, Igor said:

We added support for this video format with a transparency. Let me know about a result.

Igor,

Thank you so much! Everything is great. Transparency is displayed.

 

3 hours ago, vbl2007 said:

Aleina Show, how to use this codec?
How to transcode video from MOV format to AVI using this codec? What program to use?

I use Adobe After Effects. I choose to render in AVI, rbg+ alpha channel. In the parameters of the format I choose Lagarith codec. And in the settings of this codec choose RGBA (otherwise transparency will not be displayed).

 

AfterFX_8ZMGDsahJB.jpg

AfterFX_nGR2fOwGLK.jpg

2h8x0jYwP4.jpg

  • Thanks 2
Link to comment
Share on other sites

I don't use Adobe products so that is not an option for me. Lagarith is a relatively old codec and not compatible with some animation programs like Apple Motion which uses ProRes with alpha channel but it has large file sizes. If PTE was able to use VP8 or VP9 with alpha channel then it would probably be more widely used since it's easier to convert to this format and has smaller file size than ProRes. It is easy to convert from ProRes to VP9 using Shutter Encoder. There is also H.265 with alpha channel but not sure if Windows could support this option.

Tom

Link to comment
Share on other sites

I was not able to create an alpha channel video in Windows using VirtualDub2 with Lagarith. It would create a video with black background. There were no quality or compression option during save so the file was large compared to modern codecs like HEVC + alpha or VP8/9 + alpha. Shutter Encoder does not support Lagarith (ffmpeg?) and I don't want to spend the time to install the codec to use with other video editors.

For compatibility between Windows and Mac computers using PTE the only option that worked well for me was the QT Animation codec. It uses very old compression method RLE run length encoding and the file size is larger.

I think I would use a QT animation alpha channel video only when publishing the project as a video.

Tom 

 

Link to comment
Share on other sites

1 hour ago, tom95521 said:

I was not able to create an alpha channel video in Windows using VirtualDub2 with Lagarith. It would create a video with black background.

Tom,

Thank you for reminding us about Virtual Dub 2.
I did a little experiment.
Windows 10

File source format .mov 
Size 20.7 MB

Encoded to .avi using:

1. Adobe After Effects
Transparency+
Size 5,22 MB

2. Virtual Dub 2.
Transparency+ 
Size 3,13 MB

I only changed this value In the setting

2ecE2TsW2U.jpg

Link to comment
Share on other sites

Hi Aleina,

Thanks for the screen capture. I will verify my PTE versions and try again. If anybody wants the source video with alpha I was using here it is. I used Apple Motion and imported into Apple Compressor to create the video.

DNA Compressor QuickTime ProRes with Alpha.mov 28 MB

https://we.tl/t-zfdegWxBJF

Tom

Link to comment
Share on other sites

23 hours ago, Igor said:

Tom,

We added support for video files with Alpha channel in Lagarith codec only in the latest test version for Windows. See the link above. 

For Mac we'll include it in the nearest update 11.0.3.

I updated PTE and it's working now. I do see a nice file size reduction (13 MB Lagarith compared to 28 MB QT Animation) and the Lagarith video quality looks good. I can see this as being a good solution for Windows PTE content creators, but if developing on a Mac I think the QT Animation codec may be the only solution that works.

In case anyone wants to see the 13 MB Lagarith video file it's here.

https://we.tl/t-x1U8HkfJCy

Thanks,
Tom

Lagarith.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...