intel-aero / meta-intel-aero

Yocto layer to support Intel Aero platform
https://github.com/intel-aero/meta-intel-aero
GNU General Public License v2.0
218 stars 119 forks source link

not capturing video while in flight #374

Open ambikaverma opened 5 years ago

ambikaverma commented 5 years ago

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 commented 5 years ago

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 https://github.com/intel-aero/meta-intel-aero/issues/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)?