[Libav-user] H.264 nal decode

Alex Cohn alexcohn at netvision.net.il
Wed Apr 11 17:03:41 CEST 2012

I found an interesting thread:

tl;nr: you cannot decode the SPS and PPS Nal units not as separate
packets, but together with an IDR packet.

Also, I seem to have been worng: I you should send the 00000001
annex-b headers to avcodec_decode_video2().


More information about the Libav-user mailing list