webrtc-streamer icon indicating copy to clipboard operation
webrtc-streamer copied to clipboard

How to modify the resolution of USB camera!

Open luoluo888 opened this issue 3 years ago • 3 comments

Because the software default USB camera is 4:3, how to change it to 16:9

luoluo888 avatar Mar 07 '22 16:03 luoluo888

Hi,

You can try to set width & height of the capture, the first connection will try to set capture format. Following will use it.

Best Regards, Michel.

mpromonet avatar Mar 09 '22 21:03 mpromonet

Thank you. How to set the height and width of the server version

luoluo888 avatar Mar 10 '22 01:03 luoluo888

By my experience to re-stream lower bandwidth usage from IPCam,

You could stream out USB webcam's video to RTSP proxy by ffmpeg, specify the resolution & aspect ratio by ffmpeg options.

Call webrtc-streamer to RTSP proxy's streaming.

vegalou avatar Jun 26 '22 02:06 vegalou