How can I read an mpeg2 transport stream video file (*.ts)
Show older comments
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
Sanders
on 20 Oct 2015
Moved: Walter Roberson
on 19 Jul 2026
Hello Richard,
Did you manage to read *.ts with video stream compressed using H264?
Sandie
Sonoma Rich
on 20 Oct 2015
Moved: Walter Roberson
on 19 Jul 2026
Answers (1)
Meg Noah
on 18 Jul 2026
Moved: Walter Roberson
on 19 Jul 2026
0 votes
The quickest way is to use ffprobe and ffmpeg
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!