Ticket #1704: freebox.readme

File freebox.readme, 1.5 KB (added by mythtv@…, 18 years ago)

Explains how to use it with VLC as a VOD server

Line 
1The Freebox recorder was originaly written to retrieve TV channels from the
2Freebox (the modem used by ISP free.fr) using the rtsp protocol.
3
4External streams can be imported even if you don't have the Freebox modem,
5thanks to the VOD functions of VLC.
6
7Here are the scripts I used to test the FreeboxRecorder when I didn't have
8access to the freebox's channels. I hope it could be extended by VLC gurus to
9import/transcode external streams like nasatv.
10
11===== vlcserver.sh =====
12#!/bin/sh
13vlc -vvv --color -I telnet --telnet-password toto --rtsp-host 0.0.0.0:5554
14========================
15
16===== vlcconfig.sh =====
17#!/bin/sh
18(
19echo 'toto'
20cat vlc.vod.conf
21echo 'quit'
22) | telnet localhost 4212
23========================
24
25===== vlc.vod.conf =====
26new test vod input /home/mykeul/test.mpeg mux mp2t enabled
27new test2 vod input /home/mykeul/test2.mpeg mux mp2t enabled
28========================
29
30vlcserver.sh starts vlc as a VOD server, and wait for its configuration on
31port 4212 (telnet interface).
32
33vlcconfig.sh connects to the telnet interface of the previous vlc VOD server,
34and configures it using the vlc.vod.vonf file.
35
36vlc.vod.conf contains the commands to configure the different streams to be
37served by the VOD server.
38
39
40The playlist.m3u originaly served by the freebox modem, may be served by a
41local http server. Here is a simple one to connect to the previously configured
42vlc server.
43
44===== playlist.m3u =====
45#EXTM3U
46#EXTINF:0,1 - test
47rtsp://localhost:5554/test
48#EXTINF:0,2 - test2
49rtsp://localhost:5554/test2
50========================