vlc-cvs video output jerky

Steven M. Schultz sms at 2BSD.COM
Wed Jan 9 19:01:43 CET 2002


Hi!

> From: Samuel Hocevar <sam at zoy.org>
> > 	vlc -V sdl mpegfile
> > 
> > 	works much better than the default (Xvideo).   
> 
>    And does the video output window say "hardware YUV"?

	When using "-V sdl" I do indeed see "hardware YUV" in the video
	output window.

> > vout error: never heard of chroma 0x00000003 (   b)
> 
>    Ah, that's because I didn't port all the YUV conversion routines,
> you'd need to be in 16bpp. But forget this idea since -V sdl worked.

	Actually I'm in 24 bit mode (xdpyinfo output included below).

> > 	While I do see infrequent "late picture" messages the playback with

>    Fine. The "late picture" messages mean it dropped a few pictures here
> and there, but nothing noticeable.

	Right, they are infrequent and do not appear to hurt anything.

>    While setting MAX_DIRECTBUFFERS to 1 improved the quality, you lost
> lots of performances, so it'd be interesting to see what is wrong with
> more direct buffers allocated, and I thought our Shm code could have
> been an issue.

	The Shm code does not appear to have the problem.

	Oh, I see you (or someone) updated the src/interface/intf_eject.c.  
	Just one more minor mod needed (to get the O_NONBLOCK and O_RDONLY
	flags).   Moving 'fcntl.h' down to a "#ifdef HAVE_FCNTL_H" block
	worked for me

*** src/interface/intf_eject.c.dist	Wed Jan  9 09:32:14 2002
--- src/interface/intf_eject.c	Wed Jan  9 09:33:22 2002
***************
*** 43,49 ****
  #   include <sys/types.h>
  #   include <sys/stat.h>
  #   include <sys/ioctl.h>
- #   include <fcntl.h>
  
  #   include <sys/ioctl.h>
  #   include <linux/cdrom.h>
--- 43,48 ----
***************
*** 55,60 ****
--- 54,63 ----
  #   include <scsi/scsi.h>
  #   include <scsi/sg.h>
  #   include <scsi/scsi_ioctl.h>
+ #endif
+ 
+ #ifdef HAVE_FCNTL_H
+ #include <fcntl.h>
  #endif
  
  /*****************************************************************************

	Here's the xdpyinfo output.

	Steven

name of display:    :0.0
version number:    11.0
vendor string:    The XFree86 Project, Inc
vendor release number:    40100000
XFree86 version: 4.1.0
maximum request size:  4194300 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0xc0000e, revert to Parent
number of extensions:    28
    BIG-REQUESTS
    DOUBLE-BUFFER
    DPMS
    Extended-Visual-Information
    FontCache
    GLX
    LBX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    RECORD
    RENDER
    SECURITY
    SGI-GLX
    SHAPE
    SYNC
    TOG-CUP
    X3D-PEX
    XC-APPGROUP
    XC-MISC
    XFree86-Bigfont
    XFree86-DGA
    XFree86-Misc
    XFree86-VidModeExtension
    XIE
    XInputExtension
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1600x1200 pixels (406x305 millimeters)
  resolution:    100x100 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x32
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    64x64
  current input event mask:    0x50003d
    KeyPressMask             ButtonPressMask          ButtonReleaseMask        
    EnterWindowMask          LeaveWindowMask          SubstructureRedirectMask 
    PropertyChangeMask       
  number of visuals:    4
  default visual id:  0x23
  visual:
    visual id:    0x23
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x24
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x25
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x26
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits




More information about the vlc mailing list