[FFmpeg-devel] [PATCH 0/2] VDA decoder for ffmpeg
Xidorn Quan
quanxunzhen at gmail.com
Wed Aug 22 03:43:27 CEST 2012
On Wed, Aug 22, 2012 at 5:30 AM, Michael Niedermayer <michaelni at gmx.at>wrote:
>
> > 1. Origin H.264 decoder never guarantees that HWAccel will be used.
> >
> > For some cases, the decoder doesn't call get_format, and we will
> > have no chance to ask it to use HWAccel. If it happens,
> > the h264_vda decoder will automatically fall back to software
> > decoding without any warning or something like this.
> >
> > I don't think it is a proper behavior for this decoder. It should
> > either succeed to initialize and then use VDA to decode, or fail
> > if it can't and let caller to fall back itself.
> >
> > In fact, sometimes, VDA can decode a video but H.264 decoder
> > refuses to use it and do decoding itself.
>
> how can these problems be reproduced? / where can i find h264 samples
> that show these problems ?
>
Any H.264 video with bit depth other than 8bit will prevent
the origin H.264 decoder from invoking get_format.
My testing shows that VDA can decode video with 10bit bit depth
though it doesn't output completely correct pictures.
More information about the ffmpeg-devel
mailing list