Author Topic: setting up Roundrobin on motionwrapper for cameras  (Read 3100 times)

mwise101

  • Newbie
  • *
  • Posts: 6
    • View Profile
setting up Roundrobin on motionwrapper for cameras
« on: October 03, 2009, 02:07:33 am »
Does anyone know how to setup a roundrobin on a car that has mulitiple inputs but only can view one channel at a time? I found the commands on lavrsen.dk wiki but didn't seem to do what I wanted it to.  I'm not even sure how to direct motionwrapper to the correct video card (/dev/video0 or what?). Please excuse my ignorance, but I'm not finding any information on this and have been battling it for sometime now. Hope someone has run into this and knows an answer.  also, do I need to use command videodevice /dev/video0 or whatever in my settings in the motionwrapper advance setup page?  Thanks for any help anyone can offer.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: setting up Roundrobin on motionwrapper for cameras
« Reply #1 on: October 03, 2009, 02:10:16 am »
it looks like we need to add some additional device data and code to call a select input script in a device template.

-Thom

mwise101

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: setting up Roundrobin on motionwrapper for cameras
« Reply #2 on: October 03, 2009, 03:10:04 am »
Sounds good.  I guess you are referring to the security cameras section on the configuration page and not any motion wrapper settings.  Also, how many camera devices will I setup?  I'm just curious.  Here's the settings for motionwrapper as is:

#image settings
frequency 0
rotate 0
width 640
height 480
framerate 30
auto_brightness off
brightness 128
contrast 128
saturation 128
hue 128

#http control
control_localhost off
control_html_output on
control_port 8888

#filters
despeckle EedDl
lightswitch 50
minimum_motion_frames 5
night_compensate on

#detection
noise_tune on
threshold_tune on
smart_mask_speed 5
gap 5
post_capture 5
pre_capture 3

#output
locate preview
text_double on
webcam_quality 70
webcam_maxrate 30
text_changes on
text_right %d-%m-%Y\n%T

#input
roundrobin_frames 1
roundrobin_skip 2

#movies
ffmpeg_cap_new on
ffmpeg_timelapse 60
ffmpeg_timelapse_mode daily
ffmpeg_video_codec msmpeg4

#snapshot config
snapshot_interval 60
snapshot_filename %Y/%m/%d/%H/%M_%S
jpeg_filename %Y/%m/%d/%H/%M_%S
ffmpeg_filename movies/%d_%m_%Y_%H_%M_%S
timelapse_filename %Y/%m/%d-timelapse


it looks like we need to add some additional device data and code to call a select input script in a device template.

-Thom