[Libav-user] Decoding H.264

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jun 1 10:19:21 CEST 2015


Ryan Bauer <r.bauer234 at ...> writes:

> I am currently sending individual NAL units across 
> a network. These NAL units are generated by x264. 
> Now is it possible to feed these NAL units 
> individually into avcodec_decode_video2? 
> Or do I have to concatenate the nal units until they 
> represent the same frame? If thats the case then how 
> is that done?

If sending the NAL units to the decoder does not work, 
I suspect you can feed them to the h264 parser first 
to get the individual frames.

Carl Eugen



More information about the Libav-user mailing list