Identifying H.264 packetization mode

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
nissarbm
New Cone
New Cone
Posts: 3
Joined: 29 Oct 2008 14:26

Identifying H.264 packetization mode

Postby nissarbm » 29 Oct 2008 14:33

Hi All,

I captured the H.264 packets using ethereal. But I don't know, how to identify the packetization mode from the RTP packet.

Anybody have any idea on how to identify the packetization mode from the RTP packet.???

jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

Re: Identifying H.264 packetization mode

Postby jgg » 29 Oct 2008 16:37

I was unable to properly decode RTP/H.264 packets with Wireshark and VLC some months ago. Maybe last Wireshark version can do it.

nissarbm
New Cone
New Cone
Posts: 3
Joined: 29 Oct 2008 14:26

Re: Identifying H.264 packetization mode

Postby nissarbm » 30 Oct 2008 07:32

I am using Wireshark Version 1.0.2. It is properly able to decode the H.264 packet.

But I don't have any idea on how to identify the packetization mode from the packet captured.

Is there any header field that indicates the packetization mode used? Or Is there any other technique to get the packetization mode from the captured packet?

jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

Re: Identifying H.264 packetization mode

Postby jgg » 30 Oct 2008 10:31

Could you please post the trace of a H.264 packet?

nissarbm
New Cone
New Cone
Posts: 3
Joined: 29 Oct 2008 14:26

Re: Identifying H.264 packetization mode

Postby nissarbm » 30 Oct 2008 12:38

Here is the sample captured RTP packet.

Real-Time Transport Protocol
[Stream setup by SDP (frame 3)]
[Setup frame: 3]
[Setup Method: SDP]
10.. .... = Version: RFC 1889 Version (2)
..0. .... = Padding: False
...0 .... = Extension: False
.... 0000 = Contributing source identifiers count: 0
0... .... = Marker: False
Payload type: H264 (96)
Sequence number: 7226
[Extended sequence number: 72762]
Timestamp: 143722340
Synchronization Source identifier: 0x99f02d88 (2582654344)
H.264
NAL unit header or first byte of the payload
0... .... = F bit: No bit errors or other syntax violations
.01. .... = Nal_ref_idc (NRI): 1
...0 1000 = Type: NAL unit - Picture parameter set (8)
H264 bitstream
1... .... = pic_parameter_set_id: 0
.1.. .... = seq_parameter_set_id: 0
..0. .... = entropy_coding_mode_flag: 0
...0 .... = pic_order_present_flag: 0
.... 1... = num_slice_groups_minus1: 0
.... .1.. = num_ref_idx_l0_active_minus1: 0
.... ..1. = num_ref_idx_l1_active_minus1: 0
.... ...0 = weighted_pred_flag: 0
00.. .... = weighted_bipred_idc: 0
..00 0110 0... .... = pic_init_qp_minus26(se(v)): -6
.1.. .... = pic_init_qs_minus26: 0
..1. .... = chroma_qp_index_offset: 0
...1 .... = deblocking_filter_control_present_flag: 1
.... 0... = constrained_intra_pred_flag: 0
.... .0.. = redundant_pic_cnt_present_flag: 0
.... ..1. = rbsp_stop_bit: 1
.... ...0 = rbsp_trailing_bits: 0

timeon
New Cone
New Cone
Posts: 1
Joined: 19 Jan 2010 20:45

Re: Identifying H.264 packetization mode

Postby timeon » 19 Jan 2010 20:50

I realize it is a very late answer. The packetization mode is communicated outside of the RTP stream, you would find it in the SDP in RTSP or SAP messages.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests