Re: xvideo extension not working
Re: xvideo extension not working
- Subject: Re: xvideo extension not working
- From: "leon zadorin" <email@hidden>
- Date: Thu, 17 May 2007 11:21:33 +1000
On 5/13/07, Ben Byer <email@hidden> wrote:
To the best of my knowledge, it hasn't even been supported. If you'd
like support to be added, please file a bug report, so we can gauge
interest. (Also, please give some examples of programs which you
would be able to run on X11.app if XVideo support were added.)
Hi Ben,
as for the generic apps... pretty much any decent video player in
*nix/Linux land (VLC, MPlayer, Xine) is able to make use of XVideo
acceleration (which is as good thing when playing HDV/HDTV
1440x1080/1920x1080 sized images... plus 4k pics are not too far
around the corner)...
as for myself, I am doing this DV/HDV enhanced version to the old
video multicasting software (vic) which enables hi-def. video
interaction over modern networks (e.g. university to university either
interstate or internationally - just did demo between Brisbane,
Australia and Chicago, USA):
http://www.vislab.uq.edu.au/research/accessgrid/software/advideo/
http://www.vislab.uq.edu.au/research/accessgrid/software/advideo/status.html
Currently the main development is done on/for Linux/NetBSD (but mainly Linux).
There is always this question about portability with other
platforms... and the surest way to go (i.e. for every individual
ported application there is less platform-specific code, less bug
fixes and ongoing maintenance such as staying current with
APIs/new-hardware features and so on) is to make it build on a X11
server for whatever platform is being discussed (e.g. OSX... as
opposed to writing extra code for CoreVideo API, GUI, etc.) I had to
do a windows port of my code and wished I could just use X11's/Xvideo
server primitives as opposed to hacking for DirectDraw/3D stuff -
reinventing the wheel and doing the same thing only via different API
(I mean saying the same thing in different languages may be of
interest to literary people but not to a coding person... well at
least not to me)... Porting will be needed eventually, but it is a
question of - at what level?
Doing a (sup)port of XVideo extension and other enhancements to X
server is a simultaneous "assist" to porting of dozens of apps...
instead of having to port more of each individual app's code to
platform's native gui/video api...
of course if anyone is game (i.e. has enough time, interest, etc.) to
do a complete native port - they can do that too and then just submit
a patch :-)
As for why Xvideo over GL... well AFAIK it is faster for 2D with
colorspace conversion (e.g. rendeing a scaled 2D image with source
format of 420 planar YUV (e.g. fourcc I420 and or YV12), 411 planar
YUV (e.g. fourcc AV12) or others such as 422 planar YUV, 444 planar
YUV, etc... to whatever the displays format happens to be (e.g. 24bpp
RGB)... I know that there are possible colorspace conversion routines
in GL but last time I googled for comparisons I was under impression
that XVideo was faster (plus it (Xvideo) would not need to to any 3D
spacial calculations - no matter how trivial, those are - they extra
things to do which are simply not needed in many deployment scenarios
:-)
Sorry for the long email... I shall try to keep it short in future.
leon.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden