vaapih264dec : couldn't find associated picture parameter set with id

Víctor Jáquez vjaquez at igalia.com
Mon Jul 31 15:06:09 UTC 2017


On Fri, 28 Jul 2017 at 00:40, CC wrote:
> Hi,
> 
> I decode the h264 video by vaapih264dec ,  and I get an error :
> https://gist.github.com/zombiecong/13f724325a092217428e58335a5a14cf
> 
> gstreamer command:
> 
> gst-launch-1.0 udpsrc port=10000 !
> application/x-rtp,payload=107,encoding-name=H264 ! rtph264depay !
> video/x-h264, framerate=30/1 ! h264parse ! vaapih264dec ! vaapipostproc !
> video/x-raw, width=160, height=120 ! vaapisink

The parser report this error:

gsth264parser.c:2086:gst_h264_parser_parse_slice_hdr: couldn't find associated picture parameter set with id: 4
gstvaapidecode.c:1119:gst_vaapidecode_parse_frame: parse error -1

So, your video stream isn't providing the PPS when parsing the slice's NALU

Can you provide more info? like a debug with vaapi*:5
and if you could provide the stream would be great.

vmjl


More information about the gstreamer-devel mailing list