Borrar filtros
Borrar filtros

Cant't Change FramesPerTrigger in videoWriter

1 visualización (últimos 30 días)
Eirik Furuholt
Eirik Furuholt el 22 de Abr. de 2021
Comentada: Eirik Furuholt el 23 de Abr. de 2021
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

Respuesta aceptada

Walter Roberson
Walter Roberson el 22 de Abr. de 2021
Frames Per Trigger is not a documented property of Videowriter or of Videoreader
  4 comentarios
Walter Roberson
Walter Roberson el 22 de Abr. de 2021
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 el 23 de Abr. de 2021
Now i understand, thanks!

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by