Copyright @ CAYIN Technology Co., Ltd. 1
How to send network stream from a PC
capture device to SMP by VideoLAN player
1. Introduction .............................................................................................................................. 1
2. Before Getting Started ............................................................................................................. 1
3. VideoLAN player background ................................................................................................. 2
4. Test your capture device by VLC ............................................................................................. 2
5. Stream out the captured video to network................................................................................ 4
1. Introduction
In this document, we will show you how SMP players can playback streaming video from
your PC with the help of VideoLAN player.
2. Before Getting Started
You need to prepare the following items before you can use this function.
An SMP player that connects to a display
A display that can show content
A PC that installs a PC capture device and VideoLAN player
Network, better test in a LAN
How to send network stream from a PC capture device to SMP by VideoLAN player
Copyright @ CAYIN Technology Co., Ltd. 2
3. VideoLAN player background
VideoLAN (VLC) is an open source project lead by a team of volunteers. For more
information regarding to this project, please check http://www.videolan.org/videolan/.
VideoLAN version: This guide is based on VideoLAN player (VLC) V2.0.0 on
Microsoft Windows
Download VideoLAN: You can download VideoLAN player from its website at
http://www.videolan.org/
4. Test your capture device by VLC
A. A PC capture device is a hardware connected to your PC with PCI, USB, or any kind of
interface. VLC supports Directshow to grab video frames from a capture device. VLC can
play video locally or send (transcode) it to other network appliances. Here is the hardware
compatibility list of VLC: http://wiki.videolan.org/Hardware_Compatibility_list.
B. Make sure your capture device is well-connected and the driver (with directX support) is
properly installed.
C. Open VLC and choose Media Open Capture Device…
How to send network stream from a PC capture device to SMP by VideoLAN player
Copyright @ CAYIN Technology Co., Ltd. 3
D. Configure proper settings based on your situation.
Capture mode: DirectShow
Video device: Your capture device
Audio device: Your capture device or PC Line-in1
Video size (optional): Enter a preferred video size (leave it blank for the default size)
If you need to configure more settings, please click “Configure” or “Advanced
options…” to enter a dialog box with more advanced options.
E. Click “Play”; then, you should be able to see the video output on your PC’s display.
1 Audio device might be an option for you application.
How to send network stream from a PC capture device to SMP by VideoLAN player
Copyright @ CAYIN Technology Co., Ltd. 4
5. Stream out the captured video to network
A. Follow the Step A to D in the previous section to choose your capture device. Click on the
arrow next to the “Play” button and choose “Stream”.
B. Click “Next” in the stream setting dialog box.
C. Choose an appropriate streaming protocol in this step. VLC has several streaming
destinations (protocols) and 3 of them are compatible with SMP players. They are:
How to send network stream from a PC capture device to SMP by VideoLAN player
Copyright @ CAYIN Technology Co., Ltd. 5
HTTP
RTP / MPEG Transport Stream
UDP
You can choose 1 among the 3 protocols to send stream to SMP player. The following
section will show you how to configure each protocol.
D. Using HTTP protocol
(1) Choose “HTTP” in “New destination” and click “Add”.
How to send network stream from a PC capture device to SMP by VideoLAN player
Copyright @ CAYIN Technology Co., Ltd. 6
(2) Port: Enter 80. It is the default HTTP port.
(3) Path: Leave “/” (default root)
(4) Activate Transcoding: On
(5) Profile: Choose “Video – MPEG-2 + MPGA (TS)”
(6) Click “Stream” to start a HTTP stream.
(7) Configure the SMP player:
In SMP player, you must choose “HTTP/MMS streaming” in the Multimedia area.
Enter your PC’s IP address in the “Enter URL” field with the format:
http://your_PC_ip.
E. Using RTP / MPEG Transport Stream
(1) Choose “RTP / MPEG Transport Stream” in “New destination” and click “Add”.
How to send network stream from a PC capture device to SMP by VideoLAN player
Copyright @ CAYIN Technology Co., Ltd. 7
(2) Address:
Unicast: Enter your SMP’s IP address
Broadcast: Enter broadcast address of your LAN (e.g. 172.16.255.255)
(3) Base port: Enter a port number (e.g. 8100)
(4) Activate Transcoding: On
(5) Profile: Choose “Video – MPEG-2 + MPGA (TS)”
(6) Click “Stream” to start a RTP stream.
(7) Configure the SMP player:
In SMP player, you must choose “Realtime Transport Protocol (RTP)” in the
Multimedia area. Select “unicast/broadcast” and enter the same port number in step
(3).
How to send network stream from a PC capture device to SMP by VideoLAN player
Copyright @ CAYIN Technology Co., Ltd. 8
F. Using UDP
(1) Choose “UDP” in “New destination” and click “Add”.
(2) Address:
Unicast: Enter your SMP’s IP address
Broadcast: Enter broadcast address of your LAN (e.g. 172.16.255.255)
(3) Port: Enter the port number 8100
(4) Activate Transcoding: On
(5) Profile: Choose “Video – MPEG-2 + MPGA (TS)”
(6) Click “Stream” to start a RTB stream.
(7) Configure the SMP player:
In SMP player, you must choose “RTB Client (Streaming from CMS)” in the
Multimedia area. Choose “unicast/broadcast” and select channel 1 (port 8100). If
you choose another channel, please enter the correspondent port number in step (3).
How to send network stream from a PC capture device to SMP by VideoLAN player
Copyright @ CAYIN Technology Co., Ltd. 9
G. When you set “Profile”, please choose “Video – MPEG-2 + MPGA (TS)” in the above
steps. You can edit more options (e.g. bit rate) by clicking on the icon next to the option.
Choosing an appropriate bit rate helps you get a good balance between the bandwidth and
video quality.