YouSee.tv - Error playback (1 Viewer)

hkjensen

MP Donator
  • Premium Supporter
  • June 11, 2007
    165
    65
    Copenhagen
    Home Country
    Denmark Denmark
    Hi

    I'm trying to get YouSee.tv to work:
    I can download webstream with RTMPdump:
    Code:
    D:\temp\rtmp>rtmpdump -r rtmpe://live.fmis.yousee.tv/live/encoder1_1200 -s http:
    //yousee.tv/design/swf/YouSeeVideoPlayer_beta.swf -W http://yousee.tv/design/swf
    /YouSeeVideoPlayer_beta.swf -C S:serverurl  -v -o test.flv
    RTMPDump v2.3
    (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
    Connecting ...
    WARNING: HandShake: Type mismatch: client sent 6, server answered 8
    INFO: Connected...
    ERROR: rtmp server sent error
    Starting Live Stream
    INFO: Metadata:
    INFO:   width                 512.00
    INFO:   height                288.00
    INFO:   framerate             25.00
    INFO:   videodatarate         1200.00
    INFO:   videocodecid          avc1
    INFO:   audiodatarate         128.00
    INFO:   audiocodecid          mp4a
    13972.704 kB / 81.22 sec
    Caught signal: 2, cleaning up, just a second...
    14002.019 kB / 81.43 sec
    Download may be incomplete (downloaded about 0.00%), try resuming

    Translated into
    Code:
    http://127.0.0.1:30006/0/127.0.0.1/stream.flv?rtmpurl=rtmpe%3a%2f%2flive.fmis.yousee.tv%2flive%2fencoder1_1200&swfurl=http%3a%2f%2fyousee.tv%2fdesign%2fswf%2fYouSeeVideoPlayer_beta.swf&conn=S%3aserverurl&swfVfy=http%3a%2f%2fyousee.tv%2fdesign%2fswf%2fYouSeeVideoPlayer_beta.swf&live=true

    First I got error in calculating swfsize and swfhash, witch i got working by patching DotNetZip (Adler32 calculation) http://dotnetzip.codeplex.com/worki...w Issue #10562: Compression roundtrip problem

    But playback fails
    Code:
    2011-05-17 17:32:43.125000 [Warn.][OnlineVideos(34)]: [OnlineVideos]BufferFile : IFileSourceFilter.Load returned '-2146697208' ()
    2011-05-17 17:32:43.125000 [Info.][OnlineVideos(34)]: [OnlineVideos]Buffering was aborted.
    2011-05-17 17:32:43.125000 [Info.][OnlineVideos(34)]: [OnlineVideos]Prebuffering failed.
    2011-05-17 17:32:43.125000 [Debug][RTMPProxy(12)]: [OnlineVideos]System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
       at RTMP_LIB.RTMP.ReadN(Byte[] buffer, Int32 offset, Int32 size) in D:\Dev\devsvn\mp-onlinevideos2\OnlineVideos\RTMP_LIB\RTMP.cs:line 2051
       at RTMP_LIB.RTMP.ReadPacket(RTMPPacket& packet) in D:\Dev\devsvn\mp-onlinevideos2\OnlineVideos\RTMP_LIB\RTMP.cs:line 357
       at RTMP_LIB.RTMP.ConnectStream() in D:\Dev\devsvn\mp-onlinevideos2\OnlineVideos\RTMP_LIB\RTMP.cs:line 252
       at RTMP_LIB.RTMP.Connect() in D:\Dev\devsvn\mp-onlinevideos2\OnlineVideos\RTMP_LIB\RTMP.cs:line 196
       at RTMP_LIB.RTMPRequestHandler.ConnectAndGetStream(RTMP rtmp, HTTPServerRequest request, HTTPServerResponse response, Boolean& invalidHeader) in D:\Dev\devsvn\mp-onlinevideos2\OnlineVideos\RTMP_LIB\RTMPRequestHandler.cs:line 36


    Setup:
    Code:
        <Site name="YouSee" util="YouSee" agecheck="false" enabled="true" lang="da">
          <Description>YouSee Web TV</Description>
          <item key="youSeeUserName"><![CDATA[username]]></item>
          <item key="youSeePassWord"><![CDATA[password]]></item>
          <Categories />
        </Site>

    I hope any one can help ???

    Attatch YouSee.diff (DotNetZip + OnlineVideo.Sites.dinky)
    OnlineVideos.Sites.dinky
    and log MediaPortal.log
    Henrik
     

    Attachments

    • YouSee.png
      YouSee.png
      342.2 KB
    • YouSee-LiveTV.png
      YouSee-LiveTV.png
      356 KB
    • OnlineVideos.Sites.dinky.zip
      6.1 KB
    • MediaPortal.zip
      10.8 KB
    • YouSee.diff
      16.7 KB

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    If you are using OnlineVideos 0.29 and not SVN then rtmp live streams are broken. Sry.
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Hi I created a login and tried to use your site but, I don't seem to get any videos listed, I keep getting a 404 (from germany, might be blocked). I did enter my login data for the site.

    Can you attach a log with verbosity set to Debug in MP Configuration? I am suspecting the "S:serverurl" as conn parameter might have something to do with it.
     

    hkjensen

    MP Donator
  • Premium Supporter
  • June 11, 2007
    165
    65
    Copenhagen
    Home Country
    Denmark Denmark
    Hi
    Thanks - just the information i needed, I can now play Live TV from YouSee, but only if i patch the DotNetZip (zip.cs)
    I have attached the log file without zip-patch (MediaPortal_org_zip) and patch zip (MediaPortal_OK)

    I guess that the site is blocked from Germany - I can give you access if it is needed
     

    Attachments

    • 00-39-57.png
      00-39-57.png
      233.8 KB
    • MediaPortal_OK.zip
      34.6 KB
    • MediaPortal_org_zip.zip
      8.6 KB

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    I committed the DotNetZip fix yesterday.
    I am a bit confused now, is that all that was needed or are you still having problems with the rtmp connection?
     

    hkjensen

    MP Donator
  • Premium Supporter
  • June 11, 2007
    165
    65
    Copenhagen
    Home Country
    Denmark Denmark
    Hi

    Yes that was all that there was needed - updated conn string to S:serverurl:rtmpe://live.fmis.yousee.tv/live and it worked :)

    Minor problem now is that not all streams plays immediately, i will try to find out why in the following week.
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Ah cool, so another Danish site. Thx! Will release 0.30 asap, so the site will work for all users that don't compile.

    Two small things I noticed in the code:
    1. Please move the webrequest from Init to DiscoverDynamicCategories, because Init will block the main thread on OnlineVideos start and delay it.
    2. In DiscoverDynamicCategories, set this.Settings.DynamicCategoriesDiscovered to true, so it won't be re-run everytime.
     

    Users who are viewing this thread

    Top Bottom