• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

mPlayer Plugin and Media Player Connectivity

Started by melf, 2008.04.24, 10:33:13

Previous topic - Next topic

melf

Hi all,
I'm having troubles with MPC. For some time, a couple of months or half a year MPC doesn't work anymore. (Sorry to say, I can't specify if that happened after some application install or other change in system.) I just get the "plugin is missing" message. I've tried deinstalling and reinstalling and also deleting saved records regarding MPC in my Mozilla home directory. I'm using eCS RC4 and now FF 2.0.0.14.

Does someone regognize this? Is MPC depending on some files I could be missing?
/Mikael

Pete

Hi Melf

Have you checked the MPC configuration is setup correctly?

The message you get is indicative of MPC not being set to play the file (or possibly mime) type involved.


And - Why are you not using mplayer with the updated plugin for most vid clips?

mplayer    http://hobbes.nmsu.edu/pub/os2/apps/mmedia/video/players/mplayer-dev-svn-r26012-os2-3.3.5.zip
the later browser plugin  http://www.7xx.org/komh/npmp_test.zip
win32 plugins  http://www8.mplayerhq.hu/MPlayer/releases/codecs/windows-essential-20071007.zip


Have fun  :-)

Pete

Saijin_Naib

When I tried the MPLAYER mozilla plugin I just got a tab with a black screen and no controls or anything. Nothing ever played.

RobertM

#3
Quote from: Saijin_Naib on 2008.04.24, 19:08:23
When I tried the MPLAYER mozilla plugin I just got a tab with a black screen and no controls or anything. Nothing ever played.

Hi Saijin_Naib,

IIRC, the mPlayer plugin does not yet work. What you need to do is install the MediaPlayerConnectivity plugin and assign various file types to mPlayer. Someone, please correct me if I am wrong - because I would love to have mPlayer working as a Firefox plugin directly - without the need for MPC.

NOTE: in configuring MPC, don't just type in "mplayer.exe" unless you have modified your config.sys path statements accordingly - otherwise MPC will try to start the WinOS2 mplayer.exe instead of the OS/2 program.

Running mPlayer this way will result in a separate VIO window with mPlayer's normal messages about what it is doing, as well as a video window with no controls. To fast forward, or rewind, use the arrow keys on the keyboard. To pause, use the spacebar. When the video is completed, if the video window does not close, simply hit the close button on the menubar. In addition, you can then close the VIO message window in the same fashion.

If you use KMP for such things, you can use the mouse to seek. Click on the video window to seek forward or backwards. The method is relatively simple, if somewhat inaccurate - if you click half way (from left to right) it will seek to 50% on the file... if you click 1/4 of the way from the left edge of the video window, it will seek to 25% of the video.

mPlayer has the option of handling streams better than KMP (which I dont know if it handles them at all) and will also try finding a stream using multiple methods, including RTSP, RTP (both on all the standard supported ports) and HTTP if the initial link/method sent to it fails.

Personally, I use UnPlug to download them and then just drag-n-drop the file onto a KMP icon to play them.

Hope that helps somewhat.

Robert


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|


Pete

Quote from: RobertM on 2008.04.24, 21:01:46


IIRC, the mPlayer plugin does not yet work. What you need to do is install the MediaPlayerConnectivity plugin and assign various file types to mPlayer. Someone, please correct me if I am wrong - because I would love to have mPlayer working as a Firefox plugin directly - without the need for MPC.

Robert


Hi Robert

Correction: the mplayer plugin (url in previous post) works fine with some vids and not at all with others. Seems to depend how a website streams the vid...

What are you doing wrong? - wrong plugin or older mplayer build? Do NOT bother with the pugin supplied with the mplayer package as that is fairly much a non-worker - get the later test plugin mentioned before.

No useless old NPOS2*.DLL files hanging around in the Mozilla plugins directory causing problems?

Do you have the mplayer win32 plugins installed correctly?

Did you reconfigure MPC to not play those file types that the plugin can play?

There are probably more questions based on answers to the above...  :-)

And... don't forget to read the docs - possibly something missing from Saijin_Naib's exploration of mplayer  :-)


