Rtmpsink couldn't write frames to the resource

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)- GPU
• DeepStream Version - 6.2
• TensorRT Version
**• NVIDIA GPU Driver Version (valid for GPU only) - 535.129.03

I have integrated rtmp sink in deepstream-test5 application and my input is mp4 video file of resolution 1920*1440. The rtmp sink works fine when i pass streammux config as width of 1920 and height of 1080 but it doesn’t work if streammux config width and height is same as input video i.e 1920 and 1440 respectively and the error log from deepstream screenshot is attached .

  1. could you share the whole media pipeline? where is sink_sub_bin_cap_filter2 in pipeline?
  2. if using fakesink, can the application run? if suing filesink, is the output h264 file fine?
  1. Media pipeline is deepstream test5 pipeline, i have just defined a rtmp function in deepstream_sink_bin.c for rtmp sinktype in application . sink_sub_bin_cap_filter2 is cap filter in rtmp gstreamer pipeline defined in deepstream_sink_bin.c, if you want i can share the code part for this.
  2. yeah it is working fine with all the sinks even for rtmp sink except the size issue in streammux config as i have mention in topic creation message.

we suggest using the following command-line to debug first, and please refer to this topic.

    gst-launch-1.0 -v videotestsrc ! video/x-raw,format=RGBA,width=1920,height=1440  ! nvvideoconvert !  \
 mux.sink_0 nvstreammux name=mux  batch-size=1 width=1920 height=1440  !   nvvideoconvert ! nvv4l2h264enc ! h264parse ! flvmux ! rtmpsink "location="xxx"

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