Streaming; Stream Data Structure - Leuze electronic LCAM 408i User Manual

Industrial ethernet camera
Table of Contents

Advertisement

3.6

Streaming

To watch the streamed image with the VideoLANClient VLC on a 64-Bit Windows system use the line:
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" tcp://IPaddress:5001 --network-caching=0
Fill in the IP address of the camera and adjust the path to vlc.exe as needed.
The typical setting in VLC looks like this:
Be sure to set caching and IP address if not done so on the command line.

3.6.1 Stream data structure

To access the video data in your own software, open a socket to port 5001 of the camera and scan
the incoming data for the separator string ---jworudfg83h23lsow2z04. The following line contains the
content type and the next the length of the image data.
The typical structure of the stream data is:
---jworudfg83h23lsow2z04
Content-Type: image/jpeg
Content-Length: 200976
|
|
jpeg
data
here
|
|
---jworudfg83h23lsow2z04
Content-Type: image/jpeg
Content-Length: 200437
|
|
11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents