MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal Tools » MP TV Client


Reply
 
Thread Tools Display Modes
Old 2008-07-22, 13:35   #171 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: Germany - Bonn
Age: 30
Posts: 286
Thanks: 6
Thanked 9 Times in 8 Posts

Country:

My System

Default

Quote:
Originally Posted by mmf1981 View Post
Anyone managed to get RTSP-Streaming with Windows Media Player working?

VLC works fine for me, but I really don't like the picture quality of the internal codecs (deinterlacing).

rtsp://HTPC/stream2.0

Tried to open it in WMP -> Protocol not supported.

I checked the settings in WMP - everything is checked. And its not a firewall problem... why should it

SQLServer: TCP/IP and Named Pipes - remote and local is activated.

MP TV CLient: TCP Connection fails???

for your help!
i tested some ways to play rtsp streams in wmp
but no luck

only the local playing of ts buffer works @ time

with this reg file

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\W MPlayer\Extensions\.ts]
"ReplaceApps"="wmplayer.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\W MPlayer\Extensions\.tp]
"ReplaceApps"="wmplayer.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\W MPlayer\Extensions\.tsbuffer]
"ReplaceApps"="wmplayer.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\W MPlayer\Extensions\.rtsp]
"ReplaceApps"="wmplayer.exe"

[HKEY_CLASSES_ROOT\Media Type\Extensions\.ts]
"Source Filter"="{b9559486-e1bb-45d3-a2a2-9a7afe49b23f}"

[HKEY_CLASSES_ROOT\Media Type\Extensions\.tp]
"Source Filter"="{b9559486-e1bb-45d3-a2a2-9a7afe49b23f}"

[HKEY_CLASSES_ROOT\Media Type\Extensions\.tsbuffer]
"Source Filter"="{b9559486-e1bb-45d3-a2a2-9a7afe49b23f}"

[HKEY_CLASSES_ROOT\Media Type\Extensions\.rtsp]
"Source Filter"="{b9559486-e1bb-45d3-a2a2-9a7afe49b23f}"
__________________
ServerPC :
CPU: C2D E4400 | MAINBOARD: MSI 946GZM-L | VGA: onboard G3000 | RAM: KVR667D2N5/1G | TVCARDS:
KNC - DVB S, DVB S2, DVB T | Technotrend - DVB S, DVB S2 | Terratec - DVB T | Pinnacle - DualTuner DVB T Anlalog

ClientPC1:
CPU: C2D E6750 | MAINBOARD: GA-P35-S3 | VGA:Nvidia 8500GT | RAM: KVR667D2N5/1G | TVCARDS: none

ClientPC2:
CPU: Via C7 1.5GHz | MAINBOARD: Via EX15000G | VGA: onboard | RAM: KVR667D2N5/1G | TVCARDS: none
KayDiefenthal is offline   Reply With Quote
Old 2008-07-22, 14:04   #172 (permalink)
MP Donator
 
level20peon's Avatar
 
Join Date: Jan 2007
Location: Aachen
Age: 26
Posts: 998
Thanks: 14
Thanked 40 Times in 36 Posts

Country:

My System

Send a message via ICQ to level20peon
Default

Quote:
Originally Posted by FransO View Post
Finally found a workaround to the freeze after 45 seconds (1100 to 1125 decoded blocks according to the Stream and media Info statistics) although I don't know the cause yet .

If I set the VLC option Preferences - Demuxers - RTP/RTSP - advanced options - Use RTP over RTSP(TCP) to true everything runs correctly.
The stream is not fluid when I do this plus TV-Server crashes when I close VLC (in my case, VLC 0.8.6i, MPTV-Client 1.2.5 / 1.3.1 both tested).


-level20peon
level20peon is online now   Reply With Quote
Old 2008-07-22, 21:57   #173 (permalink)
Portal Member
 
Join Date: Jul 2008
Age: 63
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default

Using RTP over TCP requires an acknowledgement of each packet. I tested with the client on the TVServer and that went all right. Put some switches and a wireless accesspoint between server and client and network latency becomes a problem and reception will be choppy yes.

I used Ms Netwerk Monitor to see what went on when the 45 second freeze occurred with RTP over UDP. The answer is: Not much. After an RTSP setup there are a lot of UDP packets and after the last UDP packet just two TCP packets: A message from the server and a response from the client. After that no more traffic attributable to RSTP at all.

Below some excerpts from the network trace, .32 is the client and .33 is the tvserver, the first IP address is the source, the second the destination. The second column is the time offset in microseconds.

