小编leg*_*git的帖子

GStreamer 管道损坏

我不确定为什么这个管道会中断,我已经根据网站的确切说明在 Linux 上安装了 gstreamer,有什么想法吗?

gst-launch-1.0 v4l2src device=/dev/video0 ! videoscale ! video/x-raw, width=2592, height=600 ! autovideosink -v
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.000093207
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Run Code Online (Sandbox Code Playgroud)

如果我把它改成:

gst-launch-1.0 v4l2src …
Run Code Online (Sandbox Code Playgroud)

linux terminal pipeline gstreamer v4l2

7
推荐指数
1
解决办法
2万
查看次数

如何通过命令行升级Qt版本?

我目前在 Linux Ubuntu 18.04 上拥有 QT 版本 5.9,但我至少需要 QT 版本 5.10 才能拥有某些功能。有没有办法通过命令行升级或者我应该从网站重新下载?如果我从网站重新下载,还会有 5.9 版本吗?

qt ubuntu-18.04

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

gstreamer ×1

linux ×1

pipeline ×1

qt ×1

terminal ×1

ubuntu-18.04 ×1

v4l2 ×1