How can I read an mpeg2 transport stream video file (*.ts)

I am trying to read an mpeg2 transport stream video file (*.ts) in Matlab. The video is compressed using H.264. I am able to play the video with Windows Media Player and VLC media player. Matlab VideoReader function does not seem to recognize it.

2 Comments

Hello Richard,
Did you manage to read *.ts with video stream compressed using H264?
Sandie
No, I have not been able to read the video off the transport stream. I also would like methods to extract the data and audio in the stream if possible.

Sign in to comment.

Answers (1)

Meg Noah
Meg Noah on 18 Jul 2026
Moved: Walter Roberson on 19 Jul 2026
The quickest way is to use ffprobe and ffmpeg

Asked:

on 7 May 2015

Moved:

on 19 Jul 2026

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!