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..
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.