I used this code
http://bellet.info/XVideo/testxv.c to see what adaptors are present for my system. It shows
XvQueryAdaptors returned the following:
1 adaptors available.
name: Intel(R) Video Overlay
type: input | image |
ports: 1
first port: 73
adaptor 0 ; format list:
depth=16, visual=35
depth=16, visual=36
depth=16, visual=37
depth=16, visual=38
depth=16, visual=39
depth=16, visual=40
depth=16, visual=41
depth=16, visual=42
encoding list for port 73
id=0, name=XV_IMAGE, size=1440x1080, numerator=1, denominator=1
attribute list for port 73
name: XV_COLORKEY
flags: get set
min_color: 0
max_color: 16777215
name: XV_BRIGHTNESS
flags: get set
min_color: -128
max_color: 127
name: XV_CONTRAST
flags: get set
min_color: 0
max_color: 255
image format list for port 73
0x32595559 (YUY2) packed
0x32315659 (YV12) planar
0x30323449 (I420) planar
0x59565955 (UYVY) packed
I checked out the Xv documentation. It shows that there is a video adaptor also supported. But my system aint showing it. Does this mean that my system cannot play video properly using Xv ?