[Libav-user] Can I skip some packets when decoding
mrfun.china at gmail.com
Tue Dec 9 08:12:08 CET 2014
I have a question about read frame,
Suppose I've just opened a file, so the readpointer is at the beginning of
Compare these two methods:
1. call av_read_frame + avcode_decode_video2 to decode 100 video packets(
suppose each packet can decode into a frame)
2. call av_read_frame, but only decode the 100th packet (all previous 99
packets are just discarded)
Will the 100th frame from method 1 and the frame from method 2 have same
content, timestamp, etc?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user