vlc.input.time error for h.264 mp4? (activeX in Matlab)
Posted: 28 Feb 2017 23:09
Hi,
I'm using VLC activeX plugin with Matlab 2015b 32-bit on Windows 7 to play some .mp4 files supposedly requiring the h264 codec.
When playing this kind of files in particular, vlc.input.time and vlc.input.length gives me some ridiculous numbers. The first 15seconds, it insists time is 0. Then it goes suddenly from 2 to 185, then back to 32... etc.. The total length of a 2.5h video was only 507792ms.
Everything seems ok when playing crappy cellphone .mp4 or .avi
Does anyone know why this is and how I can fix this?
Thanks!
-Janis
I'm using VLC activeX plugin with Matlab 2015b 32-bit on Windows 7 to play some .mp4 files supposedly requiring the h264 codec.
When playing this kind of files in particular, vlc.input.time and vlc.input.length gives me some ridiculous numbers. The first 15seconds, it insists time is 0. Then it goes suddenly from 2 to 185, then back to 32... etc.. The total length of a 2.5h video was only 507792ms.
Everything seems ok when playing crappy cellphone .mp4 or .avi
Does anyone know why this is and how I can fix this?
Thanks!
-Janis