Skip navigation
Annabella Uio
Currently Being Moderated

Clip Pixel Type

Feb 20, 2012 3:23 AM

Tags: #pixel_format

Hi,

 

Is there a way to get Premiere to display the pixel type for a clip?  RGB or YUV, 8u or 32f?

 

Thanks!

 
Replies
  • Currently Being Moderated
    Feb 20, 2012 12:26 PM   in reply to Annabella Uio

    Can you elaborate?

    In a filter, an importer, an exporter?

    Do you want to know what's possible to be fetched or what the native pixel format is of the clip?

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 21, 2012 11:06 AM   in reply to Annabella Uio

    you need to make a filter and use the Clip Render Suite..

    It's then up to you to render some text burn-in on the screen ( or make a standalone window that dynamically updates a textbox printout etc).

     

     

    Look in PrSDKClipRenderSuite.h

     

    /**

    ** Given a specific clip, find out the number of pixel formats natively supported

    ** by this clip.

    **

    ** @param inClipID       The ClipID of the clip.

    ** @param outNumPixelFormats     The number of pixel formats.

    */

    prSuiteError (*GetNumPixelFormats)(

      PrClipID    inClipID,

      csSDK_int32*   outNumPixelFormats);

     

    /**

    ** Given a specific clip get a native pixel format. The pixel formats will be returned

    ** in index order based on preference. The maximum index can be determined by using

    ** GetNumPixelFormats().

    **

    ** @param inClipID       The ClipID of the clip.

    ** @param inIndex        The pixel format index.

    ** @param outPixelFormat      The pixel format.

    */

    prSuiteError (*GetPixelFormat)(

      PrClipID    inClipID,

      csSDK_int32    inIndex,

      PrPixelFormat*   outPixelFormat);

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 21, 2012 11:18 AM   in reply to Annabella Uio

    Annabella, it sounds like you're referring to the "Dog Ears" overlay mode.  In the SDK Guide pdf, check out chapter 1 > "Debugging Plug-ins" > "Dog Ears".  Or you can just search on "Dog Ears" in the SDK pdf.

     

    The pixel format reported here isn't necessarily one of the formats natively supported by the clip, since there can be multiple source clips per frame.  Instead, it shows the pixel format used for the render of all the clips / effects / transitions for that particular frame.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points