Answer the question
In order to leave comments, you need to log in
How to get an image from two identical webcams using ffmpeg in the console?
You need to get one frame from two identical webcams in the console.
I use ffmpeg.exe like this:
ffmpeg -f dshow -i video="Logitech HD Webcam C270" -q:v 1 -vframes 1 left.jpg
ffmpeg -f dshow -i video="Logitech HD Webcam C270" -q:v 1 -vframes 1 left.jpg
ffmpeg -f dshow -i video="Logitech HD Webcam C270" -q:v 1 -vframes 1 right.jpg
D:\ffmpeg>ffmpeg -list_devices true -f dshow -i dummy
[dshow @ 01BB8540] DirectShow video devices
[dshow @ 01BB8540] "ASUS USB2.0 WebCam"
[dshow @ 01BB8540] "Logitech HD Webcam C270"
Last message repeated 1 times
[dshow @ 01BB8540] DirectShow audio devices
[dshow @ 01BB8540] "Microphone (2- High Definition Audio Device)"
[dshow @ 01BB8540] "Microphone (2- HD Webcam C270)"
[dshow @ 01BB8540] "Microphone (3- HD Webcam C270)"
dummy: Immediate exit requested
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question