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

classic Classic list List threaded Threaded
7 messages Options
CC
Reply | Threaded
Open this post in threaded view
|

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

CC
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


Reply | Threaded
Open this post in threaded view
|

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

Victor Jaquez
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
CC
Reply | Threaded
Open this post in threaded view
|

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

CC
Thanks for your reply.

The debug log : https://gist.github.com/zombiecong/b7554414c91cea0f49972aae8abd701d

How can I save the stream? Can you provide me  a command to save the stream?
CC
Reply | Threaded
Open this post in threaded view
|

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

CC
In reply to this post by Victor Jaquez
CC
Reply | Threaded
Open this post in threaded view
|

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

CC
In reply to this post by Victor Jaquez
Hi,

I record the RTP stream.
https://www.dropbox.com/s/jgmdnuk2397cfg7/wireshark_lo_20170904112010_3ronJ7.rtpdump?dl=0


You can use the "rtpplay" tool to replay the RTP stream.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Hyunjun Ko
As far as I test, it fails to play with both vaapih264dec and avdec_h264.
I believe the stream is incorrect.

error logs of libav:
0:00:01.121621925 20831       0xd0d770 ERROR                  libav :0::
non-existing PPS 4 referenced
0:00:01.121646679 20831       0xd0d770 ERROR                  libav :0::
decode_slice_header error
0:00:01.121654772 20831       0xd0d770 ERROR                  libav :0:: no
frame!



CC wrote

> Hi,
>
> I record the RTP stream.
> https://www.dropbox.com/s/jgmdnuk2397cfg7/wireshark_lo_20170904112010_3ronJ7.rtpdump?dl=0
>
>
> You can use the "rtpplay" tool to replay the RTP stream.
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel@.freedesktop

> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Hyunjun Ko
In reply to this post by CC
0:00:01.121621925 20831       0xd0d770 ERROR                  libav :0::
non-existing PPS 4 referenced
0:00:01.121646679 20831       0xd0d770 ERROR                  libav :0::
decode_slice_header error
0:00:01.121654772 20831       0xd0d770 ERROR                  libav :0:: no
frame!


CC wrote

> Hi,
>
> I record the RTP stream.
> https://www.dropbox.com/s/jgmdnuk2397cfg7/wireshark_lo_20170904112010_3ronJ7.rtpdump?dl=0
>
>
> You can use the "rtpplay" tool to replay the RTP stream.
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel@.freedesktop

> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel