'VLC: How can I see what I'm recording? [closed]

On Windows 10 I use a batch to open the webcam and start a recording. But while it is recording, the VLC interface shows black. How can I see what is being recorded at the same time on the VLC screen? This is the command line:

vlc -Idummy -vvv dshow:// :dshow-vdev="myWebCam" :dshow-adev :live-caching=300 --sout=#transcode{vcodec=h264,vb=512}:std{access=file,dst="miVideo.mp4"}

I have tried the following, but the interface appears black:

vlc  dshow:// :dshow-vdev="myWebCam" :dshow-adev :live-caching=300 --sout=#transcode{vcodec=h264,vb=512}:std{access=file,dst="miVideo.mp4"}

Thanks.



Solution 1:[1]

Solved! This is the solution:

vlc dshow:// :dshow-vdev="myWebCam" :dshow-adev :live-caching=300 --sout=#duplicate{dst=display,dst=transcode{vcodec=h264,vb=512}}:std{access=file,dst=C:\myVideo.mp4"}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 TelerĂ­n