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

Ivan Kalvachev ikalvachev
Thu Feb 12 21:21:48 CET 2009

On 2/12/09, 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?

I'm all for that.

More information about the ffmpeg-devel mailing list