微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Gstreamer 参数出错

如何解决Gstreamer 参数出错

我的代码基于 Google 珊瑚对象跟踪器示例:https://github.com/google-coral/example-object-tracker/tree/master/gstreamer

当我尝试运行代码时,我遇到了以下 Gstreamer 问题:

Gstreamer pipeline:
 souphttpsrc location=https://bitmovin-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8 ! tee name=t
            t. ! queue max-size-buffers=1 leaky=downstream ! videoconvert ! videoscale ! video/x-raw,width=300,height=225 ! videoBox name=Box autocrop=true
               ! video/x-raw,format=RGB,height=300 ! appsink name=appsink emit-signals=true max-buffers=1 drop=true
            t. ! queue max-size-buffers=1 leaky=downstream ! videoconvert
               ! rsvgoverlay name=overlay ! videoconvert ! ximagesink sync=false

Error: gst-stream-error-quark: Internal data stream error. (1): gstqueue.c(988): gst_queue_handle_sink_event (): /GstPipeline:pipeline0/GstQueue:queue0:
streaming stopped,reason not-negotiated (-4)

我对 Gstreamer 不放心,但据我了解,queue 参数可能存在问题。

是否需要设置一些东西才能使其正常工作?

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。