Agony with video formats on Windows Matlab installation
Show older comments
Essentially, I'm trying to get mmreader to load .mov files. And doing so using mencoder to convert them into a format Matlab will load. In the past, I've had some success with calling mencoder using the 'system' command. Although that was for a different task, I was taking hour-long movies, too large to load into memory in one go, and sawing them into 20-second chunks for processing.
I have other movie files that do load quite happily with mmreader (.avi using MJEPG) but even when I convert my target movies to that codec and that container, mmreader still fails with a " ??? Initialization failed. (No combination of intermediate filters could be found to make the connection.)" Infuriatingly, mmfileinfo works on many occasions when mmreader doesn't.
The fault may not be Matlab's - I could be just misunderstanding and screwing up mencoder's fairly horrific syntax and not producing what I intended to. Does anybody have any insights in using ffmpeg or mencoder for movie conversion with Matlab? (A set of command line options known to produce good movies would be awesome!)
I can't believe my only option is to use mencoder to convert the movies into a few thousand jpegs, then load and process them individually.
Accepted Answer
More Answers (0)
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!