Replies: 2 comments 2 replies
-
Hi, sorry I didn't spot the question sooner. If you could post a very minimal version of your code (barely more than a few lines, if possible...) that might be interesting. I can't think of any reason why capturing an image while recording should cause a problem, though as you say a Pi Zero is almost certainly going to struggle. Presumably you're using the FfmpegOutput which just pipes stuff to an FFmpeg process, so it's not clear to me how that could go wrong. |
Beta Was this translation helpful? Give feedback.
-
I'm afraid I don't have a good answer for you. I think there's going to be some investigation required, and you may have to try a number of different things to see what does or doesn't cause problems. For example:
Sorry not to have anything better to try. Maybe someone else reading this might understand ffmpeg better. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there, I have a question regarding multiple outputs from picamera. I am using the H264 encoder to both stream and record videos to files. Now I know that these 2 are handled in separate threads? I was wondering if it would be okay to also retrieve the frames by calling
picam.capture_array()
in the main loop? I tried this and sometimes it works fine, other times I get this error:av_interleaved_write_frame
which I believe is an error from ffmpeg. I am currently doing all this on rpi zero so I do understand that processing power is quite limited, but does all this cause issues with recording? In my case videos are getting recorded(when it works) but every 2 seconds it loses 4 or 5 frames. which means the video is not continuous. Any help will be greatly appreciated, thank you.Beta Was this translation helpful? Give feedback.
All reactions