| 1 |
2 |
kdv |
vdr [1] is a digital video recorder program, optionally extended with plugins.
|
| 2 |
|
|
The streamdev [2] plugin allows vdr to stream video over the LAN.
|
| 3 |
|
|
This document describes briefly how to configure vdr with streamdev to
|
| 4 |
|
|
stream live TV to the ML505.
|
| 5 |
|
|
|
| 6 |
|
|
Assume the ML505 has been assigned ip address 192.168.153.9,
|
| 7 |
|
|
and the vdr system uses ip address 192.168.153.3.
|
| 8 |
|
|
Start up the Xilinx ML505 with the mpeg2fpga bitstream.
|
| 9 |
|
|
|
| 10 |
|
|
On the vdr system, set up the arp entry for the ML505:
|
| 11 |
|
|
|
| 12 |
|
|
pandora ~ # arp -s 192.168.153.9 01:02:03:04:05:06
|
| 13 |
|
|
|
| 14 |
|
|
Using the remote control, enable the vdr-to-vdr server in streamdev,
|
| 15 |
|
|
using the default port 2004.
|
| 16 |
|
|
|
| 17 |
|
|
Next, telnet to the streamdev port:
|
| 18 |
|
|
|
| 19 |
|
|
koen@macpro ~ $ telnet 192.168.153.3 2004
|
| 20 |
|
|
Trying 192.168.153.3...
|
| 21 |
|
|
Connected to 192.168.153.3.
|
| 22 |
|
|
Escape character is '^]'.
|
| 23 |
|
|
220 Welcome to Video Disk Recorder (VTP)
|
| 24 |
|
|
CAPS PES
|
| 25 |
|
|
220 Capability "PES" accepted
|
| 26 |
|
|
PORT 0 192,168,153,9,64,1
|
| 27 |
|
|
220 Port command ok, data connection opened
|
| 28 |
|
|
TUNE 1
|
| 29 |
|
|
220 Channel tuned
|
| 30 |
|
|
QUIT
|
| 31 |
|
|
221 Video Disk Recorder closing connection
|
| 32 |
|
|
Connection closed by foreign host.
|
| 33 |
|
|
koen@macpro ~ $
|
| 34 |
|
|
|
| 35 |
|
|
streamdev commands explained:
|
| 36 |
|
|
"CAPS PES": ask for a packetized elementary stream to be sent
|
| 37 |
|
|
"PORT 0 192,168,153,9,64,1": send the PES stream to IP address 192.168.153.9, port 16385 (=64*256+1)
|
| 38 |
|
|
"TUNE 1": Tune to first channel in channel list
|
| 39 |
|
|
A PES stream is sent to the ML505, and video is decoded.
|
| 40 |
|
|
If need be, modeline parameters can be modified "on the fly" using mpeg2ether.
|
| 41 |
|
|
"QUIT": Ends video streaming
|
| 42 |
|
|
|
| 43 |
|
|
koen
|
| 44 |
|
|
Wed Apr 16 18:31:51 CEST 2008
|
| 45 |
|
|
|
| 46 |
|
|
[1] http://www.linuxtv.org/vdrwiki/index.php/Main_Page
|
| 47 |
|
|
[2] http://streamdev.vdr-developer.org/
|