How can I see what I'm recording?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Telerin
New Cone
New Cone
Posts: 7
Joined: 29 Mar 2020 14:37

How can I see what I'm recording?

Postby Telerin » 28 Apr 2022 21:08

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:

Code: Select all

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:

Code: Select all

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

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: How can I see what I'm recording?

Postby unidan » 28 Apr 2022 21:55

Hi, untested but you can do that with duplicate and display:

Code: Select all

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

Telerin
New Cone
New Cone
Posts: 7
Joined: 29 Mar 2020 14:37

Re: How can I see what I'm recording?

Postby Telerin » 29 Apr 2022 01:42

Dont works

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: How can I see what I'm recording?

Postby unidan » 29 Apr 2022 09:07

You can try in the reverse order then:

Code: Select all

--sout='#duplicate{dst=display,dst=transcode{vcodec=h264,vb=512}}:std{access=file,dst="miVideo.mp4"}'

Telerin
New Cone
New Cone
Posts: 7
Joined: 29 Mar 2020 14:37

Re: How can I see what I'm recording?

Postby Telerin » 29 Apr 2022 10:03

Perfect, that instruction works, thanks!

Code: Select all

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

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: How can I see what I'm recording?

Postby unidan » 29 Apr 2022 14:07

You're welcome, you made me realize it wasn't documented on the new documentation project : https://docs.videolan.me/vlc-user/3.0/e ... streaming/


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot], Jona, skeeve11 and 21 guests