PDA

View Full Version : Odd Xv problem with 8.4 and SMplayer


Porter
04-20-2008, 10:36 AM
With 8.3 everything was working well in all of my media players... VLC, Mplayer, SMplayer, etc.

With 8.4, Mplayer and SMplayer aren't able to grab an Xv port. VLC didn't work at first but now seems to work fine, once I specified the port manually.

SMplayer simply displays a black screen. I'm not sure how to manually set an XV output port in SMplayer, though I figure that may help. XVinfo reports 4 xv ports starting at 131.

I'm going to do some more experimentation with it... but has anyone else run into this issue?




Current config: Mobility X1400 on Ubuntu 8.04, using Catalyst 8.4, NOT using Compiz, SMplayer 0.6.0rc4, Mplayer SVN r26030

Porter
04-20-2008, 11:00 AM
Here's my log output from mplayer (within Smplayer):

/usr/bin/mplayer -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo xv -ao pulse -zoom -nokeepaspect -framedrop -dr -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 54525966 -monitorpixelaspect 1 -subfont-autoscale 1 -subfont-text-scale 5 -subcp ISO-8859-1 -aid 1 -subpos 100 -contrast 0 -brightness 0 -hue 0 -saturation 23 -cache 1024 -ss 1271 -osdlevel 0 -vf-add screenshot -channels 2 -af scaletempo /home/jporter/Videos/TheNeverendingStory.mp4

MPlayer dev-SVN-r26030-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
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.
Terminal type `unknown' is not defined.

Playing /home/jporter/Videos/TheNeverendingStory.mp4.

libavformat file format detected.
ID_VIDEO_ID=0
[lavf] Video stream found, -vid 0
ID_AUDIO_ID=1
[lavf] Audio stream found, -aid 1
VIDEO: [avc1] 720x352 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=/home/jporter/Videos/TheNeverendingStory.mp4
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=avc1
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=352
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=5772.35
Opening video filter: [screenshot]
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
================================================== ========================
ID_VIDEO_CODEC=ffh264
================================================== ========================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
================================================== ========================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mad
Starting playback...
VDec: vo config request - 720 x 352 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.43:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=2.4300
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4
[swscaler @ 0x8a0d5f4]SwScaler: BICUBIC scaler, from yuv420p to rgb24 using MMX2
[swscaler @ 0x8a0d5f4]SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x8a0d5f4]SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x8a0d5f4]SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
[swscaler @ 0x8a0d5f4]SwScaler: 720x352 -> 856x352
VO: [xv] 720x352 => 856x352 Planar YV12 [zoom]
X11 error: BadAccess during XSelectInput Call
X11 error: The 'ButtonPressMask' mask of specified window has probably already used by another appication (see man XSelectInput)
X11 error: MPlayer discards mouse control (reconfiguring)
X11 error: BadValue (integer parameter out of range for operation)
X11 error: BadValue (integer parameter out of range for operation)
X11 error: BadValue (integer parameter out of range for operation)
X11 error: BadValue (integer parameter out of range for operation)

# [ removed many more X11 errors identical to the above to save space ]


Exiting... (Quit)

Porter
04-20-2008, 11:16 AM
SOLVED!


It turns out that the dropdown selection list in the SMplayer video driver options is directly editable!

I.e. you select Xv from the dropdown list, but then you can also click directly in the box to edit the value.

What kind of drunk developer thought that up? You don't mix your interface paradigms like that, it causes confusion! :rolleyes:


Anyway, directly entering xv:port=132 into the "combo box" fixed the problem. Everything works swimmingly now.




On the flip side... why are these applications not able to automatically detect the available Xv ports? Obviously this was not the case under the Ubuntu repository version of Catalyst 8.3. Why the problem with the ATI script-installed Catalyst 8.4?



-Porter