View Issue Details

IDProjectCategoryView StatusLast Update
0000645fileGeneralpublic2025-04-24 07:24
Reporternafmo Assigned To 
PrioritynoneSeveritytrivialReproducibilityhave not tried
Status newResolutionopen 
Product Version5.45 
Summary0000645: Add detection of MPEG-2 Transport Stream format
DescriptionThe MPEG-2 Transport Stream is used a lot in the broadcast industry. It a container format only and can contain many video, audio and data types, defined in the MPEG-2 standards. It is usually transmitted (over RF in DVB, ATSC etc or over UDP/IP), but it can also be recorded to a file, and playback is supported by VLC, ffplay et.al.

A normal file extension to use is .ts, the MIME type is video/MP2T (RFC 3555).

https://en.wikipedia.org/wiki/MPEG_transport_stream has a high-level description of the container format.
Steps To ReproduceThe transport stream is made up of 188-byte packets, each starting with a 0x47 marker byte. This is my naïve detector:

0 byte 0x47
188 byte 0x47
376 byte 0x47
564 byte 0x47
752 byte 0x47
940 byte 0x47
1128 byte 0x47
1316 byte 0x47
1504 byte 0x47
1692 byte 0x47
1880 byte 0x47 MPEG-2 Transport Stream
Additional InformationSome sample files can be found in the CC Extractor stream dump repository: https://drive.google.com/drive/folders/0B_61ywKPmI0TUUk5LXJPeG1feFE?resourcekey=0-Mepkro3EN1q-z4v_snY8fA
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-04-24 07:24 nafmo New Issue