WMV streaming plays in fullscreen, but not in preview-window (1 Viewer)

pilehave

Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    MediaPortal Version: 1.1.0 Beta
    MediaPortal Skin: Blue3Wide
    Windows Version: XP Pro SP3
    CPU Type: AMD x2 4850e 2.5 GHz 45w
    HDD: Samsung Spinpoint 250GB 2.5"
    Memory: 4 GB DDR2 800 MHz Dual-Channel
    Motherboard: Gigabyte GA-MA78GM-S2H (rev 1.0)
    Video Card: Onboard AMD Radeon HD 3200
    Video Card Driver: Catalyst 9.6 official
    Sound Card: Onboard ALC889A
    Sound Card AC3: optical out
    Sound Card Driver:
    1. TV Card: Pinnacle PCTV Dual DVB-T Pro PCI 2000i
    1. TV Card Type: DVB-T

    Hi!

    Somewhere before version 1.0 I had a plugin called DRipper running on MediaPortal, that streams WMV files from a danish tv-network website.

    Now I want to use it again, but when I play a clip it plays fine in fullscreen, but not in the preview-window (as in myHome).

    This is using Gabest as MPEG2-codec. Using PowerDVD 9 codec, it seems as if MediaPortal thinks the file is music, as fullscreen only shows the "now playing" window. FFDShow is the same thing.

    Going through the log I find that mediaPortal actually thinks the stream is music (audio) and not video:

    Code:
    2009-10-04 12:09:12.186650 [Info.][MPMain]: g_Player.PlayAudioStream(http://www.dr.dk/Forms/Published/PlaylistGen.aspx?qid=1162553&odp=true)
    2009-10-04 12:09:12.202651 [Info.][MPMain]: AudioPlayerWMP9: Disabling DX9 exclusive mode
    2009-10-04 12:09:12.202651 [Debug][MPMain]: Main: Received DX exclusive mode switch message. Fullscreen && maximized == False
    2009-10-04 12:09:12.329658 [Info.][MPMain]: Audioplayer:play http://www.dr.dk/Forms/Published/PlaylistGen.aspx?qid=1162553&odp=true
    2009-10-04 12:09:19.596074 [Debug][MPMain]: Audioplayer: bandWidth: 0
    2009-10-04 12:09:19.596074 [Debug][MPMain]: Audioplayer: bitRate: 930024
    2009-10-04 12:09:19.596074 [Debug][MPMain]: Audioplayer: receivedPackets: 0
    2009-10-04 12:09:19.597074 [Debug][MPMain]: Audioplayer: receptionQuality: 100
    2009-10-04 12:09:19.597074 [Debug][MPMain]: Audioplayer: bandWidth: 0
    2009-10-04 12:09:19.597074 [Debug][MPMain]: Audioplayer: receptionQuality: 100
    2009-10-04 12:09:41.082303 [Debug][MPMain]: Audioplayer: bandWidth: 656816
    2009-10-04 12:09:41.082303 [Debug][MPMain]: Audioplayer: bitRate: 930024
    2009-10-04 12:09:41.082303 [Debug][MPMain]: Audioplayer: receivedPackets: 601
    2009-10-04 12:09:41.083303 [Debug][MPMain]: Audioplayer: receptionQuality: 100
    2009-10-04 12:09:41.146307 [Info.][MPMain]: g_Player.OnStarted() http://www.dr.dk/Forms/Published/PlaylistGen.aspx?qid=1162553&odp=true media:Music

    Normal WMV files stored on my disk plays fine as video.

    This problem exist on both my Windows 7 and Windows XP machine. Has anyone had any experience with this problem? I am SURE I had it working with older versions of MediaPortal, also in preview-window :confused:

    I can post logs if needed but the part i pasted aboves pretty much summons up the problem: MediaPortal thinks WMV is audio.


    :D
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    • Thread starter
    • Moderator
    • #2
    OK; after further testing I see that when using BASS-player no vide-codec whatsoever can play the WMV in either fullscreen-or preview.

    Changing audio-player to internal dshow-player enables fullscreen playback, but still no video in preview-window.

    Someone has to experince the same problem? I now tested here at work, and have same behaviour on three different machines :(
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    • Thread starter
    • Moderator
    • #3
    An example content of the links gathered by DRipper is like this:

    <ASX><PARAM NAME="encoding" VALUE="utf-8" /><TITLE>FORBRYDELSEN 2 TIL NET</TITLE><ENTRY><TITLE>FORBRYDELSEN 2 TIL NET</TITLE><COPYRIGHT></COPYRIGHT><STARTTIME VALUE="0" /><DURATION VALUE="3444.40" /><REF HREF="mms://wms.dr.dk/nas01/auto/cms/Resources/dr.dk/MAKodet/2009/10/2b6d1596-34fd-41db-9492-68fb26087f1f/3529912_bojp_FORBRYDELSEN_2.wmv?WMContentBitrate=1024000" /><ABSTRACT></ABSTRACT></ENTRY></ASX>

    As you can see it is a mms-link to a WMV-file. The mms-link plays fine in WMP and MPC.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    I guess there were some setting that uses VMR9 for online streams. (btw. it is really ugly that audio player is used for online videos :))
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    • Thread starter
    • Moderator
    • #5
    I guess there were some setting that uses VMR9 for online streams. (btw. it is really ugly that audio player is used for online videos :))

    I'm not sure what you mean about VMR9, but changing to software EVR (XP) gives me same setup, the stream is played in the music-player. I tried unchecking "Use for playback of web streams..." under "Video Renderer Settings" (VMR9) but this gives same result.

    And yes, it's ugly that I can play WMV in the audio-player :confused:

    I have also tried adding ASX as file-extension under "Videos" -> "Video Extensions".

    Now for the $1000 question: Should playing back a file as the one I posted work natively? Or do I need some codec-pack? From what I can tell plugins like Onlinevideos uses the built-in WMP11 codec for WMV.
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,158
    2,227
    South of France
    Home Country
    France France
    OK; after further testing I see that when using BASS-player no vide-codec whatsoever can play the WMV in either fullscreen-or preview.

    Changing audio-player to internal dshow-player enables fullscreen playback, but still no video in preview-window.

    Someone has to experince the same problem? I now tested here at work, and have same behaviour on three different machines :(
    Hi pilehave,
    I had the same problem some months ago, when we developped VLC plugin and VOD fr plugin.
    By reading streams like rtsp://.... for free provider, same problem appeared.
    But now, since many SVN (one or two months) I don't have this problem anymore.
    If it can help, I will try with BASS-player tonight, if I have the same behaviour as you.

    Regards.
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    • Thread starter
    • Moderator
    • #7
    OK; after further testing I see that when using BASS-player no vide-codec whatsoever can play the WMV in either fullscreen-or preview.

    Changing audio-player to internal dshow-player enables fullscreen playback, but still no video in preview-window.

    Someone has to experince the same problem? I now tested here at work, and have same behaviour on three different machines :(
    Hi pilehave,
    I had the same problem some months ago, when we developped VLC plugin and VOD fr plugin.
    By reading streams like rtsp://.... for free provider, same problem appeared.
    But now, since many SVN (one or two months) I don't have this problem anymore.
    If it can help, I will try with BASS-player tonight, if I have the same behaviour as you.

    Regards.

    I would be gratefull if you could test it out. :D
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    • Thread starter
    • Moderator
    • #8
    OK, looked into the sourcecode and it seems like the streams are played as "musicvideos" whatever that means:

    public static void Play(string MMSUrl, string videoName)
    {
    //GetGUIProperties();
    //String MMSUrl = "http://www.dr.dk/Forms/Published/PlaylistGen.aspx?qid=618664&odp=true&bitrate=high";
    bool useVMR9 = false;
    //GetMMSURL(url);
    //Log.Debug("Url: {0}, mmsurl: {1}, videoname: {2}", url, MMSUrl, videoName);
    bool playOk = false;
    if (useVMR9)
    playOk = g_Player.PlayVideoStream(MMSUrl, videoName);
    else
    playOk = g_Player.PlayAudioStream(MMSUrl, true); // <-- HERE "isMusicVideo" is set to true
    if (playOk)
    {
    g_Player.ShowFullScreenWindow();
    g_Player.FullScreen = true;
    }
    else
    {
    //Log.Info("GUITrailers: Unable to play {0}", MMSUrl);
    GUIDialogNotify dlg = (GUIDialogNotify)GUIWindowManager.GetWindow((int)GUIWindow.Window.WINDOW_DIALOG_NOTIFY);
    dlg.SetHeading("ERROR");
    dlg.SetText("Unable to play the selected video trailer. Please try again later.");
    dlg.DoModal(GUIWindowManager.ActiveWindow);
    }
    }

    Changing useVMR9 to "true" gives me an error about not being able to play. So it may be something about the "isMusicVideo" that has changed in MediaPortal.

    tourettes, can you help?
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,158
    2,227
    South of France
    Home Country
    France France
    May be it was because a very old bug "black screen with streams", if I remember.
    btw, did you try playing it with MPlayer plugin by MisterD or even, by VLC plugin ?
    Just for seeing what happen, then.
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    • Thread starter
    • Moderator
    • #10
    May be it was because a very old bug "black screen with streams", if I remember.
    btw, did you try playing it with MPlayer plugin by MisterD or even, by VLC plugin ?
    Just for seeing what happen, then.

    VLC plays it fine :( So does Media Player Classic and WMP.
     

    Users who are viewing this thread

    Top Bottom