• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

how to render Alpha + RGB with H.264 format

Explorer ,
Jun 29, 2015 Jun 29, 2015

Copy link to clipboard

Copied

How can I render out an mp4 / H.264 with an alpha channel? I want to make an animated overlay for my twitch broadcasts and hopefully for other people but I can't even get it to be transparent.

TOPICS
Export or render , How to

Views

223.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guide , Jul 01, 2015 Jul 01, 2015

Ok, there's some codecs/formats that can export transparency but most of them are intermediate formats (set for best quality not small size) (small list of those you can see here: List of video formats supporting alpha channels) so it will give you bigger file size but if that is not an issue you can use any of those. If you are on windows you can also check Lagarith - lossless avi codec that gives you transparency. If any of those formats/codecs doesn't satisfy your needs then check as I've sai

...

Votes

Translate

Translate
Guide ,
Jun 30, 2015 Jun 30, 2015

Copy link to clipboard

Copied

h264 is unnable to export aplha channel (transparency) so you have to use something else to render it. I'm not familiar with Twitch channel settings but mae there is some other file format that can give you alpha channel f.eg. swf

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 30, 2015 Jun 30, 2015

Copy link to clipboard

Copied

What formats do support it?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jun 30, 2015 Jun 30, 2015

Copy link to clipboard

Copied

I've already said .eg. SWF. There also other formats but not all are suitable for something like overlays on live footage so it would be much easier if you could tell us what video/animation formats are supported by Twitch/broadcast system.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 30, 2015 Jun 30, 2015

Copy link to clipboard

Copied

The overlay is actually a video and I don't know how to get transparency or alpha in adobe media encoder but I was able to render the video with alpha in after effects using avi which made a 6 GB file and Quicktime which made a 700 MB file.

Basically I use a program called OBS which I connect to my twitch and use a plugin to play videos. With the video plugin if I have a transparent video then I can have an overlay animate on with monitor capture or game capture behind the video.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jul 01, 2015 Jul 01, 2015

Copy link to clipboard

Copied

Ok, there's some codecs/formats that can export transparency but most of them are intermediate formats (set for best quality not small size) (small list of those you can see here: List of video formats supporting alpha channels) so it will give you bigger file size but if that is not an issue you can use any of those. If you are on windows you can also check Lagarith - lossless avi codec that gives you transparency. If any of those formats/codecs doesn't satisfy your needs then check as I've said earlier: FLV/SWF format. To export that you need one of earlier versions or AE/AME  like CS6 or CC but it will give you transparency.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 06, 2018 Apr 06, 2018

Copy link to clipboard

Copied

Honestly, i'm still looking for a clean answer to this myself. For a long time I thought it was possible to make H.264's with transparency.

I use .avi codec, it seems to work pretty well.


What I do is take my existing video file and put it into AE, then re-render through media encoder with AE's render options.

  • Open AE, and make a comp with exactly the same dimensions (px) and timeline (00:00:00) of the video you will be converting
  • Paste your file into the timeline and align to edges, make sure you have the time exact
  • Send to Render Queue with Ctrl + Alt + /
  • Open the Output Module in the Current Render window below
  • Under the Main Options tab under Video Output > Channels, change the the channel from RGB to RGB + Alpha
  • Select your Output then send to Media Encoder. Avoid rendering in AE.

I have strained myself looking for a way to do this in Media Encoder only.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 10, 2018 Apr 10, 2018

Copy link to clipboard

Copied

You can render your RGB and alpha (matte) channel separate from each other, that way you can get away with pretty small file sizes. H264 does not support integrated alpha channels, even prores only does that in 4444 quality.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 29, 2018 Jun 29, 2018

Copy link to clipboard

Copied

Ok, after 6 hours of messing with this I FINALLY have a solution! (I deal primarily with Twitch graphics and OBS) This confirmed works on OBS

**If you don't have Quicktime, download and install it**

     1) Make the animated overlay as you normally would

     2) On the Render Screen from the drop down select Photoshop Image Sequence, then select PNG

                    *make sure you make a separate folder and designate it, a 10 sec animation = 240 still images*

     3) Open Premiere Pro

     4) Select all of the PNGs that were created, drop them into the project window then drag them all onto the timeline

               *timing may be off, if it is select all images, right click, Speed / Duration and mine looked fine at 00;00;00;02*

     5) File>Export>Media

     6) Format: Quicktime Preset: GoProCineForm RGB 12-bit with alpha, change output destination to preferred folder, under video settings, up it to max

     6) Click Queue, this will open Encoder

     7) Click the Play Button

     8) Open the generated .mov file in OBS to make sure it works

It's definitely not the most direct or easy method, but it's the only way I could get it to work even after reading forums. Hope this helps

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 02, 2019 Jan 02, 2019

Copy link to clipboard

Copied

I like this, thanks!

Settings in Adobe Media Encoder:

- Quicktime (.mov)

- GoPro CineForm RGB 12-bit with alpha at Maximum Bit Depth

Interestingly QuickTime is unable to play this movie.

However, I was able to use these settings to convert a .GIF to a .MOV and use this in the Adobe Photoshop Video Timeline to have animated video layers when creating your animation. Pretty awesome.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 30, 2018 Jul 30, 2018

Copy link to clipboard

Copied

Does the standard RGB+Alpha MOV from AE not work in OBS?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 19, 2019 Dec 19, 2019

Copy link to clipboard

Copied

LATEST

 

 

Isn't MOV depcrecated now as a format as QuickTime is now no longer supported by Apple?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 26, 2018 Oct 26, 2018

Copy link to clipboard

Copied

For Twitch stream overlays, I recommend the WebM container since it provides RGB+A. You can download the codec here for use in Adobe Media Encoder (AME). Install it and it will appear in your list of encoding options in AME. Just remember to check "Include Alpha Channel".

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines