My MPlayer (1 Viewer)

misterd

Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    Just a small update:
    The new RC of MP is out and the new version of the plugin is almost completed. But there are still some things to do, before I can release the new version. I had to rework big parts of the code for a better maintenance. The seeking problem still exists. IMHO seeking is working better now, but especially the .ts files from the TVServer aren't seekable. The reason is that MPlayer can't give me the length of the file, because in MP a seek can only performed, when the length of the file is known. I also added a workaround for switching the audio stream, because of a small bug in MPlayer.
    As mentioned in earlier posts, the new version will include a new feature. Since I have almost solved all problems of the new feature, I will tell something about it. The new feature is a real OSD.
    This OSD is similar the OSD of MP or the "Windows MediaPlayer OSD" plugin , which means that you will see the normal OSD of your MP installation. Unfortunately there is a limitation: Images with transparency aren't really supported and not all GUI elements of MP are supported. It also require more cpu power than the OSD of MP or MPlayer, but it also have some advantages. For example when you start to play a stream, it shows the status of the cache (See the attached screenshot). I should also mention that this OSD is an independent library and can be used by other players.
    And last but not least, the new version will be delivered as a MPI to make the installation and configuration process easier. This means that you have to use MP 0.2.3 RC2 or a recent svn.


    Regards,
    MisterD
     

    Attachments

    • Screenshot.PNG
      Screenshot.PNG
      29.3 KB

    patricon

    Portal Pro
    June 16, 2007
    543
    18
    Home Country
    Spain Spain
    It's possible to use the mplayer plugin ONLY with Online Videos plugin? it could be great, because i don't want to use mplayer to play my movies in mp...
     

    misterd

    Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    cant get it to work. Only plays 0.5secs then goes back to the menu.
    A log could be very helpful. Otherwise I have to guess what is happening there. Also some system specs like OS, MPlayer version are very interesting.

    It's possible to use the mplayer plugin ONLY with Online Videos plugin? it could be great, because i don't want to use mplayer to play my movies in mp...
    The external player has such a "feature", but unfortunately this must be changed in Online videos plugin. For example the gui plugin of My MPlayer always uses MPlayer, even when the option "External player use" isn't selected for the extension. The reason is that you have to do a small "trick" to tell MP that it should force the usage of MPlayer when you are using Online Videos plugin.

    MisterD
     

    renzz

    Portal Member
    September 12, 2007
    18
    0
    Hi,

    Bit of a newbie to MP but have been trying to get this plugin to work without much success.

    I should point out I am using Vista Ultimate, and I'm sure this is the cause of the problems. Basically I have the symptoms back at the start of this thread - first time I play a file, it works, but subsequent attempts just flash the screen and do nothing, coming back to the file list. I have also crashed MP a few times doing this.

    Looking at the log, I think the problem is being caused by this

    2007-09-13 14:27:03.015349 [Info.][MPMain]: Exception :Error in the application.
    -2005530520 (D3DERR_DEVICELOST)
    at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, IntPtr overrideWindow)
    at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, Control overrideWindow)
    at Microsoft.DirectX.Direct3D.Device.Present()
    at MediaPortalApp.Render(Single timePassed)


    (full log attached)

    I've tried all the combinations I can think of in the plugin settings to do with DirectX, but no luck.

    Has anyone got this working succussfully on Vista? (I'm using MP 0.2.3 RC2, BTW).

    Thanks
     

    misterd

    Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    Hi,
    since I haven't installed Vista yet, I can't test the plugin with Vista. AFAIK MPlayer itself doesn't support Vista, especially if you want to use areo.
    The only thing you could try, is to avoid DirectX, since there a lot of things have changed. Therefor you could try to use OpenGL or OpenGL2 as video output driver and disable all options (post processing, deinterlace, double buffering, direct rendering etc.) in the configuration. This will only work if your video card driver under vista supports OpenGL.

    BTW: The new version of the plugin is finished, but I'm still creating the MPI, where I want to add a small configuration wizard which will display all configurations options of the plugin. In the first version of the wizard it will only display the configuration of the plugin.

    MisterD
     

    sparky3387

    Portal Member
    September 19, 2007
    7
    0
    Hi Misterd,

    Im the coder of RARPlayer (An extension to mplayer to allow it to play rar files is it possible to call rarplayer "filename" for RAR files only?

    Or to add a way to do this? As most of my movie collection is in rars this would greatly help!

    Cheers!
     

    misterd

    Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    Hi Sparky,
    the main problem is that I need the slave mode of MPlayer. In the slave mode of MPlayer I can send commands to mplayer through the input stream of the process, which I need for controlling MPlayer. AFAIK your RARPlayer uses unrar and sends the output from unrar through a pipeline to a mplayer process. If I would call your RARPlayer I would loose the possibility to control MPlayer, which is essential for the integration in MP, because I have no access to the input stream of the process.

    I should mention that MPlayer itself can play rar/zip files if they don't have any compression, because it skips the additional rar/zip header. The main problem is that a gapless playback in multi-volume archives is not possible, even if you specify all files of the archive at startup of MPlayer. Also you can't specify a specific file in the archive. This is why I don't add the rar extension to the default configuration files.

    I'm planning to release a new test version tomorrow. I would prefer a stable release, but I encountered performance problems during the final tests of the OSD library, which have to be solved before the next stable release will be available. :sorry: Therefor I need more test results from other users to solve the problem.

    Regards,
    MisterD
     

    misterd

    Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    Hi all,
    as mentioned in my last post here is the new test version. You could call it a release candidate, since there are currently no more features planed for the plugin.

    First of all here is the changelog between the last stable release and this test version:
    - Adjust audio and subtitle delay
    - Adjust subtitle position
    - Adjust subtitle/osd font size
    - Localization support. English, German, French, Spanish included. :D framug and patricon for the French and Spanish translation
    - Support for different screens (works only with DirectX as video output driver. Limitation of MPlayer)
    - Major redesign of the external plugin for further improvements
    - Improved seeking, but still not fully working as expected, because MP needs the duration of the file, which MPlayer could not calculate for some file types (e.g. .ts files)
    - Fixed several bugs (audio stream handling [bug in MPlayer], pausing etc.)
    - Moved to MPInstaller and created a simple ConfigurationWizard.
    - Added an osd library. BETA (Disabled by default)
    You need at least 0.2.3 RC2 with SVN 15886 or higher. Otherwise the MPI isn't fully working.

    I want to give you some more informations about the new osd library. This library creates an osd which has almost the same look as the one of MP. The main difference is that it doesn't support transparency and the fonts look a little bit different.
    It is almost skin independent, because it gets all informations about the images, color etc. from MP. Currently I have to use reflection, which isn't very popular and fast, because the interface of MP doesn't give me all needed informations. I will create a patch for MP, to remove this reflection, if I get enough user feedback about the new library. Hopefully it can be integrated before the 0.2.3 release is available. Currently not all skin elements are supported. I have tested BlueTwo, BlueTwo wide and PMIII. If you use a different skin, and it doesn't work as expected please post a log.
    As already mentioned this new osd needs more cpu power. But I can optimize this, if you give me feedback about the performance and your cpu, gpu, screen resolution and used skin. Also the start of the first playback takes a little bit longer, because the library has to be initiliased. But while you are waiting a wait cursor is displayed.
    The new library has also advantages. The main advantage is that it looks like the MP osd. Another advantage is that it display the status of the cache when you start playing a web stream. It also displays a message while the player itself is initializing.
    This library has also no dependencies to the mplayer plugin itself and can be used by other players, if they want to use it.
    I think that are enough informations about the new osd and you should test it out and give me a feedback, report bugs, make feature requests etc.

    Regards,
    MisterD

    edit: New version is available. See first post for more informations
     

    Users who are viewing this thread

    Top Bottom