Tool/software:
Hello Team,
I have created gstreamer based application to setup pipeline and start streaming.
Initial streaming work fine. But when I am trying to change gstreamer state from: PLAYING -> NULL -> PLAYING
in that, case I am getting below error in application.
ERROR:
6177.569984 s: VX_ZONE_ERROR:[vxGetStatus:1015] Reference is NULL
** (sickapp:6439): CRITICAL **: 10:31:36.290: gst_tiovx_get_size_from_exemplar: assertion 'VX_SUCCESS == vxGetStatus (exemplar)' failed
Pipeline: I have integrated in application
gst-launch-1.0 -v v4l2src device=/dev/video-rpi-cam0 io-mode=dmabuf-import ! video/x-bayer, width=1920, height=1080, framerate=30/1, format=bggr ! tiovxisp sink_0::device=/dev/v4l-rpi-subdev0 sensor-name="SENSOR_SONY_IMX219_RPI" dcc-isp-file=/opt/imaging/imx219/linear/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/imx219/linear/dcc_2a_10b.bin format-msb=9 ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! v4l2jpegenc ! tcpserversink host=IP address port=5000
Our requirement is change configurable resolution and some parameter in pipeline. for that, we have to change state from Playing to NULL and change parameter and again make to Playing to get latest data.
Any idea for this error ?
In second case:
I have change stage from PLAYING->PAUSE->PLAYING.
In that case not able to get data from the gstreamer after pause to play.
If I set Playing to NULL, unref the all the gstreamer element and re-init whole pipeline, in that case it's working. but our use case to not re-init whole pipeline in configuration change.
Thanks,
Jaimin