VLC 0.9.x External Player Plugin (2 Viewers)

lopez.tuparles

Retired Team Member
  • Premium Supporter
  • July 20, 2006
    396
    54
    49
    Mimet
    You ought to Update your Vlc Version. Why don't you try VLC 1.0.5 ?;)
     

    snyfear

    New Member
    March 19, 2010
    2
    0
    Yeah, it's what I tried and after several install/reinstal of the plugin and VLC, I can display a video in the test GUI without error.

    However, thank you for your answer.

    KR,

    Sny
     

    mklement

    Portal Member
    March 31, 2010
    9
    0
    Home Country
    United States of America United States of America
    (Forgive me if I'm overlooking something obvious here; I'm a noob.)

    I installed http://lopez.tuparles.free.fr/mediaportal/Videolan.MPE1 to get the plugin to work with 1.1.0 RC1 (and VLC 1.0.5), but when I try to invoke the configuration dialog, MP's configuration application quietly dies a whole.

    The only errors I see in "Configuration.log" are these:
    ----
    ERROR][Config Main(1)]: PluginsNew: Argument Exception loading the image - MediaPortal.VideoLanPlugin.VideoLanLogo.png, Value of 'null' is not valid for 'stream'.
    ERROR][Config Main(1)]: PluginsNew: Argument Exception loading the image - MediaPortal.VideoLanPlugin.VideoLanLogoDisabled.png, Value of 'null' is not valid for 'stream'.
    -----

    Any help would be appreciated.
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: VLC 0.9.x External Player Plugin

    Is it possible to use this plugin in my own plugin as a player? Does it also work with VLC 1.0.5?
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,884
    1,956
    South of France
    Home Country
    France France
    Re : AW: VLC 0.9.x External Player Plugin

    Is it possible to use this plugin in my own plugin as a player? Does it also work with VLC 1.0.5?
    hey disaster,
    As far as I know, plugin works with vlc 0.9 till vlc 1.0.5
    If you want to see how it can be called, please, look inside VODfr plugin.
    You can find it inside OVS folder in trunk MP plugins.
    Some comments are in French language but code is english (as usual).
    Hope it can help you a bit
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: VLC 0.9.x External Player Plugin

    Mhm could you point me to the right file and line? I've already downloded the OVS trunk this morning. But wasn't able to find this.

    Here it's always calling the normal gplayer and then the rest is VODStreamhelper - i've also looked at PlaySingleFile routine but i see VLC stuff never called.
    Code:
                string supprotedPlayer = "vlc,mplayer,wmp";
                string sEnc = VODStreamHelper.EncryptionManager.GetEncryptionString(aVideoInfo.VideoUrl);
                if (supprotedPlayer.IndexOf(sEnc) == -1) { sEnc = string.Empty; }
                if (sEnc == "wmp") { aVideoInfo.VideoUrl = VODStreamHelper.EncryptionManager.DeCrypt(aVideoInfo.VideoUrl, sEnc); } 
    
                if (!wmvVideoUrl && !asxVideoUrl)
                { 
                    bIsPlaying = g_Player.Play(aVideoInfo.VideoUrl, g_Player.MediaType.Video ); // ajoute type video
                   // bIsPlaying = g_Player.PlayVideoStream(aVideoInfo.VideoUrl);
                    Log.Debug("VOD Plugin : PlaySingleFile " + g_Player.Playing.ToString() + ":" + aVideoInfo.VideoUrl);
                }
                else
                {//Session de rattrapage pour les flux wmv ou asx
                    //Let's MP do the job
                    Log.Debug("VOD Plugin : PlaySingleFile Again " + aVideoInfo.Encryped.ToString() + " - ");
                    if (aVideoInfo.Encryped == true)
                    {
                        bIsPlaying = g_Player.PlayVideoStream(DecodeUrl(aVideoInfo.VideoUrl,sEnc ));
                    }
                    else
                    {//Peut etre un flux lisible par WMP
                        bIsPlaying = g_Player.PlayVideoStream(aVideoInfo.VideoUrl);
                    }
                }
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,884
    1,956
    South of France
    Home Country
    France France
    Re : VLC 0.9.x External Player Plugin

    hum... not easy to help you more with a mobile phone.
    maybe someone else ?
    what could help you :
    MP g_player is called for GUI integration (display video) inside MP.
    Even if player is mplayer or VLC player or, wmp.
    Hope it can help you.
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: VLC 0.9.x External Player Plugin

    OK so as far as i understand you - it's simply calling the normal g_player.play() with 1st parameter to path / URL and as second parameter mediatype VLC?

    OK it's encoded in the videourl but how?
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,884
    1,956
    South of France
    Home Country
    France France
    Re : VLC 0.9.x External Player Plugin

    Depending on players configuration (VLC, mplayer) and also, depending on VODfr services (sub-plugins) configuration (wich are localized at least english/french).
    Remember VODfr is still in dev, not released yet.
     

    Users who are viewing this thread

    Top Bottom