This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM62A7:使用 UDP 通过以太网流式传输时、视频流会像素化并间歇性冻结。

Guru**** 2914110 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1650148/am62a7-when-streaming-over-ethernet-using-udp-the-video-stream-becomes-pixelated-and-freezes-intermittently

器件型号: AM62A7

我们使用 OX01G10 摄像头传感器实现 以太网流式传输。

之前、只要流式传输过程中出现任何急冲或干扰、摄像头流就会完全冻结、不再显示任何帧。

将 GOP 设置添加到流水线后、完整的流冻结问题得到解决。 即使在发生干扰后、流现在也会继续。

但是、当前的问题是流变得像素化、并且在发生此类急冲时短暂冻结。 简而言之、视频流仍然不稳定。

我们还尝试更改了流水线中的缓冲区设置、但没有观察到明显的改善。

原始流式传输命令:

gst-launch-1.0 -v v4l2src device=/dev/video3! 视频/x-RAW、宽度=1280、高度=960、格式=UYVY! v4l2h264enc! 超赞! udpsink host=192.168.1.102 端口=5000

使用 GOP 更新了流式命令:

gst-launch-1.0 -v v4l2src device=/dev/video3! 视频/x-RAW、宽度=1280、高度=960、格式=UYVY! v4l2h264enc extra-controls=“controls, video_gop_size=12, h264_I_frame_period=12, prepend_sps_and_pps_to_idr=1“! 超赞! udpsink host=192.168.1.102 端口=8055


通过 HDMI 流式传输工作正常。  
您能否为此提供任何猜测。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Tina、

    我刚刚在连接 IMX219 摄像头的情况下在 AM62A EVM 上运行以下流水线。

    TX:

    gst-launch-1.0 v4l2src io-mode=dmabuf-import device=/dev/video-imx219-cam0! 视频/x-Bayer、宽度=1920、高度=1080、格式=rggb! tiovxisp sensor-name=SENSOR_SONY_IMX219_RPI DCC-ISP-file=/opt/imaging/imx219/linear/dcc_viss_1920x1080.bin SINK_0:::dcc-2a-file=/opt/imaging/imx219/linear/dcc_2a_1920x1080.bin SINK_0:::device=/dev/v4l-imx219-subdev0! video/x-raw、format=NV12! 排队! v4l2h264enc! 超赞! rtpmp2tpay! udpsink host=128.247.77.134 端口=5000

    接收:

    gst-launch-1.0 -v udpsrc port=5000 ! application/x-rtp, media=video, clock-rate=90000 ! rtpmp2tdepay ! \
    tsdemux name=demux demux. ! queue ! h264parse ! avdec_h264 ! autovideosink

    I didn't see any pixelations or any artifacts on the receiving end. Also, I see your pipeline not using rtpmp2tpay.

    Best Regards
    Suren