tv-out használata

tv-out használata

Hozzászólások

Sziasztok, kérlek segítsetek: Azt szeretném megoldani, hogy miközben a "Generic Monitor" -omon "1152x864" felbontásban dolgozom, közben tudjak filmet nézni az mplayerrel (gmplayer) a TV-n.

A Twinview nem jött be, mivel a monitorom felbontása "1152x864", a Tv nek pedig "1024x768". Igaz a metamodeban meg tudom adni, hogy "1152x864","1024x768", de ez csak akkor működik, ha az ablakot teljes méretűre növelem - a gmplayer full screen-jére kattintva nem, akkor lelóg a film egyik széle a kisebb felbontás miatt.

Jelenleg ez a xorg.conf-om, de sajna nem működik, lehet, hogy csak elnéztem valamit, de nem látom a hibát.

Section "ServerLayout"
Identifier "Default Layout"
# Screen "Default Screen" 0 0
Screen 0 "Default Screen"
Screen 1 "TV Screen" RightOf "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30.0 - 86.0
VertRefresh 50.0 - 130.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "TV"
HorizSync 30-100
VertRefresh 60
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV17 [GeForce4 MX 440]"
Driver "nvidia"
Option "Nologo"
Option "CursorShadow" "on"
Option "TwinView"
Screen 0
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV17 [GeForce4 MX 440]_2"
Driver "nvidia"
Option "Nologo"
Option "TwinView"
Screen 1
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV17 [GeForce4 MX 440]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1152x864"
EndSubSection
SubSection "Display"
Depth 4
Modes "1152x864"
EndSubSection
SubSection "Display"
Depth 8
Modes "1152x864"
EndSubSection
SubSection "Display"
Depth 15
Modes "1152x864"
EndSubSection
SubSection "Display"
Depth 16
Modes "1152x864"
EndSubSection
SubSection "Display"
Depth 24
Modes "1152x864"
EndSubSection
EndSection

Section "Screen"
Identifier "TV Screen"
Device "NVIDIA Corporation NV17 [GeForce4 MX 440]_2"
Monitor "TV"
DefaultDepth 24
Option "ConnectedMonitor" "CRT, TV"
Option "TVStandard" "PAL-B"
Option "TVOutFormat" "COMPOSITE"
Option "TVOverScan" "0.5" # Only from GeForce4
Subsection "Display"
Depth 24
Modes "800x600"
EndSubsection
EndSection

A két egymás melletti képernyőhoz RightOf nem ragaszkodom, elég, ha valahogyan közölni tudnám az mplayerrel (gmplayer), hogy a filmet a Tv-n jelenítse meg, és ne a monitoromon.

Esetleg olyat lehet, hogy a gmplyayer vezérlőkonzolja az monitoromon, a film pedig a tv-n?

Köszi István, ebből nem lettem okosabb.
1024*768 as felbontásnál nálam is ragyogóan működik amit mondasz. De ennél nagyobb felbontást a TV nem tud kezelni.
Megoldást pedig szeretnék, mert filmet szeretnék nézni, és nem szeretném 20 helyen átírogatni filmnézéshez az xorg.conf-ot.

Üdv.Gábor

nagyon hálás lennék, ha valaki segítene nekem abban, hogy miként tudnám a filmjeimet a TV-outon nézegetni mplayerrel.

A problémát még egyszer leírom:

1152*864-es felbontásban dolgozom a monitoromon, a TV-out ra kapcsolt TV pedig nem ismeri ezt a felbontást.

Szeretnék végre filmet nézni, és előtten nem baszódni egyfolytában az xorg.conf állítgatásával.

Előre is köszönöm.

Ahoj!

