


The NAL Byte is created by putting the NAL Unit Bits from Byte 1 and 2 together. The Fragment types which are necessary in my case are: Fragment Type 7 = SPS Type of the Payload -> 5 Fragment Type Bits.In the payload, they're arranged like this: Byte 1: īyte 2: To do so, I parse the first two bytes of every RTP Payload, so I can get the 8 NAL Unit Bit, the Fragment Type Bits and the Start, Reserved and End Bit. Since the data has been transmitted via RTP I need to take care of the NAL Bytes, SPS and PPS.įirst I determine the type of each frame received over Ethernet. I take that raw stream data I have and parse it.

In the end I want to have a *.mp4 file, which I can play with common Media Players (like VLC or Windows MP). This raw stream is recorded from the ethernet. I have an IP Camera, which is capable of streaming it's data over RTP in a H.264 encoded format.
