Greetings all.

I have a bitstream consisting of just idr and p frames, (nals type 5 and 1).

How do I present them in the AVPacket being fed to the decode call?

[7 8 5] [7 8 5 1] [7 8 5 1 1]...
or
[7 8 5] [1] [1] [1] [1]

Do I prepend startcodes to the [1] buffer?

If I see a new idr frame, do I need to present [7 8 5] again? or just [5]?

Any documentation I can read that describes how this should be done in general, at least with h264?

Thanks all

--
Joshua Kordani
LSA Autonomy

_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to