Gstreamer 停留在将管道设置为暂停状态

Gstreamer 停留在将管道设置为暂停状态

我目前正在尝试在 ubuntu 上运行gstreamer但遇到一些错误。

当我尝试运行一个简单的管道时,比如视频测试管道

gst-launch-1.0 videotestsrc ! autovideosink

它一直停留在

Setting pipeline to PAUSED ...

这导致我的电脑完全挂在那里。

当我尝试另一个代码时:

gst-launch-1.0 -vvv udpsrc port=5000 ! application/x-rtp,encoding-name=H265,payload=96 ! rtph265depay ! h265parse ! queue ! avdec_h265 ! autovideosink sync=false async=false> -e

等待 15 分钟后,发生了以下情况

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Got context from element 'autovideosink0-actual-sink-vaapi': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx1";
Setting pipeline to PLAYING ...
New clock: GstSystemClock

编辑:我发现有人遇到与我类似的问题:https://stackoverflow.com/questions/57754353/gst-launch-1-0-videotestsrc-autovideosink-does-not-work-for-me

相关内容