Malik Cissé <mc@...> writes:

> How can I force hw decoding?

This depends on which hardware decoder you want to use, 
at least the following APIs are "supported" (please 
understand that in this case, this does not mean you 
can use them without any additional effort, it just 
means that some code necessary to use hardware 
decoding is in place, you typically have to add code 
inside your application):
xvmc, vdpau, va-api, dxva
OpenElec has added xvba code to their local copy of 
libavcodec.
Addionally, stagefright probably allows you to use 
hardware decoding in a more straight-forward manner.

> Is there any good example code for this?

Both MPlayer and vlc use (different) hardware 
decoders supported by libavcodec.

Carl Eugen

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to