Playing video in MPlayer embedded video player and Mozilla
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Playing video in MPlayer embedded video player and Mozilla
I am new to Linux, although, after a good deal of reading and effort, I finally got Totem Movie Player to work and was able to install Real Player for Linux, which was quite easy, but it seems to have some bugs (distorted image when resizing). Anyway, when I click on a link to try and play a video on Mozilla Firefox, the default player is the MPlayer embedded video player. It does its thing (indicating that it is searching, etc.), then, well, nothing! However, if I right click on the embedded player and 'copy URL', I can then paste this in Totem and play it from there, however, this is a real pain. I have to do this every time I want to view a video.
Here are my questions:
1) Is it possible to set a regular video player (= not embedded) as a default player so that when clicking on a link, it opens the program automatically and plays the video?
2) What do I need to do to fix MPlayer (embedded) so that it works when clicking on a video link?
3) Any other suggestions to iron out video problems in general? Other useful software? Codecs or plugins? etc.
If you can answer these questions, I'd appreciate rather explicit information on commands. As I said earlier, I am new to Linux.
To get the MPlayer plug-in to work, click on a video link and wait for the plug-in to start. Once it does, right click on the plug-in (even though it isn't working) and select configure from the menu. That should bring up the configuration options. For video output, make sure X11 is selected. You'll probably also want alsa selected for audio output.
Okay, 'X11' and 'alsa' selected. I pressed OK so it did register (when I reopen the configuration window, 'X11' and 'alsa' are indeed selected). Still not working. I've tried several combinations, but have had no luck so far.
Everything is selected EXCEPT the following:
-Enable MIDI Support
-Play media directly from site (No Caching)
-Connect to RTSP Media over TCP
-Use HTTP instead of RTSP
When I selected "Connect RTSP Media over TCP", I got RealPlayer to open when clicking on some links, but only got sound (no video). I don't know why this would cause RealPlayer (embedded) to open instead of MPlayer.
Can you give a more complete description of what Mplayer is doing when it tries to play a video?
Also, do you have any idea of what version of the plugin you are using? There were a couple of buggy ones, so it might pay to install the latest version, even if you have to do it from source.
Also, do you have any idea of what version of the plugin you are using? There were a couple of buggy ones, so it might pay to install the latest version, even if you have to do it from source.
Where does one get the latest version of the mplayer plugin? The only ones I find are asking me to downgrade packages before installation.
Personally I am trying to get MSNBC content to work.
When I click on a video link, embedded MPlayer opens and replaces the previous webpage. I get the following:
-Download completed...
-Connecting to server
-Buffering http://212... (which takes a long time. You actually get the impression that nothing is happening.)
-Stopped
At this point I get the 'play', 'pause' and 'stop' icons in the bottom left corner
If I click on 'play' I get
-Getting playlist
-Connecting to server
-Buffering
-Stopped
AND THAT'S IT! NO ACTION
But if I copy URL it gives me this, for example: rtsp://212.58.234.120/nfs01/BBCWorld/encodedfiles/worl_click_140906_show_lo.rm?provider=BBCWorld
That I can play in Totem, in RealPlayer (But I don't even know how to play it in the regular version of MPplayer...)
I get the plugin from the mplayer plugin site. It looks as if version 3.35 is the most current.
@fc6_user
That was exactly what I was having happen, and the configuration bit I told you about fixed it. The only other thing that comes to mind is that you're missing codecs. Does mplayer work decently outside of Firefox? Did you install Mplayer codecs?
@SkipHuffman
I get the plugin from the mplayer plugin site. It looks as if version 3.35 is the most current.
I have found that. But when I try to configure it is asking for a lot of stuff that a browser plug in would not need. Specifically gecko-sdk. An entire software development kit just to install a plug in? Does not seem quite right to me.
And if I try to install the binary it fails with "Some package requested cannot be installed: mplayerplug-in-3.35-fc6.i386 (due to unsatisfied libc.so.6(GLIBC_2.4)) Continue?
Last edited by SkipHuffman; 02-07-2007 at 08:42 AM.
I have found that. But when I try to configure it is asking for a lot of stuff that a browser plug in would not need. Specifically gecko-sdk. An entire software development kit just to install a plug in? Does not seem quite right to me.
And if I try to install the binary it fails with "Some package requested cannot be installed: mplayerplug-in-3.35-fc6.i386 (due to unsatisfied libc.so.6(GLIBC_2.4)) Continue?
If you have a read in the INSTALL file, you'll see you need either the gecko-sdk or the mozilla-devel package. The mozilla package is probably the way to go, and there may even be a package already existing for your distro.
you need either the gecko-sdk or the mozilla-devel package.
So far as urpmi is concerned, I have mozilla-devel. (or perhaps I cannot install it because I have more recent libraries.)
Code:
[root@bigbox Media]# urpmi mozilla-devel
The following packages can't be installed because they depend on packages
that are older than the installed ones:
mozilla-devel-1.7.2-11mdk
Continue? (Y/n) Y
The package(s) are already installed
What can I do to know what codecs are already installed and other information about configuration (commands, perhaps)? I'll then paste them into this thread. Could I give you any other useful information? (Please keep in mind that I'm new at all this stuff. I am enjoying it nevertheless).
What can I do to know what codecs are already installed and other information about configuration (commands, perhaps)? I'll then paste them into this thread. Could I give you any other useful information? (Please keep in mind that I'm new at all this stuff. I am enjoying it nevertheless).
Your codecs are probably located in /usr/lib/codecs/ or /usr/local/lib/codecs/
So far as urpmi is concerned, I have mozilla-devel. (or perhaps I cannot install it because I have more recent libraries.)
Code:
[root@bigbox Media]# urpmi mozilla-devel
The following packages can't be installed because they depend on packages
that are older than the installed ones:
mozilla-devel-1.7.2-11mdk
Continue? (Y/n) Y
The package(s) are already installed
That looks to me like you don't have a completely updated system. Of course I'm frighteningly ignorant about keeping a Fedora box updated, so I might be wrong about that.
About the only suggestion I've got (besides doing a full update) is to run ldconfig and hope that somehow some of the libraries weren't listed. Otherwise you may want to consider trying to update your system, although I would make a full backup of everything important first. That error a couple posts back about an unsatisfied glibc dependency is kinda worrying. Glibc is a pretty central library and screwing with it can bork your system.
That error a couple posts back about an unsatisfied glibc dependency is kinda worrying. Glibc is a pretty central library and screwing with it can bork your system.
Yeah, that has me worried too. It may be time to upgrade this old system. But I just hate to risk it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.