如何使用 Gstreamer 流式传输 H265 多播视频?

问题描述 投票:0回答:0

我有一个脚本可以在 petalinux 上将视频流式传输为 H.264 多播,但是当我更改 H.265 的设置时,我认为我仍然使用 H.264 进行编码(wireshark 协议表示 H.264)。

这是我的发件人脚本

gst-launch-1.0 -v v4l2src device=/dev/video0 io-mode=4 ! queue ! vtracking ! queue ! video/x-raw,format=BGR,width=1920,height=1080,framerate=30/1 ! v4l2video1convert capture-io-mode=4 output-io-mode=5 ! video/x-raw,format=NV16,width=$3,height=$4, framerate=30/1 ! omxh265enc num-slices=16 periodicity-idr=240 cpb-size=500 gdr-mode=horizontal initial-delay=250 control-rate=low-latency prefetch-buffer=true target-bitrate=$2 gop-mode=low-delay-p ! video/x-h265, alignment=nal ! h265parse ! rtph265pay ! udpsink buffer-size=2000000000 host=224.1.1.1 port=$1 auto-multicast=true async=false max-lateness=-1 qos-dscp=60 max-bitrate=120000000 -v

实际上这个脚本是针对 H.264 的。当它是 H.264 时,所有 265 都是 264。我还从 FPGA 端为 H 265 更改了 VCU IP。

我的错在哪里?

谢谢, M.阿尔泰

encoding gstreamer h.264 h.265 petalinux
© www.soinside.com 2019 - 2024. All rights reserved.