Hi everyone.
I am trying to add dynamic control to my code. So I am modifying deepstream-app-test4, and this is my pipeline
When I set the recording pipeline as
recording_pipe = gst_parse_launch("interpipesrc listen-to=record_h265 format=time allow-renegotiation=true enable-sync=true is-live=true ! queue ! nvmultistreamtiler width=1920 height=1080 rows=2 columns=2 ! nvvideoconvert ! nvv4l2h265enc insert-sps-pps=true iframeinterval=10 bitrate=8000000 ! h265parse ! matroskamux ! filesink name=filesink_record_h265 location=output_h265.avi sync=false async=false", NULL);
and set the pipeline state as GST_STATE_PLAYING. The original pipeline will freeze and I can get only one frame as video output.
But if I set pipeline as
recording_pipe = gst_parse_launch("interpipesrc listen-to=record_h265 format=time allow-renegotiation=true enable-sync=true is-live=true ! queue ! nvmultistreamtiler width=1920 height=1080 rows=2 columns=2 ! nvvideoconvert ! nveglglessink", NULL);
it can display the streaming video and original pipeline’s display will be lagging, but able to play.
This is the interpipesink I used in my code.
g_object_set (G_OBJECT (recording_sink), "name", "record_h265", "forward-events", TRUE, "forward-eos", TRUE, "sync", FALSE, "async", FALSE, "enable-last-sample", FALSE,"drop", TRUE, NULL);
Does anyone have idea about issue?
Thanks in advance
• Hardware Platform (Jetson / GPU): jetson agx xavier
• DeepStream Version:5.0
• JetPack Version (valid for Jetson only):4.4