Connect Raspberry Pi to IP Cameras

Connect Raspberry Pi to IP Cameras
Can I Connect IP Cameras to Raspberry Pi?

“I’ve been playing around with my pi for several months now, using the likes of Raspbmc or openELEC. I’ve recently installed awireless IP camera outside which is connected to my home network.

My question is this: is it possible for my Raspberry Pi to connect to my camera and maybe record images/videos to an external HDD?”

It is an effective and cost-efficient way to DIY a security camera system with Raspberry Pi. This system can be used for a wide range of purposes, such as, use it as a baby monitor, secure your pets when you are out, and more.


Detailed Steps to Make a Raspberry Pi IP Camera Viewer

When you prepare all the things required for Raspberry Pi home security, here comes the most important part: how to make your own security camera system with Raspberry Pi.

Step 1: Select and install a screen, such as Adafruit PiTFT, NeoSec/Tiny, for your Raspberry Pi, so that you can view the camera feed on it. You can pick the perfect LCD or touch screen compatible with the Pi on Amazon and other online stores.

IP camera monitor

I don't have a chance to Buy IP Camera Now. But i created my own Raspberry PI with Raspberry PI Camera Module. The Raspberry PI Camera run with MJPG-streamer (http://sourceforge.net/projects/mjpg-streamer/)

Then another Raspberry PI, i created my own application with Kivy (http://www.kivy.org). Interesting i can view the Live Camera. But the performance on Raspberry PI is not as i want. Then i switch to run my application on another PC.


Download FLV videos from CBC.ca

I use Ant Video Downloader for my flash video downloading needs.

It's available for firefox and internet explorer (not for chrome yet)

http://www.ant.com/video-downloader/

Haven't tried on CBC, but maybe VideoDownloadHelper (works on Firefox)?

if you use firefox i use this.

http://www.downloadhelper.net/

downloads ANYTHING that streams from firefox. 

YouTube 1080p downloading

For YouTube 1080p downloading, I use this Firefox add-on:
http://www.yourvideofile.org/
While it works fine, it has some annoyances, so I keep it disabled, and only use it for 1080p. It doesn't require Firefox to reboot when you enable/disable it.

YouTube seems to have changed something for their 480p videos, also.
This is what one add-on writes about 1080/480p videos:
- 480p and 1080p are no longer available as standalone videos downloaded from youtube.com. YouTube switched to adaptive streams, and uses separate files for video and audio, which need to be merged to get a video file.

How to download FLV videos from CBC.ca

I've used all 3:
- Orbit Downloader
- Ant Downloader
- Download Helper

and none of them are able to download the FLV from CBC.ca

From what I can tell, CBC serves up an advertisement in FLV, then it serves up a 1 second black screen in FLV format, then it serves up the video. Since the video is not the starting FLV, none of the video download managers is able to detect the second FLV stream.

Can someone else provide guidance?

Here is the original link to the CBC video: http://www.cbc.ca/marketplace/2009/s...lace/main.html

How to download FLV videos from CBC.ca?

Is someone able to download this video from CBC.ca? It's just a MarketPlace video about how some companies try to screw us.

http://www.cbc.ca/video/swf/UberPlayer.swf?state=embed&RSI=cbc-production&clipId=1354327087&categoryTitle=Shows/Marketplace&site=&image=http://a123.g.akamai.net/7/1/8753/1w/cbcstorage.download.akamai.com/8753/maven_legacy/thumbnails/seven_sins_of_the_marketplace.jpg


I've managed to filter the URL down to just this:
http://www.cbc.ca/video/swf/UberPlayer.swf?state=embed&RSI=cbc-production&clipId=1354327087

but since CBC serves up an advertisement before the video, I am having difficulty capturing the FLV stream.

Is anybody able to provide guidance? I'm using Orbit Downloader to try to capture the stream.

How to download FLV videos

This might be tricky at first, or maybe the first few times, but once you get the hang of it, it's pretty quick.

For those vidoes you can't get the video IDs from, but have the episode IDs, try this:

In the URLs you posted mention the episode IDs(1721976, 1721977)

Append one of those IDs to the end of this URL:
Code:

http://www.mtv.com/global/music/videos/ajax/playlist.jhtml?id=

Now for the "wolf watch" show (1721977), it works as intended.
It brings up a playlist of the episode, of all 4 clips.
The video ID for each clip is listed at the bottom of the page:
1002049,1002050,1002051,1002053

You would append these video IDs to the end of this URL:
Code:

http://www.mtv.com/player/includes/mediaGen.jhtml?uri=mgid:uma:video:mtv.com:

(When you get your links from the XML pages, copy starting from /gps.alias/ to append to the final URL to watch/download)

MTV cuts their episodes into clips though, so in this case 4. So if you want to download this show you will have to download all 4 clips and join them together using some sort of mp4 joiner program to create a single seamless video.

Now for the actual episode (1721976), all I'm getting is a white page when I append the ID to the end of the URL above.
If I open up the browser console, I can see that the page is coming back "ACCESS DENIED". So they are intentionally blocking access to the playlist.

Download FLV videos from CBC.ca

Easy peasy.

RTMPDump and RTMPDumpHelper will do the trick for that video

Download:

RTMPDump (link)
Extract archive to folder on desktop (or anywhere).
RTMPDumpHelper (link)
Extract archive into the same folder.

Open rtmpsrv.exe (if it's first time windows firewall will ask for permission, allow it)
Command prompt should open saying streaming on rtmp://0.0.0.0:1935

Now open RTMPDumpHelper.exe
You should see two windows open, the dump helper and rtmpsuck.exe in another command prompt.
We aren't going to use rtmpsuck, so close the second command prompt.

Now go to your link (http://www.cbc.ca/player/News/Canada/BC/ID/2417295255/)

In the first command prompt window (rtmpsrv.exe) you should see the file begin to download.
The file is located in the same folder as the files (bc-131111-Goble-victory-square.flv)

Done.

Edit: I should mention I am using Firefox to do all this. For whatever reason I can't get RTMPDumpHelper to attach properly to the chrome process to capture the rtmp stream.

How to download FLV videos from CBC.ca?

It's super easy, so let me explain. This is using Firefox.

Here's a quick and fast version:

get video ID number from video page. Looks like 99XXXX in the URL.

Add ID to end of this URL: http://www.mtv.com/player/includes/mediaGen.jhtml?uri=mgid:uma:video:mtv.com:

Find the video bitrate URL you want.

Add everything after /sites/ from the video bitrate URL to this