dgian Posted January 18, 2018 Share Posted January 18, 2018 As the title says if I open an rtsp url from menu - Open URL, it plays fine. Now if I add it as a new ts stream in channel editor and try to play it from the channel list nothing happens. I don't know if this has anything to do with this: http://www.DVBViewer.tv/forum/topic/60978-flv-links-do-not-open/ where Griga said: "Because the channel list only supports DVB compliant streaming formats that contain a transport stream or an AAC/MP3 audio stream (e.g. internet radio). Read more about it here in the "Streaming" section. .flv is Flash, which is no DVB compliant format." If this is the case, then, is there a way to pass the url "rtsp://IP:port/stream" as a parameter to action 141 "Open URL" ? For example, through a custom action from scripting: sub main(ActionID) Select Case ActionID Case 36000 SendCommand(141), "rtsp://IP:port/stream" End Select end sub Or is there any other way that I can open the url, but only from a remote control (not physically, with mouse, etc..)? Thank you in advance. Quote Link to comment
Griga Posted January 18, 2018 Share Posted January 18, 2018 You can pass a URL as commandline parameter to DVBViewer in the same way as a file, e.g. "C:\Program Files (x86)\DVBViewer\DVBViewer.exe" "rtsp://IP:port/stream" This also works if DVBViewer is already running. It launches a second DVBViewer instance that detects the first instance, passes the commandline parameter to it and then terminates immediately. Quote Link to comment
dgian Posted January 19, 2018 Author Share Posted January 19, 2018 Thank you Griga for your explanation. That means that through scripting this would be the equivalent command? sub main(ActionID) Select Case ActionID Case 36000 OSD.ExecNewProcess "C:\Program Files\DVBViewer\DVBViewer.exe", "rtsp://IP:port/stream", False, False End Select end sub Thank you. Quote Link to comment
Griga Posted January 19, 2018 Share Posted January 19, 2018 I'm no scripting expert, but it looks ok. Just try... Quote Link to comment
dgian Posted January 22, 2018 Author Share Posted January 22, 2018 Yes it works...Perfect! Thank you. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.