On 07/14/2013 11:19 AM, Yahoo wrote: > If i don't set the pts values, i get after encode_video2() pts values > 1,2,3... If I print the encodedPkt.duration, it always return 0. Do you have > an example on how to rescale pts and dts values? >
pts as in codec timebase units, so it's quite normal they are 1, 2, 3 and so on, dts as well. you have to rescale them in the format timebase unit (that might be different) and then feed to the interleaver and that's all =) lu _______________________________________________ libav-api mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-api