302 2.971.170 192.168.2.32 192.168.2.33 TCP TCP: Flags=.S......, SrcPort=49419, DstPort=RTSP(554), Len=0, Seq=3105363208, Ack=0, Win=8192 (scale factor not found)
303 2.971.170 192.168.2.33 192.168.2.32 TCP TCP: Flags=.S..A..., SrcPort=RTSP(554), DstPort=49419, Len=0, Seq=1280543924, Ack=3105363209, Win=8192 (scale factor not found)
304 2.972.170 192.168.2.32 192.168.2.33 TCP TCP: Flags=....A..., SrcPort=49419, DstPort=RTSP(554), Len=0, Seq=3105363209, Ack=1280543925, Win=4380 (scale factor not found)
305 2.973.170 192.168.2.32 192.168.2.33 RTSP RTSP: REQUEST, OPTIONS rtsp://OADT3/stream1.0
306 2.973.170 192.168.2.33 192.168.2.32 RTSP RTSP: RESPONSE, RTSP/1.0, Status Code = 200 - OK
309 2.977.171 192.168.2.33 192.168.2.32 UDP UDP: SrcPort = Linklocal Multicast Name Resolution(5355), DstPort = 51864, Length = 52
310 2.980.171 192.168.2.32 192.168.2.33 RTSP RTSP: REQUEST, DESCRIBE rtsp://OADT3/stream1.0
315 3.014.173 192.168.2.33 192.168.2.32 SDP SDP: Session Name=Session streamed by "MediaPortal Tv Server v1.0", Version=0
316 3.023.173 192.168.2.32 192.168.2.33 RTSP RTSP: REQUEST, SETUP rtsp://192.168.2.33/stream1.0/track1
318 3.045.174 192.168.2.33 192.168.2.32 RTSP RTSP: RESPONSE, RTSP/1.0, Status Code = 200 - OK
319 3.047.175 192.168.2.32 192.168.2.33 RTSP RTSP: REQUEST, PLAY rtsp://192.168.2.33/stream1.0/
320 3.065.176 192.168.2.33 192.168.2.32 RTSP RTSP: RESPONSE, RTSP/1.0, Status Code = 200 - OK
321 3.065.176 192.168.2.33 192.168.2.32 UDP UDP: SrcPort = 6970, DstPort = 51866, Length = 1336
-
-
-A lot of UDP packets in between here
-
-
40913 47.992.745 192.168.2.33 192.168.2.32 UDP UDP: SrcPort = 6970, DstPort = 51866, Length = 1336
40914 47.994.745 192.168.2.33 192.168.2.32 TCP TCP: Flags=F...A..., SrcPort=RTSP(554), DstPort=49419, Len=0, Seq=1280544933, Ack=3105363815, Win=254 (scale factor not found)
40915 47.996.746 192.168.2.32 192.168.2.33 TCP TCP: Flags=....A..., SrcPort=49419, DstPort=RTSP(554), Len=0, Seq=3105363815, Ack=1280544934, Win=4128 (scale factor not found)

The contents of those last two TCP packets are:

From the server to the client:
Frame:
+ Ethernet: Etype = Internet IP (IPv4)
+ Ipv4: Next Protocol = TCP, Packet ID = 19365, Total IP Length = 40
- Tcp: Flags=F...A..., SrcPort=RTSP(554), DstPort=49419, Len=0, Seq=1280544933, Ack=3105363815, Win=254 (scale factor not found)
SrcPort: RTSP(554)
DstPort: 49419
SequenceNumber: 1280544933 (0x4C5390A5)
AcknowledgementNumber: 3105363815 (0xB9181767)
+ DataOffset: 80 (0x50)
- Flags: F...A...
CWR: (0.......) CWR not significant
ECE: (.0......) ECN-Echo not significant
Urgent: (..0.....) Not Urgent Data
Ack: (...1....) Acknowledgement field significant
Push: (....0...) No Push Function
Reset: (.....0..) No Reset
Syn: (......0.) Not Synchronize sequence numbers
Fin: (.......1) End of data
Window: 254 (scale factor not found)
Checksum: 34220 (0x85AC)
UrgentPointer: 0 (0x0)

response from the client:
Frame:
+ Ethernet: Etype = Internet IP (IPv4)
+ Ipv4: Next Protocol = TCP, Packet ID = 4981, Total IP Length = 40
- Tcp: Flags=....A..., SrcPort=49419, DstPort=RTSP(554), Len=0, Seq=3105363815, Ack=1280544934, Win=4128 (scale factor not found)
SrcPort: 49419
DstPort: RTSP(554)
SequenceNumber: 3105363815 (0xB9181767)
AcknowledgementNumber: 1280544934 (0x4C5390A6)
+ DataOffset: 80 (0x50)
- Flags: ....A...
CWR: (0.......) CWR not significant
ECE: (.0......) ECN-Echo not significant
Urgent: (..0.....) Not Urgent Data
Ack: (...1....) Acknowledgement field significant
Push: (....0...) No Push Function
Reset: (.....0..) No Reset
Syn: (......0.) Not Synchronize sequence numbers
Fin: (.......0) Not End of data
Window: 4128 (scale factor not found)
Checksum: 43379 (0xA973)
UrgentPointer: 0 (0x0)

I don't know enough of the protocols to be sure, but it looks like the server telling the client: That's all your gonna get.
FransO is offline   Reply With Quote
Old 2008-07-23, 00:30   #174 (permalink)
MP Donator
 
