Log in

View Full Version : h264, parsing NAL units


ash5
29th June 2012, 13:30
Hi,

I am writing a H264 analyzer to show how the video is encoded and may be try to dump a picture frame from the encoded stream.

My question is, how do I parse the NAL units to get this information, I have looked into the FFMPEG's code to do this but I was lost.
I also posted it on SO on this.
http://stackoverflow.com/questions/6062190/parsing-nal-units-using-ffmpeg

Can someone help me?

Guest
29th June 2012, 14:06
1. Read the H.264 spec, where the process is clearly described.

2. Look at the JM reference decoder source code.