[Libav-user] H.264 nal decode

Kalileo kalileo at universalx.net
Tue Apr 10 09:07:01 CEST 2012


On Apr 10, 2012, at 13:19 , srikanta mondal wrote:

> Thank you for reply. 
> @kalileo   I have simply got the UDP socket and get the byte array from it.

you could also use the ffmpeg libraries to do that.

> Now that byte array is basically the x264_nal_t*(p_payload[0]) from sender side.

Is it? or is it in a container, such as mpegts? Then you should demux first.

> That encoded byte array come to client side. Now I want to decode that array with its corresponding parameter values. I think it can be done by using avcodec_decode_video2(). 

How are you passing that byte array to avcodec_decode_video2()?


 


More information about the Libav-user mailing list