Why doesn't VideoReader(filename) return?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm runnin the following code:
v = VideoReader('video.mp4')
on a video that plays with no problem in my media player, but the function just "hangs", i.e. doesn't return at all. I can't even pause execution or kill it with Ctrl+C, I have to force the whole Matlab session to end while potentially losing unsaved work.
Trying to debug this and 'stepping in' whenever poosible, I get to line 271 (function 'open' in the script
'C:\Program Files\MATLAB\R2020b\toolbox\shared\asynciolib\+asyncio\Channel.m')
% Gain exclusive access of the device.
obj.ChannelImpl.open(options);
which doesn't return. Matlab version is 2020b. Any help would be highly appreciated.
4 Kommentare
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!