필터 지우기
필터 지우기

How to get the time information from a video of varying frame rate using MATLAB?

조회 수: 6 (최근 30일)
Richard
Richard 2012년 2월 2일
편집: Walter Roberson 2013년 9월 27일
I have a video in which the frame rate is not constant over the length of video. How can i get the actual time information from the video using MATLAB?
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 2월 2일
I wonder... if you have read *only* up to a particular frame, and you get the Duration property of the VideoReader object, would it perhaps give the frame time?
If this works at all, it would not surprise me if the Duration never decreases if you go back to read a previous frame.

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

답변 (1개)

Glen Lichtwark
Glen Lichtwark 2012년 2월 2일
I think the solution is covered in the following page -
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 2월 3일
No, there is nothing there about determining the time associated with any one frame. That document just says that you cannot read frames in random order, and that you need to read to the end before MATLAB knows how many frames there were. Nothing about frame timing.

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

Community Treasure Hunt

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

Start Hunting!

Translated by