pir8radio 1312 Posted February 16, 2020 Posted February 16, 2020 Hey guys, nothing to do with emby, just curious if you guys know of any software that will allow me to enter a URL and stream that webpage to something expecting a RTSP video stream? For example, the sense webpage shown below, I would love to have a constant stream of that to my NVR so i can view it on any of the tv's in the house, or through emby, or when i say "alexa show me sense" but in order to fall in place with my other systems i need to get it as an RTSP stream.. Yea i know there are other ways, like native http support on those devices, but the goal is to create a RTSP stream from a dynamic webpage. Sense power monitor is just one example, i have all kinds of crap i would love to get on a single screen using my nvr. power, home automation, weather, I dont want to like open the webpage and select the screen area to stream and have to leave that window open all of the time for vlc or something like that to screen grab... Looking for a software that does it internally, takes a url and sends whatever it sees to a RTSP stream.
mickle026 650 Posted February 17, 2020 Posted February 17, 2020 (edited) no entirely sure but ffmpeg does a gdi grab, then you can rstp that I would have thought. gdi is the desktop or other window so you would have to have the browser open which you didn't want. I think you can even select which window somehow, ie an explorer tab.. As i said never done it and not sure ffmpeg -f gdigrab -i title="Mozilla Firefox" -pix_fmt yuv420p browsergrab.mp4 or you can create an app to screenshot from code, this doesnt need to see the page it does it direct from the url. However i dont know how the page will render because i am not sure how much in height it will create an image. HttpWebRequest request = HttpWebRequest.Create("https://[url]") as HttpWebRequest; Bitmap bitmap; using (Stream stream = request.GetResponse().GetResponseStream()) { bitmap = new Bitmap(stream); } then stream the images Edited February 18, 2020 by mickle026 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now