开发者

Screen record using VLC - command line - windows xp [closed]

开发者 https://www.devze.com 2023-04-01 05:26 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question 开发者_运维百科

My objective is to start and stop screen record using VLC from command line.

For starting the screen recording, I used the following code:

vlc screen://  -I rc --screen-follow-mouse --screen-fps 5    
:sout=#transcode{vcodec=WMV2,vb=1800,scale=1}:std{access=file,mux=asf,dst=output.wmv}

And for stopping the record I learned from the VLC forums that I have to use ncat for windows and my stop BAT file contents were

echo quit | "C:\Users\Jk\Desktop\Downloads\nc111nt\nc.exe" localhost 8088

But still the stop doesn't work. I also tried the following, but it makes the recorded video corrupted:

taskkill /IM vlc.exe 

Also tried

vlc ://quit but it wont work as it was not started in one-instance mode.


To stop, just run:

vlc vlc://quit
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号