How to limit the frame rate to 30fps on my USB camera?

For anyone to be able to assist you, you would at lest need to provide hardware info of the USB-Camera and drivers plus application used to access it.

Without proper info, no one will be able to assist in a helpful way…
Plus use new lines when sentences end, to make your wall of text more digestable(readable) for others.