[Libav-user] HW Accelerator in Windows: DXVA2 with new API

Hector Alonso hector.alonso.aparicio at gmail.com
Thu Aug 28 14:21:01 CEST 2014


2014-08-28 13:29 GMT+02:00 Hendrik Leppkes <h.leppkes at gmail.com>:

>
> The DXVA2 decoder is limited to 16 slices by default.
> You can change this variable in libavcodec/h264.h, set MAX_SLICES to
> something higher.
>
>
As I did, but in effect if I have more than 4 slices it doesn't decode the
key frames!
avcodec_decode_video2 returns -1094995529 "Invalid data found when
processing input"  and there's a lot of "Missing reference picture, default
is __" error messages.



> - Hendrik
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140828/e5c5b530/attachment.html>


More information about the Libav-user mailing list