Channel alpha in exporters

Hello

I'm having trouble with a channel alpha to an exporter. Symptoms - no alpha channel is handed over to my exporter by Premiere Pro when you use the source with an alpha channel. I created a test sample video which has rows of (pixel red, green blue pixels, pixel, pixel alpha). So while examining the bits in memory, I always see 0xff for alpha component (i.e., red pixel looks like 0xff 0x00 0 x 00 0xffgreen pixel looks like 0 x 00-0xff 0 x 00 0xff, blue pixel resembles 0x00 0 x 00 0xff, 0xff, and alpha pixel resembles 0x00 0x00 0 x 00 0xff), which resembles for me no alpha channel in the frame. I request images in the BGRA_4444_8u pixel format. Correct me if I'm wrong, but shouldn't this color format give me component if alpha source has alpha? I thought, ' ok, can be parameters of sequence or project have setting that I am not allowing to preserve the alpha ", but as I discovered, Premiere Pro retains alpha, unless explicitly told to do not keep user. Description of the exporter SDK sample project mentioned in favor of uncompressed 8-bit RGB with or without alpha. Does this mean that Premiere Pro should give frames with alpha channel of source is it? I looked at how sample exporter demand for executives of Premiere Pro and info specific to the color format is format of custom colors "sdk", unless I forgot something.

Thank you

Petro

Hey Petro,

I looked in the SDK examples, and there are a few adjustments, I had to do to get the Alpha to return successfully, when exporting using the exporter SDK and re-imported using the SDK file importer.

First of all, I had to make that info in the header of the file has been correctly defined.  In WriteSDK_FileHeader(), I put the number of bits depending on the codec setting retrieved to aid:

mySettings-> exportParamSuite-> GetParamValue (exID, 0, ADBEVideoCodec, & codecSubType);

For "Format file SDK", 32 means he is alpha, and 24 only, no alpha.  For both "video codecs" supported, I put it like this:

Switch (codecSubType.Value.intValue)

{

case SDK_8_BIT_RGB:

mySettings-> SDKFileRec.depth = 32;

break;

case SDK_10_BIT_YUV:

mySettings-> SDKFileRec.depth = 24;

break;

}

The other change I had to do was RenderAndWriteVideoFrame().  One of the parameters for RenderVideoFrame(), SequenceRender_ParamsRec, includes a member called inCompositeOnBlack. Yet once, I set this according to the codec:

Switch (codecSubType.Value.intValue)

{

case SDK_8_BIT_RGB:

renderParms.inCompositeOnBlack = kPrFalse;

break;

case SDK_10_BIT_YUV:

renderParms.inCompositeOnBlack = kPrTrue;

break;

}

This inCompositeOnBlack may be the problem that you run in.  You must set this to false if you want to than the alpha kept.

Kind regards

Zac

Tags: Premiere

