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
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