How to change the streaming format in Deepstream?

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

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)