** (presien_acquisition:1): CRITICAL **: 00:41:25.809: gst_adapter_push: assertion 'GST_IS_BUFFER (buf)' failed

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

** (presien_acquisition:1): CRITICAL **: 00:41:25.809: gst_adapter_push: assertion 'GST_IS_BUFFER (buf)' failed

wzho0776
We have 2 containers running 2 gstreamer pipelines and 2 cameras. They  use
the same scrip to construct gst pipeline, only difference is input argument,
one is usb port 1 for cam1, the other is usb port 2 for cam2.. When i unplug
cam1, the gst pipeline1 returned error which is understandable. But
sometimes it also caused pipeline2 to fail. It's saying
** (pipeline:1): CRITICAL **: 00:41:25.809: gst_adapter_push: assertion
'GST_IS_BUFFER (buf)' failed

Does anyone know what might cause this problem? our pipeline is like:


gst-launch-1.0 v4l2src name=v4l2src2.4 device=/dev/video1 io-mode=2
do-timestamp=true ! image/jpeg,width=2560,height=960,framerate=60/1 !
videorate name=videorate2.4 ! image/jpeg,framerate=8/1 ! nvjpegdec
name=nvjpegdec2.4 ! video/x-raw ! nvvidconv ! "video/x-raw(memory:NVMM)" !
tee name=t ! queue flush-on-eos=true silent=true ! nvvidconv !
video/x-raw,width=800,height=300,format=BGRx ! appsink name=appsink2.4
emit-signals=true max-buffers=1 drop=true t. ! queue flush-on-eos=true
silent=true ! videorate max-rate=8 ! nvvidconv top=0 bottom=960 left=0
right=1280 !
"video/x-raw(memory:NVMM),width=1280,height=960,pixel-aspect-ratio=1/1" !
nvv4l2h264enc name=nvv4l2h264enc2.4 control-rate=0 bitrate=450000
maxperf-enable=1 iframeinterval=10 insert-sps-pps=1 profile=4 preset-level=4
! h264parse name=parse2.4 config-interval=1 disable-passthrough=true !
splitmuxsink name=splitmuxsink2.4 location=./test.ts
max-size-time=10000000000 max-size-bytes=6000000 muxer=mpegtsmux -e




--
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: ** (presien_acquisition:1): CRITICAL **: 00:41:25.809: gst_adapter_push: assertion 'GST_IS_BUFFER (buf)' failed

omer.tal
It's hard to tell without seeing any code, but from my personal experience,
it might be an issue with memory management,

Perhaps you're allocating objects on the stack which gets deleted when going
out of scope?
I had similar issue like a week ago and that was the case.

Make sure your objects are not getting deleted before you pass them to gst
functions.



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