locked
Get frame type from IMFSample RRS feed

  • Question

  • Is it possible to get frame type (I,P,B...) from IMF sample that came from H264 encoder ?

    Thanks

    Aleksey

    Monday, December 10, 2012 7:01 AM

Answers

  • well, i dont know if you can decide whether its a P or B Frame, but I-Frames should have the MFSampleExtensions_CleanPoint Attribute set to 1.

    Maybe this is enough for you.

    • Marked as answer by atelyshev Tuesday, December 11, 2012 1:22 AM
    Monday, December 10, 2012 7:34 AM

All replies

  • well, i dont know if you can decide whether its a P or B Frame, but I-Frames should have the MFSampleExtensions_CleanPoint Attribute set to 1.

    Maybe this is enough for you.

    • Marked as answer by atelyshev Tuesday, December 11, 2012 1:22 AM
    Monday, December 10, 2012 7:34 AM
  • Thanks for the hint!
    Tuesday, December 11, 2012 1:23 AM