[MPlayer-users] -vo xv fauls to play multiple files.

Nilmoni Deb ndeb at ece.cmu.edu
Wed May 8 19:47:02 CEST 2002


As usual, I configured with --enable-gui but ran mplayer (current cvs) in
non-gui mode as follows:

mplayer -v -vo xv file1 file2

The 2nd file is not played bcos something is blocking the xvideo port
as shown by this message:

Xv: could not grab port 50
Couldn't find free Xvideo port - maybe other applications keep open it
Error opening/initializing the selected video_out (-vo) device!

Please see the complete mplayer log below.

This problem is not there with -vo sdl. WM is kde3 but that should not be
related to this new bug.

thanks
- Nil


CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Duron SF Spitfire (Type: 6, Stepping: 1)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /home/ndeb/.mplayer/codecs.conf: 34 audio & 92 video codecs
CommandLine: '-v' '/home/ndeb/movies/telf_a1.mpg'
'/home/ndeb/movies/telf_a2.mpg'
get_path('font/font.desc') -> '/home/ndeb/.mplayer/font/font.desc'
font: can't open file: /home/ndeb/.mplayer/font/font.desc
font: can't open file: /opt/mplayer//share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/ndeb/.mplayer/input.conf'
Can't open input config file /home/ndeb/.mplayer/input.conf : No such file
or directory
Falling back on default (hardcoded) config
Playing /home/ndeb/movies/telf_a1.mpg
Not an URL!
File size is 204804 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x82c9890  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x82c9890  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x82c9890  
Checking for MOV
DEMUXER: freeing demuxer at 0x82c9890  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x82c9890  
Checking for REAL
DEMUXER: freeing demuxer at 0x82c9890  
DEMUXER: freeing demuxer at 0x82c9890  
DEMUXER: freeing demuxer at 0x82c9890  
DEMUXER: freeing demuxer at 0x82c9890  
DEMUXER: freeing demuxer at 0x82c9890  
DEMUXER: freeing demuxer at 0x82c9890  
system stream synced at 0xB (0)!
==> Found audio stream: 0
==> Found video stream: 0
Detected MPEG-PS file format!
Searching for sequence header... OK!
VIDEO:  MPEG1  160x120  (aspect 1)  25.00 fps  512.0 kbps (64.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:160x120  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/ndeb/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer II, 44100 Hz 32 kbit Single-Channel, BPF: 104
Channels: 1, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 4000->176400
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":0.0" =>
local display)
==========================================================================
Opening Video Decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 160 x 120, Mpeg PES  
[PP] Sorry, postprocessing is not available
vo_debug: query(Mpeg PES) returned 0x0 (i=0) 
Couldn't find matching colorspace - retrying with -vop scale...
SwScale: -1 x -1 (-1=no scaling)
vo_debug: query(Mpeg PES) returned 0x0 (i=0) 
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 160 x 120, Planar YV12  
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x437 (i=0) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(160x120->160x120,flags=0,'MPlayer',0x32315659)
VO: [xv] 160x120 => 160x120 Planar YV12 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x36315652 (RV16) packed
Xvideo image format: 0x35315652 (RV15) packed
Xvideo image format: 0x31313259 (Y211) packed
using Xvideo port 50 for hw scaling
[xv] dx: 0 dy: 0 dw: 160 dh: 120
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
==========================================================================
vo_xv: get: XV_COLORKEY = 66046
vo_xv: assume: XV_COLORKEY = 31
vo_xv: get: XV_BRIGHTNESS = 80
vo_xv: assume: XV_BRIGHTNESS = 627
vo_xv: get: XV_CONTRAST = 128
vo_xv: assume: XV_CONTRAST = 7
vo_xv: get: XV_SATURATION = 128
vo_xv: assume: XV_SATURATION = 7
vo_xv: get: XV_HUE = 0
vo_xv: assume: XV_HUE = 0
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested:
Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:  32/32  (4096 bytes/frag)  free: 131072
Start playing...
user_data: len= 29  43 72 65 61 'Created by XingCD Version 1.2'
*** [vo] Allocating mp_image_t, 160x128x12bpp YUV planar, 30720 bytes
[xv] dx: 0 dy: 0 dw: 160 dh: 120
*** [vo] Allocating mp_image_t, 160x128x12bpp YUV planar, 30720 bytes0%
*** [vo] Allocating mp_image_t, 160x128x12bpp YUV planar, 30720 bytes0%
MPEG Stream reached EOF 0.005 ct: -0.038   68/ 68   1%  2%  0.6% 0 0 0%
ds_fill_buffer: EOF reached (stream: audio)  
MPEG Stream reached EOF-0.080 ct: -0.048   88/ 88   1%  2%  0.5% 0 0 0%
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
EOF code: 1   4.0 A-V: -0.080 ct: -0.052   88/ 88   1%  3%  0.5% 0 0 0%

*** free_stream() called ***
uninit audio: 1  
uninit video: 1  
DEMUXER: freeing demuxer at 0x82c9890  
DEMUXER: freeing sh_audio at 0x82ca218  
DEMUXER: freeing sh_video at 0x82cad70  
Playing /home/ndeb/movies/telf_a2.mpg
Not an URL!
File size is 346116 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x82c9890  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x82c9890  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x82c9890  
Checking for MOV
DEMUXER: freeing demuxer at 0x82c9890  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x82c9890  
Checking for REAL
DEMUXER: freeing demuxer at 0x82c9890  
DEMUXER: freeing demuxer at 0x82c9890  
DEMUXER: freeing demuxer at 0x82c9890  
DEMUXER: freeing demuxer at 0x82c9890  
DEMUXER: freeing demuxer at 0x82c9890  
DEMUXER: freeing demuxer at 0x82c9890  
system stream synced at 0xB (0)!
==> Found audio stream: 0
==> Found video stream: 0
Detected MPEG-PS file format!
Searching for sequence header... OK!
VIDEO:  MPEG1  160x120  (aspect 1)  25.00 fps  512.0 kbps (64.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:160x120  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/ndeb/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer II, 44100 Hz 32 kbit Single-Channel, BPF: 104
Channels: 1, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 4000->176400
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":0.0" =>
local display)
Xv: could not grab port 50
Couldn't find free Xvideo port - maybe other applications keep open it
Error opening/initializing the selected video_out (-vo) device!

*** free_stream() called ***
vo: uninit ...

Exiting... (End of file)





More information about the MPlayer-users mailing list