VLC 0.9.x External Player Plugin | Page 8

Discussion in 'MediaPortal 1 Plugins' started by lopez.tuparles, May 1, 2009.

  1. lopez.tuparles
    • Team MediaPortal

    lopez.tuparles Retired Team Member

    Joined:
    July 20, 2006
    Messages:
    396
    Likes Received:
    34
    Location:
    Mimet
    Ratings:
    +46 / 0
    You ought to Update your Vlc Version. Why don't you try VLC 1.0.5 ?;)


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. snyfear

    snyfear New Member

    Joined:
    March 19, 2010
    Messages:
    2
    Likes Received:
    0
    Ratings:
    +0 / 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
     
  4. mklement

    mklement Portal Member

    Joined:
    March 31, 2010
    Messages:
    9
    Likes Received:
    0
    Ratings:
    +0 / 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.
     
  5. disaster123
    • Premium Supporter

    disaster123 MP Donator

    Joined:
    May 14, 2008
    Messages:
    3,546
    Likes Received:
    417
    Ratings:
    +431 / 2
    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?
     
  6. framug

    framug Portal Pro

    Joined:
    January 31, 2005
    Messages:
    4,060
    Likes Received:
    145
    Occupation:
    software engineer
    Location:
    South of France
    Ratings:
    +160 / 0
    Home Country:
    France France
    Re : AW: VLC 0.9.x External Player Plugin

    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
     
  7. disaster123
    • Premium Supporter

    disaster123 MP Donator

    Joined:
    May 14, 2008
    Messages:
    3,546
    Likes Received:
    417
    Ratings:
    +431 / 2
    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 (Text):
    1.  
    2.             string supprotedPlayer = "vlc,mplayer,wmp";
    3.             string sEnc = VODStreamHelper.EncryptionManager.GetEncryptionString(aVideoInfo.VideoUrl);
    4.             if (supprotedPlayer.IndexOf(sEnc) == -1) { sEnc = string.Empty; }
    5.             if (sEnc == "wmp") { aVideoInfo.VideoUrl = VODStreamHelper.EncryptionManager.DeCrypt(aVideoInfo.VideoUrl, sEnc); }
    6.  
    7.             if (!wmvVideoUrl && !asxVideoUrl)
    8.             {
    9.                 bIsPlaying = g_Player.Play(aVideoInfo.VideoUrl, g_Player.MediaType.Video ); // ajoute type video
    10.                // bIsPlaying = g_Player.PlayVideoStream(aVideoInfo.VideoUrl);
    11.                 Log.Debug("VOD Plugin : PlaySingleFile " + g_Player.Playing.ToString() + ":" + aVideoInfo.VideoUrl);
    12.             }
    13.             else
    14.             {//Session de rattrapage pour les flux wmv ou asx
    15.                 //Let's MP do the job
    16.                 Log.Debug("VOD Plugin : PlaySingleFile Again " + aVideoInfo.Encryped.ToString() + " - ");
    17.                 if (aVideoInfo.Encryped == true)
    18.                 {
    19.                     bIsPlaying = g_Player.PlayVideoStream(DecodeUrl(aVideoInfo.VideoUrl,sEnc ));
    20.                 }
    21.                 else
    22.                 {//Peut etre un flux lisible par WMP
    23.                     bIsPlaying = g_Player.PlayVideoStream(aVideoInfo.VideoUrl);
    24.                 }
    25.             }
    26.  
    27.  
     
  8. framug

    framug Portal Pro

    Joined:
    January 31, 2005
    Messages:
    4,060
    Likes Received:
    145
    Occupation:
    software engineer
    Location:
    South of France
    Ratings:
    +160 / 0
    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.
     
  9. disaster123
    • Premium Supporter

    disaster123 MP Donator

    Joined:
    May 14, 2008
    Messages:
    3,546
    Likes Received:
    417
    Ratings:
    +431 / 2
    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?
     
  10. framug

    framug Portal Pro

    Joined:
    January 31, 2005
    Messages:
    4,060
    Likes Received:
    145
    Occupation:
    software engineer
    Location:
    South of France
    Ratings:
    +160 / 0
    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.
     
  11. disaster123
    • Premium Supporter

    disaster123 MP Donator

    Joined:
    May 14, 2008
    Messages:
    3,546
    Likes Received:
    417
    Ratings:
    +431 / 2
    Home Country:
    Germany Germany
    AW: VLC 0.9.x External Player Plugin

    OK got it
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!