[Android] [Appsink] [Appsrc] Strange behavior when displaying the receiving raw data via appsrc

sofien rahmouni sofien.rahmouni at gmail.com
Tue Mar 3 15:06:35 UTC 2020


Thank you Nicolas for your response.

I tried to add the key-int-max property to the sender pipeline but it
does'nt fix my issue :/ .

ahcsrc device=1 ! video/x-raw,format=(string)NV21 ! tee name=t t. ! queue !
autovideosink sync=false t. ! queue ! video/x-raw,  width=320, height=240 !
videoconvert ! x264enc bitrate=500 speed-preset=superfast tune=zerolatency
byte-stream=true *key-int-max=30* ! rtph264pay mtu=1024 ! appsink
name=callback_read_buffer_sink emit-signals=true

In other side in the log, i see an error while decoding :

2020-03-03 15:50:00.383 18602-18794/com.test.demo
W/GStreamer+rtpjitterbuffer: 0:00:11.812912739 0x7dd6841cf0
../gst/rtpmanager/rtpjitterbuffer.c:749:rtp_jitter_buffer_calculate_pts
backward timestamps at server, schedule resync
2020-03-03 15:50:00.384 18602-18794/com.company.demo
W/GStreamer+rtpjitterbuffer: 0:00:11.813824406 0x7dd6841cf0
../gst/rtpmanager/rtpjitterbuffer.c:749:rtp_jitter_buffer_calculate_pts
backward timestamps at server, schedule resync
2020-03-03 15:50:00.436 18602-18793/com.company.demo E/GStreamer+libav:
0:00:11.865631911 0x7dd6841ca0 :0: top block unavailable for requested intra
mode
2020-03-03 15:50:00.436 18602-18802/com.company.demo E/GStreamer+libav:
0:00:11.865641078 0x7d882f98c0 :0: top block unavailable for requested intra
mode -1
2020-03-03 15:50:00.436 18602-18801/com.company.demo E/GStreamer+libav:
0:00:11.865628265 0x7d882f9e70 :0: top block unavailable for requested intra
mode -1
2020-03-03 15:50:00.436 18602-18802/com.company.demo E/GStreamer+libav:
0:00:11.865743942 0x7d882f98c0 :0: error while decoding MB 13 10, bytestream
1469
2020-03-03 15:50:00.436 18602-18793/com.company.demo E/GStreamer+libav:
0:00:11.865744046 0x7dd6841ca0 :0: error while decoding MB 10 0, bytestream
1930
2020-03-03 15:50:00.436 18602-18801/com.company.demo E/GStreamer+libav:
0:00:11.865745296 0x7d882f9e70 :0: error while decoding MB 8 5, bytestream
1676

i think there is a relation between the managing of the buffer
*rtpjitterbuffer *and the issue of decoding

Any help will be appreciated,

Thanks in advance



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list