DS pipeline with filesink added after input src is not working in file loop mode

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) - Jetson AGX
• DeepStream Version - v5.1
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs) questions

Hi,

I tried to modify the deepstream-app sample code in DS SDK v5.1 to add in a filesink to save the input video immediately after the input filesrc, as below. The pipeline is working when file-loop=0. Once the file-loop is enabled, the pipeline not able to enter PLAYING state and keep on stay at READY state

gst filesrc → gst tee -| → gst decodebin ->… the rests of the bin/elements after decodebin remains unchanged
-| → gst queue → gst qt-demux → gst h264 parser → gst qt-mux → gst filesink

(the gst decodebin and gst queue are connected after the gst tee)

Here is the pipeline graph
0.00.03.748588791-ds-app-playing.pdf (52.6 KB)

I tried to add message print at the restart_stream_buf_prob() function to check the event type received. Below is the snippet of the log

.
,
**PERF: FPS 0 (Avg)
**PERF: 0.00 (0.00)
** INFO: <bus_callback:186>: Pipeline ready

Opening in BLOCKING MODE
Opening in BLOCKING MODE
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 10254
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 12814
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with error with event type 5127
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 10254
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 12814
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with error with event type 17934
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 20510
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 20510
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 0
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 0
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 0
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 0
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 0
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 0
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 0
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 0
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 20510
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 0
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 20510
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 0
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 20510
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 0
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 20510
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 0
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 0
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 20510
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 0
CE: restart_stream_buf_prob ENTER
CE: restart_stream_buf_prob exit with OK with event type 0
**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)

Is it due to some missing event causing the pipeline not able to enter PLAYING state?
Any pointer what could have missing or misconfigured in the pipeline that is causing this issue?

The deepstream-app is open source. You can debug by the code. It is just gstreamer coding skills, not deepstream related.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.