hallo,
could someone tell me if  is possible and how to read and decode an audio
and/or video AVPacket from a previous created list of AVPacket read from a
file instead that read directly with av_read_frame function called frame
after frame?
My problem is that after stored all the frame in a list of packets, when I
grab one and pass it at the av_decode... functions, they returned me an
error and never decode the frames.
I suppose that the av_read_... and/or av_decode_... functions write some
infos in the AVFormatContext or AVCodecContext functions after the read and
decode of a packet. If that is true, what can I do to tell at the structures
to decode the correct packet in my sequence?

I hope to have not made too much mess in the description of my problem.
Please write some feedback ;)
bye

claudio
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to