MediaPortal Forums HTPC/MediaCenter

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


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

Reply
 
Thread Tools Display Modes
Old 2006-11-29, 20:07   #1 (permalink)
Portal Member
 
Join Date: Nov 2006
Age: 38
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts


Default start at stream position....

The tv server is great. I am using it with vlc. However i would like to connect vlc to an existing stream at the "live position.

At current when I create a stream on the server and connect to it with vlc..vlc starts the stream from the point it was created at on the server. Is it possible to connect at the point the live stream is at?
gstone is offline   Reply With Quote
Old 2006-11-29, 21:27   #2 (permalink)
Portal Developer
 
Join Date: Jul 2006
Age: 32
Posts: 431
Thanks: 4
Thanked 4 Times in 4 Posts

Country:

My System

Default

I second that, but not only to VLC. I think it makes more sense to the TV Client to always start at the "live" point (end-of-stream) when tuning a channel.

Julio
joboehl is offline   Reply With Quote
Old 2006-11-29, 22:59   #3 (permalink)
Portal Member
 
Join Date: Nov 2006
Age: 38
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts


Default

My reason is more for an external app. What I am doing is building a tv server with 4 tuner cards. When the server starts I will start all four streams. They will run all the time.

Then I am building a app for a remote pc that will display the streams. Problem is if I can't go to and display the live(end of stream) point then everything is always behind.

Any ideas?
gstone is offline   Reply With Quote
Old 2007-01-16, 17:19   #4 (permalink)
Portal Member
 
Join Date: Oct 2006
Location: Leeds
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

I would also be interested in being able to get the RTSP server to stream from the "Live" point of the stream (or as close to it as possible) and NOT from the beginning of the timeshift buffer.

Can we do this from code (in the client side)? Or do we need to delve into the StreamingServer project and do it ourselves?

AL
drfonz is offline   Reply With Quote
Old 2007-01-16, 17:40   #5 (permalink)
Portal Developer
 
Join Date: Jul 2006
Age: 32
Posts: 431
Thanks: 4
Thanked 4 Times in 4 Posts

Country:

My System

Default

drfonz,

The client plug-in should already do this. I think VLC is the one that doesn't.

It depends on the client actually where it whants to begin watching.
joboehl is offline   Reply With Quote
Old 2007-01-18, 10:23   #6 (permalink)
Portal Member
 
Join Date: Oct 2006
Location: Leeds
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

joboehl,

thanks for the advise! I guess having been using my test app for so long has made me look sight of things I use the VLC embedded COM component for a little test harness to test my code, and that's where I went wrong. I'll refer to the TV Plugin and probably write my own little RTSP client so I can communicate to TVServer properly.

Thanks!
AL
drfonz is offline   Reply With Quote
Old 2007-01-18, 12:06   #7 (permalink)
Portal Member
 
samposoft's Avatar
 
Join Date: Jan 2007
Age: 32
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Send a message via Skype™ to samposoft
Default

I have the same problem. I dont know how write a little RTSP client that work with TVEngine. There is a sample source code?
samposoft is offline   Reply With Quote
Old 2007-01-18, 13:19   #8 (permalink)
Portal Member
 
Join Date: Oct 2006
Location: Leeds
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Well, MP uses Live555 streaming engine, so you can always reuse that for the client side. I believe they have encapsulated it into StreamingServer.dll which is a C++ DLL, so you'll have to use P/Invoke to access the client side of things.

II haven't had a chance to look into the TV Plugin, but since this is supposed to do it already, I presume all the necessary methods have already been exposed for you

Cheers!
AL
drfonz is offline   Reply With Quote
Old 2007-01-19, 01:21   #9 (permalink)
Portal Member
 
samposoft's Avatar
 
Join Date: Jan 2007
Age: 32
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Send a message via Skype™ to samposoft
Smile RTSP sample player

I have build a sample standalone Player based on svn Mediaportal sources for view TVengine streaming.

The application work but there is a lot of bugs.... I have coded this sample in 1 day.

You can download the source from this url:
http://www.samposoft.it/RTSPPlayer.zip

There are some problem that I found:

I note that the directshow filter "RtspSource.ax" work if the client and server are in the same pc, otherwaise is very slow and crash....

Using VLC to play streaming from TVEngine on another PC works slow...
Using VLC to play streaming from VLC on another PC work very well.

I think that "StreamingServer.dll" component on TVEngine not have good performance...

I dont have idea how to resolve these problems.
I hope that someone have know-how to resolve these bugs and share the works.

Sorry for my bad English.
samposoft is offline   Reply With Quote
Old 2007-01-19, 09:25   #10 (permalink)
Portal Member
 
Join Date: Jul 2004
Posts: 392
Thanks: 0
Thanked 2 Times in 2 Posts


Smile Thank u

I think it is working perfectly.
I have the server on one pc and your app on another.Low cpu,no stutter,seek works great. Just what I needed togheter with my little app to change channels.
Maybe I should combine the 2 apps!
EDIT:I did,see pic:EDIT

Note: I did not reg the *.ax files. I used the latest one from the svn build:Note

thank u again


//Lasse
Attached Thumbnails
start-stream-position-mptv3.jpg  start-stream-position-mptv3_combined.jpg  
__________________
----------------------------------------
MCE 2005
Twinhan 3040 DVB-T + CI + Cam---Boxer
ATI Radeon 9800 Pro 128Mb
SoundMax 1950
1Gb Ram
-----------------------------------------

Last edited by lar282; 2007-01-19 at 16:02.
lar282 is offline   Reply With Quote
Reply

Bookmarks

Tags
position, stream

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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Autotune doesn't find any channels friedit Installation, configuration support 2 2007-01-02 14:34
Recording from TV 'Arry General Support 2 2006-09-20 01:12
Recording Conflicts gwiley General Support 15 2006-09-15 07:28
Cant get MyTV to work (2.0 RC3)? mdolan General Support 3 2006-03-30 15:58


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


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden