can i get the source code for obtaining 30fps from a video signal??
Show older comments
actually i need a matlab source code for obtaining frames(jpg png) from a video signal of any format..
13 Comments
Matt Kindig
on 10 Apr 2013
Without knowing anything about your video signal, we will be unable to offer much in the way of assistance. Are you trying to read an existing video file (*.avi, *.mpeg, etc.) into frames? Or are you trying to capture frames from a video camera in real time? What is your overall goal?
Matt Kindig
on 12 Apr 2013
You still haven't answered any of the questions I posted above. Are you trying to do the analysis in real-time, or from an existing video? What type of hardware (camera, etc.) are you using?
Mohd Aquib
on 12 Apr 2013
Mohd Aquib
on 15 Apr 2013
Walter Roberson
on 15 Apr 2013
What kind of hardware are you using? Make and model number. Also, what size of image do you need?
Mohd Aquib
on 15 Apr 2013
Walter Roberson
on 15 Apr 2013
The larger the image the slower the frame rate that becomes practical because the maximum bandwidth is limited.
Mohd Aquib
on 29 Apr 2013
Walter Roberson
on 29 Apr 2013
Do you have the Computer Vision toolbox? Do you have the Image Acquisition Toolbox? Do you have the Instrument Control toolbox?
Mohd Aquib
on 29 Apr 2013
Edited: Mohd Aquib
on 29 Apr 2013
Walter Roberson
on 29 Apr 2013
Student Version does have Instrument Control.
The other two I mentioned can be added on to a Student Version license, as can be the Data Acquisition Toolbox; see http://www.mathworks.com/academia/student_version/companion.html
What kind of processing will be done on the image?
What kind of interface will you be using? That will determine which of the toolkits is needed to get the data into place. Are you still needing to use HDMI interface?
We could give you generic code for accessing an attached web camera, but you asked for "real time" and web cameras are often not suited for real-time work.
Mohd Aquib
on 29 Apr 2013
Mohd Aquib
on 2 May 2013
Accepted Answer
More Answers (1)
Walter Roberson
on 15 Apr 2013
1 vote
I have gone through the manual and specifications for the Sony DSC-RX100, and I find that the only way to get movies to display "live" (realtime) outside the camera, is to connect the camera via HDMI. It cannot be done with that camera by its USB interface.
It is uncommon for computers to offer HDMI capture. You will need special hardware. I am not certain whether the Image Acquisition Toolkit would support that hardware; you might need to use the Data Acquisition Toolkit, and might need to do a bit of work to adjust a driver.
Categories
Find more on Image Acquisition in Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!