MPEG transport stream is a standard digital container format for transmission and storage of audio, video, and Program and System Information Protocol (PSIP) data. It is used in broadcast systems such as DVB, ATSC and IPTV. Wikipedia
This simple program allows you to parse a .ts
file (MPEG-TS file). Collects information about all packages and saves them to a text file.
Additionally, it extracts all possible packet streams (such as e.g. audio or video) to separate binaries.
source_path
- MPEG-TS file pathoutput_path
- output text file path
output.txt
defined inoutput_path
PID_X.bin
whereX
is the stream identifier
PID=174
(video) andPID=136
(audio) files have the file extensions.264
and.mp2