<div dir="ltr"><div>Thanks Mark!<br></div>I'll check that out.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-31 19:39 GMT+08:00 Mark Thompson <span dir="ltr"><<a href="mailto:sw@jkqxz.net" target="_blank">sw@jkqxz.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 31/07/17 12:11, jing zhang wrote:<br>
> I'm trying to use FFMPEG with VDPAU to decode HEVC streams.<br>
> There is no hevc_vdpau decoder in the 3.3.2 version of FFMPEG.<br>
> How can I use the VDPAU hwaccel to do the decoding?<br>
<br>
</span>There is a hardware decode example which works for VDPAU: <<a href="http://git.videolan.org/?p=ffmpeg.git;a=blob;f=doc/examples/hw_decode.c" rel="noreferrer" target="_blank">http://git.videolan.org/?p=<wbr>ffmpeg.git;a=blob;f=doc/<wbr>examples/hw_decode.c</a>>.<br>
<span class=""><br>
> Are there some VDPAU decode and present tutorials using FFMPEG?<br>
<br>
</span>That example downloads the output frames from the GPU and writes them to a file.  Presentation on the screen isn't really in the scope of ffmpeg - you could look at the source code for one the media players (e.g. mpv or vlc) for that.<br>
<br>
- Mark<br>
______________________________<wbr>_________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/<wbr>listinfo/libav-user</a><br>
</blockquote></div><br></div>