chien126 发表于 2021-11-13 16:04:01

gstreamer获取视频流错误

您好,
在网上购买了你们的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

chien126 发表于 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 ...

799959745 发表于 2021-11-16 09:02:44

应该是gstreamer没配置对。你试一下用Debian10系统跑gstreamer。
页: [1]
查看完整版本: gstreamer获取视频流错误