3

I want to monitor my IP cam on my TV (both set to 1920 x 1080p). Since the IP cam uses ethernet and the TV has HDMI, I'm hoping my RPi2 will be a suitable interface. At this point, I'm unsure of my next step. How do I find the right software, or determine if this is even possible?

EDIT:

Now that I've become a bit more familiar with the Stack Exchange sites' format, etiquette, "best practices" etc., (Meta Stack Exchange was very helpful), I think I should elaborate on this question. I should have stated the constraints I was under, not in comments, but up here in the question (seems painfully obvious now):

The IP cam is currently connected to a security NVR. I've created some VLANS on a managed network switch, making one of the IP cams "shared" (ie it will be available to the the guest VLAN as well as the the security VLAN). This will allow me to send live video to an entrance way monitor (like in convenience stores). For this, I'm using an ordinary TV which has an HDMI input. I have no equipment available to work with, and my budget is low, so a PC with Windows isn't an option. That's why I'm trying to use the RPi2 as originally described in this question.

I've gotten good responses to this question, but wasn't able to make any of them work (there was always something I got stuck on). Pressure to complete my task made me improvise a solution; so I've decided to take the "answer your own question" route in order to update my situation and finalize this question. From my research, I'm inclined to believe I should use proper etiquette and wait before accepting my own answer. Since this post is over six months old, I'll wait at least a couple of weeks.

FINAL EDIT: It's almost three months since my last edit, so I figure it's time to put this post out of its misery. I was considering answering my own question, until I realized that my "Answer" wouldn't really answer my original question! So in order to be consistent with the SE format, I won't accept my own answer, or even post an answer at all because, well I don't have one. I would like, however, to wrap up this post since there has been at least SOME, interest in the question. Ummm, ahh, who am I trying to fool?! This post is the most auspicious thing I've done here at the SE sites! Anyway, just to tie up loose ends: how I finally completed my task (described above), ended up not even using a RPi. I found a 4-channel security NVR on eBay for US$ 28 and just use it as a converter box: it connects to the LAN network switch via its ethernet port, and sends out a video signal to a TV using its HDMI port. Just like I wanted to do in my "Question". Only thing is, it's not a RPi, and so I don't consider that to be an acceptable answer. I have, however made some progress learning to use my RPi. I never dreamed it would be so difficult for me when I started out eleven months ago. I had only ever used a WIN PC before, so I just took a little double click on your basic SETUP icon for granted. I HAD NOOOO IDEA!!!! Wow, what a shock it was to find out how involved loading up some software really is. And I still can't really handle it unless I can use a single APT-GET command and run it off my GUI desktop! But I did learn how to use it to control stuff over the WAN when I use my home PC to connect with a little SOCKET connection on my RPi I managed to string up, along with some bits of Python code I cobbled together. Nothing fancy by any means, BUT IT DOES GET THE JOB DONE! So I'll take any small victory I can get. Besides, now that the pressure is off, I actually find using my RPi... FUN!!!

