Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have just upgraded from Fedora Core 5 to Fedora Core 6 (FC6). I have used all the Fedoras since before there were Fedoras. I have not had this problem before.
As usual I used the Livna repositories to install mplayer using Yum. As usual I gabbed the latest codecs from the Mplayer website (all-20061022.tar.bz2) and as usual I unpacked them and put them into /usr/lib/win32. To my surprise this did not work... It always has in the past. I googled a bit and tried putting the codecs in /usr/local/lib/codecs and for good measure in /usr/lib/codecs too. None of these seem to work.
All I get - even with cruddy old .avi clips - is a bright blue screen and sound but no video.
I have (I presume) the latest version of mplayer (downloaded from Livna today - MPlayer 1.0rc1-rpm.livna.org-4.1.1 (C) 2000-2006 MPlayer Team).
Where should the codecs go - and why don't mine work now when they always did before?
So I installed RealPlayer (using the RPM10Gold RPM from the RealPlayer site). At first it wouldn't work at all (wouldn't load) and then I read somewhere that I had to have compat-libstdc++ installed first (don't ever remember doing that before with FC1,2,3,4,5...) so I removed RealPlayer and installed compat-libstdc++ then re-installed RealPlayer.
RealPlayer now loaded but - here's the strange thing - when playing a .rm clip would show a millisecond of the video and then revert to a black screen with only audio for company...
Trying to play a live clip from the BBC website crapped out because it wanted to try to play it using Totem - so I uninstalled the Totem Mozilla plugin. Then it crapped out because it wanted to try to play it using Mplayer (huh!) so I uninstalled Mplayer - completely - and now it plays BBC clips!
However the previous behaviour (showing a brief second of video before resuming a black screen) with saved files still remains.
I have tried deleting all the codecs from all three locations and still RealPlayer plays BBC video but not files.
Ok, I'll tell you my set up in hope it can help.
1. I have compat-libstdc++-33 installed.
2. I uninstalled the original totem.
3. I installed mplayer and mplayerplug-in from freshrpms.net
4. I downloaded and installed the win32 codecs from the mplayer site and placed the contents in /usr/lib/codecs
5. I installed alsa-oss and RealPlayer-10.0.8.805-20060718
6. Removed mplayerplug-in-rm.so, and mplayerplug-in-rm.xpt from /usr/lib/mozilla/plugins folder. Then linked the RealPlayer plugin files (nphelix.so and nphelix.xpt) to the plugins folder.
7. As root edited /usr/bin/realplayer and changed the line
Can you please reinstall the codecs and post the output of playing the file with mplayer from the command line? I don't know what RealPlayer's output is supposed to look like, but if you post that mplayer output, maybe I could help you. Also, I don't see how having mplayer and codecs installed could affect RealPlayer.
There doesn't appear to be anything going wrong in that output. I think the problem may be the video output driver you are using. Try "mplayer -vo <driver> <file>", for all the drivers listed in "mplayer -vo help".
EDIT: If that works, set your default driver in /etc/mplayer/mplayer.conf or ~/.mplayer/config with "vo=<driver>".
Last edited by Ynot Irucrem; 12-18-2006 at 03:08 AM.
Well thanks! We're really getting somewhere now...
Playing a clip as $ mplayer -vo x11 stuff/clips/movie1.wmv worked!
I got quite excited and quickly added vo=x11 to both /etc/mplayer/mplayer.conf and ~/.mplayer/config and also found that there was an entry in ~/.mplayer/gui.conf that needed to be changed....
Then it seemed to work. However, we're not quite there yet. Some clips that used to play well on Mplayer now stutter and splurt and garble the sound (mainly mpgs - I think - but not all mpgs) and the other thing is that when I try to play "full screen" size the video remains its original size but is now on a black background which fill the screen. Is this another config setting that needs changing? I've tried a few without success...
Also - RealPlayer still won't work.
Is there a more fundamental problem with my system?
What is x11 as opposed to xv and why did I need to change this setting when I never had to in the past? I've tried most of the other settings and some work - some don't. Some do some things (e.g. full screen - but not others) How can I find out what setting it should be for my system?
Many many thanks for your help so far. Much appreciated...
[edit : fix typo]
Last edited by ArthurDent; 12-18-2006 at 04:51 AM.
You only need to add that line to one or the other file, mplayer first looks at it's hardcoded settings, then anything in /etc/mplayer/ overrides those, then ~/.mplayer/ overrides those.
xv is an extension to x11 with some hardware acceleration to speed up the video rendering, that's why (unless you have a really fast CPU) the sound skips in x11, because mplayer is compensating for the slow video.
The full screen behavior is normal - some drivers just don't support video scaling.
The only things I can suggest are to update your video drivers, and to use a different codec. Try "mplayer -vc <codec> -vo <driver> <file>" with ffwmv2, wmv8*, and wmvdmo. If you get one that works, edit /etc/mplayer/codecs.conf so that the working codec's definition comes before all others that support the fourcc "WMV2" (or just comment out the broken codec's definition). See here for more info on codecs.conf.
EDIT: I know some packages don't include a codecs.conf and just rely on the hardcoded settings, so here's mine (had to rename to .txt to upload).
*D'oh, that's the one you already tried.
Last edited by Ynot Irucrem; 12-18-2006 at 06:42 AM.
OK - So we're getting a little beyond my level of competence here...
I am really confused. Here's the thing:
This is is dual boot system - I have both FC6 AND FC5 (as well as WinXp, Ubuntu, Gentoo and Mandriva) and on this same machine unmodified Mplayer settings (i.e. xv etc.) work just fine under FC5. The very same clips work without stuttering and in full screen mode.
I have just found a setting in the RealPlayer gui preferences that says "Use XVideo". In FC5 it is ticked and works just fine. In FC6 it will only work if it's un-ticked!
So I think my problem is at a higher (or probably more accurately - a lower) level.
I've looked at the two xorg.conf files (FC5 & FC6) and they are very different. The problem is I don't speak XOrg and it's all greek to me...
Is this even where I should be looking?
Why can the same machine play xv in one distro but not in another?