I have already tried out nvgstcapture-1.0
In the help, setting properties syntax is explained, getting properties syntax is not:
" --exposuretimerange Property to adjust exposure time range in nanoseconds e.g., --exposuretimerange=“34000 358733000” "
If I try without giving an empty range " ", nothing happens and if I don’t give the double quotes, it results in an error. Same with nvarguscamerasrc
nvgstcapture-1.0 -A --image-res=2 --mode=1 --cap-dev-node=0 --capture-auto=1 --exposuretimerange
Encoder null, cannot set bitrate!
Encoder Profile = High
** (nvgstcapture-1.0:29784): ERROR **: 19:22:59.054: main:4537 option parsing failed: Missing argument for --exposuretimerange
Trace/breakpoint trap (core dumped)
If I remove the --exposuretimerange or add --exposuretimerange=“min max”, this code perfectly works. captures an image with an automatic name generated. I tried understanding if the name means anything (eg: nvcamtest_29683_s00_00000.jpg). Seems like it is some kind of timestamp since it is always increasing.
I’ll go through the source code that you shared for better understanding.
I have one more issue. I followed the instructions on the git Readme.md for the argus_camera but I am facing an error:
fatal error: Argus/Argus.h: No such file or directory
What library should I install?