VLC Record from Webcam and Save to File - Windows Command Line
Posted: 28 May 2019 18:06
Hello, I am trying to record a video from a camera and save the recording to a file, using the command line on Windows.
(My comprehension of the vlc documentation is poor at best, and I need some help figuring this out.)
I can get VLC up, displaying my camera, and recording using the command:
I tried a number of variations of the command:
This results in VLC starting but unable to display my camera and no recording taking place. Additionally, no file is created. (I have tried multiple code paths, also.)
What am I doing wrong?
Thanks!
--
VLC version 3.0.6
Windows 10
(My comprehension of the vlc documentation is poor at best, and I need some help figuring this out.)
I can get VLC up, displaying my camera, and recording using the command:
Code: Select all
vlc dshow:// :dshow-vdev="USB2.0 Camera"
Code: Select all
vlc dshow:// :dshow-vdev="USB2.0 Camera" --sout "#std{mux=ts,access=file,C:\Users\username\Documents\video.avi}"
What am I doing wrong?
Thanks!
--
VLC version 3.0.6
Windows 10