C/C++ interface to TVServer ( potential XBMC client ) (1 Viewer)

elupus

Portal Member
July 14, 2007
17
0
Home Country
Sweden Sweden
Hi,

is there any C/C++ interface bulit up for interfacing with TVServer? ie listing channels, telling it to start streaming pausing and so on?

since i've added rtsp support to the dvdplayer in XBMC, though i'd check on how much work it would be to add some simple support for tv streaming to XBMC.

btw, the rtsp streams provided by tvserver isn't only multicast are they? cause that would directly cause problems.

christ rtsp sources are hard to come by. windows media player sharing provides one, but the rdp format is some weird wmv/wma format wich I couldn't find any spec about. so if anybody has some nice rtsp streams handy i'd love to have a test at them.
 

elupus

Portal Member
July 14, 2007
17
0
Home Country
Sweden Sweden
alright, so i've verified that that rtsp stream is playable in in xbmc. it's a mpegts stream wrapped in rtsp, so thats kinda nice. i noticed something annoying thou, if you change channels things go haywire. (vlc has the same issue).

is the stream provided preprocessed in anyway? Ie PID, SID's modified from the source stream? aslong as the service id changes ( or atleast the PMT's version ). it should be possible to detect.

Regards
elupus
 

Frodo

Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,518
    121
    53
    The Netherlands
    Home Country
    Netherlands Netherlands
    is the stream provided preprocessed in anyway? Ie PID, SID's modified from the source stream? aslong as the service id changes ( or atleast the PMT's version ). it should be possible to detect.
    Yes pids/sids etc are always the same
    but when audio/video format changes, the pat/pmt/sdt will change to reflect the
    new formats

    Frodo
     

    elupus

    Portal Member
    July 14, 2007
    17
    0
    Home Country
    Sweden Sweden
    Just to check, the version number of the PAT is then changed right? If so i'll add some support for that in libavformat, so it reset's it's streams properly.

    <edit>
    will make sure it checks for pmt changes too. so aslong as the pmt version changes, things should be fine
    </edit>
     

    elupus

    Portal Member
    July 14, 2007
    17
    0
    Home Country
    Sweden Sweden
    Ok, just got it to work. tvserver seem to update the version field nicly.
     

    captcol

    Portal Pro
    June 27, 2007
    100
    0
    49
    Home Country
    New Zealand New Zealand
    I just had this thread pointed out to me,

    Once this is all working in a release it would solve all my problems, tv server and MP client on media centre pc, then a nice portable XBOX that I can move around the house, outside on the deck with projector etc, fantastic.
     

    elupus

    Portal Member
    July 14, 2007
    17
    0
    Home Country
    Sweden Sweden
    sounds really nice. no need to reinvent the wheel. i was thinking soap based myself, just hadn't found any nice C/C++ toolkit for it. could be a point in doing it python based instead.

    remember, you need to force dvdplayer for playback since mplayer can handle rtsp streams too (thou only realplayer ones at the time, so it's of no use).
     

    graemef

    Portal Pro
    November 28, 2004
    128
    4
    55
    Perth
    Home Country
    Any updates on this ? Really looking forward to xbox integration, if it can happen.
    Cheers
     

    elupus

    Portal Member
    July 14, 2007
    17
    0
    Home Country
    Sweden Sweden
    not that much. before there is an interface we can use. (ie not net remoting). a upnp server would be a nice way. but i'll be happy with anything.
     

    Users who are viewing this thread

    Top Bottom