2051466_ja-JP

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2051466_ja-JP

2051466_ja-JP

RSTPストリーミングをimx8mpで動作させることができません

imx-OS08A20 アクセサリカードと imx8mp evkit の使用。Bitbake imx-image-full を使用して、カメラを gopoint デモで動作させるようにしました。

rtsp経由でカメラをストリーミングし、ネットワーク経由でPCVLCからのストリームを表示しようとしています。

サーバー上で imx は次のように実行しました。


gst-variable-rtsp-server -p 9001 -u "v4l2src device=/dev/video2 ! video/x-raw,width=640,height=480 ! v4l2h264enc ! rtph264pay name=pay0 pt=96"

Shows:
Pipeline set to: ( v4l2src device=/dev/video2 ! video/x-raw,width=640,height=480 ! v4l2h264enc ! rtph264pay name=pay0 pt=96 )...
Stream ready at rtsp://127.0.0.1:9001/stream


次に、ネットワーク経由で別のデバイスからストリームを取得しようとしましたが、機能しませんが、サーバー側では、クライアントから接続しようとするたびに新しい行が表示されます


====== V4L2ENC: 1.24.7 build on Oct 23 2024 09:43:13. ======

====== V4L2ENC: 1.24.7 build on Oct 23 2024 09:43:13. ======

====== V4L2ENC: 1.24.7 build on Oct 23 2024 09:43:13. ======


だから私はimxシステム自体からストリームをロードしようとしました:


GST_DEBUG=3 gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:9001/stream ! queue ! rtph264depay ! v4l2h264dec ! autovideosink
and 
GST_DEBUG=3 gst-launch-1.0 rtspsrc location=rtsp://192.168.100.219:9001/stream ! queue ! rtph264depay ! v4l2h264dec ! autovideosink

サーバー側でも上記と同じ応答が表示されます。

クライアント側のログ:


root@imx8mpevk:~# GST_DEBUG=3 gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:9001/stream ! queue ! rtph264depay ! v4l2h264dec ! autovideosink
Setting pipeline to PAUSED ...

====== V4L2DEC: 1.24.7 build on Oct 23 2024 09:43:13. ======
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Pipeline is PREROLLED ...
Prerolled, waiting for progress to finish...
Progress: (connect) Connecting to rtsp://127.0.0.1:9001/stream
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
0:00:00.198607035  1940 0xffffa0000d20 WARN                 rtspsrc gstrtspsrc.c:7097:gst_rtspsrc_send: error: Unhandled error
0:00:00.198669410  1940 0xffffa0000d20 WARN                 rtspsrc gstrtspsrc.c:7097:gst_rtspsrc_send: error: Service Unavailable (503)
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Unhandled error
Additional debug info:
/usr/src/debug/gstreamer1.0-plugins-good/1.24.7.imx/gst/rtsp/gstrtspsrc.c(7097): gst_rtspsrc_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Service Unavailable (503)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:00.199138163  1940 0xffffa0000d20 WARN                 rtspsrc gstrtspsrc.c:8584:gst_rtspsrc_open: can't get sdp
0:00:00.199200289  1940 0xffffa0000d20 WARN                 rtspsrc gstrtspsrc.c:6515:gst_rtspsrc_loop: we are not connected


何が起こっているのか、どのように進めればよいのかわかりません。どんなアドバイスでも大歓迎です。

Yocto ProjectRe:RSTPストリーミングをimx8mpで動作させることができません代わりに v4l2src device=/dev/video3 を使用して、これを修正することができました。Re:RSTPストリーミングをimx8mpで動作させることができません

どのBSPバージョンをテストしますか?これを再現させてください

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 08:22 PM
更新者: