# Invalid argument reference in DPB was never decoded

**URL:** <https://forums.developer.nvidia.com/t/invalid-argument-reference-in-dpb-was-never-decoded/161026>\
**Category:** Jetson Nano\
**Tags:** rtsp, gstreamer, camera\
**Created:** [December 3, 2020, 6:05am UTC](https://forums.developer.nvidia.com/t/invalid-argument-reference-in-dpb-was-never-decoded/161026 "2020-12-03T06:05:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuna.akyol](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tuna.akyol/32/66668_2.png) [@tuna.akyol](https://forums.developer.nvidia.com/u/tuna.akyol)\
**Post date:** [December 3, 2020, 6:05am UTC](https://forums.developer.nvidia.com/t/invalid-argument-reference-in-dpb-was-never-decoded/161026/1 "2020-12-03T06:05:31Z")

</div>

Hi,

I am trying to use camera of my phone as a IP camera. I have RTSP server application on my phone.  
So, I have been following this post [https://forums.developer.nvidia.com/t/ip-camera-rstp-using-with-jetson-nano/111736](https://forums.developer.nvidia.com/t/ip-camera-rstp-using-with-jetson-nano/111736)  
I tried following command:

```
gst-launch-1.0 rtspsrc location=rtsp://10.217.62.99:5554/video/h264
latency=1000 ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvidconv !
video/x-raw,format=BGRx ! identity drop-allocation=true ! v4l2sink
device=/dev/video1

```

It gives me this error :

```
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261

(gst-launch-1.0:19188): GStreamer-CRITICAL **: 16:58:14.368:
gst_mini_object_unref: assertion 'mini_object != NULL' failed
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
WARNING: from element
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink1: Error
sending UDP packets
Additional debug info:
gstmultiudpsink.c(729): gst_multiudpsink_send_messages ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink1:
client 10.217.62.99:0, reason: Error sending message: Invalid argument
reference in DPB was never decoded

```

I asked this to gstreamer forum and that’s their answer:  
[http://gstreamer-devel.966125.n4.nabble.com/Error-sending-UDP-packets-tp4696030p4696036.html](http://gstreamer-devel.966125.n4.nabble.com/Error-sending-UDP-packets-tp4696030p4696036.html)

I didn’t understand that what should I do. Can you help me to solve this?  
Regards,

---

<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:** [December 3, 2020, 7:20am UTC](https://forums.developer.nvidia.com/t/invalid-argument-reference-in-dpb-was-never-decoded/161026/3 "2020-12-03T07:20:57Z")

</div>

Hi,  
On Jetson Nano, you can run the pipeline and check if you can see video preview:

```auto
gst-launch-1.0 rtspsrc location=rtsp://10.217.62.99:5554/video/h264
latency=1000 ! rtph264depay ! h264parse ! nvv4l2decoder ! nvoverlaysink

```

To make sure the URI is valid first.

---

<div class="post-metadata">

**Author:** ![tuna.akyol](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tuna.akyol/32/66668_2.png) [@tuna.akyol](https://forums.developer.nvidia.com/u/tuna.akyol)\
**Post date:** [December 3, 2020, 8:05am UTC](https://forums.developer.nvidia.com/t/invalid-argument-reference-in-dpb-was-never-decoded/161026/4 "2020-12-03T08:05:55Z")

</div>

My IP address has changed but I made the necessary correction so I typed following command:

```
  gst-launch-1.0 rtspsrc location=rtsp://100.88.243.5:5554/video/h264 latency=1000 ! rtph264depay ! h264parse ! nvv4l2decoder ! nvoverlaysink

```

but nothing has changed. It gives me exactly the same error. I am sure the URI is valid because the RTSP server application says its connected when I typed the command. Also changing the port number 5554 to 8080 and entering on browser I can see the video in real time.

---

<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:** [December 18, 2020, 6:27am UTC](https://forums.developer.nvidia.com/t/invalid-argument-reference-in-dpb-was-never-decoded/161026/5 "2020-12-18T06:27:25Z")

</div>

Hi,  
Not sure what your camera is. You may refer to this post:

> [@Is it possible to use a Dahua IP camera with nvidia Deepstream?](https://forums.developer.nvidia.com/t/is-it-possible-to-use-a-dahua-ip-camera-with-nvidia-deepstream/163909):
>
> Hi, I have this camera: brand : Dahua model : IPC-HDW1230T1-S4 I have been trying for a few days to use it with DeepStream but I get a black window display. At the beginning I thought that the problem had to do with the string of characters that are in the RTSP URI, which are: rtsp://admin:12345678W@192.168.1.108:554/cam/realmonitor?channel=1&subtype=1 But I can run that URI with gstreamer command, changing the “&” character either by “/”, “+” or “:” and they do work, like this: gst-launc…

Probably you need to set user and password in the URI.

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 15, 2021, 4:09pm UTC](https://forums.developer.nvidia.com/t/invalid-argument-reference-in-dpb-was-never-decoded/161026/7 "2021-10-15T16:09:12Z")

</div>

Closed on October 15, 2021, 4:09pm UTC


