[Libav-user] H.264 nal decode

Kalileo kalileo at universalx.net
Mon Apr 9 14:54:55 CEST 2012

On Apr 9, 2012, at 19:02 , srikanta mondal wrote:

> Thank you for your reply.
> @kalileo  I am doing the H.264 compression by opening a file with binary mode and write each encoded x264_nal_t* (p_payload[0]) frame into the file.

Then copy the picture - before you encode it - to the playing thread and display it there.

Or, if your input picture is encoded already, then copy the encoded frame to the playing thread, decode it there, and display it.

More information about the Libav-user mailing list