Difference between revisions of "Str"
Line 1: | Line 1: | ||
− | + | == Streamer for the elphel353 v8.0.4== | |
+ | The streamer is a standard RTSP streamer and supports unicast or multicast streaming of video with audio. | ||
+ | |||
+ | == Watching a unicast video stream from the streamer == | ||
+ | The camera will automatically be setup for unicast streams by default. | ||
+ | With Mplayer all you need to do is use the following command: | ||
+ | mplayer rtsp://192.168.0.1:554 | ||
+ | This will start broadcasting the video stream to your computer. | ||
+ | |||
+ | == Enabling and watching multicast video stream from the streamer == | ||
+ | Sometimes you need to have more than one computer viewing the stream. In order to do this you have to enable multicast. In unicast mode the camera only broadcasts the video if there is a client connection. Enabling multicast will mean that it is broadcasting all of the time and is not initiated by a client request. In order to enable the multicast option in version 8.0.4 you can't use the camera control interface. Instead use the Parameter Editor. Select the Streamer checkbox and click on View/Edit Current. This will open a new window/tab and you should see the option STROP_MCAST_EN. Change the value to 1, verify the apply box is checked and then click the Apply button. The camera is now in multicast mode and is always broadcasting the video. | ||
+ | |||
+ | With Mplayer you can use the same command to enable the viewing of the stream: | ||
+ | mplayer rtsp://192.168.0.1:554 | ||
+ | This will download a SDP file from the camera which will tell the computer where it can connect to view the multicast stream. | ||
+ | |||
+ | == Adding audio to the Streamer (in version 8.0.4 using mplayer has issues with syncing audio with the video and does not work in multicast mode once the second client connects)== | ||
+ | If you want to add audio to your stream you just have to use a usb audio device that is compatible with the alsa drivers. Connect the USB audio device to the usb port and connect your mic. You can only enable audio in the stream by using the parameter editor select the Streamer checkbox and click on View/Edit Current. This will open a new window/tab and you should see the option STROP_AUDIO_EN. Change the value to 1, verify the apply box is checked and then click the Apply button. |
Revision as of 13:42, 5 June 2009
Contents
- 1 Streamer for the elphel353 v8.0.4
- 2 Watching a unicast video stream from the streamer
- 3 Enabling and watching multicast video stream from the streamer
- 4 Adding audio to the Streamer (in version 8.0.4 using mplayer has issues with syncing audio with the video and does not work in multicast mode once the second client connects)
Streamer for the elphel353 v8.0.4
The streamer is a standard RTSP streamer and supports unicast or multicast streaming of video with audio.
Watching a unicast video stream from the streamer
The camera will automatically be setup for unicast streams by default. With Mplayer all you need to do is use the following command:
mplayer rtsp://192.168.0.1:554
This will start broadcasting the video stream to your computer.
Enabling and watching multicast video stream from the streamer
Sometimes you need to have more than one computer viewing the stream. In order to do this you have to enable multicast. In unicast mode the camera only broadcasts the video if there is a client connection. Enabling multicast will mean that it is broadcasting all of the time and is not initiated by a client request. In order to enable the multicast option in version 8.0.4 you can't use the camera control interface. Instead use the Parameter Editor. Select the Streamer checkbox and click on View/Edit Current. This will open a new window/tab and you should see the option STROP_MCAST_EN. Change the value to 1, verify the apply box is checked and then click the Apply button. The camera is now in multicast mode and is always broadcasting the video.
With Mplayer you can use the same command to enable the viewing of the stream:
mplayer rtsp://192.168.0.1:554
This will download a SDP file from the camera which will tell the computer where it can connect to view the multicast stream.
Adding audio to the Streamer (in version 8.0.4 using mplayer has issues with syncing audio with the video and does not work in multicast mode once the second client connects)
If you want to add audio to your stream you just have to use a usb audio device that is compatible with the alsa drivers. Connect the USB audio device to the usb port and connect your mic. You can only enable audio in the stream by using the parameter editor select the Streamer checkbox and click on View/Edit Current. This will open a new window/tab and you should see the option STROP_AUDIO_EN. Change the value to 1, verify the apply box is checked and then click the Apply button.