View previous topic :: View next topic |
Author |
Message |
Arkham Tux's lil' helper
Joined: 30 Aug 2004 Posts: 111 Location: Quilpue, Chile
|
Posted: Fri Feb 04, 2005 5:59 pm Post subject: video bad decoding :( |
|
|
Hi, I've a weird situation....
Whenever I try to reproduce a DVD or an mpeg (xine & mplayer), the decoding has a very bad quality, I don't know how to describe it, looks like a 256x256 video playing@fullscreen, very pixeled, in form of squares.. you know what I mean?
Like a 486 playing a very high quality video or something.. sorry can't describe it better
I got a Athlon XP Barton 2600+
Asus A7N8X Mobo and
MSI-GForce FX 5600 256MB
My config:
USE="-gtk -gnome kde qt alsa opengl cdr"
Got nvidia workig w/o problems (playing ET, DOOM3, UT2004 smootlhy)
Any ideas??
?
P.D.: I've just played some of my mpeg on a Pentium III 750 Mhz, and went smootly =( NO FAIR!!! |
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Fri Feb 04, 2005 6:08 pm Post subject: |
|
|
well, could just guess here, but are the appropriate codecs installed? "emerge win32codecs".
|
|
Back to top |
|
|
Arkham Tux's lil' helper
Joined: 30 Aug 2004 Posts: 111 Location: Quilpue, Chile
|
Posted: Fri Feb 04, 2005 7:32 pm Post subject: |
|
|
Danke for the answer
I'm not on my computer right know, but I think win32codes are part of the dependencies of mplayer and xine, so I could say they were installed..
or do you mean if I have some particular version of the codecs??
should I try:
~x86 win32codecs??? |
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Fri Feb 04, 2005 7:43 pm Post subject: |
|
|
Arkham wrote: |
I'm not on my computer right know, but I think win32codes are part of the dependencies of mplayer and xine, so I could say they were installed..
|
no, ~x86 shouldnt be needed for this case. dunno about xine, but infact of mplayer the win32codecs ara not a dependency IIRC.
if you open a konsole in your GUI and run "mplayer" without any arguments, could you please post the output? this part:
Code: |
MPlayer 1.0pre6-3.4.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Kompiliert für x86 CPU mit folgenden Erweiterungen: MMX 3DNow
66 Audio- & 176 Videocodecs
|
'xcuse the german inbetween the code, but since you sayed "danke" i guess you get the meaning |
|
Back to top |
|
|
Arkham Tux's lil' helper
Joined: 30 Aug 2004 Posts: 111 Location: Quilpue, Chile
|
Posted: Sat Feb 05, 2005 1:07 am Post subject: |
|
|
Sorry, Ich nicht sprache deutsch .. maybe shotto nihongo ^^
anyway... I'll post that as soon as I get home, but I'm pretty sure that i got the win32codecs and they re something like win32codes-20040916.. and you mentioned something like 2005 !!
C ya soon
? |
|
Back to top |
|
|
Arkham Tux's lil' helper
Joined: 30 Aug 2004 Posts: 111 Location: Quilpue, Chile
|
Posted: Sat Feb 05, 2005 3:11 pm Post subject: |
|
|
Ok
I played a mpeg from console and here´s the output..
Code: |
bash-2.05b$ mplayer Macross\ Plus\ -\ Information\ High.mpg
MPlayer 1.0pre5try2-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 1921 MHz (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compilado para CPU x86 con extensiones:
Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /home/titus/.mplayer/config
Reading /home/titus/.mplayer/codecs.conf: Can't open '/home/titus/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 73 audio & 180 video codecs
font: can't open file: /home/titus/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Can't open input config file /home/titus/.mplayer/input.conf: No such file or directory
Input config file /usr/share/mplayer/input.conf parsed: 53 binds
Reproduciendo Macross Plus - Information High.mpg.
Cache fill: 0.00% (0 bytes) Detectado formato de archivo MPEG-PS.
VIDEO: MPEG1 352x240 (aspect 12) 29.970 fps 1099.2 kbps (137.4 kbyte/s)
==========================================================================
Abriendo descodificador de audio: [mp3lib] MPEG layer-2, layer-3.
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 32000->176400 (256.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Abriendo descodificador de vídeo: [mpegpes] MPEG 1/2 Video passthrough.
VDec: vo solicitud de config - 352 x 240 (csp preferida: Mpeg PES).
No se pudo encontrar colorspace concordante - reintentando escalado -vf...
Abriendo filtro de vídeo: [scale]
Disculpe, el dispositivo de salida de vídeo es incompatible con este codec.
Inicialización del VDecoder ha fallado.
Abriendo descodificador de vídeo: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1.
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Empezando reproducción...
VDec: vo solicitud de config - 352 x 240 (csp preferida: Planar YV12).
VDec: using Planar YV12 as output csp (no 0)
Aspecto es 1.33:1 - prescalando a aspecto correcto.
VO: [xv] 352x240 => 352x264 Planar YV12
A: 288.0 V: 288.0 A-V: 0.012 ct: 0.100 8626/8626 5% 1% 0.7% 3 0 49%
A: 516.8 V: 517.2 A-V: -0.449 ct: 0.058 15496/15496 5% 1% 0.7% 9 0 0%%
Saliendo... (Fin del archivo.)
bash-2.05b$
|
(sorry for the spanish between )
I saw a lot of "fallido" -> "failed", and also no MMX 3DNOW OR SSE support...
I added the "mmx mmx2 3dnow 3dnow2 sse sse2" flags the make.confg and recompiled mplayer, but nothing changed
any ideas? (plz)
? |
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Sat Feb 05, 2005 3:40 pm Post subject: |
|
|
Arkham wrote: |
I added the "mmx mmx2 3dnow 3dnow2 sse sse2" flags the make.confg and recompiled mplayer, but nothing changed
|
i dont think this has to do with your problem, but the flags are stripped by the ebuild. if you want to enable them, comment the following in your ebuild:
Code: |
# let's play the filtration game! MPlayer hates on all!
# strip-flags
[...]
if use x86 ; then
# replace-flags -O0 -O2
# replace-flags -O3 -O2
filter-flags -fPIC -fPIE
fi
|
be aware that after next emerge sync your changes are gone, because the ebuildfile will get overwritten. but until you do not reemerge mplayer, that isnt a problem. |
|
Back to top |
|
|
Arkham Tux's lil' helper
Joined: 30 Aug 2004 Posts: 111 Location: Quilpue, Chile
|
Posted: Sat Feb 05, 2005 10:16 pm Post subject: |
|
|
May you post your make.conf file plz?
I´m curious why you have some kind of mmx and 3dnow support enabled and I got zero
Really apreciate that ^^
? |
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Sat Feb 05, 2005 10:49 pm Post subject: |
|
|
Arkham wrote: |
I´m curious why you have some kind of mmx and 3dnow support enabled and I got zero
|
what? i have posted this in my previous article in this thread, i simply modified the ebuild and commented the "strip-flags" line.
however, it works fine here anyway, even without this mmx stuff. as i already guessed - this is not your problem.
do other players do fine? xine for example? |
|
Back to top |
|
|
Arkham Tux's lil' helper
Joined: 30 Aug 2004 Posts: 111 Location: Quilpue, Chile
|
Posted: Sun Feb 06, 2005 5:47 am Post subject: |
|
|
Same thing with xine
Could this be a "cpu type" thing?? just tested the video file with another athlon and same thing....but this does not happen with Intel cpus
So it´s not the USE flags..
Thanks for the tip of the ebuild by the way...
? |
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Sun Feb 06, 2005 1:42 pm Post subject: |
|
|
Arkham wrote: |
Could this be a "cpu type" thing??
|
i everything else works fine i doubt that. however, post the output of "emerge info".
hmm. what hapens if you change the videooutput?
mplayer -vo x11
mplayer -vo xv
does that make a difference?
btw.. in your example above, i see:
VIDEO: MPEG1 352x240 (aspect 12) 29.970 fps 1099.2 kbps (137.4 kbyte/s)
this actually might look ugly in fullscreen.. what funny resolution is that
Code: |
VDec: vo solicitud de config - 352 x 240 (csp preferida: Mpeg PES).
No se pudo encontrar colorspace concordante - reintentando escalado -vf...
Abriendo filtro de vídeo: [scale]
Disculpe, el dispositivo de salida de vídeo es incompatible con este codec.
Inicialización del VDecoder ha fallado.
|
and here it looks like the initialization of the vcoded failed (if i understand this correctly)
well, 352x240 isnt even a valid VCD resolution..
try a correct (S)VCD or DVD movie.
//edit: i just see this is NTSC.. so it is correct VCD format. sorry, used to PAL over here |
|
Back to top |
|
|
|