LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-12-2010, 02:34 PM   #1
hikari
LQ Newbie
 
Registered: Sep 2009
Location: YANAO, Russia
Distribution: Mandriva Linux 2010.1
Posts: 8

Rep: Reputation: 1
Post mplayer with vo=gl2 on compiz - missing osd and subtitles


Hi.
Recently I have updated my video drivers and at last was able to run mplayer with vo=gl2 on compiz. The problem is: there is no text in mplayer at all! No OSD, no subtitles, nothing. What I've tried so far to solve this:

1. Rolled back to vo=xv. OSD and subs are there, but video flickers awfully when I'm trying to move mplayer window, change desktop, etc.

2. Played with ccsm "Render text to texture" and "Video" options. No effect.

3. Used vdpau for vo. Hmm, text is there, but mplayer does not respect -subfont-osd-scale and -subfont-text-scale options in config file. Text though is HUGE. Also, "subcp=enca:ru:en" entry in the config file is ignored completely. But, when I launch mplayer with vo=vdpau AND -subfont-osd-scale 2 -subfont-text-scale=2 -subcp enca:ru:en from the console, it is magically working.

4. Activated -ass switch (my subtitles are in srt format). Oh, now I can see subtitles (which are ugly yellow), but NOT the OSD.

So, my only solution so far is to create alias for mplayer in bash, which is just temporary, because not all video codecs in mplayer are supporting vdpau.

Any help will be appreciated. I've googled for an hour with keywords "mplayer compiz text osd" without any result.
 
Old 09-30-2010, 10:16 PM   #2
mf93
Member
 
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Rep: Reputation: 36
try a different video player...maybe banshee?
 
Old 01-01-2011, 03:27 AM   #3
coldmug
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 1
If you look at the man page for mplayer:
Quote:
yuv=<n>
Select the type of YUV to RGB conversion. If set to anything except 0 OSD will be disabled and brightness, contrast and gamma setting is only available via the
global X server settings. Apart from this the values have the same meaning as for -vo gl.
so in the mplayer command line just use
Quote:
mplayer vidoefile.avi -vo gl2:yuv=0
Or if you dont want to type that in every time. Open up ~/.mplayer/config and put the following line in it

Quote:
vo="gl2:yuv=0"
 
1 members found this post helpful.
Old 01-03-2011, 09:32 AM   #4
hikari
LQ Newbie
 
Registered: Sep 2009
Location: YANAO, Russia
Distribution: Mandriva Linux 2010.1
Posts: 8

Original Poster
Rep: Reputation: 1
Smile Porblem solved!

Thanks, that worked. A bit late, because after some driver update the flickering gone (and I'm using -vo vdpau as the default output now). Thank you anyway.
 
Old 01-04-2011, 11:18 AM   #5
coldmug
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 1
np. Just wanted to share anyway, someone else might be having the same issue. I myself watched a lot of movies without the display
 
  


Reply

Tags
compiz, mplayer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mplayer OSD problem vipin_jss Linux - Software 2 10-04-2008 08:31 AM
OSD 10.3 + Nvidia + Compiz = No valid GL extensions string found. gopher91 Linux - Desktop 1 01-03-2008 02:18 PM
Mplayer OSD Question truptrup Linux - Software 1 10-11-2007 02:23 AM
Subtitles in mplayer enigma82 Linux - Software 1 09-04-2004 05:53 AM


All times are GMT -5. The time now is 01:57 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration