Open alexblack opened 8 years ago
Can't seem to do this with gst-launch
either:
root@3dr_solo:/opt/ddc# gst-launch mfw_v4lsrc num-buffers=1 capture-mode=5 ! jpegenc ! filesink location=sample.jpeg
MFW_GST_V4LSRC_PLUGIN 3.0.11 build on Mar 4 2016 02:10:26.
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
Freeing pipeline ...
If I don't set capture-mode
then I get a 1280x720 jpeg, if I try to set capture-mode
to anything but 0
then it won't run.
0:00:00.082738333 2246 0x140b580 INFO mfw_v4lsrc mfw_gst_v4lsrc.c:482:mfw_gst_v4lsrc_capture_setup: sensor chip is adv7610_decoder
0:00:00.083986333 2246 0x140b580 ERROR mfw_v4lsrc mfw_gst_v4lsrc.c:507:mfw_gst_v4lsrc_capture_setup: enum framesizes failed for capture mode 5
0:00:00.084411666 2246 0x140b580 ERROR mfw_v4lsrc mfw_gst_v4lsrc.c:1037:mfw_gst_v4lsrc_start: v4lsrc:error in opening the device
Has anyone figured out a way around this yet?
I've modified
libsolocam
to set the video capture resolution to 1920x1080, and set my GoPro to that same resolution, but, whenever I check the resolution after setting it, its still on 1280x720. I also explored enumerating the supported formats, and the only resolution I get back is 1280x720, regardless of what resolution I have set the actual gopro to.Any ideas?