Hello Nvidia,
I am testing VST microservice on AGX Orin 64GB.
I use
POST http://192.168.1.30:30080/vst/api/v1/record/82f390aa-8b95-4f01-89a3-9dde1b2d4795/event api call to record 5 seconds event video. It takes more then 1.5 minute to record it. Is it expected behaviour?
[2024-11-28T15:11:14.650Z:281471470136288:HttpServerRequestHandler.cpp:172: handle] uri:/api/v1/record/82f390aa-8b95-4f01-89a3-9dde1b2d4795/event
[2024-11-28T15:11:14.650Z:281471470136288:HttpServerRequestHandler.cpp:173: handle] method:POST
[2024-11-28T15:11:14.650Z:281471470136288:streamrecorder.cpp:251: onEvent] Handle Event for camera id = 82f390aa-8b95-4f01-89a3-9dde1b2d4795
[2024-11-28T15:11:14.650Z:281471470136288:VideoQueue.cpp:98: dropExtraFrames] Q size After drop: 50 and oldest frame ts = 1732806672654
[2024-11-28T15:11:14.650Z:281471470136288:gstmux.cpp:980: onEvent] Handling event for 82f390aa-8b95-4f01-89a3-9dde1b2d4795
[2024-11-28T15:11:14.780Z:281466906733536:gstmux.cpp:1290: setPlayState] Transitioning Pipeline into PLAYING State for camera ID = 82f390aa-8b95-4f01-89a3-9dde1b2d4795
[2024-11-28T15:11:14.781Z:281466906733536:gstmux.cpp:1311: setPlayState] GST_STATE_CHANGE_ASYNC (for PLAYING state) for camera ID = 82f390aa-8b95-4f01-89a3-9dde1b2d4795
[2024-11-28T15:11:14.795Z:281466906733536:gstmux.cpp:691: insertRowInDB] [Success:] Insert into Database for file /root/store/video/82f390aa-8b95-4f01-89a3-9dde1b2d4795/1280x720/2024/11/28/16/1732806672815.mkv with timestamp : Thu Nov 28 15:11:12 2024
[2024-11-28T15:11:14.795Z:281466906733536:storage_management.cpp:487: addFileInProtectList] Added file into the in protect list filePath:/root/store/video/82f390aa-8b95-4f01-89a3-9dde1b2d4795/1280x720/2024/11/28/16/1732806672815.mkv removeOrAdd:1
[2024-11-28T15:11:17.798Z:281466889825248:gstmux.cpp:947: event_probe] Initial condition
[2024-11-28T15:11:17.798Z:281466889825248:gstmux.cpp:948: event_probe] Resolution = 1280 x 720
[2024-11-28T15:11:17.798Z:281466889825248:gstmux.cpp:949: event_probe] Framerate = 0 / 0
[2024-11-28T15:11:17.798Z:281466889825248:gstmux.cpp:950: event_probe] Stream Format = hvc1
[2024-11-28T15:11:18.798Z:281466906733536:gstmux.cpp:113: RecorderQos] RecorderQos::RecorderQos
[2024-11-28T15:11:18.798Z:281466906733536:gstmux.cpp:130: RecorderQos] Recording-qos started at:./webroot/qos/recording_qos_2024-11-28T15:11:18Z.csv
[2024-11-28T15:12:11.387Z:281467166714848:fps_display.cpp:80: displayFPS] Unique ID = recording_82f390aa-8b95-4f01-89a3-9dde1b2d4795 FPS = { 24.971322, 25.075300, 24.849387, 24.994737, 25.048542, 24.886436, 25.180583, 25.052356, 24.905192, 24.938171, 25.103198, 24.889815 }
[2024-11-28T15:12:54.811Z:281466906733536:gstmux.cpp:477: muxerProcessThread] Stopping recording on event for 82f390aa-8b95-4f01-89a3-9dde1b2d4795
[2024-11-28T15:12:54.811Z:281466906733536:gstmux.cpp:1411: sendEOS] Sending EOS in MUX pipeline for camera id = 82f390aa-8b95-4f01-89a3-9dde1b2d4795
[2024-11-28T15:12:54.811Z:281466915187680:gstmux.cpp:814: busWatchFunc] GST_MESSAGE_ASYNC_DONE for camera ID = 82f390aa-8b95-4f01-89a3-9dde1b2d4795
[2024-11-28T15:12:54.818Z:281466906733536:gstmux.cpp:191: updateDbRow] Success: Update Database with duration 3961 and FPS = 25 for file /root/store/video/82f390aa-8b95-4f01-89a3-9dde1b2d4795/1280x720/2024/11/28/16/1732806672815.mkv with timestamp : Thu Nov 28 15:11:12 2024
[2024-11-28T15:12:54.818Z:281466906733536:storage_management.cpp:487: addFileInProtectList] Added file into the in protect list filePath:/root/store/video/82f390aa-8b95-4f01-89a3-9dde1b2d4795/1280x720/2024/11/28/16/1732806672815.mkv removeOrAdd:0
[2024-11-28T15:12:54.821Z:281466906733536:gstmux.cpp:1379: setNULLState] Transitioning Pipeline into NULL State for camera ID = 82f390aa-8b95-4f01-89a3-9dde1b2d4795
[2024-11-28T15:12:54.822Z:281466906733536:gstmux.cpp:1395: setNULLState] State change to NULL success for camera ID = 82f390aa-8b95-4f01-89a3-9dde1b2d4795
[2024-11-28T15:13:12.357Z:281467166714848:fps_display.cpp:80: displayFPS] Unique ID = recording_82f390aa-8b95-4f01-89a3-9dde1b2d4795 FPS = { 25.028192, 25.030189, 24.970130, 25.019061, 24.825502, 25.033919, 25.003031, 24.941407, 25.020650, 24.916432, 25.146312, 25.080309 }
[2024-11-28T15:14:13.261Z:281467166714848:fps_display.cpp:80: displayFPS] Unique ID = recording_82f390aa-8b95-4f01-89a3-9dde1b2d4795 FPS = { 24.998901, 24.868737, 24.868347, 25.133799, 24.897332, 24.992676, 25.053130, 25.006937, 24.908162, 25.084099, 24.981977, 24.867791 }
If I record movie manually using start/stop calls and ~5 seconds between them I get very short movie that contains a few frames, I reduced resolution from 1920x1080 to 1280x768, seems it does not help to reduce recording time. Only if I reduce duration of recording it linearly reduces recording time. For example 10 seconds movie recording takes ~3+minutes, 5 seconds movie 1.5+minutes
Could you please assist?