Firefly开源社区

打印 上一主题 下一主题

[应用开发] gstreamer获取视频流错误

48

积分

0

威望

0

贡献

技术小白

积分
48

gstreamer获取视频流错误

发表于 2021-11-13 16:04:01      浏览:1038 | 回复:2        打印      只看该作者   [复制链接] 楼主
您好,
在网上购买了你们的CORE-1126-JD4以及配套开发板,编译rootfs导入gstreamer对应的库后,通过rtspsrc获取视频流报错,同一条指令在pc上测试ok,麻烦看下原因,谢谢
gst-launch-1.0 rtspsrc location=rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov latency=300  ! filesink location=test1.264
回复

使用道具 举报

48

积分

0

威望

0

贡献

技术小白

积分
48
发表于 2021-11-13 16:10:32        只看该作者  沙发
错误log如下:
gst-launch-1.0 rtspsrc location=rtsp://admi
n:zd123456@192.168.1.68 latency=300   ! filesink location=test1.264
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://admin:zd123456@192.168.1.68
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not get/set settings from/on resource.
Additional debug info:
gstrtspsrc.c(7010): gst_rtspsrc_setup_streams_start (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not setup transport.
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
回复

使用道具 举报

1万

积分

7

威望

0

贡献

技术大神

Rank: 8Rank: 8

积分
11367

突出贡献

发表于 2021-11-16 09:02:44        只看该作者  板凳
应该是gstreamer没配置对。你试一下用Debian10系统跑gstreamer。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表