gst-plugin-linescan/network_guide.md
2025-11-14 17:00:20 +02:00

978 B

how to send a line

real data

gst-launch-1.0 idsueyesrc config-file=ini/200fps-2456x4pix-cw.ini exposure=5 framerate=300  `
    ! queue `   
    ! udpsink host=127.0.0.1 port=5000

note: 5ms is bit too fast for us

Python/OpenCV Receiver

uv run scripts/recv_raw_column.py

or rolling like

uv run .\scripts\recv_raw_rolling.py

See scripts/recv_raw_column.py for the Python implementation with debug options.

demo data

Sender (crop to first column, send raw over UDP)

gst-launch-1.0 -v `
    videotestsrc pattern=smpte ! `
    videocrop left=0 right=639 top=0 bottom=0 ! `
    video/x-raw,format=RGB,width=1,height=640,framerate=30/1 ! `
    udpsink host=127.0.0.1 port=5000

GStreamer Receiver (raw UDP → display)

gst-launch-1.0 -v `
    udpsrc port=5000 caps="video/x-raw,format=RGB,width=1,height=640,framerate=30/1" ! `
    videoconvert ! `
    autovideosink