Rank: 221 based on 732 downloads (last 30 days) and 3 files submitted
photo

Micah Richert

E-mail
Company/University
Salk Institute, UCI

Personal Profile:

I am a Neuroscientist and I program for fun.

Professional Interests:

 

Watch this Author's files

 

Files Posted by Micah View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Nov 2009 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert data import 514 217
  • 4.79032
4.8 | 64 ratings
29 Apr 2008 mmplay replacement for the movie command and play movies read by mmread Author: Micah Richert play movies mmread mo..., graphics import, graphics export 85 1
  • 3.0
3.0 | 2 ratings
29 Apr 2008 mmwrite write AVI/ASF/WMV/WMA file from movies read by mmread Author: Micah Richert write avi asf wmv wma..., graphics import, graphics export 133 21
  • 4.85714
4.9 | 9 ratings
Comments and Ratings by Micah View all
Updated File Comments Rating
22 Nov 2009 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert

Hi Dino,

Almost certainly not. Contact technical support for your camera to see if there is another way to access the video stream.

If you want to try hacking, you might be able to figure out how the java code works by decompiling it. However, you are on your own if you try this.

Micah

21 Nov 2009 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert

It would seem that your camera only provides one image per request when you access http://192.168.1.25/image.jpg. When you view this URL in IE or Firefox do you see a video or only one picture? If it is only one picture, my guess is that you need to access another URL in order to get a stream of images. Look in your camera's documentation.

Best,
Micah

20 Nov 2009 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert

Hi Dino,

To use the camera you need to use an undocumented feature. The reason mmread fails is that it doesn't auto-detect the video format correctly when reading from the camera. To get around this do the following: v = mmread({''http://192.168.1.25/image.jpg','mjpeg'},1:10); This will read 10 frames from your camera as a mjpeg stream.

Best,
Micah

13 Nov 2009 mmwrite write AVI/ASF/WMV/WMA file from movies read by mmread Author: Micah Richert

Hi Caglayan,

The second error message is pretty strange. It seems that somehow Matlab is calling the win64 version of mmwrite as if it were win32. I don't know how this could happen. I'll take a look at it in the next few days.

Best,
Micah

13 Nov 2009 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert

Hi Everyone,

"The specified procedure could not be found" bug has been fixed for Win64 systems. Please download the newest version.

Best,
Micah

Comments and Ratings on Micah's Files View all
Updated File Comment by Comments Rating
22 Nov 2009 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert Richert, Micah

Hi Dino,

Almost certainly not. Contact technical support for your camera to see if there is another way to access the video stream.

If you want to try hacking, you might be able to figure out how the java code works by decompiling it. However, you are on your own if you try this.

Micah

22 Nov 2009 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert Dino

Yes, you are right... if i view http://192.168.1.25/image.jpg in IE i can see only one image. To get stream i have to access http://192.168.1.25/Aview.htm in ActiveX mode or http://192.168.1.25/Jview.htm in Java mode. Is it possible to use these URL in mmread?

Dino

21 Nov 2009 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert Richert, Micah

It would seem that your camera only provides one image per request when you access http://192.168.1.25/image.jpg. When you view this URL in IE or Firefox do you see a video or only one picture? If it is only one picture, my guess is that you need to access another URL in order to get a stream of images. Look in your camera's documentation.

Best,
Micah

21 Nov 2009 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert Dino

Thanks for fast reply,
mmread and mmplay function correctly for any mjpeg video from hard disk, but when i write
v = mmread({'http://192.168.1.25/image.jpg','mjpeg'},1:10);
 mmplay(v);
i can only see the first frame and Matlab answers

Warning: Frame(s) 2 3 4 5 6 7 8 9 10 exceed the number of frames in the
movie.
> In mmread at 189
  In video at 1
Warning: Not all frames specified were captured. Returning what was captured, but
order may be different than specified.
> In mmread at 216
  In video at 1

Thank you for your help in advance.

20 Nov 2009 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert Richert, Micah

Hi Dino,

To use the camera you need to use an undocumented feature. The reason mmread fails is that it doesn't auto-detect the video format correctly when reading from the camera. To get around this do the following: v = mmread({''http://192.168.1.25/image.jpg','mjpeg'},1:10); This will read 10 frames from your camera as a mjpeg stream.

Best,
Micah

Top Tags Applied by Micah
graphics export, graphics import, data import, play movies mmread movie, write avi asf wmv wma movies
Files Tagged by Micah View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Nov 2009 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert data import 514 217
  • 4.79032
4.8 | 64 ratings
29 Apr 2008 mmplay replacement for the movie command and play movies read by mmread Author: Micah Richert play movies mmread mo..., graphics import, graphics export 85 1
  • 3.0
3.0 | 2 ratings
29 Apr 2008 mmwrite write AVI/ASF/WMV/WMA file from movies read by mmread Author: Micah Richert write avi asf wmv wma..., graphics import, graphics export 133 21
  • 4.85714
4.9 | 9 ratings
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com