[Comm] Re: Вопрос о кино под Linux

Немос =?iso-8859-1?q?nemos_=CE=C1_newmail=2Eru?=
Чт Дек 18 14:48:50 MSK 2003


Прошу прощения поспешил.
Во первых было рекомендовано проверить настроен ли framebuffer и mtrr,
насколько понял документацию можно просто посмотреть файл /proc/fb и
/proc/mtrr, вот их содержание

fb:
0 VESA VGA

mtrr:
reg00: base=0xe0000000 (3584MB), size=   8MB: write-combining, count=1

Вроде это означает что все настроено и работает.

Во вторых на одном фильме mplayer тормозил и одно из рекомендация было
использовать alsa. Я установил соответствующий пакет и modprobe запустил
драйвер установил с помощью alsamixer параметры каналов но mplayer
молчит(но проигрывает картинку),как и kde.Что не так?
Вот вывод amixer:
Simple mixer control 'PCM',0
   Capabilities: pvolume pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 63
   Front Left: Playback 47 [75%] [off]
   Front Right: Playback 47 [75%] [off]
Simple mixer control 'FM',0
   Capabilities: pvolume pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 31
   Front Left: Playback 24 [77%] [off]
   Front Right: Playback 24 [77%] [off]
Simple mixer control 'Line',0
   Capabilities: pvolume pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 31
   Front Left: Playback 24 [77%] [off]
   Front Right: Playback 24 [77%] [off]
Simple mixer control 'Aux',0
   Capabilities: pvolume pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 31
   Front Left: Playback 24 [77%] [on]
   Front Right: Playback 24 [77%] [on]
Simple mixer control 'Capture',0
   Capabilities: cvolume
   Capture channels: Front Left - Front Right
   Limits: Capture 0 - 15
   Front Left: Capture 11 [73%]
   Front Right: Capture 11 [73%]
Simple mixer control 'Loopback',0
   Capabilities: cvolume cswitch cswitch-joined
   Capture channels: Mono
   Limits: Capture 0 - 63
   Mono: Capture 47 [75%] [off]

А вот вывод mplayer:
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90rc3-2.95.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with 
--disable-runtime-cpudetection
Reading config file /etc/MPlayer/mplayer.conf: No such file or directory
Reading config file /home/???/.mplayer/config
Reading /home/???/.mplayer/codecs.conf: can't open 
'/home/???/.mplayer/codecs.conf': No such file or directory
Reading /etc/MPlayer/codecs.conf: 49 audio & 130 video codecs
font: can't open file: /home/???/.mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Font /usr/share/MPlayer/font/font.desc loaded successfully! (237 chars)
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system 
startup scripts.
Using usleep() timing
Can't open input config file /home/???/.mplayer/input.conf : No such 
file or directory
Can't open input config file /etc/MPlayer/input.conf : No such file or 
directory
Falling back on default (hardcoded) input config

