How to convert each frame into image in network optix plugin?

Answered

Comments

1 comment

  • Avatar
    Andrey Terentyev

    Hello Mohamed,

    pushUncompressedVideoFrame is given a pointer to IUncompressedVideoFrame, which inherits from IUncompressedVideoFrame0 which in turn inherits from IUncompressedMediaFrame.

    IUncompressedMediaFrame has a member

    virtual const char* data(int plane) const = 0;

    The data member returns a pointer to actual frame data.

    You can copy or save or send or covert this data depending on your application needs.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.