What is the URL to stream directly from my IQeye camera?

IQeye camera can stream video in MJPEG mode as well as H.264 mode

You can request these stream directly from the camera to be used in your own application.

(In below samples, you need to replace <camera_ip> with the IP address of your IQeye camera.)

MJPEG mode:
If you want to pull the MJPEG stream from the camera, you can use:

http://<camera_ip>/now.jpg?snap=spush
This will deliver a stream of JPG images in a so called server-push protocol.

Server push is a method for sending updating data to a web page. The camera sends streaming images as
server push streams of JPEG images separated by HTML tags using multipart MIME encoding. The camera
will continue sending image data as fast as it is allowed until the HTTP connection is closed.

You can use http://<camera_ip>/now.jpg?snap=spush in utilities like VLC Player.

Internet Explorer can not deal directly with the server push stream. Chrome and Firefox can.
Fortunately, the live stream is also offered in a html page called http://<camera-ip>/livevid.html
This page loads the ActiveX control in IE, and in other browsers it will automatically initiate a JAVA applet.
The ActiveX allows IQ to decode the server push stream.
The page http://<camera-ip>/livevid.html allows us to easily embed the stream in any HTML page.

There are several modifiers for the URL http://<camera_ip>/now.jpg?snap=spush
For instance, http://<camera_ip>/now.jpg?snap=spush0.25 will only stream 4 frames per second.
Or http://<camera_ip>/now.jpg?snap=spush&pragma=trigger will also include the trigger info (motion/input) in the metadata.

Note: a single static JPG image can be obtained by using http://<camera_ip>/now.jpg
So this is just a snapshot of the camera image, taken at the moment the command was issued.

More details can be found in our API manual:
http://www.iqeye.com/sites/default/files/downloads/Network%20API%20manual.pdf 
Chapter 6: Serverpush Stream

 

H.264 Streams
You can pull the RTSP (H.264) stream from the camera with a simple:

rtsp://<camera_ip>

You can use VLC Player, and then use ‘Open network stream’, and specify for instance rtsp://10.120.2.123 and the video should play.

Above is the simplest form.
There are more options possible, such as:
rtsp://<camera_ip>/stream1 for the high resolution stream
rtsp://<camera_ip>/stream2 for the low resolution stream
etc.

Or
rtsp://<camera_ip>/now.mp4&res=high for the high resolution stream
rtsp://<camera_ip>/now.mp4&res=low for the low resolution stream

More details in our API manual:
http://www.iqeye.com/sites/default/files/downloads/Network%20API%20manual.pdf
Chapter 10: H.264 Streams

 

Related articles:

How can I re-stream MJPEG from my camera to my website?
https://vicon-security.zendesk.com/entries/38635748-How-can-I-re-stream-MJPEG-from-my-camera-to-my-website-

How can I re-stream H.264 from my camera to my website?
https://vicon-security.zendesk.com/entries/23857373-How-can-I-re-stream-H-264-from-my-camera-to-my-website-

How can I view an IQeye camera on a mobile device?
https://vicon-security.zendesk.com/entries/23738681-How-can-I-view-an-IQeye-camera-on-a-mobile-device-

How to get a single static image from an IQeye camera?
https://vicon-security.zendesk.com/entries/23629866-How-to-get-a-single-static-image-from-an-IQeye-camera-

And the section Developers info of the Knowledge Base:
https://vicon-security.zendesk.com/forums/23056618-Developer-Info

 

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.