I am working with h264 decoder which is part of avcodec-57.dll. I need to 
extract the clock timestamp from pic_timing() SEI. It seems the current 
implementation skips those bits in the bitstream. See decode_picture_timing() 
function in h264_sei.c, line 74.
        for (i = 0; i < num_clock_ts; i++) {
            if (get_bits(gb, 1)) {                /* clock_timestamp_flag */
                unsigned int full_timestamp_flag;

                h->ct_type |= 1 << get_bits(gb, 2);
                skip_bits(gb, 1);                 /* nuit_field_based_flag */
. . . }

Please advise how to retrieve the timestamp at the user-level API. This 
timestamp effectively is a timecode and it's required for video editing 
software.

Thank you
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to