-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
Hey,
thanks for this great work. I want to use it in an app to push frames to a pipeline after some computer vision magic. However, when running the appsrc example, I encounter the following error:
bob@nano5:~/gstreamer-python$ PYTHONPATH=. python examples/run_appsrc.py -p "appsrc emit-signals=True is-live=True caps=video/x-raw,format=RGB,width=640,height=480 ! queue ! videoconvert ! autovideosink" -n 1000
INFO | pygst.GstPipeline | 13.08 12:22:31.595 | MainThread | GstPipeline
gst-launch-1.0 appsrc emit-signals=True is-live=True caps=video/x-raw,format=RGB,width=640,height=480 ! queue ! videoconvert ! autovideosink
INFO | pygst.GstPipeline | 13.08 12:22:31.672 | MainThread | Starting GstPipeline
DEBUG | pygst.GstPipeline | 13.08 12:22:31.674 | MainThread | GstPipeline Setting pipeline state to PLAYING ...
DEBUG | pygst.GstPipeline | 13.08 12:22:31.675 | MainThread | GstPipeline Pipeline state set to PLAYING
ERROR | pygst.GstPipeline | 13.08 12:22:31.695 | Thread-1 | Gstreamer.GstPipeline: Error gst-stream-error-quark:
Internal data stream error. (1): gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstAppSrc:appsrc0:
streaming stopped, reason not-negotiated (-4).
DEBUG | pygst.GstPipeline | 13.08 12:22:31.696 | Thread-1 | GstPipeline Stopping pipeline ...
DEBUG | pygst.GstPipeline | 13.08 12:22:31.697 | Thread-1 | GstPipeline Reseting pipeline state ....
DEBUG | pygst.GstPipeline | 13.08 12:22:31.698 | Thread-1 | GstPipeline Gst.Pipeline successfully destroyed
INFO | pygst.GstPipeline | 13.08 12:22:38.935 | MainThread | GstPipeline Shutdown requested ...
INFO | pygst.GstPipeline | 13.08 12:22:38.935 | MainThread | GstPipeline successfully destroyed
DEBUG | pygst.GstContext | 13.08 12:22:38.935 | MainThread | GstContext Quitting main loop ...
DEBUG | pygst.GstContext | 13.08 12:22:38.937 | MainThread | GstContext Joining main loop thread...
platform: Jetson nano with jetpack 4.5.1
python: 3.6.9
gstreamer: 1.14.5
Any idea what might be the reason?
Cheers
Metadata
Metadata
Assignees
Labels
No labels