[Libav-user] H263 dts from avformat_find_stream_info

David Longest david.longest at apx-labs.com
Tue Dec 18 23:14:33 CET 2012


Hello All,

I am trying to use libav to decode an h263 stream. While I can successfully decode the stream and display decoded frames, I have found that I get about a 5 second stall in avformat_find_stream_info. After further investigation, it seems that the AVStream's first_dts is always set to AV_NOPTS_VALUE and the for loop in avformat_find_stream_info attempts to wait for that data to be populated.

The only conclusion I have come to is that the h263 parser does not ever populate the "dts" portion of the incoming packets. What is the proper way to handle setting the decompression timestamp on h263 data?

Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20121218/52e91eee/attachment.html>


More information about the Libav-user mailing list