On Thu, 1 May 2014 15:47:17 +1000 Jean-Yves Avenard <[email protected]> wrote:
> Hi > > What would be the best way to detect if a video is using 9 or 10 > bits-depth video? > > As VDPAU (and many other hardware accelerated decoding) do not support > this, I'd like to detect those video and use software decoding > instead. Use the video's profile. Alternatively, you can try to setup the AVCodecContext to do vdpau decoding, which will fail if the video is 9/10 bit (it will try to fallback to software decoding, which you can detect). But note that there are 8 bit videos which can't be decoded with most hw decoders, so the profile should be checked too. _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