Similar Questions

  • Keep all channels Alpha masked area.

    Hello
    In all my files, I have 50 alpha channels more for future color and adjustments in some 'hidden zone' alpha layers and some channels are "selected area". I want to make each channel type as «hidden zone» Is there a script to do all the channels alpha to be chosen as "masked area?

    Thank you

    #target photoshop;
    if(documents.length){
    if(activeDocument.componentChannels.length != activeDocument.channels.length){
    var chanlen = activeDocument.componentChannels.length;
    var chantotal = activeDocument.channels.length;
    for( var a = chanlen;a		   
  • Channel alpha export Apple Motion problem

    Hello, I expose the problem I detected MOTION v. 5.2.3 (Yosemite 10.10.5) if I create a publication with effect of scale and export with alpha channel

    (Apple ProRes 4444 - color + alpha, prmultiply apha)

    I have a problem, or that the exported video does not contain alpha channel. compositing as in the image:

    But if the elements of the composition with stairs do not go on the canvas, the alpha channel is implemented, see the attached picture:

    until this problem did not exist and for years I have been working with the MOVEMENT, how can I fix it? How can I solve this problem? Thanks for any response.

    I do not see that. Are you able to zip and download your project somewhere for us to check it out?

  • How to copy a channel alpha to an adjustment layer mask?

    I can copy a mask in alpha channel to a layer of the image by Ctrl + click on the alpha channel, then by clicking on the icon Add a layer mask in Photoshop CC, but it does not work for an adjustment layer. How can I copy the mask to alpha channel to the layer of an adjustment layer mask? Thank you.

    Drag the Alpha channel down to the channel to load as a selection symbol.

    Return the Panel layers, click the adjustment layer and choose an adjustment layer.

    The Alp\ha channel is displayed in his mask.

  • Channel alpha and ProRes 4444

    I have a number of files AE I want to visit Media Encoder with their alpha channels using the ProRes 4444 codecs. I can't understand how to make ME give me an alpha channel. If I go to AE, I get the alpha without problem. How can I ME give me an alpha channel? I use ME 2014 on a Mac.

    Hi Remy,

    Choose QuickTime. In the list of formats in the video tab, choose ProRes 4444. Scroll to the 'depth' and choose 32-bit. This will allow you to export with alpha channel.

    Thank you
    Kevin

  • Creating a channel alpha in a weird way?

    My question is about the features of After Effects. I highly doubt it is possible, but I would run it through people who know. My question is perhaps not clear because I don't know how to describe it!

    I wonder if I can create an alpha channel using the bottom again at once, as an alternative to green screens and makes it easier for outside without the need of mad lights.

    Here is an example. Do you film yourself using a tripod (if the background is always) away from a building and want to add an explosion behind you without hiding all images, would you be able to recognize the background by using a picture without you in it, or one that has the same lighting and use it to have it automatically differentiate this context you thus creating an alpha channel or mask automatic...

    Thank you

    For a mast of difference to work absolutely nothing can move in the scene. Difference matte will not work with the compressed original film. I know I've tried several times. If the wind blows in the grass or trees are moving the difference Matte will not work.

    If you plan this kind of shot, then the best thing to do is try to find a few good areas of contrast in the shot, so you can create a procedure cache. A small cache of transparency and a procedure cache created by adjusting the levels or color or shade can create a much better Matt and does not rely on the pixels being exactly the same on each image.

    Even easier is a well-planned and the Roto brush.

  • y at - it script or action to remove all the channels/alpha?

    Hello

    When I'm working on an image, I create a lot of alpha channels, y at - it script/action to remove all in 1 click?

    I run ps cs6 64 bit, windows7 64 bit

    I found a little script, but surprisingly slow

    Thank you

    You can erase the guides with an action or just go to

    View > clear Guides which can be saved in an action.

    A script that should work, gotton using the listener script plugin

    // =======================================================
    var idDlt = charIDToTypeID ("Dlt");
    var desc14 = new ActionDescriptor();
    var idnull = charIDToTypeID ("null");
    var ref1 = new ActionReference();
    var idGd = charIDToTypeID ("Gd");
    var idOrdn = charIDToTypeID ('Ordn');
    Ideal var = charIDToTypeID ("Al");
    Ref1.putEnumerated (idGd, idOrdn, ideal);
    desc14.putReference (idnull, ref1);
    executeAction (idDlt, desc14, DialogModes.NO);

  • Channel alpha revealing...? Does not, HELP!

    I started PS5 with default setting, such as amoderne. I made it look like my picture and saved in the selection. I have the channel bar open and selected the Alpha channel, a black and white... I am using the conseal Brush tool and reveal and the revealing part does not work. What can I do to finish?

    Acting student.

    CODY

    Make sure your brush is set to normal mode

  • Update the clips with Alpha channel does not work after August 2016

    It's really random, I have a bunch of Silhouettes of Motion Designer of Digital Juice in my current project, and after the last update, none of them appear in the monitor of the composition. The clips are still there. Nothing is changed. But none of the Silhouettes. They are Quicktime video files with alpha and have the silhouette of a person to perform various tasks.

    They are not involved in After Effects and first.

    I have also a few clips with alpha explosion on my calendar. Those who still work, but they are not as vivid and intense as they were before the update.

    Help? All advice would be much appreciated.

    all the information I have shows that there is a bug in 13.8.1 on some OS systems. What is yours? It mainly occurs on Windows 10 and a few BONES. the solution is to uninstall quicktime or working with the version 2015.2. Have a look here:

    Re: New update broke PNG .mov format

    Color of EI error/bug on PNG + (codec)

    Problems with fire and muzzle Flash Active

    Re: AE interpereting not color values

    Layers of color to Alpha. MOV shifted on reopening program

    Re: Images of channel Alpha displays incorrect colors. Need help ASAP! I have samples

    a shared sorrow is a reduced sentence by half

    Why what happened? My guess would be that it comes to this

    Source: update is now available from effects CC 2015.3 (13.8.1) Bug - Fix | Creative blog Cloud by Adobe

    Please file a bug report and also a link to this thread: feature request/Bug Report Form

  • Alternative to the QuickTime Animation - alpha channel & small size?

    • I am looking for a replacement for the Animation QT codec I used to use for video files with a channel alpha on a Windows System.

    • Apple QuickTime does not support Windows more and I'm scratching my head to find a good video intermediate container/codec that takes in charge graphic overlays alpha channels.  I'm looking for something that implements a clip of 10 minutes gradually around 1 or 2 gigs or less.  Compression is acceptable.   I reuse these overlays on each video that I exported and found there was a reduction of duration important export RGBA images rather than dynamic links to After Effects.

    • My best guess is to use JPEG 2000 level 1 in one. Enveloping MXF?   Any other suggestions or ideas?
    • JPEG 2000 lvl1 I get an error in the first when importing JPEG 2000 MXFs, but somehow from one day to the next the error disappeared.  The 10 minute file moved to 976 326 KB which is ~1.5 GB smaller than the Animation QT codec. He use that throughout.
    • I tried the PNG sequence, and it was the smallest (I think), but it cannot be contained in a single file, it is unusable in our workflow.
    • I tried the Targa sequence, which was a lot more big 34 k vs 8, 000 k.
    • I tried the GoPro Cineform, which although is listed as QT always worked without QT installed.  It worked fine, but the files turned out to be astronomical in size and much larger than QT Animation.
    • I tried DNxHD, but the files are too big, and I have found no RGBA option to export even if takes care of the format specification.
    • I tried AVI (uncompressed), wow.  File size would have taken a hard disk video sequence.

    Thanks for the help and suggestions, if someone reads this knows a better way, please share.

  • Photoshop CS6 using javaScript to truncate the name of the alpha channel

    Hello

    I am a production artist and I work with PSD files created in Adobe Scene7's Image Authoring Tool. These PSD files contain a background as well as the alpha 1-20 layers layer. My script should make a new empty layer for each alpha channel in the document. He then fills the new grey layer. So far, my code accomplishes this mission. However, I would like to apply the alpha channel of the layer name, but I need the name will be truncated. Each alpha channel begins with one or more characters, followed by a bar backslash and then ends with one or more characters. Here is an example:

    An alpha channel can be named: Floor\floor

    In this example, I need my name of layer to be fair: floor. This means that all characters to the left of the backslash, including the backslash itself needs to be scrapped. I used the subSring() for this statement. When I try to step through the code line by line in ExtendScript, I immediately get an error that says no complete string constant and line 31 of my code is highlighted. I think that he doesn't like the way I wrote the backslash character, although I have it surrounded by double quotes to define it as a string.

    Can someone tell me why I get this error?

    Here is my code with a lot of comments to guide you through the process. I wrote where the error occurs in red characters.

    I'm new to JavaScript, so I'm not sure that my while loop is accurate.

    #target photoshop

    #target photoshop makes the script execution in PS.

    declare the variable to contain the active document

    var myDoc = app.activeDocument;

    declare the variable to hold the number of alpha channels, excluding the RGB layers

    var alphaChan = myDoc.channels.length - 3;

    Alert ("alpha channels exist" + alphaChan);

    create a loop to make new layers depends on the number of channels alpha, fill layer with gray and apply the name of alpha channel to the new layer

    for (a = 0; a < alphaChan; a += 1) {}

    make new Virgin layer

    myDoc.artLayers.add ();

    fill empty layer with gray

    var color = new SolidColor();

    Color.RGB.Red = 161;

    Color.RGB.Green = 161;

    Color.RGB.Blue = 161;

    myDoc.selection.fill (color);

    variable stores the name of the alpha channel

    var alphaName = myDoc.channels [3 + a];

    variable stores the length of the name of alpha channel

    var lz = alphaName.length;

    declare the index variable to initialize the character position 1 the name of alpha channel

    var x = 0;

    truncate the name of the alpha channel by removing all characters preceding the symbol "\".

    While (alphaName.subString (x)! = ' \ ') { (ExtendScript gives an error for this line and highlights the backslash and surrounding quotes) }

    alphaName = alphaName.subString ((x+1), z);

    x += 1;

    z = 1;

    Return alphaName;

    }

    remove the backslash in name of alpha channel

    alphaName = alphaName.subString ((x+1), z);

    apply name truncated to the corresponding layer alpha channel

    myDoc.artLayers [a] .name = alphaName;

    }

    While (alphaName.subString (x)! = ' \ ') {}

    should be

    While (alphaName.subString (x)! = ' \ ') {}

  • formats with alpha channels

    Some of our projects created by Adobe AIR to video with alpha channel. We can create impressive effects with it. Is there something format with channel alpha we can change FLV?

    It is quite critical for us. There is only one option - previous version using Media Encoder?

    Been to another video format that support alpha channels? I know non-compressed MOV can do it, but the very large output files.

    If you need FLV files, then use the previous version of Adobe Media Encoder to create.

  • Basics of the alpha channel of Canon 7 d video

    Maybe I'm missing something basic here, as I am fairly new to play with alpha in VIDEO layers/channels. Otherwise, I have a pretty good understanding of the alpha when it comes to photos, animations, etc.ffects

    I'm doing the black in a video of a few flames in an alpha channel, so I can use them in the form of particles in After Effects.

    (like in this video http://www.videocopilot.net/tutorial/green_smoke/ ( )

    I understand the restrictions codec/format for alpha channels, but the problem is that I can't get the black to come out at all as an alpha channel.

    I have tried Quicktime with no codec and FLV and other formats that are supposed to support alpha channels.

    According to me, what is the problem is format that shoots in the Canon does not have an alpha channel in native mode to export the video in different formats is not having an effect. If this is the case, how should we do the dark parts of a video in an alpha channel.

    I know there are ways to make green in a channel alpha (filtering). I can't for the life of me figure out how to get scars OR Prime Minister to acknowledge the black straight as an alpha channel however.

    I watched a few 30 tutorials trying to understand this point, but it seems that I am unable to ask the right question to get the answer I want.

    videoalphas.jpg

    There are the export parameters.

    Perhaps someone can point out my gross missunderstanding of what I'm trying to make, or otherwise put me on the right track.

    Here's a clip of in aftereffects, the arrow shows that the clip has properties alpha... I think, but when I turn off the alpha channel EVERYTHING disappears.
    I have to d something in the aftermath?  I don't know, I'm lost.

    videoalphas.jpg

    If anyone thinks they can help I'm willing to do a youtube video showing what I do.

    PP will never recognize black as an alpha channel.  You have to eliminate the black using the Luma key.  As long as it has nothing else underneath, which retired black will be encoded as an alpha transparency.

  • 8 and 16-bit grayscale alpha channel

    Hello.

    When I have an image in 8 bits per channel, its grayscale alpha channel is 8-bit (256 levels).

    But when I have an image in 16 bits per channel, its channel alpha, grayscale 16 bit (32.768 levels)? They are a lot to make a selection...

    Why 16-bit alpha channels exist if they are not real?

    They are real, you can copy and paste into a layer for example mask instead of loading them.

    http://forums.Adobe.com/message/4597174#4597174

  • Cannot save a PNG file with alpha channel transparency format

    I try to send a PNG file with transparency channel alpha on my Zenfolio web page. It is a custom application of copyright law that I do.  When I save the file, cs5, and I select Save in PNG, in the window, I get a message error/alert that says "the file should be saved as a copy with this application.  I'm not allowed to select the Alpha channel option.

    I think that I have a setting in CS5 that is making this happen, but I'm not smart enough to understand.

    What happens when I have when even save it and upload this file to my Zenfolio website is copyright logo has a cloud of sorts with it. It's the rest of the House generated page which should be, but is not transparent.

    PNG does not support alpha channels, only one channel of transparency.

    Just make the image with transparency and save in PNG.

Maybe you are looking for