Can not save output in Deepstream?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU): Jetson
• DeepStream Version: 6.0
• JetPack Version (valid for Jetson only): 4.6.3
• TensorRT Version: 8.2
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I followed the guide to save output in Deepstream-app How to save output videos deepstream app to individual files? And what is need to change in congif f... - #4 by DaneLLL but it results in error.

** ERROR: <create_encode_file_bin:467>: create_encode_file_bin failed
** ERROR: <create_sink_bin:781>: create_sink_bin failed
** ERROR: <create_processing_instance:815>: create_processing_instance failed
** ERROR: <create_pipeline:1323>: create_pipeline failed
** ERROR: <main:639>: Failed to create pipeline
Quitting
App run failed

Here is my config

[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5
#gie-kitti-output-dir=/home/jetson/losslessAI_GSOLenv/yolov7_GSOL/YOLOv7_reshape/deepstream-yolo/output_kitti

[tiled-display]
enable=1
rows=1
columns=1
width=1280
height=720
gpu-id=0
nvbuf-memory-type=0

[source0]
enable=1
type=3
uri=file:///opt/nvidia/deepstream/deepstream-6.0/sources/apps/sample_apps/deepstream-app/out_alo.mp4
#type=2
#uri=file:///opt/nvidia/deepstream/deepstream-6.0/sources/apps/sample_apps/deepstream-app/000000000139.jpg
num-sources=1
gpu-id=0
cudadec-memtype=0


[sink0]
enable=1
type=3
sync=0
gpu-id=0
nvbuf-memory-type=0
source-id=0
output-file=alo.mp4
bitrate=2000000

[osd]
enable=1
gpu-id=0
border-width=5
text-size=15
text-color=1;1;1;1;
text-bg-color=0.3;0.3;0.3;1
font=Serif
show-clock=0
clock-x-offset=800
clock-y-offset=820
clock-text-size=12
clock-color=1;0;0;0
nvbuf-memory-type=0

[streammux]
gpu-id=0
live-source=0
batch-size=1
batched-push-timeout=40000
width=1920
height=1080
enable-padding=0
nvbuf-memory-type=0

[primary-gie]
enable=1
gpu-id=0
gie-unique-id=1
nvbuf-memory-type=0
config-file=config_infer_primary.txt

[tests]
file-loop=0

What do I need to do to fix this problem?

from the logs, creating element failed. could you share more logs? please do “export GST_DEBUG=6” first to modify Gstreamer’s log level, then run again, you can redirect the logs to a file.

Here is the error log.
error.log (6.7 MB)

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

please set this value in [sink0]
#1=mp4 2=mkv
container=1
#1=h264 2=h265
codec=1

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