You are not logged in.

#1 2008-12-02 16:38:52

bandito
Member
Registered: 2008-11-13
Posts: 38

[SOLVED]mplayer and urxvt problems after update

Hello to all fellow archers!

Couple of days back, I updated xorg-server, like most of the people around here, so I asume that issues I`m going to describe, could be related to xorg-server being recently updated.

First issue is related to mplayer not playing movies in fullscreen format, despite being told to do so. The image size of a video is about 20% of screen resolution size, while the rest of the screen is just black.

MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) Processor (Family: 6, Model: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
115 audio & 237 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Death.Proof[2007][Unrated.Editon]DvDrip[Eng]-aXXo.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [DX50]  664x280  12bpp  23.976 fps  741.7 kbps (90.5 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.5.10.1 (build 2366/release)
SUB: Detected subtitle file format: microdvd
SUB: Read 1877 subtitles.
SUB: Added subtitle file (1): ./Death.Proof[2007][Unrated.Editon]DvDrip[Eng]-aXXo.srt
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 112.0 kbit/7.29% (ratio: 14000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 664 x 280 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.37:1 - prescaling to correct movie aspect.
VO: [x11] 664x280 => 664x280 Planar YV12 
[swscaler @ 0x89d5f50]SwScaler: using unscaled yuv420p -> rgb32 special converter
A:  67.6 V:  67.6 A-V: -0.001 ct:  0.114 1621/1621  7% 12%  1.0% 0 0 
Exiting... (Quit)

I tried switching between many different video out drivers, the only one that plays video normaly is x11, but the image size is very small.

I`m using vesa driver and my video card is

lspci | grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 If [Radeon 9000] (rev 01)

xorg.conf http://pastebin.com/f314eaaed

Xorg.0.log http://pastebin.com/f570dbcf5

I found a partial solution to mplayer problem in this tread http://bbs.archlinux.org/viewtopic.php?id=60054 where patroclo7 stated, that from this update on, X is using autodetection and doesn`t need xorg.conf anymore.
Anyways I followed the advice deleted my xorg.conf and rebooted arch without xorg.conf. Everything works, even the video in mplayer is running at normal size, however the default screen resolution is a bit to high.
I would like to set it to 1024x768 (monitor, philips 107E5) but don`t have a clue how to change screen resolution without xorg.conf being present. I`m using openbox as a standalone wm.
I still have a backup of my working xorg.conf file, so I can switch between xorg.conf and the other config.

Just for the record, video files are displayed properly using vlc as media player on both described configurations.

To sum everything up, how to set screen resolution at 1024x 768 without xorg.conf being present or how to fix mplayer displaying movies in a very small screen/box, despite running in fullscreen mode (using xorg.conf).

My second problem is regarding urxvt and its borderless. If I set it to true urxvt hangs on start everytime. The terminal is displayed in top left corner of the screen but it`s frozen and can`t be used, while being set to false works like a charm.

Xdefaults

#####Urxvt Config#####

URxvt.termName: rxvt
URxvt.transparent: true
URxvt.inheritPixmap: true
URxvt.imLocale: en_US.utf8
URxvt.scrollBar: false
URxvt.saveLines: 5000
URxvt.urlLauncher:      kazehakase
URxvt.cursorBlink: true
URxvt.fading: 15%
URxvt.shading: 50
!URxvt*background: [80]#ece9e2
!URxvt.foreground: [80]#3d352a
urxvt.depth: 24
urxvt*background: rgba:0000/0000/0000/aaaa
urxvt*foreground: rgba:ffff/ffff/ffff/aaaa
URxvt.tintColor: #d9d7d1
URxvt.borderLess: false
!URxvt.InternalBorder: .5
URxvt.externalBorder: .5
URxvt.borderColor: #acacac

######Urxvt Colors######

*foreground:     rgba:0000/0000/0000/dddd
*background:     rgb:10/10/10
!black
*color0:         rgb:20/20/20
*color8:         rgb:75/77/73
!red
*color1:         rgb:cc/00/00  
*color9:         rgb:ef/29/29
!green
*color2:         rgb:4e/9a/06
*color10:        rgb:8a/e2/34
!brown/yellow
*color3:         rgb:c4/a0/00
*color11:        rgb:fc/e9/4f
!blue
*color4:         rgb:34/65/a4
*color12:        rgb:72/9f/cf
!magenta
*color5:         rgb:75/50/7b
*color13:        rgb:ad/7f/a8
!cyan
*color6:         rgb:06/98/9a
*color14:        rgb:34/e2/e2
!white
*color7:         rgb:d3/d7/cf
*color15:        rgb:ee/ee/ec

! #####Xterm Config#####

XTerm*background: black
XTerm*foreground: gray
XTerm*highlightColor: orange

######Stjerm Config######

stjerm.key: f12
stjerm.opacity: 50

######Stjerm colors######

stjerm.color0: #202020
stjerm.color1: #cc0000
stjerm.color2: #4e9a06
stjerm.color3: #c4a000
stjerm.color4: #3465a4
stjerm.color5: #75507b
stjerm.color6: #06989a
stjerm.color7: #d3d7cf
stjerm.color8: #757773
stjerm.color9: #ef2929
stjerm.color10: #8ae234
stjerm.color11: #fc394f
stjerm.color12: #729fcf
stjerm.color13: #ad7fa8
stjerm.color14: #34e2e2
stjerm.color15: #eeeeec

######Mouse Cursor Theme######

Xcursor.theme:Neutral_Plus_Inv

Any advice is highly appreciated.

Regards,

bandito

Last edited by bandito (2008-12-05 21:35:11)

Offline

#2 2008-12-02 19:06:05

bandito
Member
Registered: 2008-11-13
Posts: 38

Re: [SOLVED]mplayer and urxvt problems after update

The solution for mplayer using xorg.conf file as follows:

To get fullscreen video working just add

zoom = yes

to /.mplayer/config

In case if you are using gui for mplayer and get the following error trying to play a video file

Error opening/initializing the selected video_out (-vo) device

Open /.mplayer/gui.conf and change vo_driver from "xv" to "x11".



Urxvt solution is described here http://bbs.archlinux.org/viewtopic.php?pid=457421 but also check this for explanation http://comments.gmane.org/gmane.comp.wi … enbox/3947

regards

Bandito

Last edited by bandito (2008-12-05 21:34:31)

Offline

Board footer

Powered by FluxBB