This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Linux
Hello,
I have make gstreamer application, which takes input from v4l2src , crop it through videocrop element , encode it through ducatih264enc and display it over RTSP.
I can change croping data at run time through "g_object_set (G_OBJECT (element->video_crop), "left", crop_height, "right", crop_width, NULL);".
as i am going to change bitrate using "g_object_set (G_OBJECT (element->ducatih264enc), "bitrate", 4096, NULL);", it does not effect on rtsp.
Any solution for this.
Regards,
Prerak
Hello,
Prerak Patel said:i set pipeline to null state , change the element property and start again with new configuration.
After moving pipeline to NULL state do you unref the pipe ?
gst_object_unref (pipeline);
BR
Margarita
Hi,
Yes, i do gst_object_unref (pipeline);. I think, problem should we with app sink element.
i have made application of below pipeline.
v4l2src --tee -- queue -- videocrop-- ducatih264enc -- rtspserver -- fakesink
-- queue -- appsink
i am doing pipeline null in appsink callback function. may be it causes error.
Regards,
Prerak