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

Discussion in 'General Development (no feature request here!)' started by elupus, Jul 14, 2007.

  1. elupus Portal Member

    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.
  2. elupus Thread Starter Portal Member

    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
    • Team MediaPortal

    frodo Retired Team Member

    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
  3. elupus Thread Starter Portal Member

    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>
  4. elupus Thread Starter Portal Member

    Ok, just got it to work. tvserver seem to update the version field nicly.
  5. captcol Portal Pro

    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.
  6. thechad Portal Pro

  7. elupus Thread Starter Portal Member

    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).
  8. graemef Portal Pro

    Any updates on this ? Really looking forward to xbox integration, if it can happen.
    Cheers
  9. elupus Thread Starter Portal Member

    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.

Share This Page

Users Viewing Thread (Users: 0, Guests: 0)

Running the latest version?
V1.2.3 - released April 2012
Releasenews | Download
Changelog
 | Requirements
opensource-logoTeam-MediaPortal 
About
Contact |  Press
Partners