chef 3748 Posted June 19, 2017 Share Posted June 19, 2017 Link to comment Share on other sites More sharing options...
Sammy 738 Posted June 19, 2017 Author Share Posted June 19, 2017 (edited) My cameras need a login to view the stream in the browser and it is just accessed as http://{cameraIP}:{cameraPort} Edited June 19, 2017 by Sammy 1 Link to comment Share on other sites More sharing options...
chef 3748 Posted June 19, 2017 Share Posted June 19, 2017 My cameras need a login to view the stream in the browser and it is just accessed as http://{cameraIP}:{cameraPort} Yes, that was something else I just realized I had to add credentials to the http request to aquire the steam. So far I think it's still doable, I just don't know if the emby HttpClient interface has parameters for login credentials... But it must.... Link to comment Share on other sites More sharing options...
Sammy 738 Posted June 19, 2017 Author Share Posted June 19, 2017 Just as a sidenote to this, the Vera Plugin uses the BlueIris cameras because that way all cameras can be addressed at the BlueIris IP and then just entered into plugin settings by camera number as named by the user in the BlueIris interface. That said, BlueIris has its own credentials. Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted June 20, 2017 Share Posted June 20, 2017 (edited) Just as a sidenote to this, the Vera Plugin uses the BlueIris cameras because that way all cameras can be addressed at the BlueIris IP and then just entered into plugin settings by camera number as named by the user in the BlueIris interface. That said, BlueIris has its own credentials. For Vera camera integration I use "Foscam IP camera" app for (close to ) live video stream feed and "vistacam motion detection plugin" for triggering scenes based on motion detection. Setup guide and url/authentication requirements can be found here http://forum.micasaverde.com/index.php?topic=25282.0 Edited June 20, 2017 by PrincessClevage 2 Link to comment Share on other sites More sharing options...
chef 3748 Posted June 20, 2017 Share Posted June 20, 2017 For Vera camera integration I use "Foscam IP camera" app for (close to ) live video stream feed and "vistacam motion detection plugin" for triggering scenes based on motion detection. Setup guide and url/authentication requirements can be found here http://forum.micasaverde.com/index.php?topic=25282.0 This is what I do as well. 2 Link to comment Share on other sites More sharing options...
Sammy 738 Posted June 22, 2017 Author Share Posted June 22, 2017 For Vera camera integration I use "Foscam IP camera" app for (close to ) live video stream feed and "vistacam motion detection plugin" for triggering scenes based on motion detection. Setup guide and url/authentication requirements can be found here http://forum.micasaverde.com/index.php?topic=25282.0 This is what I do as well. I suppose I need to take a look at that. Does it work with other cameras? I have mainly Hikvision (monoprice) but do have a foscam R2 too. Thanks! Link to comment Share on other sites More sharing options...
chef 3748 Posted June 22, 2017 Share Posted June 22, 2017 (edited) Wow! I'll be a monkies uncle! So... Um... Good news everyone! I have a built a generic IPCam channel plugin which will stream the live streams of security cameras into emby. But, I can't figure out how to send the credentials for the camera live stream with the request for the stream...???... Once I figure that out, we can test it! Maybe one of the lead developers could pour me in the right direction? Is there an example on github how to use IHttpClient requests with specific creds? Edited June 22, 2017 by chef 1 Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted June 22, 2017 Share Posted June 22, 2017 (edited) Wow! I'll be a monkies uncle! So... Um... Good news everyone! I have a built a generic IPCam channel plugin which will stream the live streams of security cameras into emby. But, I can't figure out how to send the credentials for the camera live stream with the request for the stream...???... Once I figure that out, we can test it! Maybe one of the lead developers could pour me in the right direction? Is there an example on github how to use IHttpClient requests with specific creds? Exciting news Chef! Alas I'm no coder :-/ Edited June 22, 2017 by PrincessClevage Link to comment Share on other sites More sharing options...
chef 3748 Posted June 22, 2017 Share Posted June 22, 2017 (edited) Okay, does anyone know about rtsp? Or is it rstp? That is the stream every IP camera has that will show the live stream of the footage. That is what we're going to use... Or what I need to figure out. Those URLs will have to be put into configuration for the channel plugin How do you figure out what the rstp URL is though? And each person will have to figure out their own URLs with credentials to access the stream. Edited June 22, 2017 by chef Link to comment Share on other sites More sharing options...
econ 74 Posted June 22, 2017 Share Posted June 22, 2017 A good RTSP URL site is: https://www.ispyconnect.com/sources.aspx Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted June 22, 2017 Share Posted June 22, 2017 Okay, does anyone know about rtsp? Or is it rstp? That is the stream every IP camera has that will show the live stream of the footage. That is what we're going to use... Or what I need to figure out. Those URLs will have to be put into configuration for the channel plugin How do you figure out what the rstp URL is though? And each person will have to figure out their own URLs with credentials to access the stream. I would assume https and rtsp would be both commonhttp://foscam.us/forum/how-to-use-rtsp-and-https-for-hd-cameras-t4926.html#p23464 Link to comment Share on other sites More sharing options...
chef 3748 Posted June 22, 2017 Share Posted June 22, 2017 Right! http://{username}:{password}@ipAddress/etc. Seem pretty standard. I think it is working, I just have to wait for my son to finish watching Mary Poppins before I restart the server to test 1 Link to comment Share on other sites More sharing options...
gjviii 48 Posted June 23, 2017 Share Posted June 23, 2017 how long is Mary Poppins? 1 Link to comment Share on other sites More sharing options...
swhitmore 781 Posted June 23, 2017 Share Posted June 23, 2017 I have a HikVision Camera running on BlueIris if you need someone to test. Not sure if I'd us the plugin, but I guess it could be interesting to get working. Link to comment Share on other sites More sharing options...
chef 3748 Posted June 23, 2017 Share Posted June 23, 2017 How many other people who have ipCams that run by taking a bunch of images, which are then put into a stream by some kind of app? In other words, the camera is taking a bunch of still images, and the application is requesting them and them putting them into a video on the fly? That is what mine do... argh! The problem is, that emby wants a video stream for channel plugins, and there isn't a persistent request of images to build a stream for a plugin standpoint, and therefore only the first image from the camera displays... I could build one in the plugin, but if I'm the only one who is dealing with this particular situation then, I'll move on and deal with my own problems but get to coding for a standard plugin as requested. Does that make sense? Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted June 23, 2017 Share Posted June 23, 2017 How many other people who have ipCams that run by taking a bunch of images, which are then put into a stream by some kind of app? In other words, the camera is taking a bunch of still images, and the application is requesting them and them putting them into a video on the fly? That is what mine do... argh! The problem is, that emby wants a video stream for channel plugins, and there isn't a persistent request of images to build a stream for a plugin standpoint, and therefore only the first image from the camera displays... I could build one in the plugin, but if I'm the only one who is dealing with this particular situation then, I'll move on and deal with my own problems but get to coding for a standard plugin as requested. Does that make sense? For Foscam looks like you can fetch a "snapshot " or a MJPEG stream Fetching JPG snapshots by URL parameters The URL example is as follows: http://ipaddress:port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=xxx Use the above to attain a snapshot image, this also supports fetching the highest resolution stream image. Fetching MJPEG stream by URL There are two steps needed to fetch the MJPEG URL stream. Step 1: Set one of the streams to MJPEG. As the current chipset on HD cameras only supports two H.264 streams (Mainstream and Substream), we need to set one of the streams to an MJPEG stream, as the chipset does not support three streams. After we set one of the streams to an MJPEG stream, we can fetch the videostream using an HTTP URL. Here is an example URL on how to set one stream to an MJPEG stream: http://ipaddress:port/cgi-bin/CGIProxy.fcgi?cmd=setSubStreamFormat&format=1&usr=admin&pwd= Here “1” sets an MJPEG stream, if we don't want to set the MJPEG stream, we would set the number to “0”, “0” sets an H.264 stream. When inputting this URL and pushing "Enter" in your browser, it will return the following result: 0 Step 2: After setting the MJPEG stream, it can be fetched using an HTTP URL. See the example HTTP URL you would use to fetch the MJPEG videostream. Note that this differs from older MJPEG cameras like the FI8910W, but the videostream result is the same. http://ipaddress:port/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=admin&pwd=xxx Simply replace the IP address, port, username, and password into the above URL to access your camera's MJPEG stream. You can refer to the CGI document on setSubStreamFormat and GetMJStream if you wish. Not sure if this helps with rendering mjpeg stream in ET Desktop (i assume ET Desktop uses JS?) https://gist.github.com/codebrainz/eeeeead894e8bdff059b Andriod/IOS http://www.stefangordon.com/render-mjpeg-streams-in-react-native/ Link to comment Share on other sites More sharing options...
Swynol 375 Posted June 23, 2017 Share Posted June 23, 2017 (edited) i'm using hikvision cameras with blue iris. my hikvisions support rtsp with the following format - rtsp://{username}:{password}@{IPADDRESS}/Streaming/Channels/1 rtsp uses port 554 and FFMPEG. you can test rtsp using VLC. Edited June 23, 2017 by Swynol Link to comment Share on other sites More sharing options...
chef 3748 Posted June 23, 2017 Share Posted June 23, 2017 Cool, so I can't figure out the rtsp stream for my setup, but it doesn't mean that the plugin doesn't work. I have a couple more config settings to iron out then I'll put a DL link here. I can't test it because my setup is totally sucking... But it should work Link to comment Share on other sites More sharing options...
chef 3748 Posted June 24, 2017 Share Posted June 24, 2017 I have done it! Tested and working.... it is almost ready. I just need it configurable! 3 Link to comment Share on other sites More sharing options...
gjviii 48 Posted June 24, 2017 Share Posted June 24, 2017 I have done it! Tested and working.... it is almost ready. I just need it configurable! nice work Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted June 24, 2017 Share Posted June 24, 2017 (edited) I have done it! Tested and working.... it is almost ready. I just need it configurable! An inter operable plugin imo would be by far the most adaptable and useful advancement for Emby, imagine getting a Popup during a movie, the movie pauses (if you configure it to interrupt during movie) and is notification staying it a Skype call and its your mother in law is calling, you immediately click ok to accept and start talking on a call (hidden Mic) to your mother in law (joke)....Or a popup with security camera back door motion alert triggered (if allowed) click ok and the live feed for the camera pops up, then click close to return to the movie ..Etc etc Plus imagine all the home automation people that a plugin like this would draw to emby, why go with other software when you can get messages/etc from your devices when watching media in Emby (with the right client) . Edited June 24, 2017 by PrincessClevage 1 Link to comment Share on other sites More sharing options...
chef 3748 Posted June 24, 2017 Share Posted June 24, 2017 (edited) Here is the Download to test it out. Maybe I create a new thread?? https://www.dropbox.com/s/k3lig2n9bwa3hye/IPCam.zip?dl=0 It creates a channel called "IPCam" - I'd change it if someone has a better name for it. Go under Plugins and create a new camera Give an ID, it can be anything you want, but don;t duplicate Id's between streams.... Don't cross the streams Give the stream enough time to start, I've waited about fifteen seconds. Just the way it is. @@Sammy Edited June 24, 2017 by chef 1 Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted June 24, 2017 Share Posted June 24, 2017 (edited) Here is the Download to test it out. Maybe I create a new thread?? https://www.dropbox.com/s/k3lig2n9bwa3hye/IPCam.zip?dl=0 It creates a channel called "IPCam" - I'd change it if someone has a better name for it. Go under Plugins and create a new camera Give an ID, it can be anything you want, but don;t duplicate Id's between streams.... Don't cross the streams Give the stream enough time to start, I've waited about fifteen seconds. Just the way it is. @@Sammy I Get error: File not found Sorry, that file doesn’t live here any more. It might have been moved or made private. Worked after several attempts:-/ Edited June 24, 2017 by PrincessClevage Link to comment Share on other sites More sharing options...
chef 3748 Posted June 24, 2017 Share Posted June 24, 2017 I Get error: File not found Sorry, that file doesn’t live here any more. It might have been moved or made private. Worked after several attempts:-/ Where do you see that error? is it in the Channel screen? Link to comment Share on other sites More sharing options...
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