Deepstream FPS drops to 0 When i enable Sink

• Hardware Platform (Jetson / GPU) JETSON ORIN
• DeepStream Version 6.3
**• JetPack Version (valid for Jetson only)**Package: nvidia-jetpack Version: 5.1.2-b104

Hello i’m using the deepstream-test5 as a reference app, and my custom configuration is “deepstream_app.txt”,

When i disable the mp4 or the RTSP sink i get

*PERF:  21.00 (21.96)
Active sources : 1
Tue Oct  3 20:32:16 2023
**PERF:  21.00 (21.61)
Active sources : 1
Tue Oct  3 20:32:21 2023
**PERF:  21.00 (21.45)
Active sources : 1
Tue Oct  3 20:32:26 2023
**PERF:  21.00 (21.36)
Active sources : 1
Tue Oct  3 20:32:31 2023
**PERF:  21.00 (21.29)
Active sources : 1
Tue Oct  3 20:32:36 2023
**PERF:  21.01 (21.25)

But when i enable the mp4 sink or the rtsp sink i get 0 FPS.

**PERF:  FPS 0 (Avg)
Tue Oct  3 20:33:04 2023
**PERF:  39.79 (4.77)
Active sources : 0
Tue Oct  3 20:33:09 2023
**PERF:  0.00 (2.11)
Active sources : 0
Tue Oct  3 20:33:14 2023
**PERF:  0.00 (1.36)
^C** ERROR: <_intr_handler:712>: User Interrupted..

deepstream_app.txt (5.6 KB)

Is there a way to solve this ?

Thanks in advance !

Did you disable all the sources in your config file?

No i haven’t disabled the source in my config file, here is another output using the config below(CSI as source and RTSP sink)

sudo ./deepstream-test5-app -c configs/custom.txt 

 *** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***


Runtime commands:
        h: Print this help
        q: Quit

        p: Pause
        r: Resume

NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
      To go back to the tiled display, right-click anywhere on the window.

** INFO: <bus_callback:239>: Pipeline ready

** INFO: <bus_callback:225>: Pipeline running

GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3280 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 3280 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 4 
   Output Stream W = 1280 H = 720 
   seconds to Run    = 0 
   Frame Rate = 59.999999 
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
Active sources : 1

**PERF:  FPS 0 (Avg)
Wed Oct  4 12:18:47 2023
**PERF:  30.14 (3.22)
Active sources : 0
Wed Oct  4 12:18:52 2023
**PERF:  0.00 (1.55)
Active sources : 0
Wed Oct  4 12:18:57 2023
**PERF:  0.00 (1.02)

deepstream_app.txt (3.3 KB)

For the second config i disable the RTSP sink, in this case the app runs.

[sink0]
enable=0
[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP 5=CSI
type=5
camera-width=1280
camera-height=720
camera-fps-n=30
camera-fps-d=1

udo ./deepstream-test5-app -c configs/custom.txt 

(deepstream-test5-app:79327): GLib-GObject-WARNING **: 12:24:45.283: value "TRUE" of type 'gboolean' is invalid or out of range for property 'sync' of type 'gboolean'

(deepstream-test5-app:79327): GLib-GObject-WARNING **: 12:24:45.283: value "TRUE" of type 'gboolean' is invalid or out of range for property 'qos' of type 'gboolean'

Runtime commands:
        h: Print this help
        q: Quit

        p: Pause
        r: Resume

NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
      To go back to the tiled display, right-click anywhere on the window.

** INFO: <bus_callback:239>: Pipeline ready

** INFO: <bus_callback:225>: Pipeline running

GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3280 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 3280 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 4 
   Output Stream W = 1280 H = 720 
   seconds to Run    = 0 
   Frame Rate = 59.999999 
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
Active sources : 1

**PERF:  FPS 0 (Avg)
Wed Oct  4 12:24:50 2023
**PERF:  30.02 (29.97)
Active sources : 1
Wed Oct  4 12:24:55 2023
**PERF:  30.00 (29.98)
Active sources : 1
Wed Oct  4 12:25:00 2023
**PERF:  30.01 (29.99)
Active sources : 1
Wed Oct  4 12:25:05 2023
**PERF:  30.01 (29.99)
Active sources : 1
Wed Oct  4 12:25:10 2023
**PERF:  30.01 (29.99)
^C** ERROR: <_intr_handler:712>: User Interrupted.. 

Quitting
nvstreammux: Successfully handled EOS for source_id=0

duplicate with Problem with software encoder on JETSON ORIN

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