40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Message ID: 847     Entry time: Mon Aug 18 15:32:18 2008
Author: josephb 
Type: Configuration 
Category: Cameras 
Subject: How to multicast with gstreamer and Gige Cameras 
In order to get multicasting to work, one simply needs to understand the address scheme.

In general, the address range - are reserved for multicasting. Within in this address space, there are some base level operations in the 224.0.0.x range which shouldn't be interfered with.

For a single site, the address range between and is probably best.

Gstreamer and the current 40m network hubs are designed to handle this kind of communication already, so one merely needs to point them at the correct addresses.

While in /cvs/cds/caltech/target/Prosilica/40mCode/SnapCode type:

CamServe -F 'Mono8' -c 44058 -E 20000 -X 0 -Y 0 -H 480 -W 752 -l 0 -m 300 | gst-launch-0.10 fdsrc fd=0 blocksize=360960 ! video/x-raw-gray, height=480, width=752, bpp=8,depth=8,framerate=60/1 ! ffmpegcolorspace ! queue ! smokeenc keyframe=8 qmax=40 ! udpsink host= port=5000

This will multicast to the address, using port 5000.

On the machine you wish to subscribe type:

gst-launch udpsrc multicast-group= port=5000 ! smokedec ! ffmpegcolorspace ! ximagesink sync=false
ELOG V3.1.3-