Es stream analysis program

Source: Internet
Author: User

This is an es stream analysis program compiled by VC. You can analyze es stream files according to the MPEG standard.
MPEG standard iso13818-2
Es streaming was exported from an MPEG2 MPG file by a small program written by FFMPEG. Later, it was discovered that there were also ready-made extraction tools on the Internet.
Write this program to better understand the es stream syntax and prepare for later RTP sending.
Original code of the program: http://www.cnitblog.com/files/tinnal/esstream Interpretation Program .rar
Bytes

The format is as follows:

Output file excerpt

Match: sequence_header_code
Horizontal_size_value: 0x240 (576)
Vertical_size_value: 0x1e0 (480)
Aspect_ratio_information: 0x2 (2)
Frame_rate_code: 0x1 (1)
Bit_rate_value: 0x5bcc (23500)
Match: marker_bit
Vbv_buffer_size_value: 0x70 (112)
Constrained_parameters_flag: 0x0 (0)
Load_intra_quantiser_matrix: 0x0 (0)
Load_non_intra_quantiser_matrix: 0x0 (0)
Match: extension_start_code
Match: sequence_extension
Profile_and_level_indication: 0x48 (72)
Progressive_sequence: 0x1 (1)
Chroma_format: 0x1 (1)
Horizontal_size_extension: 0x0 (0)
Vertical_size_extension: 0x0 (0)
Bit_rate_extension: 0x0 (0)
Match: marker_bit
Vbv_buffer_size_extension: 0x0 (0)
Low_delay: 0x0 (0)
Frame_rate_extension_n: 0x0 (0)
Frame_rate_extension_d: 0x0 (0)
Match: group_start_code
Time_code: 0x1000 (4096)
Closed_gop: 0x0 (0)
Broken_link: 0x0 (0)
Match: picture_start_code
Temporal_reference: 0x0 (0)
Picture_coding_type: 0x1 (1)
Vbv_delay: 0 xFFFF (65535)
Extra_bit_picture: 0x0 (0)
Match: extension_start_code
Match: picture_coding_extension
F_code [0] [0]: 0xf (15)
F_code [0] [1]: 0xf (15)
F_code [1] [0]: 0xf (15)
F_code [1] [1]: 0xf (15)
Intra_dc_precision: 0x0 (0)
Picture_structure: 0x3 (3)
Top_field_first: 0x0 (0)
Frame_pred_frame_dct: 0x1 (1)
Concealment_motion_vectors: 0x0 (0)
Q_scale_type: 0x0 (0)
Intra_vlc_format: 0x0 (0)
Alternate_scan: 0x0 (0)
Repeat_first_field: 0x0 (0)
Chroma_420_type: 0x1 (1)
Progressive_frame: 0x1 (1)
Composite_display_flag: 0x0 (0)
Match: picture_start_code
Temporal_reference: 0x1 (1)
Picture_coding_type: 0x2 (2)
Vbv_delay: 0 xFFFF (65535)
Full_pel_forward_vector: 0x0 (0)
Forward_f_code: 0x7 (7)
Extra_bit_picture: 0x0 (0)
Match: extension_start_code
Match: picture_coding_extension
F_code [0] [0]: 0x1 (1)
F_code [0] [1]: 0x1 (1)
F_code [1] [0]: 0xf (15)
F_code [1] [1]: 0xf (15)
Intra_dc_precision: 0x0 (0)
Picture_structure: 0x3 (3)
Top_field_first: 0x0 (0)
Frame_pred_frame_dct: 0x1 (1)
Concealment_motion_vectors: 0x0 (0)
Q_scale_type: 0x0 (0)
Intra_vlc_format: 0x0 (0)
Alternate_scan: 0x0 (0)
Repeat_first_field: 0x0 (0)
Chroma_420_type: 0x1 (1)
Progressive_frame: 0x1 (1)
Composite_display_flag: 0x0 (0)
Match: picture_start_code

...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.