-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GLib.Error: gst_parse_error: no element "nvstreammux" (1) #1
Comments
Try running python instead of python3?
…On Mon, Dec 21, 2020 at 4:07 PM swo026 ***@***.***> wrote:
Hello, I pulled the dockerfile you provided, but encountered GLib.Error
when running ds_pipeline.py
***@***.***:/home/deepstream_video_pipeline# python3 ds_pipeline.py
nvstreammux name=mux0 gpu-id=0 enable-padding=1 width=300 height=300 batch-size=8 batched-push-timeout=1000000 !
nvinfer config-file-path=detector_default.config gpu-id=0 batch-size=8 ! fakesink enable-last-sample=0
filesrc location=media/in.mp4 num-buffers=512 ! qtdemux ! h264parse ! nvv4l2decoder gpu-id=0 ! mux0.sink_0
filesrc location=media/in.mp4 num-buffers=512 ! qtdemux ! h264parse ! nvv4l2decoder gpu-id=0 ! mux0.sink_1
filesrc location=media/in.mp4 num-buffers=512 ! qtdemux ! h264parse ! nvv4l2decoder gpu-id=0 ! mux0.sink_2
filesrc location=media/in.mp4 num-buffers=512 ! qtdemux ! h264parse ! nvv4l2decoder gpu-id=0 ! mux0.sink_3
Traceback (most recent call last):
File "ds_pipeline.py", line 31, in <module>
pipeline = Gst.parse_launch(pipeline_cmd)
GLib.Error: gst_parse_error: no element "nvstreammux" (1)
I also tried to run it in the miniconda environment, but another error
occurred
(base) ***@***.***:/home/deepstream_video_pipeline# python3 ds_pipeline.py
Traceback (most recent call last):
File "ds_pipeline.py", line 4, in <module>
gi.require_version('Gst', '1.0')
File "/opt/conda/lib/python3.8/site-packages/gi/__init__.py", line 126, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gst not available
Any idea about how to solve this? Many thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABBLQECMOWP6KZE7BDYSDTSV4F4TANCNFSM4VD5YBXA>
.
|
@pbridger when running python instead of python3 I got SyntaxError
and
|
That implies an unexpected python version, which sounds like a broken container. How are you starting it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I pulled the dockerfile you provided, but encountered GLib.Error when running
ds_pipeline.py
I also tried to run it in the miniconda environment, but another error occurred
Any idea about how to solve this? Many thanks.
The text was updated successfully, but these errors were encountered: