[FFmpeg-user] how to enable hardware acceleration in ffmpeg
Yogesh Tyagi
yogesh.bit2006 at gmail.com
Sat Mar 3 08:19:50 CET 2012
Hi,
Yes I want to use vaapi to display media using hwaccel.Is there any option
by which I can switch b/w software decoding and hwaccel at run time?
Thanks and Regards,
Yogesh
On Fri, Mar 2, 2012 at 7:59 PM, Tom Evans <tevans.uk at googlemail.com> wrote:
> On Fri, Mar 2, 2012 at 1:42 PM, Yogesh Tyagi <yogesh.bit2006 at gmail.com>
> wrote:
> > Hi,
> >
> > Is there any command line option in ffmpeg to enable hardware
> acceleration
> > for h264 decoding.I have configured and compiled ffmpeg with"
> > --enable-vaapi --enable-hwaccel=h264_vaapi" options but ffmpeg is not
> > invoking decode_slice function of vaapi_h264.c.
> >
>
> As I understand it, vdpau and vaapi are useful for decoding when you
> want to display that decoded content. It's not a usable API, eg for
> decoding video as a step for subsequently re-encoding it (if that
> makes sense).
>
> IE, you can use vdpau/vaapi to display media using hwaccel, but you
> can't use it to accelerate decoding whilst encoding.
>
> Cheers
>
> Tom
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
--
Thanks and Regards,
Yogesh Tyagi
Mobile No: 09911814030
More information about the ffmpeg-user
mailing list