Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Video mplayer xv image problem on tv
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
ahubu
Guru
Guru


Joined: 16 Aug 2003
Posts: 400
Location: Groningen, The Netherlands

PostPosted: Thu Jan 13, 2005 5:58 pm    Post subject: Video mplayer xv image problem on tv Reply with quote

Hi,

I have this problem with the xv driver for mplayer:

when I put movies on the tv, it gives a strange line in the middle (its not really a line, but more like the screen wants to split in half). It is only visible when there is some cameramovement, and the more movement there is, the better it is visible.

Now I searched the forums for this but couldn't find anything (can't really come up with some good keywords I guess). I *think* it has something to do with interleaving, and the way a tv displays frames.

The thing is, this behaviour does not occur when using other drivers (X11, gl2 etc). I will use X11 for now but I rather use xv (because it is much faster).

Anyone with similar problems (or a solution ;))?
Back to top
View user's profile Send private message
SuperUser1983
n00b
n00b


Joined: 11 Dec 2004
Posts: 28
Location: Messina, Sicily, Italy

PostPosted: Thu Jan 13, 2005 9:30 pm    Post subject: Reply with quote

Hi. When I use the tvout I have this problem too with x11 or gl2 driver.
When I use the xv driver instead I cannot get a uniform play of the video frames.
I have a geforce fx5200 and emerged nvidia-kernel-1.0.6629-r1 but the problem isn't solved...
Back to top
View user's profile Send private message
ahubu
Guru
Guru


Joined: 16 Aug 2003
Posts: 400
Location: Groningen, The Netherlands

PostPosted: Fri Jan 14, 2005 6:42 pm    Post subject: Reply with quote

Ah so you even experience it with other drivers. Hm. I have a Geforce 5600, I had 5200 with TVout and I am almost certain it had the same problem.

I think it might be something to do with deinterlacing or similar magic. I read a bit about it and a TV alternates odd and even lines every 1/60 second (It has a refresh rate of 60hz). So *maybe* if the signal is giving it too many frames to display, it forms this weird split in the middle...

I have tried some deinterlacing with mplayer, but without success. I don't actually know what settings to use (there are just too many). This is what I tried:

Code:
mplayer -vo xv -vf pp=hb/vb/dr/al/lb/halfpack -fs -vsync


bubbles, this is getting nowhere...
Back to top
View user's profile Send private message
SuperUser1983
n00b
n00b


Joined: 11 Dec 2004
Posts: 28
Location: Messina, Sicily, Italy

PostPosted: Sun Jan 16, 2005 11:46 am    Post subject: Reply with quote

I've tried the videolan VLC player. It's not affected by the problem. There isn't screen splti using xv and x11 and the playback appears faster than mplayer.
Try it using the X server only on the tv.
Here my xorg.conf


Code:
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"     # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
     Load        "type1"
#    Load        "speedo"
     Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
     Load       "glx"
# This loads the DRI module
#    Load       "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath   "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#

    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
#   FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
#   FontPath   "/usr/share/fonts/Speedo/"
#   FontPath   "/usr/share/fonts/TrueType/"
#   FontPath   "/usr/share/fonts/freefont/"

# The module search path.  The default path is shown here.

#   ModulePath "/usr/X11R6/lib/modules"

EndSection


# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier   "Keyboard1"
    Driver   "kbd"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option   "Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"    "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"

# These are the default XKB settings for Xorg
#    Option "XkbRules"    "xorg"
#    Option "XkbModel"    "pc101"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""

#    Option "XkbDisable"

    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"   "it"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/mouse"
    Option "ZAxisMapping" "4 5"
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
    Identifier  "multisync75f"
    HorizSync   31-70
    VertRefresh 55-120
EndSection

Section "Monitor"
       HorizSync 30-50
       VertRefresh 60
       Identifier      "tv"
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
       Identifier  "geforcefx5200"
       Driver      "nvidia"
       VideoRam    131072
       Option      "NvAgp" "1"
       Option      "RenderAccel" "1"
EndSection

Section "Device"
      Identifier  "Card_tv"
      Driver      "nvidia"
      VideoRam    131072
      Option      "TVOutFormat" "COMPOSITE"
      Option      "TVStandard" "PAL-B"
      Option      "ConnectedMonitor" "TV"
      Option      "NvAgp" "1"
      Option      "RenderAccel" "1"
      Option      "IgnoreEDID"  "off"
      Option      "NoLogo"      "1"
EndSection


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

Section "Screen"
    Identifier  "Screen 1"
    Device      "geforcefx5200"
    Monitor     "multisync75f"
    DefaultDepth 24

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

Section "Screen"
      Identifier "Screen_tv"
      Device     "Card_tv"
      Monitor    "tv"
      DefaultDepth 24
       SubSection "Display"
              Depth     24
              Modes "640x480"
       EndSubSection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
    Identifier  "notv"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "ServerLayout"
       Identifier     "tv"
       Screen         0  "Screen_tv" 0 0
       InputDevice    "Mouse1" "CorePointer"
       InputDevice    "Keyboard1" "CoreKeyboard"
EndSection


try

startx -- -layout tv

after setting the correct type of tv and video output signal

Good luck

Francesco
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum