Frames will be saved in /tmp/output_video
Creating Pipeline
Creating streamux
Unable to create NvStreamMux
Traceback (most recent call last):
File “deepstream_imagedata-multistream.py”, line 415, in
sys.exit(main(sys.argv))
File “deepstream_imagedata-multistream.py”, line 266, in main
pipeline.add(streammux)
TypeError: Argument 1 does not allow None as a value
I did a simpler test, Gst.ElementFactory.make failed to create an object. Why the gi package doesn’t have nvstreammux? Is there anything I missed?
$ python3
Python 3.6.9 (default, Nov 7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
import gi
gi.require_version(‘Gst’, ‘1.0’)
from gi.repository import GObject, Gst
Gst.init(None)
I saw this post [pyds] Unable to create NvStreamMux, pgie, nvosd, saying it’s related to deepstream. I don’t know how above sample codes could be related to deepstream. Anyway I’m using deepstream 5.0 deepstream_sdk_v5.0.0_jetson.tbz2 on TX2.
Hi
You need deepstream package, the python sample will use plugins like nvstreammux, osd, nvinfer … and so on.
you can install deepstream package by sdkmanager.
Thanks @Amycao. I installed deepstream 5.0 via sdkmanager. I’m looking to verify if those plugins were installed properly, could you please let me know how the python sample use and locate those plugins?
After entering the container, launching test1 sample with below command got error “Could not get EGL display connection”. I confirmed x11 forwarding is configured and xclock shows properly.
root@nano-desktop:/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test1# ./deepstream-test1-app …/…/…/…/samples/streams/sample_720p.h264
nvbuf_utils: Could not get EGL display connection
nvbuf_utils: Could not get EGL display connection
One element could not be created. Exiting.
I’ve followed the instructions in README to install necessary packages and build test1 application.
Please follow instructions in the apps/sample_apps/deepstream-app/README on how
to install the prequisites for Deepstream SDK, the DeepStream SDK itself and the
apps.
You must have the following development packages installed
GStreamer-1.0
GStreamer-1.0 Base Plugins
GStreamer-1.0 gstrtspserver
X11 client-side library
To install these packages, execute the following command:
sudo apt-get install libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev
libgstrtspserver-1.0-dev libx11-dev
Compilation Steps:
$ cd apps/deepstream-test1/
$ make
$ ./deepstream-test1-app <h264_elementary_stream>