Why does using "mmfileinfo" result in an error "Could not get file information"?
21 views (last 30 days)
Show older comments
MathWorks Support Team
on 12 Jun 2018
Edited: MathWorks Support Team
on 12 Jun 2019
I am using "mmfileinfo" to interrogate transport stream files. On my development computer the call appears to work just fine, however when I deploy onto my production server the call fails reporting a generic …
Error using mmfileinfo (line 70)
Could not get file information.
Some further information, MP3 and WMV files appear to work OK on both PCs whereas TS and MP4 files only work on the development machine and not on the deployment machine.
Accepted Answer
MathWorks Support Team
on 13 Jun 2019
Edited: MathWorks Support Team
on 12 Jun 2019
It seems that a codec required to read these video types is missing. Even though the file is an MP4 or TS, there are different codecs which can be used to encode videos, and the codec used on this particular file is not fully supported in MATLAB. In addition, it is likely that without the codec you are able to play the video using the Windows Media Player.
This can be resolved by downloading and installing an appropriate codec pack.
0 Comments
More Answers (0)
See Also
Categories
Find more on Downloads 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!