[Mplayer-felhasznalok] sync problem nvidia

Banszki Gabor (HOME) banszki.gabor at chello.hu
Fri Dec 5 22:15:43 CET 2003


 
Udv 

Van egy kis kepfrissitesi szinkronizacios problemam ABIT GEFORCE MX 4-es 
videokartyammal: egy idegesito csikot latok a kepernyon ha a filmen 
dinamikusabb jelenetek mennek.
A csikot latom a 100Hz-es monitoron torteno fullscreenben is, es az 50Hz-es TV 
kimeneten is...

Monitor:
 ModeLine     "1024x768" 115.5 1024 1056 1248 1440 768 771 781 802
TV:
 ModeLine     "640x480TV3" 17.6 640 656 672 712 480 480 481 494

Lehet, hogy nem is kepfrissitesi problema?

Olvastam a fejlesztoi siramokat az nv-rol, megis szamitok a segitsegetekre....

Az mplayer outputjaban ennek a sornak van koze ehhez a frissiteshez, vagy a 
problemahoz:

Using Linux hardware RTC timing (1024Hz)
?


Kornyezet:

Linux debi1 2.4.22-deb-grl #7 SMP Wed Nov 19 21:03:56 CET 2003 i686 GNU/Linux
debian unstable,
kde 3.1,
XFree 4.2.0 (Twinview, rightof)
gyari NVIDIA driver (NVIDIA-Linux-x86-1.0-4496-pkg2)

Mellekeltem egy mplayer output-ot, meg egy XF86Config-ot.

Mostanaban tertem at redhat 9.0-rol (XFree 4.3.0) debianra, es ott nem
volt ilyen gondom.... (Ugyanezt az XF86Config filet hasznaltam)

Egyebkent van egy avermedia tvtuner a gepben, es a tvtime is ugyanezt a csikot 
produkalja, a  xawtv viszont nem (persze a xawtv-nel nem mukodik a 
fullscreen,  ami a tv kimeneten nem is kell, mivel az 640x480-as.... )
Szoval ha jol tevedek, akkor csak a video extension hasznalatakor jelennek meg 
a csikok... 

Segitsetek, mert kifolyik a szemem!!!!!

G.

-------------- next part --------------

# XFree86 4 configuration created by redhat-config-xfree86
#	Section "Modes"
#		Identifier "Modes[0]"
#		Modeline "1280x1024" 93.18 1280 1296 1552 1736 1024 1024 1032 1070
#		Modeline "800x600" 37.44 800 816 928 1072 600 600 608 626
#		Modeline "800x600" 43.68 800 816 928 1072 600 600 608 626
#		Modeline "640x480" 23.96 640 656 720 864 480 480 488 501
#		Modeline "640x480" 27.96 640 656 720 864 480 480 488 501
#		Modeline "1024x768" 75.00 1024 1048 1184 1328 768 771 777 806
#	EndSection 

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "DevInputMice" "AlwaysCore"
EndSection

Section "Files"

# RgbPath is 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.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
	FontPath     "unix/:7100"
	FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
	FontPath        "/usr/lib/X11/fonts/TTF"

EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"		"1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#	Option	"XkbDisable"
# 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"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "keyboard"
	Option	    "XkbRules" "xfree86"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/psaux"
EndSection

Section "InputDevice"
	Identifier  "DevInputMice"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/psaux"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
EndSection

Section "Monitor"

#	ModeLine     "640x480PAL" 29.5 640 675 678 944 480 530 535 625
#	ModeLine     "800x600PAL" 36.0 800 818 820 960 600 653 655 750
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "HPC"
	DisplaySize  360	240
	HorizSync    30-95
	VertRefresh  50-120

	ModeLine     "1024x768" 115.5 1024 1056 1248 1440 768 771 781 802 
#	ModeLine     "1024x768" 115.5 1024 1056 1248 1440 768 771 781 802 -hsync -vsync
	ModeLine     "640x480_50" 50.0 640 696 760 850 480 515 520 580
	ModeLine     "640x480TV" 15.0 640 728 792 960 480 509 517 573
	ModeLine     "640x480_55_40" 24.0 640 656 720 864 480 480 487 501
	ModeLine     "640x480TV0" 17.6 640 644 672 712 480 480 481 494
	ModeLine     "640x480TV1" 17.6 640 648 672 712 480 480 481 494
	ModeLine     "640x480TV2" 17.6 640 652 672 712 480 480 481 494
	ModeLine     "640x480TV3" 17.6 640 656 672 712 480 480 481 494
	ModeLine     "640x480TV4" 17.6 640 644 672 712 480 480 481 494
	ModeLine     "640x480TV5" 17.6 640 648 672 712 480 480 481 494
	ModeLine     "640x480TV6" 17.6 640 652 672 712 480 480 481 494
	ModeLine     "640x480TV7" 17.6 640 656 672 712 480 480 481 494
	ModeLine     "640x480TV8" 17.6 640 660 672 712 480 480 481 494
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "nvidia"
	VendorName  "Videocard vendor"
	BoardName   "NVIDIA GeForce 4 (generic)"
	Option	    "NoLogo" "true"
	Option	    "TwinView" "1"
	Option	    "SecondMonitorHorizSync" "20-80"
	Option	    "SecondMonitorVertRefresh" "10-90"
	Option	    "TwinViewOrientation" "RightOf"
	Option	    "TVStandard" "PAL-G"
 #       Option "MetaModes" "1024x768 at 1024x768,640x480 at 640x480" 
	Option	    "MetaModes" "1024x768,640x480"
	Option	    "TVOutFormat" "COMPOSITE"
	Option	    "ConnectedMonitor" "CRT,TV"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth    24
	SubSection "Display"
		Depth     24
		Modes    "1024x768" "800x600" "640x480TV3" "640x480" 
		Virtual 0 0
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

 
Section "ServerFlags"
 
