Newsgroup: it.comp.os.linux.software
Titolo: Mplayerxp da i numeri

Chiedo anticipatamente scusa per la dimensione del post, ma non ho idea di 
come poter spiegare il mio problema senza copiare i messaggi di errore.
Ho un Athlon xp 1600, scheda video Ati Radeon 7000. Ho installato knoppix 
(derivato debian).
Non riesco a vedere alcuni filmati codificati in divx. Ho installato il 
codec per liniux. Sono anche stato su 
http://ffmpeg.sf.net
 ed ho installato 
quel codec, ma dice lo stesso di andarlo a scaricare. Nella sintassi del 
comando ho imposto come video out x11, ma e` solo un esempio, dato che fa 
lo stesso con tutti gli altri vo.
Il bello e` che alcuni filmati in divx me li fa vedere. Altre volte mi fa 
solo sentire l'audio.
C'e` un motivo per tutto questo?
Grazie per chi mi rispondera`...
(chiedo ancora scusa per la dimensione del post)
root@camera:~# mplayerxp -vo x11 filmato.avi
MPlayerXP 0.1.9 (C) 2002 Nick Kurshev 2000-2002 Arpad Gereoffy (see DOCS!)
CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP 
Multiprocessor/Athlon XP eXtreme Performance (Type: 6, Stepping: 2)
extended cpuid-level: 8
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx SSE
Reading /root/.mplayerxp/codecs.conf: 32 audio & 105 video codecs
font: can't open file: /root/.mplayerxp/font/font.desc
font: can't open file: /usr/local/share/mplayerxp/font/font.desc
Can't open input config file /root/.mplayerxp/input.conf : No such file or 
directory
Can't open input config file /usr/local/share/mplayerxp/input.conf : No such 
file or directory
Falling back on default (hardcoded) input config
Playing filmato.avi
vo: X11 running at 1024x768 with depth 16 and 16 bits/pixel (":0.0" => local 
display)
Detected AVI file format!
VIDEO:  [DX50]  512x272  24bpp  25.00 fps  938.7 kbps (114.6 kbyte/s)
[V] filefmt:3  fourcc:0x30355844  size:512x272  fps:25.00  ftime:=0.0400
Detected audio codec: [mp3] drv:mp3lib (MPEG layer-2, layer-3)
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
codec_ld: The library: '/usr/local/lib/mplayerxp/codecs/libMP3.so' was 
loaded OK
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 16000->176400
Trying to force video codec driver family 0 ...
Opening video decoder: [FFmpeg's libavcodec codec family] ffmpeg
codec_ld: Can't load library: '
libavcodec-0.4.6.so
' due: 
libavcodec-0.4.6.so
: cannot open shared object file: No such file or 
directory
codec_ld: Try obtain this codec at: 
http://ffmpeg.sf.net
codec_ld: Can't load library: 'libavcodec.so' due: libavcodec.so: cannot 
open shared object file: No such file or directory
codec_ld: Try obtain this codec at: 
http://ffmpeg.sf.net
Detected error during loading libffmpeg.so! Try to upgrade this codec
VDecoder init failed :(
Opening video decoder: [DivX4Linux lib (divx4/5 mode)] divx4
codec_ld: Can't load library: 'libdivxdecore.so' due: libdivxdecore.so: 
cannot open shared object file: No such file or directory
codec_ld: Try obtain this codec at: 
http://www.divx.com/divx/maclinux.php
codec_ld: The library: 'libdivxdecore.so.0' was loaded OK
vd_divx4: Found decore ver. divx4linux.beta
DivX 5.00 not supported by divx4linux decore - it requires divx5linux
VDecoder init failed :(
Can't find codec for video format 0x30355844 !
*** Try to upgrade /root/.mplayerxp/codecs.conf from etc/codecs.conf
*** If it's still not OK, then read DOCS/codecs.html!
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
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)
Video: no video!!!
*** free_stream() called ***
Exiting... (Not enough buffers for DECODING AHEAD! Try other '-vo' driver.
)
root@camera:~#

 this codec at: 
http://www.divx.com/divx/maclinux.php
 codec_ld: The
Ecco...

 installato quel codec, ma dice lo stesso di andarlo a scaricare.
L'ho gia` installato il codec divx...  
http://www.divx.com/divx/maclinux.php
 
e` il link al codec divx per linux e mac.

In data Thu, 27 Feb 2003 19:05:07 +0100, MaDdAnY scrive:
Hai controllato se effettivamente hai quella libreria? (libdivxdecore.so)
find / -name libdivxdecore.so*
se hai qualche risultato allora devi solo inserire la dir dove si trova la
libreria nel PATH.
Questo lo fai editando il file : /etc/ld.so.conf
man ldconfig per dettagli
-- 
Marco Mampreso - Linux User # 296644
Slackware 8.1 - Kernel 2.4.20
Home-email: 
n3w...@libero.it
Work-email: 
mmam...@gieffeedizioni.it

 
maddany@camera:~$ find /usr/local/lib -name libdivxdecore.so*
/usr/local/lib/libdivxdecore.so
/usr/local/lib/libdivxdecore.so.0
maddany@camera:~$ cat /etc/ld.so.conf
/lib
/usr/lib
/usr/X11R6/lib
/usr/i486-linuxlibc1/lib
/usr/local/lib
maddany@camera:~$ 
Come vedi la libreria c'e` ed e` nel PATH...

 Come vedi la libreria c'e` ed e` nel PATH...
hai compilato mplayerxp con
./configure --prefix=/usr --enable-shared, vero?
kitez



Ma soprattutto... perche` non usare il tutto debianizzato che funziona
benissimo?
# mplayer
deb 
http://marillat.free.fr/
 unstable main
deb 
http://marillat.free.fr/
 testing main
deb 
http://marillat.free.fr/
 stable main

 codec_ld: Try obtain this codec at: 
http://ffmpeg.sf.net
libavcodec.so e` nel percorso di ricerca delle librerie?
Non so se mplayerxp la vuole in uno path particolare, ne` se occorre
ricompilare dopo averlo installato. La documentazione che dice in merito?
Infine (banale): ffmpeg versione 0.4.6 e` presente nel sistema?
-- 
Ikitt
"Stupid people do stupid things smart people outsmart each others"
*** mailserver: 
freemail.it