Mplayer i postprocessing raz jeszcze.

Jacek Sobczak jaceksobczak w poczta.onet.pl
Pią, 10 Maj 2002, 13:50:07 CEST


Po przeczytaniu wątku z początku maja spróbowałem uruchomić u siebie
postprocessing w mplayer. Skompilowałem go bez wykrywania CPU przy
starcie licząc, że zacznie działać. Niestety dostaję co następuje:

[sopel w speedy Matrix]$ mplayer -vo xv -pp 63 matrix.avi


MPlayer 0.90pre3-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 6)
Cannot test OS support for SSE, disabling to be safe.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2
Reading /home/users/sopel/.mplayer/codecs.conf: can't open '/home/users/sopel/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 34 audio & 91 video codecs
font: can't open file: /home/users/sopel/.mplayer/font/font.desc
Font /usr/X11R6/share/mplayer/font/font.desc loaded successfully! (210 chars)
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Using usleep() timing
Can't open input config file /home/users/sopel/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) config
Playing matrix.avi
Detected AVI file format!
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
VIDEO:  [DIVX]  512x240  24bpp  25.00 fps  549.8 kbps (67.1 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:512x240  fps:25.00  ftime:=0.0400
SUB: Detected sub file: matrix.srt
SUB: Detected subtitle file format: subviewer
SUB: Read 1369 subtitles.
SUB: Adjusted 5 subtitle(s).
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 16000->192000
vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":0" => local display)
==========================================================================
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext sse
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg MPEG-4)
==========================================================================
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
ao2: 48000 Hz  2 chans  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 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   2/2  (65536 bytes/frag)  free: 131072
Start playing...
looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
VDec: vo config request - 512 x 240, Planar YV12  
[PP] Sorry, postprocessing is not available
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Movie-Aspect is undefined - no prescaling applied.
REQ: flags=0x437  req=0x0  
VO: [xv] 512x240 => 512x240 Planar YV12 fs 
*** [pp] Exporting mp_image_t, 512x240x12bpp YUV planar, 184320 bytes
*** [vo] Allocating mp_image_t, 512x240x12bpp YUV planar, 184320 bytes%
A:   1.6 V:   1.6 A-V:  0.010 ct: -0.001   40/ 40   7%  9%  2.8% 0 0 0%
*** free_stream() called ***

Exiting... (Quit)

Zastanawiają mnie trzy podkreślone fragmenty:

Po pierwsze to SSE? W logu zamieszczonym przez Marcina Wojtczuka jest co innego:
> Testing OS support for SSE... yes.
> Testing OS support for SSE unmasked exceptions... yes.
> Tests of OS support for SSE passed.
Jak to uzyskać? Zależy to od karty video? Ja mam Intel 815. No ale to
chyba kwestia procesora (Pentium III).

Potem ta rzecz dotycząca RTC. Jak na to zezwolić dla zwykłego usera?

No i ostatecznie brak postprocessingu - może ma to związek z tym SSE?

Dodam, że jest to samo przy -vo xv, sdl czy x11.

Jacek


-- 
Encyklopedia multimedialna w prezencie!
http://www.e-mail.onet.pl





Więcej informacji o liście dyskusyjnej pld-users-pl