Помогите mplayer для работы с s-video (телек).
Система ubuntu 7.10.
запускаю:
1) display=1 mplayer -vo vesa file.avi
2) mplayer -xineramascreen 1 -vo vesa file.avi
системник подключен только к телевизору через s-video. управляется по ssh.
при попытке запуска (пробовал -vo vesa , -vo x11 и др)
Video: no video
....
Error opening/initializing the selected video_out (-vo) device.
xorg.conf прописывал руками:
Код
Section "Files"
RgbPath "/usr/lib64/X11/rgb"
EndSection
#вот такие модули нам нужны для работы
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
#Xinerama нам не нужна
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
#настройка мышки
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
#настройка клавиатуры
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
#наш монитор
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
#система энергосбережения
Option "DPMS"
EndSection
#наш телевизор
Section "Monitor"
Identifier "tv"
VendorName "samsung"
ModelName "TV-0"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
EndSection
#устройство работающее с монитором
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7600 GS"
#шина видеоплаты, можно узнать из lspci. У меня видеоплата в PCI Express.
BusID "PCI:2:0:0"
Option "TwinView" "true"
# Интересная опция. Ускоряет видеокарту. Может повредить видеокарту, но я рискнул.
#Option "Coolbits" "1"
#при загрузке не показывать логотип nVidia
Option "NoLogo" "TRUE"
EndSection
#Устройство для телевизора. Это та же видеокарта, но к чему-то надо привязать телевизор.
Section "Device"
Identifier "Card_tv"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7600 GS"
Option "TwinView" "true"
#Если разъём "тюльпан" тогда COMPOSITE
Option "TVOutFormat" "SVIDEO"
#Если телевизор старый, рекомендую PAL-B
Option "TVStandard" "NTSC"
#Говорим, что это телевизор, который дублируется с монитором
Option "ConnectedMonitor" "CRT ,TV"
Option "Coolbits" "1"
Option "NoLogo" "TRUE"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "Screen 0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "metamodes" "CRT: 1280x1024 0 0; CRT: 800x600 0 0; CRT: 640x480 0 0"
SubSection "Display"
Depth 24
#Это для Compiz-Fusion

Option "AddARGBGLXVisuals" "True"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen_tv"
Device "Card_tv"
Monitor "tv"
SubSection "Display"
Depth 24
EndSubSection
#это разрешение, у меня телек 72 дюйма
Option "metamodes" "TV: 1280x1024 0 0"
EndSection
#вывод для экрана
Section "ServerLayout"
Identifier "Screen0"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
#вывод для телевизора
Section "ServerLayout"
Identifier "tv"
Screen 0 "Screen_tv" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
#Опять же для компиза

Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection
не помогло.
стандартный файл xorg (dpkg-reconfigure xserver-xorg )дал:
Код
Section "Files"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us,ru"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "nVidia Corporation NV17 [GeForce4 MX 440]"
Driver "vesa"
BusID "PCI:2:0:0"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Универсальный монитор"
Option "DPMS"
HorizSync 30-65
VertRefresh 50-75
EndSection
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV17 [GeForce4 MX 440]"
Monitor "Универсальный монитор"
DefaultDepth 24
SubSection "Display"
Modes "1280x1024" "1280x960" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection
не помогло.
пробовал указывать драйвера nv, nvidia, vesa - не помогло.
mplayer -vo help|grep xv показывает
xv X11/Xv
xvidix X11 (VIDIX)
xvmc XVideo Motion Compensation
/var/log/Xorg.1.log
Код
X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Linux Ubuntu (xorg-server 2:1.3.0.0.dfsg-12ubuntu8.4)
Current Operating System: Linux svip-home 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686
Build Date: 13 June 2008
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Thu Jan 29 16:22:26 2009
(==) Using config file: "/etc/X11/xorg.conf"
(++) ServerLayout "tv"
(**) |-->Screen "Screen_tv" (0)
(**) | |-->Monitor "tv"
(**) | |-->Device "Card_tv"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "Xinerama" "0"
(**) Option "AIGLX" "false"
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(**) RgbPath set to "/usr/lib/X11/rgb"
(**) ModulePath set to "/usr/lib/xorg/modules"
(**) Extension "Composite" is enabled
(**) Extension "RENDER" is enabled
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81e9960
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 1.2
X.Org XInput driver : 0.7
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 1.3.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 1.2
(--) using VT number 9
Fatal server error:
xf86OpenConsole: VT_WAITACTIVE failed: Interrupted system call
В чем может быть проблема???