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 Commenti

Sanders
Sanders il 20 Ott 2015
Spostato: Walter Roberson il 19 Lug 2026
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.

Accedi per commentare.

Risposte (1)

Meg Noah
Meg Noah il 18 Lug 2026
Spostato: Walter Roberson il 19 Lug 2026
The quickest way is to use ffprobe and ffmpeg

Richiesto:

il 7 Mag 2015

Spostato:

il 19 Lug 2026

Community Treasure Hunt

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

Start Hunting!

Translated by