[Gstreamer: 从元素 "pipeline0" 获得 EOS]

我是 gstreamer 处理的新手。我遵循 Gstreamer 教程设置 Gstreamer Orangepi 零开发套件。我试图运行视频流通过 Gstreamer, 但它抛出了一个错误, 如下所示:


I am newbie to gstreamer handling. I am following Gstreamer tutorial to set up Gstreamer on Orangepi Zero development kit. I am trying to run the video streaming via Gstreamer, but it throws me a error as follows:

media: Wildlife.mp4

Command:

gst-launch-1.0 filesrc location= /home/ash/Videos/Wildlife.mp4 ! videorate ! videoconvert ! jpegenc ! autovideosink

Setting pipeline to PAUSED ...

Pipeline is PREROLLING ...

WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0: 

Failed to connect to X display server

Additional debug info:

gstglimagesink.c(833): _ensure_gl_setup (): /GstGLImageSinkBin:autovideosink0-
actual-sink-glimage/GstGLImageSink:sink

Pipeline is PREROLLED ...

Setting pipeline to PLAYING ...

New clock: GstSystemClock

**Got EOS from element "pipeline0".**

Execution ended after 0:00:00.000987695

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Setting pipeline to NULL ...

Freeing pipeline ...
gst-launch-1.0 filesrc location= /home/ash/Videos/Wildlife.ogv ! videorate ! videoconvert ! jpegenc ! autovideosink

Setting pipeline to PAUSED ...

Pipeline is PREROLLING ...

WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0: 

Failed to connect to X display server

Additional debug info:

gstglimagesink.c(833): _ensure_gl_setup (): /GstGLImageSinkBin:autovideosink0-actual-sink-glimage/GstGLImageSink:sink

ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data flow error.

Additional debug info:

gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:

streaming task paused, reason error (-5)
ERROR: pipeline doesn't want to preroll.

Setting pipeline to NULL ...

Freeing pipeline ...
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值