• April 23, 2024, 03:39:45 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Continous recording to an external PC  (Read 5933 times)

lmu

  • Level 1 Member
  • *
  • Posts: 7
Continous recording to an external PC
« on: February 28, 2013, 01:43:31 AM »

Hi,

I would like to record the camera feed (per 5 min. files) on my server (ubuntu or windows)

I Installed a FTP server and tried the option "always" in the "video clip" section, but unfortunately, it seem not possible to record more than 10 seconds files every 60 seconds  >:(. I think that this is a bug ?

Do you know, if we have a possibility to record the camera feed, I would like to manage it from the webcam or with an external program running as a service.

Thanks in advance for your help,
Laurent
« Last Edit: February 28, 2013, 01:45:15 AM by lmu »
Logged

Allen

  • Level 2 Member
  • **
  • Posts: 37
Re: Continous recording to an external PC
« Reply #1 on: February 28, 2013, 09:22:54 PM »

Suggest you to use D-ViewCAM to do the recording. This more make sense.
Logged

Max G.

  • Level 1 Member
  • *
  • Posts: 6
Re: Continous recording to an external PC
« Reply #2 on: February 28, 2013, 11:29:41 PM »

You can make this with ffmpeg tool on Linux Server
Logged

lmu

  • Level 1 Member
  • *
  • Posts: 7
Re: Continous recording to an external PC
« Reply #3 on: March 01, 2013, 02:45:39 AM »

Hi,

I just test D-ViewCAM, but it seems not working as a service. You need to open an (auto-)load the program to record the video. In addition, it create video in .dat format, didn't find a way to create a mpeg or avi format.

I'm surprise that D-link don't really need a simple solution to record the cam feeds.

ffserver seems better, not yet tested.

Regards,
Laurent
Logged

lmu

  • Level 1 Member
  • *
  • Posts: 7
Re: Continous recording to an external PC
« Reply #4 on: March 04, 2013, 05:30:09 AM »

Buying a NAS server for monitoring only seems a little excessive. If I have to change my hardware, I prefer to sell my D-Link cam and by an Axis one.

I know that Axis cam are able to record on a SMB share. http://www.axis.com/products/video/about_networkvideo/edge_storage/index.htm

Should be an standard feature for a network camera. Hope this option will be added in the next firmware from DLink.
Logged

Max G.

  • Level 1 Member
  • *
  • Posts: 6
Re: Continous recording to an external PC
« Reply #5 on: March 20, 2013, 06:35:34 AM »

This is simple bash-script for recording camera using ffmpeg.
In my case - i use 3 DCS-942L over RTSP.
In this script - connected 2 camera, but you can connect as many cameras - as needed. just duplicate some string (from "-i" to filename.avi).
I welcome your comments and suggestions!

Camera settings - on "Image and Video" for Profile 1 - set H264, CBR - 2 Mbps)

Code: [Select]
#!/bin/bash
nice -n 19 ffmpeg \
-i rtsp://IP_ADDRESS_CAM1:554/play1.sdp \
    -rtsp_transport udp \
    -metadata title="INSERT NAME OR SOME TITLE FOR CAM" \
-vcodec libx264 \
-r 30 \
-s 640x480 \
-aspect 4:3 \
-b:v 2048k \
-minrate 2048k \
-maxrate 2048k \
-profile:v baseline \
-preset ultrafast \
-threads 4 \
-acodec pcm_mulaw \
-b:a 64k \
    -ac 1 \
-bufsize 4096k \
    -map 0 \
cam_1_1.avi \
-i rtsp://IP_ADDRESS_CAM2:554/play1.sdp \
-rtsp_transport udp \
    -metadata title="INSERT NAME OR SOME TITLE FOR CAM" \
-vcodec libx264 \
-r 30 \
-s 640x480 \
-aspect 4:3 \
-b:v 2048k \
-minrate 2048k \
-maxrate 2048k \
-profile:v baseline \
-preset ultrafast \
-threads 4 \
-acodec pcm_mulaw \
-b:a 64k \
    -ac 1 \
-bufsize 4096k \
    -map 2\
    -t 86400 \
cam_2_1.avi \
    -loglevel debug \
    -report
Logged