Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


vps to capture video feed
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

vps to capture video feed

akzakz Member

does anyone know of any opensource software that runs on ubuntu that can record a video feed of a security camera? I have a security camera hooked up at home but nothing recording I can view the camera thru an app on my android phone was wondering is there any app that can feed off the link and record the feed?

Comments

  • geekalotgeekalot Member
    edited April 2014

    @akz, try ZoneMinder (though I have primarily run it on bare metal on thin clients with a capture card). But, it does work with all types of cameras.

    Good luck

  • akzakz Member

    @geekalot said:
    akz, try ZoneMinder (though I have primarily run it on bare metal on thin clients with a capture card). But, it does work with all types of cameras.

    Good luck

    thanks, will take a look and see if I can get it running on a idle vps

  • blackblack Member

    Do you know what protocol it's using to stream the data?

  • akzakz Member

    @black said:
    Do you know what protocol it's using to stream the data?

    that im not sure the camera is a wanscam AJC2WA-C198 currently I access it through a web interface on a open port on my home router.

  • blackblack Member

    You can't see it in browser? If you can only watch it in an app it'll take some reverse engineering.

  • akzakz Member

    @black said:
    You can't see it in browser? If you can only watch it in an app it'll take some reverse engineering.

    I can watch it in a browser, just need a login and password to the web interface. I was just saying that I can also use an ip camera app to watch from my android as well.

  • blackblack Member

    Look at the html source code for the page, see how it's getting the video feed.

  • akzakz Member

    looks like it feeds fro ma java script the code used to feed the video feed is

    <img td="" <="" src="videostream.cgi?rate=0&user=username&pwd=password">

  • @akz : Video encoding can be IO or CPU intensive. Make sure to clear it with your provider, so they don't get bent out of shape if you end up near some of your CPU/IO limits.

  • akzakz Member
    edited April 2014

    @rajprakash said:
    akz : Video encoding can be IO or CPU intensive. Make sure to clear it with your provider, so they don't get bent out of shape if you end up near some of your CPU/IO limits.

    yah I agree, thanks for the reminder. Hopefully the quality of the video isnt that hq so hopefully the IO/CPU usage wont be as high.

  • joereidjoereid Member
    edited April 2014

    I've used ffmpeg for capturing an ip cam's video and streaming it using ffserver. You could do the same thing to capture to a local file though. This would take in the input from the camera and transcode to x264 at 128Kbps

    /path/to/ffmpeg -re -i http://10.1.4.1/img/video.mjpeg -vcodec libx264 -b:v 128k /path/to/outputfile.mp4

    You can do just about anything video/audio related with ffmpeg. I recently figured out how to make iPod bookmarkable audio books (.m4b) files out a pile of MP3s. Very handy...

    Edit: Obviously video transcoding is CPU intensive. If your output format matches the input format (bitrate, codec, container) that would greatly reduce the amount of CPU needed to recording the stream.

  • Hmmm, interesting. Is there an iOs app that can use the iPhone's app to serve video to a VPS with ffmpeg?

  • akzakz Member

    how much ram and cpu are we talking about here min?

Sign In or Register to comment.