freeMXF.org
http://www.freemxf.org/forum/

How to determine codec type for essence
http://www.freemxf.org/forum/viewtopic.php?f=2&t=82
Page 1 of 1

Author:  clagus [ Tue Jun 05, 2007 4:07 pm ]
Post subject:  How to determine codec type for essence

Hi all!

How do you determine what kind of media (DV, JPEG2000, AES, etc.)
an essence contains ?
Is there a way to compare the descriptor with a label like "MXFGCDV" or "MXFGCJP2K" ?

In the code below, would it be possible to ask the EssenceContainer object of such an info ? If not, how do you do it?

Code:
if (SubDescriptor->IsA(GenericPictureEssenceDescriptor_UL))
{
    MDObjectPtr EssenceContainer = SubDescriptor->Child(EssenceContainer_UL);
    if (EssenceContainer)
    {
        ...



regards

Claes

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/