[mythtv-commits] Ticket #1458: Patch to use freebox set top box ADSL modem as a TV source,

MythTV mythtv at cvs.mythtv.org
Sun Mar 5 09:23:25 UTC 2006

#1458: Patch to use freebox set top box ADSL modem as a TV source,
 Reporter:  laurent at clae.net  |       Owner:  ijr
     Type:  patch             |      Status:  new
 Priority:  minor             |   Milestone:     
Component:  mythtv            |     Version:     
 Severity:  medium            |  
 '''What is it?'''

 This is a first attempt to support Freebox internet set top box in myth TV
 as a TV source.
 Path is using livMedia library to enable RTSP support in mythtv. Patch is
 also heavily base on dbox2 input source, and portion of code is take from
 this source. Patch is based upon Svn version.

 Freebox is an internet ADSL triple play modem from the French provider
 Free. This modem support:
         - Access to internet (of course).
         - One analog phone port providing phone other IP.
         - And most interesting, about 150 TV channel.

 The TV channel can be delivered to the set top box audio/video output, or
 via the local area network, using RTSP protocol. With this last method,
 you can watch two or free different channel at the same time if you ADSL
 speed enable it (one channel is about 3-4 Mb/s).

 The provider, Free, use the Videolan VLC software for this
 When a user wants to see a channel, what append is:

     -   Open the VideoLan software.

     -   Open the network URL
 http://mafreebox.freebox.fr/freeboxtv/playlist.m3u. This
         URL point to an internal Http server in the Freebox which deliver
 the file
         playlist.m3u. This file contains a list of the channel support by
 the box.
         For each channel, the file will contains a line like this :

                 #EXTINF:0,2 - France 2

             This line contains the channel numbers, the channel name, and
 the rtsp
              url associate to this channel.

     -   User will click on the play list entry. These actions trigger an
 Rtsp request
         to the Freebox modem. After this, Freebox modem starts to relay
         flux from the provider network to the local area network.

     -   Videolan will use receive data to display the channel. Data
 encoding is an
         Mpeg2 TS stream, so decode them for use in myth TV is quite easy.

 '''What is working so far?'''

     -   There is support in mythtv-setup for adding Freebox as an input
 source, and
         configuring address.

     -   Db Schema is modifying to permits this.

     -   There is basic support for channel list reading, and channel
 abstraction in
         file FreeboxChannel.cpp.

     -   FreeboxRecorder.cpp is able to launch the RSTP request, to get
 back the data,
          and to buffered write them for display in MythTV.

 So basically, you can watch a Freebox channel in Mythtv with this patch.

 '''What is not working so far?'''

     -   Channel change is not working. Default open RTSP flux is hardcode

     -   There is no AC3 or 16/9 support.

     -   There is support for only one data flow at the same time.

 '''What have to be done?'''

 I will have a look quickly to end the Channel support and recorder so you
 can change channel.


Ticket URL: <http://cvs.mythtv.org/trac/ticket/1458>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list