ffmpeg and two (2) logitech 920 webcams

Status
Not open for further replies.

frankbelson2

Prominent
Jan 7, 2018
6
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
 

frankbelson2

Prominent
Jan 7, 2018
6
0
510
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

 
Status
Not open for further replies.