Rank: 12905 based on 0 downloads (last 30 days) and 0 files submitted
photo

Ian Charest

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Ian View all
Updated File Comments Rating
04 Dec 2008 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert

Hi Again

Problem solved, sorry again for the long thread, it can be removed
here was the problem:

trying first:
[video audio] = mmread((listeT(mm));

got me the lousy segmentation violation

doing

[video audio] = mmread(cell2mat(listeT(mm)));

solved it

Thanks again for the great function.

Ian

04 Dec 2008 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert

Hi Micah,
This toolbox is very useful, I have no problem reading my avi files.
However, when I try to read my wav files, I get an error message that I can't interpret. I have seen this error reported by someone else before but for another function.
I get this error: (Sorry if it is too long)

------------------------------------------------------------------------ Segmentation violation detected at Thu Dec 04 12:49:35 2008
------------------------------------------------------------------------

Configuration:
  MATLAB Version: 7.5.0.342 (R2007b)
  MATLAB License: 294300
  Operating System: Microsoft Windows XP
  Window System: Version 5.1 (Build 2600: Service Pack 3, v.5657)
  Processor ID: x86 Family 6 Model 14 Stepping 8, GenuineIntel
  Virtual Machine: Java 1.6.0 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
  Default Charset: windows-1252

Register State:
  EAX = 00000000 EBX = 5d5e9550
  ECX = 00000000 EDX = 00000200
  ESI = 1475f360 EDI = 00ced7fc
  EBP = 00cecdc0 ESP = 00cecd88
  EIP = 14fd283b FLG = 00210202

Stack Trace:
  [0] mexDDGrab.mexw32:0x14fd283b(0x1475f360, 0x00cecdf4, 0x7840586f, 0x1850c380)
  [1] mexDDGrab.mexw32:0x14fd20fb(0, 0x00ced7fc, 1, 0x00ced88c)
  [2] libmex.dll:_mexRunMexFile(0, 0x00ced7fc, 1, 0x00ced88c) + 139 bytes
  [3] libmex.dll:private: void __thiscall Mfh_mex::runMexFileWithSignalProtection(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00ced7fc, 1, 0x00ced88c) + 86 bytes
  [4] libmex.dll:public: virtual void __thiscall Mfh_mex::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00ced7fc, 1, 0x00ced88c) + 261 bytes
  [5] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00ced7fc, 1, 0x00ced88c) + 203 bytes
  [6] m_interpreter.dll:void __cdecl mdCallFunction(int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_MATLAB_fn *)(0, 0x00ced7fc, 1, 0x00ced88c) + 56 bytes
  [7] m_interpreter.dll:public: void __thiscall ResolverFunctionDesc::CallFunction(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const)(0, 0x00ced7fc, 1, 0x00ced88c) + 93 bytes
  [8] m_interpreter.dll:public: bool __thiscall Resolver::CallMFunction(int,int,class _m_operand * const,union m_operand_storage *,int,class _m_operand * const,union m_operand_storage *,int *)(0, 1, 0x14f9b760, 0) + 1388 bytes
  [9] m_interpreter.dll:bool __cdecl inResolveMFunctionCall(struct _m_function_desc *,int,int,class _m_operand * const,union m_operand_storage *,int,class _m_operand * const,union m_operand_storage *,int *,enum inMarshalType *,int,class mpsTypeSequenceNlhs const *,struct mxArray_tag * (__cdecl*)(int))(0x13cdc7b8, 0, 1, 0x14f9b760) + 195 bytes
  [10] m_interpreter.dll:private: bool __thiscall accelImpl::MFunctionCall(struct _accelOp * *)(0x00cede98, 0x909a1157, 0x15ebf050, 0x14388220) + 179 bytes
  [11] m_interpreter.dll:public: enum jitReturnFlags __thiscall accelImpl::Exec(void)(0x909a11cf, 0x15ebf050, 1, 0x00cee24c) + 205 bytes
  [12] m_interpreter.dll:public: enum jitReturnFlags __thiscall accelCode::Call(enum inMarshalType *,int *)const (0x00cedf9c, 0x00cedf74, 0x909a1083, 0) + 128 bytes
  [13] m_interpreter.dll:public: static bool __cdecl inJit::ExecuteHotSegment(struct _inJitAccelInfo *,enum opcodes *,int *,int *)(0x00cee044, 0x00cee0f8, 0x00cee0a8, 0x00cee24c) + 1898 bytes
  [14] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *,int *)(1, 2583, 269, 0) + 338 bytes
  [15] m_interpreter.dll:int __cdecl protected_inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 2583, 120, 0) + 87 bytes
  [16] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(1, 2583, 120, 0) + 274 bytes
  [17] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x146b47e0, 0x14753200, 0x909a2b3b, 0xffffffff) + 916 bytes
  [18] m_interpreter.dll:void __cdecl inRunMfile(int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_mp *,struct inWorkSpace_tag *)(2, 0x00cee4c4, 1, 0x00cee524) + 673 bytes
  [19] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 2, 0x00cee4c4, 1) + 29 bytes
  [20] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(2, 0x00cee4c4, 1, 0x00cee524) + 28 bytes
  [21] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(2, 0x00cee4c4, 1, 0x00cee524) + 203 bytes
  [22] m_interpreter.dll:__catch$?inDispatchFromStack@@YAHHPBDHH@Z$0(815, 0x169ab71c "mmread", 2, 1) + 744 bytes
  [23] m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x169ab71c "mmread", 815, 2, 1) + 156 bytes
  [24] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *,int *)(2, 0, 0, 0) + 2739 bytes
  [25] m_interpreter.dll:int __cdecl protected_inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(2, 0, 0, 0) + 87 bytes
  [26] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *,int *)(2, 0, 0, 0) + 274 bytes
  [27] m_interpreter.dll:_inInterPcode(2, 0x909a27c3, 0, 0x1239ee20 "[video audio]=mmread(listeT(13))..") + 162 bytes
  [28] m_interpreter.dll:enum inExecutionStatus __cdecl in_local_call_eval_function(int *,struct _pcodeheader *,int *,struct mxArray_tag * * const,enum inDebugCheck,bool)(0x00cef2bc, 0x00cef32c, 0x00cef358, 2) + 152 bytes
  [29] m_interpreter.dll:enum inExecutionStatus __cdecl inEvalStringWithIsVarFcn(struct _memory_context *,char const *,enum EvalType,int,struct mxArray_tag * * const,enum inDebugCheck,struct _pcodeheader *,int *,bool (__cdecl*)(void *,char const *),void *,bool)(0x7ac2177c, 0x1239ee20 "[video audio]=mmread(listeT(13))..", 0, 0) + 2454 bytes
  [30] m_interpreter.dll:enum inExecutionStatus __cdecl inEvalCmdWithLocalReturnandtype(char const *,int *,enum inDebugCheck,bool)(0x1239ee20 "[video audio]=mmread(listeT(13))..", 0, 2, 0) + 107 bytes
  [31] m_interpreter.dll:_inEvalCmdNoEnd(0x1239ee20 "[video audio]=mmread(listeT(13))..", 0, 0x914c788a, 0x7ab9e7f0) + 20 bytes
  [32] bridge.dll:enum inExecutionStatus __cdecl ThrowSignal(char const *)(0x1239ee20 "[video audio]=mmread(listeT(13))..", 0x914c7fc6, 0x014d3f90, 0x014d3f30) + 77 bytes
  [33] bridge.dll:__catch$_mnParser$0(0x93d507b0, 0x014d3f30, 0x014d3f30, 0) + 292 bytes
  [34] mcr.dll:public: void __thiscall mcrInstance::mnParser(void)(0x93e1596b, 0x004043f0, 336710, 0) + 62 bytes
  [35] MATLAB.exe:0x00401414(4194304, 0, 336710, 10)
  [36] MATLAB.exe:0x00401733(0, 0, 0x7ffde000, 0x8054b6ed)
  [37] kernel32.dll:0x7c817067(0x00401910, 0, 0x78746341, 32)

Any idea?

I am using Matlab 7.5.0 (R2007b)

Cheers
Ian

Contact us at files@mathworks.com