Can't stream TV to client - black screen (1 Viewer)

dir

MP Donator
  • Premium Supporter
  • August 30, 2006
    408
    36
    Home Country
    Afghanistan Afghanistan
    I've scoured this forum and gone back to 2008 fixes, but can't find a solution.
    Installed Windows 7 clean on my htpc-pc and my desktop. The htpc is running tv-server.
    I've installed SAF 5 and no other codecs. I let Windows 7 update to the latest patches.
    I've installed MP1.1.0RC1 on both boxes. These are "virgin" machines so no previous config/versions.

    The tvserver on htpc is working fine. I can record, watch, change channels, preview, and look at the EPG.

    Today I installed MP1.1.0RC1 on my desktop and told it to install just the client version. I then went in to MP's Configuration program and typed in the name of my htpc machine as the TV server.

    I start up MP on my desktop and I can see the EPG and can see the previously recorded show listings. However, any attempt to play them or to watch a channel results in a black screen and 30 seconds later the message

    Unable to play: Stream4.0

    appears.

    I have disabled the firewalls on both machines. And of course all settings are at defaults for any/all settings in MediaPortal.

    There is a 'TsReader-2010-02-27.txt file in my log directory that shows:

    Code:
    27-02-2010 15:23:40.231 [20f0]-------------- v1.2.9 ----------------
    27-02-2010 15:23:40.232 [20f0]CTsReaderFilter::ctor
    27-02-2010 15:23:40.232 [20f0]CRTSPClient::Initialize()
    27-02-2010 15:23:40.232 [20f0]CRTSPClient::createClient()
    27-02-2010 15:23:40.232 [20f0]Slow motion video allowed during zapping
    27-02-2010 15:23:40.232 [20f0]Wait for seeking to eof - false - constructor
    27-02-2010 15:23:40.232 [20f0]SetRelaxedMode
    27-02-2010 15:23:40.232 [20f0]Normal discontinuities filtering
    27-02-2010 15:23:40.233 [20f0]CALLBACK SET
    27-02-2010 15:23:40.233 [20f0]SetRequestAudioChangeCallback SET
    27-02-2010 15:23:40.233 [20f0]CTsReaderFilter::Load()
    27-02-2010 15:23:40.233 [20f0]open rtsp:rtsp://10.10.10.92:554/stream4.0
    27-02-2010 15:23:40.233 [20f0]CRTSPClient::OpenStream()
    27-02-2010 15:23:40.234 [20f0]CRTSPClient::getSDPDescriptionFromURL()
    27-02-2010 15:24:10.235 [20f0]Failed to get a SDP description from URL rtsp://10.10.10.92:554/stream4.0 Failed to read response: No error
    27-02-2010 15:24:10.235 [20f0]CRTSPClient::shutdown()
    27-02-2010 15:24:10.238 [20f0]filt:IID_IMediaSeeking()
    27-02-2010 15:24:10.249 [20f0]CTsReaderFilter::dtor
    27-02-2010 15:24:10.249 [20f0]pin:dtor()
    27-02-2010 15:24:10.249 [20f0]sub pin:dtor()
    27-02-2010 15:24:10.249 [20f0]CMemoryBuffer::dtor
    27-02-2010 15:24:10.249 [20f0]memorybuffer: Clear() 0
    27-02-2010 15:24:10.249 [20f0]memorybuffer: Clear() done
    27-02-2010 15:24:10.250 [20f0]CRTSPClient::~CRTSPClient()
    27-02-2010 15:24:10.250 [20f0]demux:flushing
    27-02-2010 15:24:10.250 [20f0]demux:set hold audio:1
    27-02-2010 15:24:10.250 [20f0]demux:set hold video:1
    27-02-2010 15:24:10.250 [20f0]demux:set hold subtitle:1
    27-02-2010 15:24:10.251 [20f0]demux:flush audio
    27-02-2010 15:24:10.251 [20f0]demux:flush video
    27-02-2010 15:24:10.251 [20f0]demux:flush subtitle
    27-02-2010 15:24:10.251 [20f0]demux:set hold audio:0
    27-02-2010 15:24:10.251 [20f0]demux:set hold video:0
    27-02-2010 15:24:10.251 [20f0]demux:set hold subtitle:0

    I have a wireless router installed (Dir-655) but it's set to defaults. I've had a look through it but can't see anywhere where it might be blocking anything. I tried enabling 'Enable multicast streams' on it but it didn't make any difference.

    On the htpc (the tv server), I've tried both 'auto' and the actual IP address of the htpc-pc under "Streaming Server" within the TV Server config. I've tried changing the default port of 554 to 555. After all changes I let it restart the TVService before testing.

    I've gone into the desktop PC's MP configuration and changed the tv-server's hostname from "htpc-pc" to "10.10.10.92" (and confirmed that htpc-pc = 10.10.10.92 of course!). But this didn't change anything.

    I ran the Media Portal Logs Collector on both machines and will upload them shortly.



    MediaPortal Version: 1.1.0 RC1
    MediaPortal Skin: StreamedMP
    Windows Version: Windows 7 Ultimate
    CPU Type: AMD
    HDD: big
    Memory: 2GB
    Video Card: Nvidia 260
    1. TV Card: AverMedia A-777
    1. TV Card Type: digital
     

    dir

    MP Donator
  • Premium Supporter
  • August 30, 2006
    408
    36
    Home Country
    Afghanistan Afghanistan
    Here are the logs.

    10.10.10.71: Client (my desktop PC). "MOFO"
    10.10.10.91: htpc (running TV Server). "htpc-pc".

    I had a fiddle with things and noted the following:

    - tried changing gentle.config's line where it has "htpc-pc" as the machine name to "10.10.10.92". Did this on both machines. No change.
    - tried commenting out the name="SQLServer" line in gentle.config on both machines. No change.
    - originally, on the htpc's TV Server config, it showed "htpc-pc" as the name of the server. This changed to "10.10.10.92" at some point during tests; possibly when I changed the streaming server ip address value from "(auto)" to "10.10.10.92" or the RTSP port from 554 to 555 (don't worry, I changed it back again).
    - I cannot get the IP address to go back to "(auto)". It doesn't stick. It just shows 10.10.10.92 now.
    - when I try watching a tv channel on the client, I can see the tv server commence timeshifting/streaming via the "Manual Control" display.
    - the clocks between both machines is almost exactly 10 seconds different. The htpc-pc machine is just over 10 seconds ahead. (Useful to know when looking at log files)
    - on the tvserver_error.log file on the htpc, it shows "Failed to get our server host name". This is true even when I've ensured that all references to the box are "10.10.10.92". This error occurs some 20+ seconds before the rtsp problems occur so I don't think it's related, but maybe it is. I can ping both machines from the other and the router (D-Link dir-655) is set to defaults and handles DNS and DHCP.
     

    ibmonkey

    MP Donator
  • Premium Supporter
  • December 1, 2007
    231
    43
    Home Country
    United Kingdom United Kingdom
    did you ever find a solution to your problem. I am getting the very same issue, this is the first time i've tried to set up a client.

    I thought it would be a very simple thing to do... seemingly not.

    btw. I'm also using windows 7 on my tv server



    edit: i now have it working. Another post had mentioned changing the RSTP port in the MP server config. I changed it to 5554 and now it all works.

    Maybe there is a problem using port 554 on a windows 7 tv server setup
     

    FreeFrag

    Portal Pro
    May 7, 2008
    79
    4
    Home Country
    Sweden Sweden
    Hi dir

    I would suggest that you try to add your htpc's ip-adress and hostname the host file under C:\WINDOWS\system32\drivers\etc ... Like
    192.168.1.3 HTPC

    I am also running the same setup as you with two Win 7 machines and TVserver. The setup worked perfectly with my cheap ass Netgear router.
    Today I bought a DIR-655 and Tv would show epg, channels, etc. but not play live or recorded tv. Adding the host name solved the problem.

    Try this and see if it helps.

    Cheers
    FreeFrag
     

    Users who are viewing this thread

    Top Bottom