mpeg2:mpeg2_elementary_stream_structure
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mpeg2:mpeg2_elementary_stream_structure [2022/05/10 19:46] – emcodem | mpeg2:mpeg2_elementary_stream_structure [2022/05/10 20:01] (current) – emcodem | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Formatting Syntax ===== | + | < |
+ | <!-- this is the global style for html elements on this page --> | ||
+ | <style type=" | ||
+ | /* Tabelle mit Standardwerten */ | ||
+ | #sheme | ||
+ | { border : 1px solid #4088b8; padding : 0px; margin : 10px 0px 18px 0px; font-size : 12px; background-color : #f4f4f4; } | ||
+ | #sheme th | ||
+ | { vertical-align : top; padding : 5px; border : 1px dotted #4088b8; font-size : 90%; } | ||
+ | #sheme td | ||
+ | { vertical-align : top; padding : 5px; border : 1px dotted #4088b8; font-size : 90%; } | ||
+ | /* Tabelle für Bytedarstellungen */ | ||
+ | #byte | ||
+ | { width : 800px; border : 1px solid #4088b8; padding : 0px; margin : 10px 0px 18px 0px; color : #4088b8; background-color : #ecf3f8; font-size : 12px; font-weight : normal; } | ||
+ | #byte th | ||
+ | { width : 93px; border : 1px dotted #4088b8; padding : 4px; text-align : center; vertical-align : middle; font-weight : bold; line-height: | ||
+ | #byte td | ||
+ | { width : 93px; border : 1px dotted #4088b8; padding : 4px; text-align : center; vertical-align : middle; line-height: | ||
+ | #byte td: | ||
+ | { width : 56px; font-weight : bold; } | ||
+ | </ | ||
+ | </ | ||
- | [[doku> | ||
- | |||
- | ===== Basic Text Formatting ===== | ||
- | + | ===== MPEG-2 Elementary Video ===== | |
- | ===== Formatting Syntax | + | |
- stream structure | - stream structure | ||
Line 22: | Line 38: | ||
The structure differs from that of MPEG-1 elementary video in terms of the possible extensions and, in the case of the TMPG encoder, the number of slices. | The structure differs from that of MPEG-1 elementary video in terms of the possible extensions and, in the case of the TMPG encoder, the number of slices. | ||
- | |||
- | |||
- | ===== MPEG-2 Elementary Video ===== | ||
- | |||
- | Structure of an MPEG-2 program stream. | + | ==== Structure of an MPEG-2 program stream. |
+ | < | ||
- | |||
- | ==== video streaming: ==== | ||
- | < | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 47: | Line 57: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 65: | Line 75: | ||
< | < | ||
| | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 81: | Line 91: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 97: | Line 107: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 112: | Line 122: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 140: | Line 150: | ||
It should also happen that sequence headers are not marked with $000001B3 but with $000000B3. | It should also happen that sequence headers are not marked with $000001B3 but with $000000B3. | ||
- | = Construction = | + | == Construction |
- 4 bytes: SEQUENCE_HEADER_CODE = $000001B3 | - 4 bytes: SEQUENCE_HEADER_CODE = $000001B3 | ||
Line 160: | Line 170: | ||
< | < | ||
<div id=" | <div id=" | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 253: | Line 263: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 287: | Line 297: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 377: | Line 387: | ||
Extensions have the ID $B5. This is followed by the ID of the extension, here $1. | Extensions have the ID $B5. This is followed by the ID of the extension, here $1. | ||
- | = Construction = | + | == Construction |
- 4 bytes: EXTENSION_START_CODE = $000001B5 | - 4 bytes: EXTENSION_START_CODE = $000001B5 | ||
Line 399: | Line 409: | ||
<div id=" | <div id=" | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 463: | Line 473: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 500: | Line 510: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 531: | Line 541: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
<tr align=" | <tr align=" | ||
Line 587: | Line 597: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 624: | Line 634: | ||
Extensionen are ID $B5. The ID is $2. | Extensionen are ID $B5. The ID is $2. | ||
- | = Construction = | + | == Construction |
4 Byte: EXTENSION_START_CODE = $000001B5 | 4 Byte: EXTENSION_START_CODE = $000001B5 | ||
Line 647: | Line 657: | ||
< | < | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 715: | Line 725: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 749: | Line 759: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 795: | Line 805: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
<tr height=" | <tr height=" | ||
Line 846: | Line 856: | ||
Extensions have the ID $B5. The ID of this extension is $3. | Extensions have the ID $B5. The ID of this extension is $3. | ||
- | = Construction = | + | == Construction |
4 bytes: EXTENSION_START_CODE = $000001B5 | 4 bytes: EXTENSION_START_CODE = $000001B5 | ||
Line 871: | Line 881: | ||
< | < | ||
- | |||
- | <style type=" | ||
- | /* Tabelle mit Standardwerten */ | ||
- | #default | ||
- | { width : 100%; border : 1px solid #4088b8; padding : 0px; margin : 10px 0px 18px 0px; float : right; font-size : 12px; background-color : #f4f4f4; } | ||
- | #default th | ||
- | { vertical-align : top; padding : 5px; border : 1px dotted #4088b8; font-size : 90%; } | ||
- | #default td | ||
- | { vertical-align : top; padding : 5px; border : 1px dotted #4088b8; font-size : 90%; } | ||
- | /* Tabelle für Bytedarstellungen */ | ||
- | #byte | ||
- | { width : 800px; border : 1px solid #4088b8; padding : 0px; margin : 10px 0px 18px 0px; float : right; color : #4088b8; background-color : #ecf3f8; font-size : 12px; font-weight : normal; } | ||
- | #byte th | ||
- | { width : 93px; border : 1px dotted #4088b8; padding : 4px; text-align : center; vertical-align : middle; font-weight : bold; line-height: | ||
- | #byte td | ||
- | { width : 93px; border : 1px dotted #4088b8; padding : 4px; text-align : center; vertical-align : middle; line-height: | ||
- | #byte td: | ||
- | { width : 56px; font-weight : bold; } | ||
- | </ | ||
<table id=" | <table id=" | ||
Line 916: | Line 907: | ||
Extensions have the ID $B5. This extension has the ID $4. | Extensions have the ID $B5. This extension has the ID $4. | ||
- | = Construction = | + | == Construction |
* 4 bytes: EXTENSION_START_CODE = $000001B5 | * 4 bytes: EXTENSION_START_CODE = $000001B5 | ||
Line 961: | Line 952: | ||
Extensions generally have ID $B5. This extensions has got ID $5. | Extensions generally have ID $B5. This extensions has got ID $5. | ||
- | = Construction = | + | == Construction |
* 4 Byte: EXTENSION_START_CODE = $000001B5 | * 4 Byte: EXTENSION_START_CODE = $000001B5 | ||
Line 1032: | Line 1023: | ||
The ID $B8 follows the PACK_START_CODE_PREFIX for the GROUP_START_CODE. The length of the header is 4 bytes. | The ID $B8 follows the PACK_START_CODE_PREFIX for the GROUP_START_CODE. The length of the header is 4 bytes. | ||
- | = Construction = | + | == Construction |
* 4 bytes: GROUP_START_CODE = $000001B8 | * 4 bytes: GROUP_START_CODE = $000001B8 | ||
Line 1163: | Line 1154: | ||
The extension start code with the ID $B5 is followed by four bits with the extension ID $B7. | The extension start code with the ID $B5 is followed by four bits with the extension ID $B7. | ||
- | = Construction = | + | == Construction |
* 4 bytes: EXTENSION_START_CODE = $000001B5 | * 4 bytes: EXTENSION_START_CODE = $000001B5 | ||
Line 1240: | Line 1231: | ||
The extension start code with the ID $B5 is followed by four bits with the extension ID $B8. | The extension start code with the ID $B5 is followed by four bits with the extension ID $B8. | ||
- | = Construction = | + | == Construction |
4 bytes: EXTENSION_START_CODE = $000001B5 | 4 bytes: EXTENSION_START_CODE = $000001B5 | ||
Line 1399: | Line 1390: | ||
The extension start code with the ID $B5 is followed by four bits with the extension ID $B8. | The extension start code with the ID $B5 is followed by four bits with the extension ID $B8. | ||
- | = Construction = | + | == Construction |
4 bytes: EXTENSION_START_CODE = $000001B5 | 4 bytes: EXTENSION_START_CODE = $000001B5 |
mpeg2/mpeg2_elementary_stream_structure.1652212017.txt.gz · Last modified: 2022/05/10 19:46 by emcodem