Institute of Multimedia Telecommunications
Advanced Data Compression


# Laboratory



Additional instructions

Lab 01 - MPEG-TS - S1 - Transport stream parser - Header

Important information:

Transport stream and parser template:



Lab 02 - MPEG-TS - S2 - Transport stream parser - Adaptation field

Niezbędne informacje:


Inne:



Lab 03 - MPEG-TS - S3 - Transport stream parser - Packetized elementary stream

Niezbędne informacje:



Lab 04 - MPEG-TS - S4 - Transport stream parser - Elementary stream extraction

Niezbędne informacje:



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