{"id":13627,"date":"2021-12-13T13:15:04","date_gmt":"2021-12-13T13:15:04","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=13627"},"modified":"2021-12-13T13:15:22","modified_gmt":"2021-12-13T13:15:22","slug":"solved-looking-for-a-vbscript-to-stream-record-using-videolan","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/looking-for-a-vbscript-to-stream-record-using-videolan\/30512.html","title":{"rendered":"Solved Looking For a VBScript To Stream &#038; Record Using VideoLan."},"content":{"rendered":"<p>I want to go from a &#8220;Batch File&#8221; to a VBScript to add to my HTA set of tools I&#8217;m creating.<\/p>\n<p>My Batch File Code is:<br \/>\nstart &#8220;&#8221; &#8220;C:\\Program Files (x86)\\VideoLAN\\VLC\\vlc.exe&#8221; &#8211;run-time=10 rtsp:\/\/10.10.12.105\/rtsp\/CAM6a.mp4<br \/>\n&#8216; &#8211;sout=&#8221;#duplicate{dst=display, dst=std{access=file,mux=mov,dst=&#8221;C:\\Temp\\CAM6a.mp4}&#8221; vlc:\/\/quit<\/p>\n<p>And I want to convert this to a VBScript &#8211; My code so far is:<br \/>\nSet objShell = CreateObject(&#8220;Wscript.Shell&#8221;)<br \/>\nobjshell.Run &#8220;&#8221; &#8220;C:\\Program Files (x86)\\VideoLAN\\VLC\\vlc.exe&#8221; &amp; &#8220;&#8221; &#8220;rtsp:\/\/10.10.12.105\/rtsp\/CAM6.mp4&#8221;<\/p>\n<p>MsgBox &#8220;You&#8217;re Streaming &amp; Recording IP Address 10.10.12.105&#8221;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":13},"question-category":[55],"question_tags":[],"class_list":["post-13627","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/13627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=13627"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=13627"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=13627"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=13627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}