LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-30-2004, 07:14 PM   #1
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Rep: Reputation: 30
no color in totem and mplayer won't play


Totem won't show anything in color: the movies are black and white. Havn't got a clue why.

Mplayer won't show anything at all. It just pops an errormessage which says:

error opening/initializing video_out (-vo) device

Has anyone got a clue as to what the problems might be caused by?
 
Old 05-31-2004, 06:21 AM   #2
Patrique
LQ Newbie
 
Registered: May 2004
Location: Germany
Distribution: Fedora Core 1
Posts: 15

Rep: Reputation: 0
I've got the same problem.

After installing mplayer via apt-get the player refuses to play any video. I get the same error message as above. Xine works fine.
Is there maybe a conflict between xine and mplayer? (well, I don't think so)
I also tried to change the mplayer config file, so that it uses the X11 output device, but I still get this error message.

Any solutions? I could find nothing by google.
 
Old 05-31-2004, 03:12 PM   #3
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
mplayer -vo help

Enjoy!
--- Cerbere
 
Old 05-31-2004, 04:08 PM   #4
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Original Poster
Rep: Reputation: 30
The only thing I get out of that is that I should compile it with the --disable-runtime-cpudetection option. Does that mean:

make --disable-runtime-cpudetection

or what? Or is it the make install that I should use the --disable-runtime-cpudetection option on?

----

Neither make or make install recognizes the --disable-runtime-cpudetection option, so what sshould I do? I feel soooo n00b having to ask all these questions...

----

Just figured out that I should insert it in the ./configure command, so we'll se how it turns out this time

---

That did the trick, now mplayer works fine. Has anyone got an idea about what to do about totem?

Last edited by NonSumPisces; 05-31-2004 at 04:36 PM.
 
Old 06-01-2004, 12:23 PM   #5
Patrique
LQ Newbie
 
Registered: May 2004
Location: Germany
Distribution: Fedora Core 1
Posts: 15

Rep: Reputation: 0
All righty.

So....what I did:

I uninstalled the mplayer-version apt-get installed for me, what means that I did the following:

rpm -e mplayer-gui-1.0pre4-3
rpm -e mplayer-common-1.0pre4-3
rpm -e mplayer-skin-default-1.0-2

what I did next was:

--> I downloaded the current mplayer-version-source from mplayerhq.hu:

I configured the makefile using:

--> ./configure --enable-gui --enable-runtime-cpudetection

everything worked fine...so I typed in "make" and after success I typed in "make install"

finally everything worked fine ...

I still had to install a skin and the fonts and so I did

After this procedure I started the gmplayer and tried to play a video file and then the error message appeared.

--> error opening/initializing video_out (-vo) device

okay...pretty unmotivating.

Now I tried if the mplayer works without gui and it worked fine.

mplayer told me that he uses the Planar YV12 vo-device by:

-->VDec: vo config request - 480 x 480 (preferred csp: Planar YV12)
-->VDec: using Planar YV12 as output csp (no 0)

I tried to config this output device in the mplayer config file, like:

enable_audio_equ = "no"
--> vo_driver = "YV12"
vo_panscan = "0.000000"
vo_doublebuffering = "no"
vo_direct_render = "no"
v_framedrop = "0"
v_flip = "-1"
v_ni = "no"
v_idx = "-1"
vf_pp = "no"
vf_autoq = "0"
vf_lavc = "no"
ao_volnorm = "no"
ao_surround = "no"
ao_extra_stereo = "no"
ao_extra_stereo_coefficient = "1.000000"
ao_oss_mixer = "/dev/mixer"
ao_oss_device = "/dev/dsp"
osd_level = "1"
sub_auto_load = "yes"
sub_unicode = "no"
sub_pos = "100"
sub_overlap = "no"
font_factor = "0.750000"
font_text_scale = "5.000000"
font_osd_scale = "6.000000"
font_blur = "2.000000"
font_outline = "2.000000"
font_autoscale = "3"
cache = "yes"
cache_size = "8192"
playbar = "yes"
load_fullscreen = "no"
show_videowin = "yes"
stopxscreensaver = "no"
autosync = "no"
autosync_size = "0"
gui_skin = "neutron"
gui_save_pos = "yes"
gui_main_pos_x = "708"
gui_main_pos_y = "425"
gui_video_out_pos_x = "406"
gui_video_out_pos_y = "74"

....but the error message still appears.

What is wrong with the mplayer gui?

Thanks for any suggestions.

If you need more system outputs, just ask me!
 
Old 06-01-2004, 01:17 PM   #6
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Original Poster
Rep: Reputation: 30
I've managed to fix mplayer now.

This is how I did it:

First i saw to that everything from previous installs were removed. If u have your source left you can type make uninstall in the shell, that removes most of them.
Then you type "updatedb" followed by "locate config.conf" and remove all the ones that are in mplayer dirs (and the mplayer dirs of course). Be sure to remove the .mplayer dir in your home dir, that's the most important one.

Right.

Then you put all the codecs you want to use in /usr/local/lib/codecs. You can name the dir something else and in another location, but I did it like this.
The you cd into your mplayer source dir and do

./config --enable-gui --with-codecdir=/usr/local/lib/codecs --disable-runtime-cpudetection
make
make install

Then just do gmplayer in the shell.

This did it for me.

Good luck.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Totem will not play DVD's Electrolyte Linux - Software 10 01-13-2010 03:21 AM
how to get totem-gstreamer to play dvds Simon Bridge Linux - Software 4 10-18-2005 12:03 AM
totem doesn't play anything after installing libdvdcss Oznerol Mandriva 2 12-21-2004 02:35 PM
Totem won't play media raysr Linux - Software 0 09-27-2004 08:07 PM
Totem cant play movies? Kyl3 Mandriva 6 09-01-2004 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration