Hi all.
I tried to take picture through v4l2-ctl using below command
v4l2-ctl -d /dev/video0 --set-fmt-video=pixelformat=RG10 --stream-count=1 --stream-to=pic.raw
but a get too dark image.
I use raw2rgb to convert data. May be conversion works not very well with RG10, but i have more problem with other pixel formats:
if I use pixelformat=RGGB, output file has only zero values.
if I try to set pixelformat=RG12, result is:
You should be able to use v4l2 without gstreamer to capture frames. Other applications like Yavta do this. Assuming you installed Jetpack in a path called $DEVDIR, I think you can use some of the samples in $DEVDIR/64_TX1/tegra_multimedia_api/samples as reference.
If you are thinking about encoding/displaying the frame later I would recommend you to use gstreamer.