Videoreader jitter

조회 수: 3 (최근 30일)
Alexander Farley
Alexander Farley 2012년 1월 4일
Hi,
I'm loading a video using VideoReader and processing frame by frame. Occasionally, it looks like VideoReader repeatedly provides the same frame regardless of index. Eventually, the reader "catches up" and gives the correct frame.
The result is that the processed video looks jittery and choppy. The jittery loading seems to occur unpredictably.

답변 (3개)

Walter Roberson
Walter Roberson 2012년 1월 4일
VideoRecorder is not designed for "real-time" or precision timing. Please consider using the Image Acquisition Toolbox
  댓글 수: 4
Walter Roberson
Walter Roberson 2012년 1월 4일
Sorry, somehow earlier I read your question as having to do with VideoRecorder instead of VideoReader. VideoReader should be able to read every frame.
Which MATLAB version are you using?
Alexander Farley
Alexander Farley 2012년 1월 6일
I'm using r2011a. The videos are in .wmv and .asf format. The VideoReader class basically works except for the problem mentioned above.

댓글을 달려면 로그인하십시오.


Image Analyst
Image Analyst 2012년 1월 6일
You're talking about extracting a single frame and displaying it in an axes, right? Not playing it as a movie and noticing some pauses or hangups? Are you sure the frame(s) in question are not in there two or three of multiple times in a row (like frames 14-18 are all the same)? Do you have some alternate way of viewing a frame at a time - like some other program?
  댓글 수: 4
Image Analyst
Image Analyst 2012년 4월 17일
Can you upload one of the original input choppy videos and tell me what frame it pauses?
K E
K E 2012년 9월 26일
I am having problems with VideoReader appearing to read in a different number of frames each times a video file is read. I would love to know more about this problem if you figure it out.

댓글을 달려면 로그인하십시오.


Ribas
Ribas 2012년 4월 17일
Did you guys know the solution for this problem?
I am analysing video and when trying to read the same frame in different tests, it gets me different frames...
  댓글 수: 1
Alexander Farley
Alexander Farley 2012년 4월 17일
No, I never figured out what causes this problem.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by