Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

not capturing video while in flight #374

Open
ambikaverma opened this issue Aug 4, 2018 · 1 comment
Open

not capturing video while in flight #374

ambikaverma opened this issue Aug 4, 2018 · 1 comment

Comments

@ambikaverma
Copy link

Hi

I used the following command to start a video recording before takeoff -
sudo gst-launch-1.0 -e v4l2src device=/dev/video13 num-buffers=2000 ! autovideoconvert format=i420 width=1920 height=1080 framerate=30/1 ! vaapih264enc rate-control=cbr tune=high-compression ! qtmux ! filesink location=encoded_video.mp4
ffmpeg -i encoded_video.mp4

above command in mentioned in camera and video wiki.

The recording works fine if the UAV is not flying, but in flight video is recorded but all I get are green frames.
Any way to find out what is the cause for this and possible fix?
would it be better to capture individual images in a loop?

@ambikaverma
Copy link
Author

ambikaverma commented Aug 4, 2018

Another issue that I'm facing -
image

the same command worked fine earlier, but now I get this error.
got this error after trying to run cpp-capture as discussed here #371 (which itself also failed).

and in QGC I can only see data from rsdepth stream. Nothing from video13, rsir and rsir2 streams.

Did running cpp-capture change any settings (even though it failed)?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant