2013/9/3 Luca Barbato <[email protected]>: > From: Yukinori Yamazoe <[email protected]> > > AVPacket on MPEG-2 PS that it has dts is exist and pts is AV_NOPTS_VALUE. > Could not be added in the case of AV_NOPTS_VALUE because pts was key in > put_dts()/get_dts(). > So, sequential number is key in put_dts()/get_dts(). > Then input the bitstream with the TimeStamp of the sequential number to QSV > decoder, > it output the TimeStamp strange value of (+3002) only the last frame. > So, TimeStamp the bitstream has is calculated in 90KHz. > > The timing when from decoder input bitstream to output frame is different per > video stream. > Further, there may be necessary to back up max 32 packet timestamp of the > Frame reordering in H.264, from being decoded output. > Number of timestamps may be insufficient when it is a fixed value. > So, timestamp table was to be extended as needed. > > Signed-off-by: Luca Barbato <[email protected]> > --- > > How can you get into this situation? If the packet has a duration we can > guess the pts somehow anyway. >
Sorry, It’s over my head how to guess the pts from dts and duration. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
