Green artifacts decoding h264 video with VAAPI

Víctor M. Jáquez L. vjaquez at igalia.com
Thu Jan 7 08:08:08 PST 2016


Hi Fernando,

On 12/15/15 at 08:36am, Fernando Bernal wrote:
> Hello all,

Sorry for the late reply, I was on vacations.

> 
> I'm having several problems decoding h264 video with gstreamer and
> VAAPI. I'm not using a pipeline, i'm using the gstreamer vaapi API
> directly.

What do you mean with "gstreamer vaapi API directly"? Aren't you using
GStreamer API? 

> The video is de decoded correctly but sometimes I get green
> artifacts even sometimes all the video is green. I have been reading about
> this and people say that it is possible that it is caused by packet lost.
> 
> 
> Is there a way to detect this situation on the decoder or tell the decoder
> some configuration to not emit a frame if it is bad? I would like to avoid
> rendering these artifacts.

I guess, if your have access to the src buffers from the decoder, you can
check for the buffer flag GST_BUFFER_FLAG_CORRUPTED.

vmjl


More information about the gstreamer-devel mailing list