Don’t miss the video.onflex.org video interview with Ryan Stewart and Tinic Uro about the video quality and performance improvements in Update 3 (now on Adobe Labs).
Mr. Uro has no right telling that Linux can not do hardware video acceleration and scaling. Hypothesis about lack of drivers is also completely false.There is only one, very popular, free, universal X-Video extension of X11 (Xfree86/X.org) graphics system in Linux/FreeBSD/*nix known and widely used since late ’80 decade. In July 1991 it was redesigned and become version 2. Nowadays it is at 2.2 version. All video players in Linux except Adobe Flash player uses it to gain fast, high quality hardware scaling. Because of such:-popularity (all players except flash use it),-stability and-maturity (ver 2 available since July 1991),-capabilities (Xv can do hardware scaling and also perform hardware color space conversion (if source video stream is not in RGB format) on full screen or in window)- great driver support (every open/closed source GPU driver has support for Xv if hardware is able to do any scaling).That is why there is no other APIs for Video output as X-Video has everything application programmer need to have.X-Video extension is part of every XFree86/X.org graphics system since version 4.0.2 (released 18 December 2000).http://en.wikipedia.org/wiki/X_video_extensionFrom programming point of view the use of X-Video is just a matter of including:include/X11/extensions/Xv.h and Xvlib.hand using functions/capabilities this extension/library offers. (Just feed Xv with video data and point destination (window/fullscreen) – Xv together with GPU driver will up/down-scale it to size of destination). There are many source code on the web with examples of programming X-Video. For example MPlayer and xine are fully open source and all Xv playback code can be seen:vo_xv.c for MPlayer, video_out_xv.c for xine.There is also more advanced extension XvMC which adds hardware iDCT and MotionCompensation very useful at MPEG decompression (like in DVD playback). However this extension is less popular as only new GPUs have hardware MPEG decoding and only some drivers (Nvidia since Geforce 4MX/VIA unichrome/Intel 810) provides these capabilities.vo_xvmc.c video_out_xvmc.c (Mplayer/xine)Thanks to Xv/XvMC full screen, scaled MPEG-2/DVD video playback takes only 2-8% CPU power using XvMC and 30% using Xv on very old CPU.
Copyright © 2013 Adobe Systems Incorporated. All rights reserved.