PDA

View Full Version : Streaming problem


MacDisein
02-03-2007, 06:32 PM
I'm not quite sure if this is really a bug.

I have a digital satellite receiver with harddisk and network (100 MBit) connection to my PC. The receiver allows to stream the current TV program over the network, it's a MPEG 2 Transport Stream (TS).

This works fine with other mediaplayer like VLC or Mediaplayer Classic. But the KMPlayer hangs or shows only a real slow streaming video more like a diashow.

If I copy a recorded video from the receiver on the harddrive of my computer it's no problem to play that Transport Stream file. So I think the format should not be the problem.

Maybe you can take a look at the streaming part of the KMPlayer a do some optimizations.


Best regards

MacDisein

mlcarson
05-05-2007, 02:55 PM
Got the same or similar problem.

I'm using TSReader with a DVB card for satellite reception. I can record a program as a Mpeg2 Transport Stream and Kmplayer will play it. If I try to connect to the stream with kmplayer with a url of [Only registered and activated users can see links] with the "open url" function - I get nothing but a blank screen with no filters being loaded.

If I use the "open file" function with the same url of [Only registered and activated users can see links] kmplayer stops at the open screen until the stream is stopped. As soon as the stream stops, the stream plays back from the beginning just as if I gave it a pre-recorded file since this is basically what happens -- it starts playing a temp file under "\..\local settings\temporary internet files\content.ie5\..\htpc2_1234". Media information shows the file as a MPEG-2 Transport format with a video (mpeg-2) and audio (mpeg-1 audio layer 2) stream.

The real problem is that the open url function is not working; the above open file function acts basically as I would expect it to. The open url function does try to connect to the server on the correct TCP port of 1234 but acts differently than VLC or Media Player Classic.

Reported this in general too -- I see these messages in packet captures of the various programs. Not sure if this helps or not. The only real differences I see are in the user-agent.

VLC

GET / [Only registered and activated users can see links] htpc2:1234..
[Only registered and activated users can see links] 200 OK..Content-type: application/octet-stream..Cache-Control: no-cache....
User-Agent: VLC media player - version 0.9.0-svn-20070503-0000 Grishenko -(c) 1996-2007 the VideoLAN team..Range: bytes=0-..Icy-MetaData:1..Connection: Close....
============================================


kmplayer
GET / [Only registered and activated users can see links] [Only registered and activated users can see links] htpc2:1234
[Only registered and activated users can see links] 200 OK..Content-type: application/octet-stream..Cache-Control: no-cache...
reset

GET / [Only registered and activated users can see links] shoutcastsource..Host: htpc2..Accept: */*..Connection: Keep-Alive....
[Only registered and activated users can see links] 200 OK..Content-type: application/octet-stream..Cache-Control: no-cache....

reset
GET / [Only registered and activated users can see links] htpc2..Accept: */*..Connection: Keep-Alive....
[Only registered and activated users can see links] 200 OK..Content-type: application/octet-stream..Cache-Control: no-cache....

reset
GET / [Only registered and activated users can see links] htpc2..Accept: */*..Connection: Keep-Alive....
[Only registered and activated users can see links] 200 OK..Content-type: application/octet-stream..Cache-Control: no-cache....

GET / [Only registered and activated users can see links] [Only registered and activated users can see links] htpc2:1234.
[Only registered and activated users can see links] 200 OK..Content-type: application/octet-stream..Cache-Control: no-cache....

============================================
MPC
GET [Only registered and activated users can see links] Player Classic..Host: htpc2..Accept: */*.
[Only registered and activated users can see links] 200 OK..Content-type: application/octet-stream..Cache-Control: no-cache....

reset
GET [Only registered and activated users can see links] Player Classic..Host: htpc2..Accept: */*....
[Only registered and activated users can see links] 200 OK..Content-type: application/octet-stream..Cache-Control: no-cache....

reset
GET / [Only registered and activated users can see links] shoutcastsource..Host: htpc2..Accept: */*..Connection: Keep-Alive....
[Only registered and activated users can see links] 200 OK..Content-type: application/octet-stream..Cache-Control: no-cache....

reset
GET / [Only registered and activated users can see links] */*..UA-CPU: x86..Accept-Encoding:gzip, deflate..User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)..Host: htpc2:1234..Connection: Keep-Alive....
[Only registered and activated users can see links] 200 OK..Content-type: application/octet-stream..Cache-Control: no-cache....

no more resets after this