ERROR IN READING VIDEOS
2 次查看(过去 30 天)
显示 更早的评论
I am running a very basic code, which am pasting below.
clear all
close all
xyloObj = VideoReader('shortened_video_5sec.wmv');
movie_stored = read(xlyoObj);
But when I run it, matlab crashes(on the read line, checked by debugging) with the following error details
------------------------------------------------------------------------ Segmentation violation detected at Sun Nov 30 12:10:51 2014 ------------------------------------------------------------------------
Configuration: Crash Decoding : Disabled Default Encoding : windows-1252 MATLAB Architecture: win64 MATLAB Root : C:\Program Files\MATLAB\R2013a MATLAB Version : 8.1.0.604 (R2013a) Operating System : Microsoft Windows 8 Processor ID : x86 Family 6 Model 42 Stepping 7, GenuineIntel Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot™ 64-Bit Server VM mixed mode Window System : Version 6.2 (Build 9200)
Fault Count: 1
Abnormal termination: Segmentation violation
Register State (from fault): RAX = 0000000024312180 RBX = 0000000000000079 RCX = 0000000024313c30 RDX = ffffffffffc2b728 RSP = 0000000004035188 RBP = 0000000000000d58 RSI = 0000000024312ed8 RDI = 0000000023f3e600
R8 = 0000000000000d58 R9 = 000000000000006a
R10 = 0000000000000000 R11 = 0000000024312ed8
R12 = 0000000026e3b410 R13 = 0000000000003600
R14 = 0000000000000356 R15 = 0000000000000000
RIP = 000000006788c1b0 EFL = 00010287
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault): [ 0] 0x000000006788c1b0 C:\Program Files\MATLAB\R2013a\bin\win64\MSVCR100.dll+00246192 memmove+00000592 [ 1] 0x00000000215238de C:\Program Files\MATLAB\R2013a\bin\win64\tamimframe.dll+00080094 imaqframekit::MemoryLimiter::MemoryLimiter+00009006 [ 2] 0x00000000237789ac C:\Program Files\MATLAB\R2013a\toolbox\shared\multimedia\bin\win64\reader\mediafoundationplugin.dll+00035244 [ 3] 0x00000000237773a3 C:\Program Files\MATLAB\R2013a\toolbox\shared\multimedia\bin\win64\reader\mediafoundationplugin.dll+00029603 [ 4] 0x00000000213d5528 C:\Program Files\MATLAB\R2013a\bin\win64\mmreaderudd.dll+00021800 [ 5] 0x00000000213d18d2 C:\Program Files\MATLAB\R2013a\bin\win64\mmreaderudd.dll+00006354 [ 6] 0x0000000074f7b6e6 C:\Program Files\MATLAB\R2013a\bin\win64\udd.dll+00243430 UDMethodInfo::invokeMethodE+00000038 [ 7] 0x00000000056f4110 C:\Program Files\MATLAB\R2013a\bin\win64\udd_mi.dll+00278800 registerCheckIfHG2ObjectFcn+00029616 [ 8] 0x00000000056f43d6 C:\Program Files\MATLAB\R2013a\bin\win64\udd_mi.dll+00279510 registerCheckIfHG2ObjectFcn+00030326 [ 9] 0x000000007b0ea630 C:\Program Files\MATLAB\R2013a\bin\win64\mcos.dll+00304688 mcos::COSJITInterface::isArrayHandle+00004320 [ 10] 0x0000000074e8ca05 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00051717 Mfh_MATLAB_fn::dispatch_fh+00000453 [ 11] 0x0000000074e8ced2 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00052946 Mfunction_handle::dispatch+00000802 [ 12] 0x0000000004f46d48 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00683336 inDestroyWS+00240776 [ 13] 0x0000000004f491ff C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00692735 inDestroyWS+00250175 [ 14] 0x0000000004f6021f C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00786975 inDestroyWS+00344415 [ 15] 0x0000000004f60370 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00787312 inDestroyWS+00344752 [ 16] 0x0000000004f3f1dd C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00651741 inDestroyWS+00209181 [ 17] 0x0000000004f40bd0 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00658384 inDestroyWS+00215824 [ 18] 0x0000000004f2cf79 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00577401 inDestroyWS+00134841 [ 19] 0x0000000074e8c64f C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00050767 Mfh_file::dispatch_fh+00000623 [ 20] 0x0000000074e8ced2 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00052946 Mfunction_handle::dispatch+00000802 [ 21] 0x000000007b0e3f9e C:\Program Files\MATLAB\R2013a\bin\win64\mcos.dll+00278430 omDoesClassImplementSubsasgn+00000942 [ 22] 0x000000007b0e0feb C:\Program Files\MATLAB\R2013a\bin\win64\mcos.dll+00266219 mcos::COSMethodInfo::isStatic+00001259 [ 23] 0x000000007b0c98a4 C:\Program Files\MATLAB\R2013a\bin\win64\mcos.dll+00170148 mcos::COSInterfacePtr::operator*+00002820 [ 24] 0x000000007b0c594f C:\Program Files\MATLAB\R2013a\bin\win64\mcos.dll+00153935 omSetArrayElement+00001119 [ 25] 0x000000007b0c3532 C:\Program Files\MATLAB\R2013a\bin\win64\mcos.dll+00144690 mcos::COSValue::COSValue+00000546 [ 26] 0x000000007b0db7c1 C:\Program Files\MATLAB\R2013a\bin\win64\mcos.dll+00243649 omGetPropertyValueForInterpreterIndexing+00001313 [ 27] 0x0000000074e8ca05 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00051717 Mfh_MATLAB_fn::dispatch_fh+00000453 [ 28] 0x0000000074e8ced2 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00052946 Mfunction_handle::dispatch+00000802 [ 29] 0x0000000004f46d48 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00683336 inDestroyWS+00240776 [ 30] 0x0000000004ebf9f7 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00129527 inFullEvalFcn+00022023 [ 31] 0x0000000004f4a877 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00698487 inDestroyWS+00255927 [ 32] 0x0000000004f6021f C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00786975 inDestroyWS+00344415 [ 33] 0x0000000004f60370 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00787312 inDestroyWS+00344752 [ 34] 0x0000000004f3f1dd C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00651741 inDestroyWS+00209181 [ 35] 0x0000000004f40bd0 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00658384 inDestroyWS+00215824 [ 36] 0x0000000004f2cf79 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00577401 inDestroyWS+00134841 [ 37] 0x0000000074e8c64f C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00050767 Mfh_file::dispatch_fh+00000623 [ 38] 0x0000000074e8ced2 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00052946 Mfunction_handle::dispatch+00000802 [ 39] 0x0000000004f46d48 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00683336 inDestroyWS+00240776 [ 40] 0x0000000004ebf9f7 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00129527 inFullEvalFcn+00022023 [ 41] 0x0000000004f4a877 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00698487 inDestroyWS+00255927 [ 42] 0x0000000004f6021f C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00786975 inDestroyWS+00344415 [ 43] 0x0000000004f60370 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00787312 inDestroyWS+00344752 [ 44] 0x0000000004f3f1dd C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00651741 inDestroyWS+00209181 [ 45] 0x0000000004f40bd0 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00658384 inDestroyWS+00215824 [ 46] 0x0000000004f2cf79 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00577401 inDestroyWS+00134841 [ 47] 0x0000000074e8c64f C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00050767 Mfh_file::dispatch_fh+00000623 [ 48] 0x0000000074e8ced2 C:\Program Files\MATLAB\R2013a\bin\win64\m_dispatcher.dll+00052946 Mfunction_handle::dispatch+00000802 [ 49] 0x0000000004eae70e C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00059150 inValidateLoadedObject+00002350 [ 50] 0x0000000004fb6495 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+01139861 IInterpreter::IInterpreter+00000229 [ 51] 0x0000000004fbca45 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+01165893 inRegisterFunctionHandles+00004405 [ 52] 0x0000000004fbca12 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+01165842 inRegisterFunctionHandles+00004354 [ 53] 0x0000000004fbc9d7 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+01165783 inRegisterFunctionHandles+00004295 [ 54] 0x0000000004faba0e C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+01096206 inGetSeqVarPtrsFromCurrentWS+00005742 [ 55] 0x0000000004eabe89 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00048777 inEvalCmdWithLocalReturn+00000329 [ 56] 0x0000000004eabdcc C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00048588 inEvalCmdWithLocalReturn+00000140 [ 57] 0x0000000004eabd81 C:\Program Files\MATLAB\R2013a\bin\win64\m_interpreter.dll+00048513 inEvalCmdWithLocalReturn+00000065 [ 58] 0x0000000079fbbecd C:\Program Files\MATLAB\R2013a\bin\win64\libmwbridge.dll+00048845 mnDebugPrompt+00000109 [ 59] 0x0000000079fbd01b C:\Program Files\MATLAB\R2013a\bin\win64\libmwbridge.dll+00053275 mnParser+00000763 [ 60] 0x000000007499daa4 C:\Program Files\MATLAB\R2013a\bin\win64\mcr.dll+00187044 mcrInstance::mnParser_on_interpreter_thread+00000036 [ 61] 0x0000000074982220 C:\Program Files\MATLAB\R2013a\bin\win64\mcr.dll+00074272 mcr::setInterpreterThreadToCurrent+00031664 [ 62] 0x0000000074982280 C:\Program Files\MATLAB\R2013a\bin\win64\mcr.dll+00074368 mcr::setInterpreterThreadToCurrent+00031760 [ 63] 0x00000000057bf9d6 C:\Program Files\MATLAB\R2013a\bin\win64\uiw.dll+00391638 UIW_IsUserMessage+00000086 [ 64] 0x00000000057c0095 C:\Program Files\MATLAB\R2013a\bin\win64\uiw.dll+00393365 UIW_SetGLIMUserMsg+00000117 [ 65] 0x00007ffe8359c01a C:\WINDOWS\system32\USER32.dll+00573466 BroadcastSystemMessageExA+00000558 [ 66] 0x00007ffe83512fa5 C:\WINDOWS\system32\USER32.dll+00012197 GetLastInputInfo+00000089 [ 67] 0x00007ffe83513016 C:\WINDOWS\system32\USER32.dll+00012310 GetLastInputInfo+00000202 [ 68] 0x00007ffe85d2348f C:\WINDOWS\SYSTEM32\ntdll.dll+00603279 KiUserCallbackDispatcher+00000031 [ 69] 0x00007ffe8351313a C:\WINDOWS\system32\USER32.dll+00012602 PeekMessageW+00000202 [ 70] 0x00007ffe835164f3 C:\WINDOWS\system32\USER32.dll+00025843 GetMessageA+00000243 [ 71] 0x00007ffe8351649f C:\WINDOWS\system32\USER32.dll+00025759 GetMessageA+00000159 [ 72] 0x0000000005799a1b C:\Program Files\MATLAB\R2013a\bin\win64\uiw.dll+00236059 UIW_SetCurrentDialog+00000731 [ 73] 0x00000000057c1532 C:\Program Files\MATLAB\R2013a\bin\win64\uiw.dll+00398642 ws_FreeSystemFont+00000482 [ 74] 0x00000001800d8930 C:\Program Files\MATLAB\R2013a\bin\win64\libmwservices.dll+00887088 services::system_events::PpeDispatchHook::~PpeDispatchHook+00055600 [ 75] 0x00000001800d92f5 C:\Program Files\MATLAB\R2013a\bin\win64\libmwservices.dll+00889589 services::system_events::PpeDispatchHook::~PpeDispatchHook+00058101 [ 76] 0x00000001800da100 C:\Program Files\MATLAB\R2013a\bin\win64\libmwservices.dll+00893184 services::system_events::PpeDispatchHook::~PpeDispatchHook+00061696 [ 77] 0x00000001800e28d2 C:\Program Files\MATLAB\R2013a\bin\win64\libmwservices.dll+00927954 svWS_ProcessPendingEvents+00001090 [ 78] 0x000000007498329d C:\Program Files\MATLAB\R2013a\bin\win64\mcr.dll+00078493 mcr::setInterpreterThreadToCurrent+00035885 [ 79] 0x0000000074983562 C:\Program Files\MATLAB\R2013a\bin\win64\mcr.dll+00079202 mcr::setInterpreterThreadToCurrent+00036594 [ 80] 0x0000000074976915 C:\Program Files\MATLAB\R2013a\bin\win64\mcr.dll+00026901 mcrInstantiationError::operator=+00003781 [ 81] 0x0000000074979d52 C:\Program Files\MATLAB\R2013a\bin\win64\mcr.dll+00040274 mcr_invoke_on_interpreter_thread+00001602 [ 82] 0x0000000140005591 C:\Program Files\MATLAB\R2013a\bin\win64\MATLAB.exe+00021905 [ 83] 0x0000000140005c3a C:\Program Files\MATLAB\R2013a\bin\win64\MATLAB.exe+00023610 [ 84] 0x0000000140006103 C:\Program Files\MATLAB\R2013a\bin\win64\MATLAB.exe+00024835 [ 85] 0x00007ffe852216ad C:\WINDOWS\system32\KERNEL32.DLL+00005805 BaseThreadInitThunk+00000013 [ 86] 0x00007ffe85ce4409 C:\WINDOWS\SYSTEM32\ntdll.dll+00345097 RtlUserThreadStart+00000029
If this problem is reproducible, please submit a Service Request via: http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!