[MPlayer-users] OK, I seem to be getting somewhere ...

Albretch Mueller lbrtchx at gmail.com
Tue Aug 30 12:13:30 CEST 2011


 Well, I got "no adaptors present":
~
$ xvinfo
X-Video Extension version 2.2
screen #0
 no adaptors present
$
~
 It may relate to the start up options I give to the kernel:
~
 knoppix init 2 xmodule=vesa alsa fb1280x1024 depth=16 fromhd=/dev/sdb5
~
 because the sound and video cards of the old machine I use are a bit
flacky. Still I can play youtube videos and some local and DVD based
videos this way with no problems whatsoever
~
> No no no.
> If you want to use it from command line then:

> $ mplayer -v -vo x11 -ao oss dvd://
~
 if I go this way I don't see anything at all, at least the way I was
using it mplayer shows me something
~
> But you must have SDL configured in config files, either in
> /etc/mplayer/mplayer.conf or in ~/mplayer/config
~
 rememeber I am using a a live CD (knoppix) ;-)
~
 Anyway after editing /etc/mplayer/mplayer.conf
~
### mplayer DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.
#video output driver
vo=xv,x11
#device for dvd
dvd-device=/dev/dvd
#enable fontconfig
fontconfig=1
font='sans'
#if you do not like this default, override it by adding
#  a ao= line below this debconf area
ao=alsa,oss
### END OF DEBCONF AREA.  PLACE YOUR EDITS BELOW; THEY WILL BE PRESERVED.
# Default for KNOPPIX,, SDL seems to be more sucessful
vo=x11
ao=oss
#vo=sdl
#ao=sdl
~
 I got:
~
$ mplayer -v dvd://2
MPlayer SVN-r29142-4.3.3 (C) 2000-2009 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 5
CPU: Intel(R) Pentium(R) D CPU 2.80GHz (Family: 15, Model: 4, Stepping: 7)
extended cpuid-level: 8
extended cache-info: 67133504
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/media/sdb6/knet/knoppix/.mplayer/codecs.conf'
Reading /media/sdb6/knet/knoppix/.mplayer/codecs.conf: Can't open
'/media/sdb6/knet/knoppix/.mplayer/codecs.conf': No such file or
directory
Reading /etc/mplayer/codecs.conf: Can't open
'/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/usr --confdir=/etc/mplayer
--datadir=/usr/share/mplayer --codecsdir=/usr/lib/codecs --enable-xvmc
--enable-sdl --enable-ossaudio --enable-lirc --enable-gui
--enable-freetype --enable-menu --enable-largefiles
--disable-bitmap-font --disable-ggi --disable-xvid --language=all
--disable-xmms --disable-arts --disable-aa --disable-mad
--disable-musepack --disable-libdv --disable-libavutil_a
--disable-libavcodec_a --disable-libavformat_a --disable-libpostproc_a
--disable-libswscale_a --enable-faad --target=i586-linux
--enable-win32dll --enable-real --enable-xanim
--enable-runtime-cpudetection --disable-libdvdcss-internal
--enable-dvdread --disable-mencoder --enable-debug --enable-tv-v4l2
--enable-xmga --enable-mga --enable-3dfx --enable-tdfxfb
--enable-fbdev
CommandLine: '-v' 'dvd://2'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/media/sdb6/knet/knoppix/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/media/sdb6/knet/knoppix/.mplayer/input.conf'
Can't open input config file
/media/sdb6/knet/knoppix/.mplayer/input.conf: No such file or
directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 89 binds
Setting up LIRC support...
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.
get_path('2.conf') -> '/media/sdb6/knet/knoppix/.mplayer/2.conf'

Playing dvd://2.
get_path('sub/') -> '/media/sdb6/knet/knoppix/.mplayer/sub/'
URL: dvd://2
libdvdread: Using libdvdcss version 1.2.10 for DVD access
Reading disc structure, please wait...
There are 17 titles on this DVD.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000163
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00000240
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x000007b4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x000022c5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x00002642
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0000274c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0000280f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x0033038e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x0033044f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x00379631
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x003796f2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x00381af0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x00381bb1
libdvdread: Elapsed time 0
libdvdread: Found 8 VTS's
libdvdread: Elapsed time 0
DVD successfully opened.
audio stream: 0 format: ac3 (stereo) language: en aid: 128.
number of audio channels on disk: 1.
number of subtitles on disk: 0
DVD start cell: 0  pack: 0x0-0x557
DVD start=0 end=1367
STREAM: [null] dvd://2
STREAM: Description: DVD stream
STREAM: Author:
STREAM: Comment:
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x557
Angle-seek synced by cell/vob IDN search!
system stream synced at 0xD (13)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.970  ftime:=0.0334
get_path('sub/') -> '/media/sdb6/knet/knoppix/.mplayer/sub/'
X11 opening display: :0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
INFO: libavcodec init OK!
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using SSE optimized IMDCT transform
AC3: 2.0 (dolby)  48000 Hz  192.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Trying preferred audio driver 'oss', options '[none]'
ao2: 48000 Hz  2 chans  s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x480->720x540,flags=0,'MPlayer',0x32315659)
VO: [x11] 720x480 => 720x540 Planar YV12
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Sharing memory.
[swscaler @ 0x4406c580]using unscaled yuv420p -> rgb565 special converter
*** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
[mpeg2video @ 0x435feb80]ac-tex damaged at 11 7
[mpeg2video @ 0x435feb80]Warning MVs not available
[mpeg2video @ 0x435feb80]concealing 1035 DC, 1035 AC, 1035 MV errors
*** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
Unicode font: 255 glyphs.
Unicode font: 255 glyphs.
*** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
--- END OF CELL !!! ----0.006 ct:  0.082 413/413  6%  8%  0.7% 0 0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF 0.001 ct:  0.082 414/414  6%  8%  0.7% 0 0
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF 0.020 ct:  0.084 415/415  6%  9%  0.7% 0 0
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF 0.028 ct:  0.086 416/416  6%  9%  0.7% 0 0
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF 0.037 ct:  0.090 417/417  6%  9%  0.7% 0 0
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF 0.046 ct:  0.093 418/418  6%  9%  0.6% 0 0
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF 0.053 ct:  0.096 419/419  6%  9%  0.6% 0 0
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF 0.060 ct:  0.100 420/420  6% 10%  0.6% 0 0
ds_fill_buffer: EOF reached (stream: audio)
MPEG Stream reached EOF 0.045 ct:  0.102 421/421  6% 10%  0.6% 0 0
ds_fill_buffer: EOF reached (stream: audio)
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  14.2 A-V:  0.045 ct:  0.100 421/421  6% 10%  0.6% 0 0

Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: liba52
Uninit video: ffmpeg
vo: uninit ...

Exiting... (End of file)
$


More information about the MPlayer-users mailing list