MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server 1 » Help on Development » Development


Development You want to code something for the TV-Server? Share it in here!

Reply
 
LinkBack Thread Tools Display Modes
Old 2007-07-14, 17:37   #1 (permalink)
Portal Member
 
Join Date: Jul 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


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

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.

Last edited by elupus; 2007-07-14 at 17:42.
elupus is offline   Reply With Quote
Old 2007-07-16, 17:15   #2 (permalink)
Portal Member
 
Join Date: Jul 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

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
elupus is offline   Reply With Quote
Old 2007-07-16, 20:43   #3 (permalink)
Portal Developer
 
frodo's Avatar
 
Join Date: Apr 2004
Location: The Netherlands
Age: 36
Posts: 1,513
Thanks: 3
Thanked 119 Times in 44 Posts

Country:

My System

Default

Quote:
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
frodo is offline   Reply With Quote
Old 2007-07-16, 20:56   #4 (permalink)
Portal Member
 
Join Date: Jul 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

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>

Last edited by elupus; 2007-07-16 at 21:51.
elupus is offline   Reply With Quote
Old 2007-07-16, 23:12   #5 (permalink)
Portal Member
 
Join Date: Jul 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Ok, just got it to work. tvserver seem to update the version field nicly.
elupus is offline   Reply With Quote
Old 2007-07-17, 00:21   #6 (permalink)
Portal Member
 
Join Date: Jun 2007
Age: 32
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

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.
captcol is offline   Reply With Quote
Old 2007-07-23, 22:51   #7 (permalink)
Portal Member
 
thechad's Avatar
 
Join Date: Feb 2005
Location: Geelong, Australia
Age: 26
Posts: 187
Thanks: 1
Thanked 0 Times in 0 Posts

Country:

My System

Default

I have been writing a SOAP web service with a python frontend for XBMC for sometime.

http://forum.team-mediaportal.com/mp...-t2263p17.html

currently supports listing recorded shows grouped by show, and epg. I am part way through doing scheduling and then will look at live TV.

Really busy with work atm but hope in a couple of weeks to get back into it.
__________________
thechad is offline   Reply With Quote
Old 2007-07-24, 01:34   #8 (permalink)
Portal Member
 
Join Date: Jul 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

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).
elupus is offline   Reply With Quote
Old 2007-08-25, 08:47   #9 (permalink)
Portal Member
 
graemef's Avatar
 
Join Date: Nov 2004
Location: Perth
Age: 39
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Any updates on this ? Really looking forward to xbox integration, if it can happen.
Cheers
__________________
Never be afraid to try something new. Remember, amateurs built the ark, and professionals built the Titanic.
graemef is offline   Reply With Quote
Old 2007-08-31, 21:49   #10 (permalink)
Portal Member
 
Join Date: Jul 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

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.
elupus is offline   Reply With Quote
Reply

Bookmarks

Tags
c or c, client, interface, potential, tvserver, xbmc

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TVServer and Remote Client now Working vjc General Talk 0 2007-02-21 11:21
Client Radio when TVServer is not available BoelShit Improvement Suggestions 1 2007-02-20 22:58
From Client, changing name of my TVserver stream defcon5 Get Support 2 2007-02-15 18:06
Help with TVServer and client rick78 Get Support 8 2006-12-12 18:48
Web Interface like xbmc? brandenpro Plugins 1 2005-09-05 08:19


All times are GMT +1. The time now is 11:38.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress