<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This isn't an error - it's a debug message noting that the decoder needs some system-specific initialisation to use the hardware, which is true (<<a href="http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/decode.c;h=03b9da25f9fd9932ae6b29d65dd76d67a105098c;hb=HEAD#l1482" rel="noreferrer" target="_blank">http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/decode.c;h=03b9da25f9fd9932ae6b29d65dd76d67a105098c;hb=HEAD#l1482</a>>).<br>Whatever is going wrong must be somewhere after that.</blockquote><div><br></div><div>Oh I see. I do get a decode status of 1, see below:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">nal_unit_type: 7(SPS), nal_ref_idc: 3<br>Error found<br>nal_unit_type: 8(PPS), nal_ref_idc: 3<br>Error found<br>nal_unit_type: 6(SEI), nal_ref_idc: 0<br>Error found<br>nal_unit_type: 6(SEI), nal_ref_idc: 0<br>Error found<br>nal_unit_type: 5(IDR), nal_ref_idc: 3<br>Error found<br>ct_type:0 pic_struct:0<br>Decode status 1<br>Error found<br>bad src image pointers</blockquote><div><br></div><div>But then I get a bad src image pointers. Do you think the decode is really successful and it's a problem with the parameters? </div><div><br></div><div>Cheers,</div><br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Philippe<br></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 9, 2020 at 11:44 AM Mark Thompson <<a href="mailto:sw@jkqxz.net" target="_blank">sw@jkqxz.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 08/02/2020 22:51, Philippe Noël wrote:<br>
> Hello,<br>
> <br>
> I'm trying to do the vaapi/d3d11va/videotoolbox hardware accel for AV_CODEC_ID_H264. I'm following the libav example, but when I init it gives me "requires waccel initialisation" although I am creating the hw device w/ av_hwdevice_ctx_create. What am I missing?<br>
> <br>
> Format videotoolbox_vld chosen by get_format().<br>
> <br>
> Error found<br>
> <br>
> Format videotoolbox_vld requires hwaccel initialisation.<br>
<br>
This isn't an error - it's a debug message noting that the decoder needs some system-specific initialisation to use the hardware, which is true (<<a href="http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/decode.c;h=03b9da25f9fd9932ae6b29d65dd76d67a105098c;hb=HEAD#l1482" rel="noreferrer" target="_blank">http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/decode.c;h=03b9da25f9fd9932ae6b29d65dd76d67a105098c;hb=HEAD#l1482</a>>).<br>
<br>
Whatever is going wrong must be somewhere after that.<br>
<br>
- Mark<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".</blockquote></div>