Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

duration and frame total

shinjite
Beginner
159 Views
Hey guys using umc... Wrote a timing mechanism - Don't need avSync becuase we just use umc for video streams only. With that being said I need to obtain a h264's duration of the video or the total frame count I tried obtaining this from the decoder info.duration but it returns 0.0 which is not right at all..

any suggestions?
0 Kudos
1 Reply
Chao_Y_Intel
Employee
159 Views



Hello,

Here are some comments from our expert:

Duration can be estimated by splitters (estimation based on bitrate and file size) . User can use splitter to estimate h.264 stream frame (h264_spl doesnt provide such information). The demuxer provide output data by access units (pictures). Users need to check type of access unit. It can be field or frame. If customers deal with progressive streams there is no such a problem. Every access unit is a frame.

Thanks,
Chao
Reply