Advanced Data Compression
# Laboratory
Additional instructions
Lab 01 - MPEG-TS - S1 - Transport stream parser - Header
Important information:
- Slides (S1)
- ITU-T H.222.0 | ISO/IEC 13818-1 Systems Spec Document
2.4.3 Specification of the transport stream syntax and semantics - MPEG TS cheatsheet
Transport stream and parser template:
Lab 02 - MPEG-TS - S2 - Transport stream parser - Adaptation field
Niezbędne informacje:
- Slides (S2)
- ITU-T H.222.0 | ISO/IEC 13818-1 Systems Spec Document
2.4.3 Specification of the transport stream syntax and semantics - MPEG TS cheatsheet
Inne:
Lab 03 - MPEG-TS - S3 - Transport stream parser - Packetized elementary stream
Niezbędne informacje:
- Slides (S3)
- ITU-T H.222.0 | ISO/IEC 13818-1 Systems Spec Document
2.4.3 Specification of the transport stream syntax and semantics - Packetized Elementary Stream Headers
Lab 04 - MPEG-TS - S4 - Transport stream parser - Elementary stream extraction
Niezbędne informacje:
- Slides (S4)
- ITU-T H.222.0 | ISO/IEC 13818-1 Systems Spec Document
2.4.3 Specification of the transport stream syntax and semantics - Packetized Elementary Stream Headers
MPEG-TS - Supplementary tasks
- Reading PCR values (contained in the Adaptation Field), PTS and DTS (contained in the elementary stream packet header extension)
- Parsing and writing the video stream to a file (.264)
- Reading information contained in the “MPEG Audio Frame Header”
- Decoding the audio stream using the mpg123 library (frame by frame, without writing intermediate results to disk) and writing to a WAVE file
Organizational Information
Requirements for passing the labs
- Implementation of a functional MPEG-2 transport stream parser
A working MPEG-2 transport stream parser is one that processes a single audio elementary stream from the transport stream and saves it to a file. This file must be playable by ffplay and sound correct (i.e., without distortion).
Grading system
- Implementation of a working MPEG-2 transport stream parser: Grade = 3.0
- Completion of each additional task: Grade += 0.5