필터 지우기
필터 지우기

Cant't Change FramesPerTrigger in videoWriter

조회 수: 1 (최근 30일)
Eirik Furuholt
Eirik Furuholt 2021년 4월 22일
댓글: Eirik Furuholt 2021년 4월 23일
Hello,
When i try to change the number of fremes per trigger in the it just resets to 10. And when i open the 1x1 videoinput in the workspace it says 10.
See pictures for a better explantion
Is it a bug in R2020b?
i have tried the following:
Open the 'vidobj' 1x1 videoinput variable in the workspace and change there.
set(vidobj, 'FramesPerTrigger', 50); %this code
vidobj.FramesPerTrigger=50 % and this code

채택된 답변

Walter Roberson
Walter Roberson 2021년 4월 22일
Frames Per Trigger is not a documented property of Videowriter or of Videoreader
  댓글 수: 4
Walter Roberson
Walter Roberson 2021년 4월 22일
The very first line of the blurry image of code that you posted is start(vidobj). Your if after that does an additional start(vidobj) even though you already started it. Then you try to change the frames per trigger. However as documented, that property is read-only while the reader is started.
Eirik Furuholt
Eirik Furuholt 2021년 4월 23일
Now i understand, thanks!

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by