Regards

Pete






Saijin_Naib

#5
You are right, I didn't read the docs. I made the mistaken assumption that I could just put the npmp plugin in my MOZ_PLUG directory and be done with it. Now that I have the (supposedly) functional plugin downloaded & in my MOZ_PLUG directory, I get a black tab that says "Click To Start MPlayer" then "Failed to start MPlayer".

I have tried to read the doc and write this mplayer_path variable to the config file, but I don't know the syntax the program expects, and so, after reading the docs, I still do not have a functional Mplayer plugin.

Here is what my config (C:\HOME\Default\.mplayer\) states:
# Write your default config options here!
MPLAYER_PATH C:\Programs\Mplayer

RobertM

Hi Pete!

1) I am using broken plugin from mPlayer (Ooops!)

2) I did not install the WinCodecs (as I had read elsewhere they werent necessary) (Ooops!)

3) I had not removed the NPOS2*.DLL files (Ooops!)

I wonder why I am having problems... hmmm...  ;)  ;D

Thanks very much! Will give it a try the correct way now and see what happens!




Saijin:
I put this "SET MPLAYER_PATH=D:\Apps\mPlayer" in my config.sys (change your location as appropriate) and then put "D:\Apps\mPlayer;" in the front of my PATH= statement and (dunno if this was necessary) also put "D:\Apps\mPlayer\CODECS;" in the front of my LIBPATH= statement.

Robert


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|


RobertM

Hi Pete,

I have set up and installed as per my previous post, removed anything related from MPC, installed the WinCodecs as per the instructions on the mPlayer site, (and fixed issues 1-3). I am getting the same results as Saijin_Naib when trying the test videos in the same directory that the test plugin is located in. :(

Any suggestions would be greatly appreciated.

Robert


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|


melf

Hi Pete,
Didn't know about this plugin. Would be great if it worked, but I have the same problem as Robert and Sajin_Naib.
/Mikael

Saijin_Naib

I wouldn't care as much about Mozilla Plug-in if Mplayer/2 had a PM-SHELL GUI it ran in and didnt leave stray VIO windows around. Hell, even in Windows, I have media launch in WMP directly. Its a lot nicer than having a tab hanging around doing nothing when the stream is done.

I think this would be a great feature, even a simple (I mean, really simple) gui would be welcome. Or am I wrong?

melf

#10
Now I have it up running! Works very well, tried it on BBC.  I have these statements i my config.sys:

SET MPLAYER_HOME=D:\HOME\DEFAULT\.mplayer
SET MPLAYER_CODECS_DIR=D:\APPS\MPLAYER-DEV-SVN-R25844-OS2-3.3.5\codecs
SET MPLAYER_PATH=D:\APPS\MPLAYER-DEV-SVN-R25844-OS2-3.3.5\mplayer.exe

adding "mplayer.exe" in the PATH statement did the thing.

Thanks a lot Pete!

A little movie (*.mp4 1,2MB)  http://elfonnet.nu/pics/mp.mp4
/Mikael

Saijin_Naib

Doooh, so close. I now get "Click to play" and then "Mplayer running..." then immediately back to "Click to Play". I have similar entries to melf in both my config.sys and my C:\HOME\DEFAULT\.mplayer\config files.

The Blue Warper

Quote from: Saijin_Naib on 2008.04.25, 11:02:28
Doooh, so close. I now get "Click to play" and then "Mplayer running..." then immediately back to "Click to Play". I have similar entries to melf in both my config.sys and my C:\HOME\DEFAULT\.mplayer\config files.

Hi all!

Saijin_Naib,
just a little hint.  As I happen to remember you've got your video-card running under Panorama VESA driver, have you tried running mplayer with the correct parameters (there's an option for DIVE output: sorry, but I haven't the docs at hand right now)?
Regards

melf

I just have to say after some more tests. This plugin works splendid!
/Mikael

Saijin_Naib

Blue Warper, I have no added this line to my config anywhere because MPLayer (in its stand-alone configuration) plays all my files without issue. I believe it defaults to DIVE here, but I may try and force it to see if this is the issue at hand.