On 01/09/13 23:18, Alexander Graf wrote: > > On 09.01.2013, at 21:25, Anthony Liguori wrote: > >> >> Since we really can't guarantee that libva will initialize okay, we >> need to more gracefully handle falling back to another encoding >> type. > > In fact, doesn't libavcodec / gstreamer support vaapi? If we could > just send our updates to a library and have that determine whether > vaapi is available or maybe fall back to software H.264 encoding, > people without vaapi compatible hardware (or software) could exploit > this feature too.
Using libavcodec directly is a non-starter as distros don't ship that due to the multimedia codec patent mess. gstreamer should be workable, and thanks to the plugin system you can even use libavcodec indirectly if it happens to be installed (from 3rd party repo). cheers, Gerd