level20peon's Avatar
 
Join Date: Jan 2007
Location: Aachen
Age: 26
Posts: 998
Thanks: 14
Thanked 40 Times in 36 Posts

Country:

My System

Send a message via ICQ to level20peon
Default

Doesn't matter anyways, it is in Mantis already... so a fix is most probably on the way.


-level20peon
level20peon is online now   Reply With Quote
Old 2008-07-23, 05:08   #175 (permalink)
Portal Member
 
Join Date: May 2007
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

I have a problem when VLC starts up, connects to the URL, but then crashes with this info:

AppName: vlc.exe AppVer: 0.8.6.0 ModName: msvcrt.dll
ModVer: 7.0.2600.2180 Offset: 00031b8d

I am using MPTVClient 1.2.5, and everything seems to work ok on that side - it lists my channels, and does start timeshifting etc.

I am using the latest VLC - 0.8.6i, and have also tried an earlier 0.8.6 version, with the same issue.

I tried using Mplayer and Alshow, but neither seem to work.

Does anyone have a solution to this? I know I have had this all working in the past, with VLC...

I'm using MP/TVServer 1.0 RC2.

Thanks,
Dan
Nippywiffle is offline   Reply With Quote
Old 2008-07-23, 11:04   #176 (permalink)
Portal Member
 
Join Date: Jul 2008
Age: 63
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default

It is quite possible that the freeze after 45 seconds using MP TV Client and VLC is not caused by Media Portal tv server or the MP TV client at all, but by the VLC player and/or the Live5555 library it uses to display rtsp streams.

I was triggered by the remarks of Level20peon in another thread about the same bug, that the bug persisted even though he went back to a previous version of the MP TV Client that used to work well and now showed the same behaviour as the new version.

I removed VLC player version 0.8.6i (checked the option to delete the preferences too) and installed VLC player version 0.8.6d. Works like a charm, no more freezing after 45 seconds.

I'll check the network trace to see if there is any difference in the setup of the rtsp session.

Last edited by FransO; 2008-07-23 at 11:15.
FransO is offline   Reply With Quote
This User Say Thank You:
Old 2008-07-23, 12:04   #177 (permalink)
MP Donator
 
level20peon's Avatar
 
Join Date: Jan 2007
Location: Aachen
Age: 26
Posts: 998
Thanks: 14
Thanked 40 Times in 36 Posts

Country:

My System

Send a message via ICQ to level20peon
Thumbs up

Thanks for opening my eyes FransO, I am so stupid, really. I updated to VLC 0.8.6i recently but didn't think a second about this when the rtsp stream broke. Infinityloop told me that there might be something triggering this in TV-Server also though so maybe it is a combination of changes which didn't interfear by chance before. Let's just wait if the new SVN will enable playback with VLC 0.8.6i.
Hint: I tested old versions of VLC and 0.8.6h is the latest working version, so no need to go back to 0.8.6d .


-level20peon
level20peon is online now   Reply With Quote
Old 2008-07-23, 15:06   #178 (permalink)
Portal Member
 
Join Date: Jul 2008
Age: 63
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default

The main difference that I see in the network trace when using VLC player version 0.8.6i and the earlier versions, is that the earlier versions are sending an RTCP Receiver Report package every 5 seconds whereas the 0.8.6i version does not. The RTCP Receiver Report packet is used by the client to report quality of signal information and a keep alive signal.
FransO is offline   Reply With Quote
Old 2008-07-24, 22:15   #179 (permalink)
Portal User
 
Join Date: May 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


Question

Is it normal for the ChannelID, listed in MPTvClient, to not match the SID or Channel Numbers that are set in the TV server? I am using MPTvClient v1.25 and MP Server RC2.
blehmbo is offline   Reply With Quote
Old 2008-07-24, 22:50   #180 (permalink)
MP Donator
 
level20peon's Avatar
 
Join Date: Jan 2007
Location: Aachen
Age: 26
Posts: 998
Thanks: 14
Thanked 40 Times in 36 Posts

Country:

My System

Send a message via ICQ to level20peon
Default

blehmbo: This is normal since the Channel Numbers are simply counting the stored channels from 1-x whereas the SID is something like a sub-frequency (simply put) tuned by your tv-card.


-level20peon
level20peon is online now   Reply With Quote
Reply

Bookmarks

Tags
announce, mptvclient

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
Announce your plugin work in progress here!!!!!!!! MrMario64 General Development (no feature request here!) 97 2008-04-16 20:41
[Announce] MPTVClient gemx General Development (no feature request here!) 36 2007-11-11 13:09
RTSP Announce on time overrun elupus General Talk 0 2007-09-01 00:54
Will plugins from v1.3+ work under v1.2? jsprenkle General Development (no feature request here!) 2 2005-11-26 23:23
Announce new plugins here frodo Plugins 0 2005-03-20 14:30


All times are GMT +1. The time now is 19:52.


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
Advertisement System V2.6 By   Branden