• We hope you have a fantastic holiday season to close out 2025! Thank you all so much for being part of the Tom's Guide community!

ffmpeg and two (2) logitech 920 webcams

frankbelson2

Prominent
Jan 7, 2018
2
0
510
I am using the following line to preview my webcam:

ffmpeg -s 1280x720 -framerate 30 -pix_fmt yuv420p -rtbufsize 100MB -f dshow -i video="Logitech Cam#1" -c:v copy -an -f sdl "WebCAM Preview"

this line works fine with cam #1, however when try it with cam #2, I get the error:

[dshow @ 00000000002d8920] Could not set video options video=Logitech Cam#2: I/O error

Can anyone tell me why this is happening. I would like to able to preview both webcams at the same time?

Thanks, Frank
 
It could be a limitation of the FFmpeg software (ie doesn't support two cams simultaneously).

That's not a statement of a fact, just me saying it's possible based on nothing more than an educated guess.
 
I considered that in regards to the two cams at once. However, the second cam (cam#2) will not show a preview at all. I just get the error. The cam DOES work with other webcam programs, so it is not the cam itself. Thank for the guess tho!!

Frank