[MPlayer-users] trying to use mplayer with knoppix ...

Albretch Mueller lbrtchx at gmail.com
Sat Aug 27 05:15:43 CEST 2011


// __ these are the codecs mplayer can use out of my box

$ mplayer -vfm help
MPlayer SVN-r29142-4.3.3 (C) 2000-2009 MPlayer Team
Available (compiled-in) video codec families/drivers:
   vfm:    info:  (comment)
    null  Null video decoder (no decoding)
  ffmpeg  FFmpeg's libavcodec codec family (native codecs)
  theora  Theora/VP3 (Theora project's VP3 codec)
   dshow  DirectShow video codecs (win32 codecs)
     dmo  DMO video codecs (win32 codecs)
     vfw  Win32/VfW video codecs (win32 codecs)
   vfwex  Win32/VfWex video codecs (win32 codecs)
     lzo  LZO compressed Video (based on liblzo:
http://www.oberhumer.com/opensource/lzo/)
     raw  RAW Uncompressed Video (uncompressed)
  hmblck  Hauppauge Macroblock/NV12/NV21 Decoder (uncompressed)
   xanim  XAnim codecs (binary codec plugins)
    mpng  PNG Images decoder (uses libpng, 8bpp modes not supported yet)
    ijpg  JPEG Images decoder (uses Independent JPEG Group's jpeglib)
    mtga  TGA Images decoder (only 24bpp and 32bpp RGB targa files
support so far)
     sgi  SGI Image decoder ()
libmpeg2  libmpeg2 MPEG 1/2 Video decoder (native)
 mpegpes  MPEG 1/2 Video passthrough (for hw decoders)
 realvid  RealVideo decoder (binary real video codecs)
 qtvideo  Quicktime Video decoder (win32)

// __ then I installed debian-multimedia-keyring, w32codecs and libdvdcss2

// __ using as source list: /media/sdb2/inst/sw/deb/local00_sources.list
# local files
deb file:/media/sdb2/inst/sw/deb/arc i386/

(Reading database ... 93930 files and directories currently installed.)
Unpacking debian-multimedia-keyring (from
.../debian-multimedia-keyring_2010.12.26_all.deb) ...
Setting up debian-multimedia-keyring (2010.12.26) ...
OK
Selecting previously deselected package w32codecs.
(Reading database ... 93936 files and directories currently installed.)
Unpacking w32codecs (from .../w32codecs_20110131-0.1_i386.deb) ...
Setting up w32codecs (1:20110131-0.1) ...
(Reading database ... 94162 files and directories currently installed.)
Preparing to replace libdvdcss2 1.2.10-1 (using
.../libdvdcss2_1.2.10-1_i386.deb) ...
Unpacking replacement libdvdcss2 ...
Setting up libdvdcss2 (1.2.10-1) ...


 then I tried "mplayer -vfm help" again I got the same results. I
found that w32codecs were actually installed in

 /ramdisk/usr/lib/codecs

 but since I am using knoppix I took all these files and put them in a
hard drive directory

 Now how can I specify in my mplayer.conf or codecs.conf to find the
codecs in that directory?

 Also what else should I change? I don't know how mplayer.conf and
codecs.conf should look like

~
$ ls -l /media/sdb6/knet/knoppix/.mplayer/*.conf
-rw-r--r-- 1 knoppix knoppix    0 Aug 26 19:35
/media/sdb6/knet/knoppix/.mplayer/codecs.conf
-rw-r--r-T 1 knoppix knoppix 2523 Aug 26 20:44
/media/sdb6/knet/knoppix/.mplayer/gui.conf
-rw-r--r-- 1 knoppix knoppix    0 Aug 26 19:37
/media/sdb6/knet/knoppix/.mplayer/input.conf
$ cat /media/sdb6/knet/knoppix/.mplayer/codecs.conf
$
~
 This is what I get while trying to view a video using mplayer
~
$ mplayer -v -vo x11 ./VTS_01_1.VOB
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: 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' '-vo' 'x11' './VTS_01_1.VOB'
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'
Parsing input config file /media/sdb6/knet/knoppix/.mplayer/input.conf
Input config file /media/sdb6/knet/knoppix/.mplayer/input.conf parsed: 0 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('VTS_01_1.VOB.conf') ->
'/media/sdb6/knet/knoppix/.mplayer/VTS_01_1.VOB.conf'

Playing ./VTS_01_1.VOB.
get_path('sub/') -> '/media/sdb6/knet/knoppix/.mplayer/sub/'
[file] File size is 395264 bytes
STREAM: [file] ./VTS_01_1.VOB
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: MPEG-PS format
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename ./VTS_01_1.VOB ext: .VOB
Trying demuxer 2 based on filename extension
system stream synced at 0xD (13)!
==> Found video stream: 0
==> Found audio stream: 128
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  6000.0 kbps (750.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
==========================================================================
Cannot find codec matching selected -vo and video format 0x10000002.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Cannot find codec for audio format 0x2000.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Freeing 0 unused audio chunks.
Video: no video
Freeing 116 unused video chunks.

vo: uninit ...

Exiting... (End of file)
$
~
 thank you very much
 lbrtchx


More information about the MPlayer-users mailing list