How to detect and print I, B and P frames of a GOP frame

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pavithra_mdn
    Junior Member
    Junior Member
    • Mar 2011
    • 1

    How to detect and print I, B and P frames of a GOP frame

    Hi,

    I have a video recorded for H.264 codec and a c program that extracts the details such as Video track, video duration, video frames,fps, video bytes,video bit rate etc. Now I want to include a switch statement that checks for an IDR frame of a GOP frame. It should keep on counting the number of p frames and b frames that appear until the next i frame is encountered and display the total count of p frames and b frames found when the next i frame is encountered.

    Can anyone let me know how can I extract the p frames and b frames from a recorded video.

    Thanks in Advance,
    Pavithra
Working...