"could not link nvv4l2h264enc0 to matroskamux0" issue while using Deepstream pluging nvv4l2h264 in pipeline

Hey i am trying this command below

gst-launch-1.0 -e filesrc location='test.mp4' \
! qtdemux \
! h264parse \
! nvv4l2decoder ! nvvideoconvert interpolation-method=4 \
! "video/x-raw(memory:NVMM),width=1920,height=1080" \
! nvv4l2h264enc \
! matroskamux \
! filesink location=gst_out.mkv

but sink part of the pipeline throws error as below

WARNING: erroneous pipeline: could not link nvv4l2h264enc0 to matroskamux0

Any suggestion and help would be much appreciated

Environment

deepstream-app version 6.0.1
DeepStreamSDK 6.0.1
CUDA Driver Version: 11.6
CUDA Runtime Version: 11.4
TensorRT Version: 8.4
cuDNN Version: 8.4
libNVWarp360 Version: 2.0.1d
GStreamer Core Library version 1.16.3

Hi,

This looks like a Deepstream related issue. We will move this post to the Deepstream forum.

Thanks!

1 Like

Hi @nitinp14920914 , you can use the pipeline below:

gst-launch-1.0 -e filesrc location=app_out.mp4  ! qtdemux ! h264parse ! nvv4l2decoder ! nvvideoconvert interpolation-method=4 ! "video/x-raw(memory:NVMM),width=1920,height=1080" ! nvv4l2h264enc ! h264parse ! 'video/x-h264,stream-format=avc' ! matroskamux ! filesink location=gst_out.mkv
1 Like

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