Prev: help needed to solve nonlinear decoupled matrix equations using fsolve.
Next: remove backgroud using global threshold
From: Chris on 3 May 2010 15:41 US, did you make it?? You managed to use your own file at the demo??? Please tell us :) :) By the way, I contacted the technical support...!!
From: witek on 4 May 2010 08:12 Hi, If you replace the BinaryFileReader with MultimediaFileReader: http://www.mathworks.com/access/helpdesk/help/toolbox/vipblks/ref/video.multimediafilereaderclass.html you will be able to read in other video types. The MultimediaFileReader can handle many formats (including compressed AVIs) on Windows but only uncompressed AVIs on Unix. The binary file viptraffic.bin is supported across all platforms, and that's why it was used for this demo. Witek Chris <chris_sar(a)hotmail.com> wrote: > US, did you make it?? > > You managed to use your own file at the demo??? > > Please tell us :) :) > > By the way, I contacted the technical support...!!
From: Chris on 4 May 2010 08:52 Thank you very much Witek. I used it but in the final steps of the code there was an error, which forces Matlab to restart... I do not know why... Thank you so much for your help... I do not know how to use my own .avi video yet....
From: witek on 5 May 2010 14:32 Hi Chris, If you can post the error, maybe we can help you. If you are not seeing an error and instead MATLAB exits, consider running it with -logfile switch: matlab -logfile my_favorite_file_name.txt and then looking into the file for errors. I hope that you were able to incorporate your AVI file into the demo. In terms of mechanics of reading the file in, a good start is the example that comes with the MultimediaFileReader object: % EXAMPLE: Read a video and play it. hmfr = video.MultimediaFileReader('viplanedeparture.avi'); hp = video.VideoPlayer; while ~isDone(hmfr) videoFrame = step(hmfr); step(hp, videoFrame); end release(hp); release(hmfr); HTH, Witek Chris <chris_sar(a)hotmail.com> wrote: > Thank you very much Witek. > > I used it but in the final steps of the code there was an error, which forces Matlab to restart... > > I do not know why... > > Thank you so much for your help... > > I do not know how to use my own .avi video yet....
From: Chris on 6 May 2010 01:13 Thank you very much Witek!! :) I believe the problem is that I cannot even read and play my own video..I tried your example ( Read a video and play it), with my own .avi file in the workspace that I have chosen, eg : C:\Program Files\MATLAB\R2010a\toolbox\vipblks\vipdemos (where there are all the example videos!!) but I get the following error : MATLAB crash file:C:\Users\Chris\AppData\Local\Temp\matlab_crash_dump.4004: ------------------------------------------------------------------------ Segmentation violation detected at Thu May 06 08:09:16 2010 ------------------------------------------------------------------------ Configuration: MATLAB Version: 7.10.0.499 (R2010a) MATLAB License: 161051 Operating System: Microsoft Windows 7 Window System: Version 6.1 (Build 7600) Processor ID: x86 Family 6 Model 15 Stepping 2, GenuineIntel Virtual Machine: Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode Default Encoding: windows-1252 Fault Count: 1 Register State: EAX = 00000000 EBX = 0e20fac8 ECX = 00c2c600 EDX = 26f50001 ESI = 20532ccc EDI = 0e20fb24 EBP = 0e20fb30 ESP = 00c2c5e0 EIP = 30e82176 FLG = 00010216 Stack Trace: [0] ffdshow.ax:0x30e82176(1, 83, 0, 0) If this problem is reproducible, please submit a Service Request via: http://www.mathworks.com/support/contact_us/ts/help_request_1.html A technical support engineer might contact you with further information. Thank you for your help. MATLAB may attempt to recover, but even if recovery appears successful, we recommend that you save your workspace and restart MATLAB as soon as possible. Then I choose "Attempt to continue" and I get the above error along with : Caught MathWorks::System::FatalException [Please exit and restart MATLAB]>> Thank you sooo much :) :) You have been really helpful :) :)
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 Prev: help needed to solve nonlinear decoupled matrix equations using fsolve. Next: remove backgroud using global threshold |