Azt szeretném megoldani, hogy monitoron normál kisablakban (ez nem egedetlenül fontos, csak a vezérlés miatt, gondoltam, ha meg kell állni), de a TVn teljes képernyőn tudjak filmet nézni... de elég rendesen elvesztem a paraméterekben:(

Szerintem ez nem lehetséges! Má$ rendszer alatt láttam ilyet, jó lenne, ha itt is menne...

Nekem a következő beállításokkal a desktop mérete 2080x1024-es.
Ebből 1280x1024-es részt látok a monitoron (bárhova el lehet scrollozni), és az 1280 utáni részből 800x600-as rész látszódik a tv-n.

Section "Device"
Identifier "nv6600gt"
Driver "nvidia"
Screen 0
Option "TwinView" "on"
Option "TwinViewOrientation" "RightOf"
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "nv6600gt"
Monitor "aoc17"
DefaultDepth 24
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "Metamodes" "1280x1024 @2080x1024, 800x600 +1280+64; 800x600, 800x600; 640x480, 640x480;"
Option "TVStandard" "PAL-B"
Option "TVOutFormat" "SVIDEO"
Option "nologo" "on"

Subsection "Display"
Depth 8
Modes "1280x1024" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

[quote:8750c56987="popacsek"]Nekem a következő beállításokkal a desktop mérete 2080x1024-es.
Ebből 1280x1024-es részt látok a monitoron (bárhova el lehet scrollozni), és az 1280 utáni részből 800x600-as rész látszódik a tv-n.

Ezt nemigazán értem, de kibogomzom a conf-od,mert az enyém totál másmilyen...
[code:1:8750c56987]/etc/X11/xorg.conf
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "/usr/X11R6/lib/modules/extensions/nvidia/libglx.so"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "hu"
Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "Flat Panel 1280x1024"
HorizSync 31.5-67
VertRefresh 50-75

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce FX (generic)"
Driver "nv"
Option "DPMS"
Option "IgnoreEDID" "1"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 15
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 16
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 24
Virtual 1280 1024
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection[/code:1:8750c56987]

Nekem van egy második független Desktopom a TV-n
és a következő kis egyszerű scriptet karistoltam össze ami, a TV-re rakja ki a képet:

cat playontv
==========
#!/bin/sh
IFS='
'
params="$*"
DISPLAY=:0.1
ssaver off
mplayer -fs ""$params""
ssaver on
==========

És így a TV tudok filmet nézni, miközben a monitoron bármi mást csinálhatok ...

A konf idevágó része a következő:

[...]
Section "Device"
Identifier "nvidia0"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce2 DDR (generic)"
Driver "nvidia"
Screen 0
BusID "PCI:3:0:0"
Option "DPMS"
Option "CursorShadow" "on"
Option "NoDDC"
Option "NvAGP" "3"
Option "NoLogo" "true"
EndSection

Section "Device"
Identifier "nvidia1"
VendorName "nVidia"
Driver "nvidia"
Screen 1
BusID "PCI:3:0:0"
Option "NvAGP" "3"
Option "NoLogo" "true"
EndSection

Section "Monitor"
Identifier "MCM"
VendorName "Hyundai Electronics Industries Co., Ltd."
ModelName "Hyundai DeluxScan 15G+"
HorizSync 30.0-70.0
VertRefresh 50.0-120.0
DisplaySize 270 205
Option "DPMS"
EndSection

Section "Monitor"
Identifier "TV"
HorizSync 30-100
VertRefresh 60
EndSection

Section "Screen"
Identifier "Screen0"
Device "nvidia0"
Monitor "MCM"
DefaultColorDepth 24

Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "Screen"
Identifier "Screen1"
Device "nvidia1"
Monitor "TV"
DefaultColorDepth 24
Option "ConnectedMonitor" "CRT, TV"
Option "TVStandard" "PAL-B"
Option "TVOutFormat" "COMPOSITE"
# Option "TVOverScan" "0.5" # Only from GeForce4
Subsection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "normal"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
Screen 0 "Screen0"
Screen 1 "Screen1" LeftOf "Screen0"
EndSection
[...]