PS I'm not really sure if it is considered good etiquette to accept an answer that I never even tried to implement but, OH well. If I come across information that says otherwise, I will change my acceptance at that point. The answer which I came the closest to actually succeeding at was the one given by Jon Clean that uses the NENPL solution using OMXPLAYER. The only thing that stopped me was finding out the URL of any one of my IP cams. I tried using Firefox's developer window to inspect pages of my cams, but just couldn't find the proper address. Ooooh so close! But since I'm accepting an answer I haven't accomplished, I have to give it to the motionEyeOS solution given by Andrei. The installation instructions were FAR less intimidating. I'd like to actually try them one of these days!

  • Did you connect to your cams using a Windows machine? It is most likley you will need to use VLC. First get it working on windows and learn what codec its streaming on, what ports you need, etc. Some camera offer dual stream, local (HD) and remote (mobile/monitor) This could work using omxplayer if its h264 stream but dont hope for full HD with VLC on Pi, as its not hardware enabled. Maybe just mjpeg if you lucky. – Piotr Kula Feb 12 '16 at 21:16
  • @ppumkin The IP cam is currently connected to a security NVR. I want to take it off the LAN it's part of now, and connect it directly to my RPi2, which would then connect directly to a TV. I have no equipment available to work with, and my budget is low, so Windows isn't an option. The IP cam does have dual streams, but using 1920 x 1080p is a requirement I've been given. Yes, the the IP cam does use h264. I haven't looked into omxplayer, I thought it was for playing files already in storage and not from live streams. I'll now look into omxplayer though. Thanks! – user39664 Feb 12 '16 at 22:18
  • if it's a smart tv, just connect the ethernet cable to it and download software for ip cameras :) – Flash Thunder Feb 13 '16 at 10:08
  • @Flash Thunder: It isn't a smart tv. Even if it was, it wouldn't be a viable option because of something I left out of the question: the RPi2 will feed an HDMI splitter, which then feeds 3 tv's – user39664 Feb 13 '16 at 11:40
  • 1
    @VIC-20 I think that Raspberry could have a problem with fullhd. It's not that fast and hardware h264 encoder is doubtful, as encoding takes forever. Did you try to play real fullhd (with good bitrate) video on it? It's not smooth at all. – Flash Thunder Feb 15 '16 at 10:29
0

Actually you can and it's working pretty good. I own an ip camera with a raspi 2 also and i'm using this motioneyeos. https://github.com/ccrisan/motioneyeos/wiki It's pretty good and you can turn your raspi into a cam recorder. You can set it to record videos when it detects motion, you can be warned by mail if motion is detected etc. or you can just view your cam on your tv like you wanted. Check this software, might be what you need.

  • sorry for the long response time. I wanted to let you know that I found your answer to be the best one and I gave it Accepted status, even though I never even tried it out! Someday I might drum up the motivation to tackle it. What I liked about your solution was... uncluttered installation instructions and overall simplicity. I've yet to conquer the GIT HUB entity, but this path seems like the one I will have the best shot succeeding at. CHEERS! – user39664 Nov 13 '16 at 0:18
1

It is almost guaranteed if you can find the streaming address of the IP camera. You can use Kodi to handle the stream receiving. OpenELEC, LibreELEC and OSMC are three examples of Kodi-centric distributions for Raspberry Pi.

Just keep in mind that the Pi 1 may have trouble decoding anything other than H.264 (plus VC-1 and MPEG-2 if you bought the CODECs) at 1080p, as the above three formats are decoded using the GPU, and the CPU may have trouble keeping up with the task alone.

By the way, Raspberry Pi themselves makes excellent IP cameras too, using its camera module to capture the action. You may even run some OpenCV on it to identify and help capture critical moments of a crime scene.

0

Most IP Cameras encode video and stream using web service. RaspberryPI constraints are its cpu's ability to receive, decode and display a particular video in real-time. Consider looking up camera encoding specifications to determine video compression (H.264 or MJPEG) and application layer transport protocol (i.e. HTTP and RTSP) and matching that with the Pi's decoding capabilities. Please post solution. I have similar needs also. :)

  • OMXPlayer suggested by ppumkin seems plausible. See YouTube video: youtube.com/watch?v=fPXqHOpVV80 – Jon Clean Feb 16 '16 at 11:03
  • I tried sudo apt-get install omxplayer, and it said that I already had the latest version and that nothing was installed. When I installed sdlbasic the same way, it showed up in the main desktop menu under PROGRAMMING. Likewise, I did the apt-get install for ICEWEASEL, and it was right there under INTERNET. But when I tried omxplayer and motion, I'm left hanging. I'm so lost in this alien world of RPi/Linux. How do I get omxplayer going and have a look at my IP cam? I'll probably throw in the towel soon. I guess you can't teach an old Windows flunkie new Linux.(I'm too stupid) – user39664 Mar 17 '16 at 0:04
0

Depending on the output of the IP cam, if it's streaming it's video over the network anyways; the easiest and most user friendly way of doing this would probably be to set up Kodi. (flash OpenElec or OSMC to your SD card)

Kodi has proven its worth over the years (beeing the old XBMC). It's meant for video play back and supports CEC (so you can move around in the menus with your tv's remote if your TV supports CEC). But there is also a rest API.

