[FFmpeg-devel] [RFC] get rid of h264_vdpau codec

Alex Converse alex.converse
Thu Feb 12 21:27:17 CET 2009

On Thu, Feb 12, 2009 at 2:40 PM, Reimar D?ffinger
<Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:
> Hello,
> Gwenole Beauchesne made me realize that the current way of selecting
> hardware acceleration sucks, and that there is a better method already
> available.
> The idea is that, since the difference is basically having a different
> PIX_FMT, we can simply let the AVCodecContext::get_format function choose.
> Of course that means also you can't use CODEC_CAP_HWACCEL_VDPAU etc.
> (and I probably missed a few places where this must be changed),
> but I always considered that a rather idiotic approach anyway.
> I have not actually tested how MPlayer would need to be changed to work
> with that (and thus don't know for sure how well it would work), but one
> advantage would certainly be, that the user no longer would have to
> explicitly select a different codec but simply could do e.g. -vo vdpau
> and get the best thing available.
> What are your opinions?
> Greetings,
> Reimar D?ffinger

In theory that's nice. In practice it would be nice to be able to
still use vo vdpau without the vdpau codecs if you are running into a
vdpau codec bug.


More information about the ffmpeg-devel mailing list