Using Bonsai to record a video of certain time long #1140
Unanswered
Sigmalalala
asked this question in
Q&A
Replies: 3 comments 7 replies
-
You can try to stabilize the fps of your camera by turning off the auto-exposure setting. Afterward, you should be able to get something close to the predicted duration from your camera fps and videowriter settings. |
Beta Was this translation helpful? Give feedback.
3 replies
-
CameraCapture - Take(N frames) - videowriter
That’s it. You can remove the other two nodes.
…On Sun, 13 Nov 2022 at 11:04, Sigmalalala ***@***.***> wrote:
Sorry, but I don't know how to use the "take" operator. Could you please
show the workflow to me? Thank you!
[image: 1668337381493]
<https://user-images.githubusercontent.com/118099060/201518438-8e20fc77-67e7-4c75-b728-2a636be82ec7.jpg>
My workflow is absolutuely wrong.
—
Reply to this email directly, view it on GitHub
<#1140 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVZBB52JBN2BZUQAQZW5MTWIDDNVANCNFSM6AAAAAAR6YTROA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Change the count property to the number of frames you want to save
…On Sun, 13 Nov 2022 at 11:14, Sigmalalala ***@***.***> wrote:
I use this "Take" operator. Am I right? But I don't know how to take the
frames. Could you please tell me how to take frames? Thank you!
[image: 1668337977908]
<https://user-images.githubusercontent.com/118099060/201518768-0cdff14d-2c2f-4452-8bc8-333b033b13b6.jpg>
[image: 1668337911165]
<https://user-images.githubusercontent.com/118099060/201518725-1d33479f-8a17-4bf1-8b41-85bddfe143ac.jpg>
—
Reply to this email directly, view it on GitHub
<#1140 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVZBB2CIK5FGFWSUHNUKCDWIDESXANCNFSM6AAAAAAR6YTROA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,I'm a new Bonsai user and i want to record a video for a certain length such as 1 or 5 minutes, but I have to set the framerate in the "VideoWriter". In this case, the video I get is not exactly 1 or 5 minutes, because the frame rate of my camera is changing at all times. So, I wonder if there is a better work flow or any suggestions. Thank you so much!
Beta Was this translation helpful? Give feedback.
All reactions