Playing blade.avi
AVI file format detected.
VIDEO:  [DIV3]  608x320  24bpp  23,98 fps  1369,0 kbps (167,1 kbyte/s)
Clip info:
  Software: Nandub v1.0rc2
  Name: Blade 2
  Subject: Blade 2
  Artist: студия "полный Пэ"
  Copyright:
  Comments:
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
[vo_gl] Using 4 as slice_height (0 means image_height).
SDL: Initializing of SDL failed: Unable to open mouse.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
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)
audio_setup: Can't open audio device /dev/dsp: No such device
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit 
(Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa9: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little 
Endian
AO: [alsa9] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 608 x 320 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [fbdev] 608x320 => 608x320 Planar YV12
Using MMX for colorspace transform
A:   0,0 V:   0,0 A-V:  0,048 ct:  0,000    1/  1   0%  0%  0,0% 0 0 0%
A:   0,1 V:   0,0 A-V:  0,061 ct:  0,004    2/  2   0%  0%  0,0% 0 0 0%
A:   0,1 V:   0,1 A-V:  0,042 ct:  0,008    3/  3   0%  0%  0,0% 0 0 0%
A:   0,1 V:   0,1 A-V:  0,020 ct:  0,010    4/  4   0%  0%  0,0% 0 0 0%
A:   0,2 V:   0,2 A-V:  0,003 ct:  0,011    5/  5   0%  0%  0,0% 0 0 0%
A:   0,2 V:   0,2 A-V: -0,018 ct:  0,009    6/  6   0%  0%  0,0% 0 0 0%
A:   0,2 V:   0,3 A-V: -0,013 ct:  0,008    7/  7   0%  0%  0,0% 0 0 0%
A:   0,3 V:   0,3 A-V: -0,015 ct:  0,006    8/  8   0%  0%  0,0% 0 0 0%
A:   0,3 V:   0,3 A-V: -0,016 ct:  0,005    9/  9   0%  0%  0,0% 0 0 0%
A:   0,4 V:   0,4 A-V: -0,005 ct:  0,004   10/ 10   0%  0%  0,0% 0 0 0%
A:   0,4 V:   0,4 A-V:  0,003 ct:  0,004   11/ 11   0%  0%  0,0% 0 0 0%
A:   0,5 V:   0,5 A-V: -0,008 ct:  0,004   12/ 12   0%  0%  0,0% 0 0 0%
A:   0,5 V:   0,5 A-V: -0,000 ct:  0,004   13/ 13  61%  0% 10,8% 0 0 0%
A:   0,5 V:   0,5 A-V: -0,002 ct:  0,003   14/ 14  60%  0% 10,5% 0 0 0%
A:   0,6 V:   0,6 A-V:  0,007 ct:  0,004   15/ 15  58%  0% 10,1% 0 0 0%
A:   0,6 V:   0,6 A-V:  0,005 ct:  0,004   16/ 16  57%  0%  9,9% 0 0 0%
A:   0,7 V:   0,7 A-V: -0,003 ct:  0,004   17/ 17  56%  0%  9,7% 0 0 0%
A:   0,7 V:   0,7 A-V:  0,014 ct:  0,006   18/ 18  56%  0%  9,4% 0 0 0%
A:   0,7 V:   0,8 A-V: -0,007 ct:  0,005   19/ 19  55%  0%  9,3% 0 0 0%
A:   0,8 V:   0,8 A-V:  0,005 ct:  0,005   20/ 20  54%  0%  9,1% 0 0 0%
A:   0,8 V:   0,8 A-V: -0,003 ct:  0,005   21/ 21  54%  0%  9,0% 0 0 0%
A:   0,9 V:   0,9 A-V: -0,002 ct:  0,005   22/ 22  54%  0%  8,7% 0 0 0%
A:   0,9 V:   0,9 A-V: -0,007 ct:  0,004   23/ 23  54%  0%  8,7% 0 0 0%
A:   1,0 V:   1,0 A-V: -0,005 ct:  0,004   24/ 24  54%  0%  8,6% 0 0 0%
A:   1,0 V:   1,0 A-V: -0,007 ct:  0,003   25/ 25  54%  0%  8,4% 0 0 0%
A:   1,0 V:   1,0 A-V:  0,001 ct:  0,003   26/ 26  54%  0%  8,4% 0 0 0%
A:   1,1 V:   1,1 A-V: -0,000 ct:  0,003   27/ 27  54%  0%  8,3% 0 0 0%
A:   1,1 V:   1,1 A-V: -0,002 ct:  0,003   28/ 28  54%  0%  8,2% 0 0 0%
A:   1,2 V:   1,2 A-V: -0,004 ct:  0,002   29/ 29  54%  0%  8,2% 0 0 0%
A:   1,2 V:   1,2 A-V:  0,001 ct:  0,002   30/ 30  54%  0%  8,0% 0 0 0%
A:   1,2 V:   1,3 A-V: -0,007 ct:  0,002   31/ 31  55%  0%  8,0% 0 0 0%
A:   1,3 V:   1,3 A-V:  0,001 ct:  0,002   32/ 32  55%  0%  7,9% 0 0 0%
A:   1,3 V:   1,3 A-V: -0,007 ct:  0,001   33/ 33  55%  0%  7,9% 0 0 0%
A:   1,4 V:   1,4 A-V: -0,002 ct:  0,001   34/ 34  55%  0%  7,8% 0 0 0%
A:   1,4 V:   1,4 A-V: -0,004 ct:  0,001   35/ 35  56%  0%  7,7% 0 0 0%
A:   1,5 V:   1,5 A-V:  0,004 ct:  0,001   36/ 36  55%  0%  7,7% 0 0 0%
A:   1,5 V:   1,5 A-V:  0,002 ct:  0,001   37/ 37  56%  0%  7,7% 0 0 0%
A:   1,5 V:   1,5 A-V:  0,001 ct:  0,001   38/ 38  56%  0%  7,6% 0 0 0%
A:   1,6 V:   1,6 A-V: -0,001 ct:  0,001   39/ 39  56%  0%  7,6% 0 0 0%
A:   1,6 V:   1,6 A-V: -0,003 ct:  0,001   40/ 40  56%  0%  7,5% 0 0 0%
A:   1,7 V:   1,7 A-V: -0,004 ct:  0,001   41/ 41  56%  0%  7,5% 0 0 0%
A:   1,7 V:   1,7 A-V:  0,004 ct:  0,001   42/ 42  56%  0%  7,4% 0 0 0%
A:   1,8 V:   1,8 A-V:  0,002 ct:  0,001   43/ 43  56%  0%  7,4% 0 0 0%
A:   1,8 V:   1,8 A-V:  0,001 ct:  0,001   44/ 44  56%  0%  7,4% 0 0 0%
A:   1,8 V:   1,8 A-V: -0,001 ct:  0,001   45/ 45  56%  0%  7,3% 0 0 0%
A:   1,9 V:   1,9 A-V: -0,006 ct:  0,000   46/ 46  56%  0%  7,3% 0 0 0%
A:   1,9 V:   1,9 A-V: -0,005 ct:  0,000   47/ 47  56%  0%  7,3% 0 0 0%
A:   2,0 V:   2,0 A-V:  0,010 ct:  0,001   48/ 48  56%  0%  7,3% 0 0 0%
A:   2,0 V:   2,0 A-V:  0,002 ct:  0,001   49/ 49  56%  0%  7,3% 0 0 0%
A:   2,1 V:   2,0 A-V:  0,007 ct:  0,002   50/ 50  56%  0%  7,2% 0 0 0%
A:   2,1 V:   2,1 A-V:  0,016 ct:  0,004   51/ 51  56%  0%  7,2% 0 0 0%
A:   2,1 V:   2,1 A-V:  0,012 ct:  0,005   52/ 52  56%  0%  7,2% 0 0 0%
A:   2,2 V:   2,2 A-V: -0,001 ct:  0,005   53/ 53  56%  0%  7,2% 0 0 0%
A:   2,2 V:   2,2 A-V: -0,006 ct:  0,004   54/ 54  56%  0%  7,1% 0 0 0%
A:   2,2 V:   2,3 A-V: -0,008 ct:  0,003   55/ 55  56%  0%  7,1% 0 0 0%
A:   2,3 V:   2,3 A-V:  0,000 ct:  0,003   56/ 56  56%  0%  7,1% 0 0 0%
alsa-uninit: pcm closed

Exiting... (Quit)

В третих что значат эти строчки:

vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
[vo_gl] Using 4 as slice_height (0 means image_height).
SDL: Initializing of SDL failed: Unable to open mouse.

И еще mplayer советует его перекомпилировать:

Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with 
--disable-runtime-cpudetection

Имеет ли это смысл и как это сделать, кажется просто rpm`ом не обойтись
(в смысле автоматической сборке из src.rpm).





Подробная информация о списке рассылки community