EndSection
 
Section "InputDevice"
 
Identifier "Mouse"
 
	Option "Protocol" ""
	Option "Device" "/dev/psaux"
	Driver "mouse" 
	Option "Emulate3Buttons"
EndSection
 
-------------- next part --------------
debi at debi1:~$ mplayer -v -xineramascreen 1 -fs /mnt/b/filmek/dardevil.avi
MPlayer dev-CVS-031120-18:53-3.3.2 (C) 2000-2003 MPlayer Team
 
CPU: Intel Pentium 4/Xeon/Celeron Northwood 2403 MHz (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
 
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/debi/.mplayer/config
Reading /home/debi/.mplayer/codecs.conf: Can't open '/home/debi/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '-xineramascreen' '1' '-fs' '/mnt/b/filmek/dardevil.avi'
get_path('font/font.desc') -> '/home/debi/.mplayer/font/font.desc'
Font /home/debi/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/debi/.mplayer/input.conf'
Can't open input config file /home/debi/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
Setting up LIRC support...
get_path('dardevil.avi.conf') -> '/home/debi/.mplayer/dardevil.avi.conf'
 
Playing /mnt/b/filmek/dardevil.avi.
[file] File size is 1332100964 bytes
STREAM: [file] /mnt/b/filmek/dardevil.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x13A
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 148991   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  720 x 430
==========================
list_end=0xD4
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 250000/10000 = 25.000
Start: 0   Len: 148991
Suggested BufferSize: 91237
Quality 0
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 720
  biHeight 430
  biPlanes 1
  biBitCount 24
  biCompression 1482049860='DIVX'
  biSizeImage 928800
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x13A
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 48000/1 = 48000.000
Start: 0   Len: 286067712
Suggested BufferSize: 24000
Quality 0
Sample size: 1
==========================
found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 8192 (0x2000)
Channels: 2
Samplerate: 48000
avg byte/sec: 48000
Block align: 1
bits/sample: 16
cbSize: 0
===========================
list_end=0x172
hdr=Software  size=36
Software  : MEncoder dev-CVS-031120-18:53-3.3.2
Broken chunk?  chunksize=1670  (id=JUNK)
list_end=0x4F3EF66C
Found movie at 0x80C - 0x4F3EF66C
Reading INDEX block, 160911 chunks for 148991 frames (fpos=0x4f3ef674)
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x5DCC)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=1042094380 (148991) audio size=286067712 (286067712)
VIDEO:  [DIVX]  720x430  24bpp  25.000 fps  1398.9 kbps (170.8 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:720x430  fps:25.00  ftime:=0.0400
Clip info:
 Software: MEncoder dev-CVS-031120-18:53-3.3.2
get_path('sub/') -> '/home/debi/.mplayer/sub/'
get_path('default.sub') -> '/home/debi/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  384.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 640x480 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours STAYS_ON_TOP X atoms
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
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:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
Starting playback...
This file was encoded with libavcodec build 4673
[ffmpeg] aspect_ratio: 2.381395
VDec: vo config request - 720 x 430 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.38:1 - prescaling to correct movie aspect.
VO Config (720x430->1024x430,flags=1,'MPlayer',0x32315659)
VO: [xv] 720x430 => 1024x430 Planar YV12  [fs]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x3 (   ) packed
[x11] NET style stay on top (layer 1). Using state _NET_WM_STATE_STAYS_ON_TOP.
using Xvideo port 103 for hw scaling
aspect: Warning: no suitable new res found!
[xv-fs] dx: 0 dy: 106 dw: 640 dh: 268
aspect: Warning: no suitable new res found!
[xv] dx: 0 dy: 106 dw: 640 dh: 268
*** [vo] Allocating (slices) mp_image_t, 720x432x12bpp YUV planar, 466560 bytes
[xv] dx: 0 dy: 0 dw: 640 dh: 480
aspect: Warning: no suitable new res found!
[xv-fs] dx: 0 dy: 106 dw: 640 dh: 268
XXX initial  v_pts=0.000  a_pos=24000 (0.500)   1   0%  0%  0.0% 0 0 0%
*** [vo] Allocating (slices) mp_image_t, 720x432x12bpp YUV planar, 466560 bytes
Uninit audio filters... 0.002 ct:  0.005   19/ 19  18%  9%  0.8% 0 0 0%
[libaf] Removing filter dummy
uninit audio: liba52
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x8526ca8
vo: uninit ...
 
Exiting... (Quit)


More information about the MPlayer-felhasznalok mailing list