# Nvstreammux with nvvidconv

**URL:** <https://forums.developer.nvidia.com/t/nvstreammux-with-nvvidconv/121080>\
**Category:** DeepStream SDK\
**Created:** [April 26, 2020, 1:51am UTC](https://forums.developer.nvidia.com/t/nvstreammux-with-nvvidconv/121080 "2020-04-26T01:51:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yl920182704](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yl920182704](https://forums.developer.nvidia.com/u/yl920182704)\
**Post date:** [April 26, 2020, 1:51am UTC](https://forums.developer.nvidia.com/t/nvstreammux-with-nvvidconv/121080/1 "2020-04-26T01:51:45Z")

</div>

i use the pipeline:  
gst-launch-1.0 filesrc location = …/Data/test-1.h264 ! h264parse ! omxh264dec ! nvvideoconvert ! m.sink\_0 nvstreammux name=m width=1920 height=1080 batch-size=1 ! fakesink  
it doesn’t work, and report the error:  
ERROR: from element /GstPipeline:pipeline0/GstNvStreamMux:m: Input buffer number of surfaces (0) must be equal to mux-\>num\_surfaces\_per\_frame (1)  
Set nvstreammux property num-surfaces-per-frame appropriately

Additional debug info:  
/dvs/git/dirty/git-master\_linux/deepstream/sdk/src/gst-plugins/gst-nvmultistream/gstnvstreammux.c(308): gst\_nvstreammux\_chain (): /GstPipeline:pipeline0/GstNvStreamMux:m  
ERROR: pipeline doesn’t want to preroll.

when i use the pipeline:  
gst-launch-1.0 filesrc location = …/Data/test-1.h264 ! h264parse ! nvv4l2decoder ! nvvideoconvert ! m.sink\_0 nvstreammux name=m width=1920 height=1080 batch-size=1 ! fakesink

it worked

---

<div class="post-metadata">

**Author:** ![yl920182704](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yl920182704](https://forums.developer.nvidia.com/u/yl920182704)\
**Post date:** [April 26, 2020, 1:53am UTC](https://forums.developer.nvidia.com/t/nvstreammux-with-nvvidconv/121080/2 "2020-04-26T01:53:05Z")

</div>

i have noticed that “nvv4l2decoder” has the property “bufapi-version=1”, what does it means.  
and now i have too use “omxdecoder” in pipeline, how can i rectify the pipeline

---

<div class="post-metadata">

**Author:** ![mchi](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/mchi/32/14043_2.png) [@mchi](https://forums.developer.nvidia.com/u/mchi)\
**Post date:** [April 27, 2020, 1:07am UTC](https://forums.developer.nvidia.com/t/nvstreammux-with-nvvidconv/121080/4 "2020-04-27T01:07:30Z")

</div>

Archived on April 27, 2020, 1:07am UTC



---

<div class="post-metadata">

**Author:** ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)\
**Post date:** [April 27, 2020, 1:27am UTC](https://forums.developer.nvidia.com/t/nvstreammux-with-nvvidconv/121080/5 "2020-04-27T01:27:47Z")

</div>

Hi,  
We are deprecating omx plugins. Only v4l2 plugins are supported in DeepStream SDK. Please use _nvv4l2decoder_.

---

<div class="post-metadata">

**Author:** ![kayccc](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kayccc/32/14043_2.png) [@kayccc](https://forums.developer.nvidia.com/u/kayccc)\
**Post date:** [April 28, 2020, 2:32am UTC](https://forums.developer.nvidia.com/t/nvstreammux-with-nvvidconv/121080/6 "2020-04-28T02:32:35Z")

</div>

Unarchived on April 28, 2020, 2:32am UTC



---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 4:17pm UTC](https://forums.developer.nvidia.com/t/nvstreammux-with-nvvidconv/121080/8 "2021-10-12T16:17:58Z")

</div>

Closed on October 12, 2021, 4:17pm UTC


