After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 771869 - the PPS not found problem in using h264parse
the PPS not found problem in using h264parse
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-09-23 09:49 UTC by llq
Modified: 2016-09-27 07:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
h264.gdp (31 bytes, text/plain)
2016-09-26 04:45 UTC, llq
Details

Description llq 2016-09-23 09:49:05 UTC
hello, i use gstreamer-android by playbin to playing a rtsp stream from IPC camera.
here is the main info "gsth264parser.c:2122:gst_h264_parser_parse_slice_hdr couldn't find associated picture parameter set with id: 1"
the pps id 0 is saved in gstreamer, but the IDR frame need pps id =1, so the gstreamer can't decode

but vlc can decode and play the same rtp stream, athough it show "non-existing PPS 1 referenced, decode_slice_header error ; no frame!" repeatly


thanks!
Comment 1 Tim-Philipp Müller 2016-09-23 10:00:59 UTC
Please capture a sample stream as you feed it into h264parse with

  ... ! gdppay ! filesink location=h264.gdp

and attach it to this bug so we can reproduce this locally, thanks!
Comment 2 llq 2016-09-26 04:45:14 UTC
Created attachment 336244 [details]
h264.gdp

the h264.gdp file size is too big , please download from http://pan.baidu.com/s/1pLKXxBt thanks!
Comment 3 llq 2016-09-26 04:46:54 UTC
the gstreamer pipe is like this:
rtspsrc location=rtsp://192.168.21.23 ! rtpjitterbuffer ! rtph264depay ! gdppay ! filesink location=/sdcard/h264.gdp
Comment 4 Tim-Philipp Müller 2016-09-26 08:13:49 UTC
This works fine for me:

gst-launch-1.0 filesrc location= /home/tpm/samples/misc/771869-h264.gdp ! gdpdepay ! decodebin ! xvimagesink

on a Linux desktop, with ffmpeg logging every now and then:

ERROR libav :0:: non-existing PPS 1 referenced
ERROR libav :0:: decode_slice_header error

so I'm guessing that the Android video decoder is less forgiving and you may need to use the ffmpeg/libav decoder to make this work instead of the hardware decoder.
Comment 5 llq 2016-09-26 09:04:04 UTC
thanks, your information is is very useful!

the ffmpeg libav can only use the soft decode in gstreamer?
i also want to use the hardware decode, so ,do you have any best way to deal with this problem