• 0

Solved Looking For a VBScript To Stream & Record Using VideoLan.

  • 0

I want to go from a “Batch File” to a VBScript to add to my HTA set of tools I’m creating.

My Batch File Code is:
start “” “C:\Program Files (x86)\VideoLAN\VLC\vlc.exe” –run-time=10 rtsp://
‘ –sout=”#duplicate{dst=display, dst=std{access=file,mux=mov,dst=”C:\Temp\CAM6a.mp4}” vlc://quit

And I want to convert this to a VBScript – My code so far is:
Set objShell = CreateObject(“Wscript.Shell”)
objshell.Run “” “C:\Program Files (x86)\VideoLAN\VLC\vlc.exe” & “” “rtsp://”

MsgBox “You’re Streaming & Recording IP Address”


1 Answer

  1. Okay. Hope it works out for you. Just a warning, but HTAs are largely depreciated so don’t expect much documentation on MSDN.

    Also, your shell.Run line doesn’t look right, but if it doesn’t throw an error, who am I to judge?

    How To Ask Questions The Smart Way

    • 0