I have a USB camera which support UYVU, MJPG and H264 format. I need to change the format and check the performance. I don’t know by default which format is running and how to change the format.
To list the supporting format of the camera- $ v4l2-ctl --device=0 --list-formats-ext
It show: UYVY, MJPG, H264
I have tried to change in config.txt file but it didn’t work.
#Type - 1=CameraV4L2 2=URI 3=MultiURI
# (0): memtype_device - Memory type Device
# (1): memtype_pinned - Memory type Host Pinned
# (2): memtype_unified - Memory type Unified
Now the question is how to change the formats ?
Please help me to solve this