工具/软件:
您好、
我使用安装的 ti-processor-sdk-linux-am69-sk-10_01_08_01-Linux-x86-Install.bin 并闪存 tisdk-default-image-AM69-sk.rootfs.wic SD 卡。
控制器类型 GST-launch-1.0 + RTSP + v4l2h264dec 但我遇到了一些问题。 以下是命令和日志:
gst_debug=3 gst-launch-1.0 rtspsrc location=rtsp://192.168.109.242/live_st1 delay=50! rtph264depay! h264parse! v4l2h264dec! 视频转换! waylandsink
Weston@AM69-sk:/tmp$ gst_debug=3 gst-launch-1.0 rtspsrc location=rtsp://192.168.109.242/live_st1 delay=50! rtph264depay! h264parse! v4l2h264dec! 视频转换! 途径
和受电方
正在将管道设置为已暂停...
流水线是实时的,不需要 PREROLL ...
进度:(打开)打开流
流水线是 PREROLLED。
已预装、正在等待进度完成...
进度:(连接)连接到 rtsp://192.168.109.242/LIVE_ST1
进度:(打开)检索服务器选项
进度:(打开)检索介质信息
0:00:00.098474086 1857 0xff90000b70 WARN udpsrc gstudpsrc.c:1638:gst_udpsrc_open: 警告:无法创建请求的 524288 字节的缓冲区
S(不允许操作)。 需要 net.admin 权限?
0:00:00.098565213 1857 0xff90000b70 WARN udpsrc gstudpsrc.c:1648:gst_udpsrc_open: 在请求 524288 时、UDP 缓冲区为 212992 字节
0:00:00.099317033 1857 0xff90000b70 Warn udpsrc gstudpsrc.c:1638:gst_udpsrc_open: 警告:无法创建请求的 524288 字节的缓冲区
S(不允许操作)。 需要 net.admin 权限?
0:00:00.099359189 1857 0xff90000b70 WARN udpsrc gstudpsrc.c:1648:gst_udpsrc_open: 在请求 524288 时、UDP 缓冲区为 212992 字节
进度:(请求)设置流 0
进度:(打开)打开的流
正在设置播放管道...
新时钟:GstSystemClock
进度:(请求)发送播放请求
重新分配延迟...
进度:(请求)发送播放请求
0:00:00.109526662 1857 0xff90000d20 FIXME 默认 gstutils.c:4036:gst_pad_create_stream_id_internal: 创建随机流 ID、请考虑我
改进创建流 ID 的确定性方法
重新分配延迟...
进度:(请求)已发送播放请求
重新分配延迟...
0:00:00.128166954 1857 0xff90001230 WARN v4l2 gstv4l2object.c:3408:gst_v4l2_object_reset_comprest_region: 无法获取默认 co
带有 VIDIOC_G_SELECTION 的转置矩形:参数无效
重新分配延迟...
0:00:00.137190824 1857 0xff90001230 WARN GST_CAPS gstpad.c:5813:pre_eventfunc_check: cap video/x-h264、stream-format=(string) byte-st
REAM、ALIGNED=(string) au、WIDTH=(int) 1920、HEIGHT=(int) 1080、帧速率=(Fraction) 30/1、 coded-Picture-structure=(字符串)帧、chroma-format=(字符串)4:2:0、位深度 LUM
a=(uint) 8、bit-depth-chroma=(uint) 8、比色法=(string) 0:1:0:0、已解析=(布尔值)true、profile=(string) high、 Level=(string)4.2 不被接受
0:00:00.138125618 1857 0xff90001230 WARN GST_CAPS gstpad.c:5813:pre_eventfunc_check: cap video/x-h264、stream-format=(string) byte-st
REAM、ALIGNED=(string) au、WIDTH=(int) 1920、HEIGHT=(int) 1080、帧速率=(Fraction) 30/1、 coded-Picture-structure=(字符串)帧、chroma-format=(字符串)4:2:0、位深度 LUM
a=(uint) 8、bit-depth-chroma=(uint) 8、比色法=(string) 0:1:0:0、已解析=(布尔值)true、profile=(string) high、 Level=(string)4.2 不被接受
0:00:00.138873893 1857 0xff90001230 WARN GST_CAPS gstpad.c:5813:pre_eventfunc_check: cap video/x-h264、stream-format=(string) byte-st
REAM、ALIGNED=(string) au、WIDTH=(int) 1920、HEIGHT=(int) 1080、帧速率=(Fraction) 30/1、 coded-Picture-structure=(字符串)帧、chroma-format=(字符串)4:2:0、位深度 LUM
a=(uint) 8、bit-depth-chroma=(uint) 8、比色法=(string) 0:1:0:0、已解析=(布尔值)true、profile=(string) high、 Level=(string)4.2 不被接受
0:00:00.139521816 1857 0xff90001230 WARN GST_CAPS gstpad.c:5813:pre_eventfunc_check: cap video/x-h264、stream-format=(string) byte-st
REAM、ALIGNED=(string) au、WIDTH=(int) 1920、HEIGHT=(int) 1080、帧速率=(Fraction) 30/1、 coded-Picture-structure=(字符串)帧、chroma-format=(字符串)4:2:0、位深度 LUM
a=(uint) 8、bit-depth-chroma=(uint) 8、比色法=(string) 0:1:0:0、已解析=(布尔值)true、profile=(string) high、 Level=(string)4.2 不被接受
0:00:00.154962384 1857 0xff90000ed0 warm basesrc gstbasesrc.c:3134:gst_base_src_loop: 错误:内部数据流错误。
0:00:00.154997770 1857 0xff90000ed0 warm basesrc gstbasesrc.c:3134:gst_base_src_loop: 错误:流已停止、原因未协商(–4)
错误:来自元素/GstPipeline:pipaine0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1:内部数据流错误。
如何解决此问题?
顺便说一下
gst-launch-1.0 rtspsrc location=rtsp://192.168.109.242/live_st1 delay=50! rtph264depay! h264parse! avdec_h264! 视频转换! waylandsink
工作正常。
谢谢你