Slow High Resolution video processing

Hi, I've a high resolution video with the dimensions of 2640x2640px. The video is converted from mp4 to avi and with the image viewer I can load the video. But the video is played very, very slowly but is only 63MB. How can I play (and detect and track motion) with a normal speed? Is it possible?
Video details:
General Properties:
Name: 'video.avi'
Path: 'C:\Users\User\Downloads'
Duration: 36.3029
CurrentTime: 0
Tag: ''
UserData: []
Video Properties:
Width: 2640
Height: 2640
FrameRate: 29.9700
BitsPerPixel: 24
VideoFormat: 'RGB24'

3 Kommentare

Swarooph
Swarooph am 16 Aug. 2016
Could you post a snippet of the code? It would be useful to know what functions you are using to make this happen.
C Fischer
C Fischer am 17 Aug. 2016
Bearbeitet: C Fischer am 17 Aug. 2016
I've tried it with the VideoViewer and also with the code underneath. Both with the same result.. Also with another video with 1000x1000px dimensions
videoFReader = vision.VideoFileReader('C:\Users\User\Downloads\abc2.avi');
videoPlayer = vision.VideoPlayer;
while ~isDone(videoFReader)
videoFrame = step(videoFReader);
step(videoPlayer, videoFrame);
end
release(videoPlayer);
release(videoFReader);
Swarooph
Swarooph am 23 Aug. 2016
In my experience, VideoPlayer is slow. Try using vision.DeployableVideoPlayer instead.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Qu Cao
Qu Cao am 23 Aug. 2016

0 Stimmen

The DeployableVideoPlayer object displays video frames. This player is capable of displaying high definition video at high frame rates.

Kategorien

Mehr zu Image Processing and Computer Vision finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 16 Aug. 2016

Beantwortet:

am 23 Aug. 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by