[Libav-user] avcodec_decode_video2 with h264
Joshua Kordani
jkordani at lsa2.com
Mon Mar 17 23:23:16 CET 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140317/72ff1c01/attachment.html>
More information about the Libav-user
mailing list