The rest API allows for preexisting apps in the appstores of both android and apple (don't know about windows) to offer you TV remote-apps (look for apps like yatsee, kore, ...)

The whole setup of the Pi shouldn't last longer than an hour.

0

Kodi may not be best use for this application, as it expenses valuable cpu cycles to support a GUI that may not add value. The need for this utility is great for PI. After setting up one camera view, users will want to monitor several cameras at the same time. The question is no longer to determine if it can be done, but how many ip cameras can it support? This write up by NENPL looks promising. He uses a combination of OMXPlayer and scripts to display video from multiple IP cameras on the screen at the same type. See also: PI-powered surveillance camera monitoring display by NENPL, http://community.spiceworks.com/how_to/123787-raspberry-pi-powered-surveillance-camera-monitoring-display

0

I suggest you to use ZoneMinder to monitor your videos. It is really flexible and can be installed on a RPI2. You can manages your cameras, make recordings, motion detection, and you can generate webpage / streams with multiple cameras.

  • 1
    I did go to the Zoneminder site, but couldn't make it through the installation instructions. So I went to and registered in the forums and found a tutorial that was even MORE complicated it made my head spin! I read through the link you gave and was not encouraged. It's always the same thing: many people have widely different opinions and experiences, and there is no consensus. This would be great fun for those who can, but I can't even understand the question and the jargon used. I'll probably throw in the towel soon. I guess you can't teach an old Windows flunkie new Linux. – user39664 Mar 16 '16 at 23:53
0

These guys use aslo a Raspberry2 as netcamviewer with her own software.

https://www.netcamviewer.nl/index.php/nl/producten/netcamviewer-monitor

  • Although the link might provide the information to answer the question, all of the important bits need to be included in your answer. You need to provide some explanation. – Darth Vader Aug 15 '16 at 20:35
  • @Sayhello - while your answer may not meet all of the guidelines for giving a good answer (don't worry, you'll get better), it was actually quite valuable to me. It gave a solid answer to my question of whether or not the RPi2 was a suitable piece of hardware for my application: Answer = YES! – user39664 Aug 21 '16 at 3:38
-1

I believe you can if your browser supports it.

  • 1
    @Greenonline, not to be nitpicking here, but SE Arduino? ;) – Ghanima Feb 19 '16 at 12:27
  • Hi Skupsum, and welcome to SE Raspberry Pi. Could you expand your answer, i.e. give some examples, list which browser versions would support the OP's IP cam? As it stands your answer is of rather low quality. Take a look a some other people's answers to get an idea of the quality expected. – Greenonline Feb 19 '16 at 15:10
  • Well, it's an IP camera after all. Most should work on a browser if not a small app or maybe omxplayer. +1 – PNDA Feb 26 '16 at 9:44
  • @PandaLion98 The first thing I tried was using a web browser to view the IP cam, but was thwarted due to a missing plug-in. When I tried to find a solution, I came up empty (not available/ does not apply to RPi/Linux) I've only ever used Windows: either Internet Explorer or Firefox use the "Webcomponents" plug-in. The Chrome browser does not support it any more. I've been at this for over a month now and have failed at every turn. This Linux stuff has me perplexed, I'll probably throw in the towel soon. I guess you can't teach an old Windows flunkie new Linux. Wanna buy a RPi2 for cheap? – user39664 Mar 16 '16 at 23:33
  • @VIC-20 I'm interested in that Pi2. – PNDA Mar 18 '16 at 11:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy