1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Jetsonのdeepstreamの動画をAndroid端末で確認する

Last updated at Posted at 2022-03-22

ここではAndroid端末(スマートフォン)とJetsonは同じLAN内に接続されていることが前提です。
まずJetsonのローカルIPアドレスを確認します。

$ip a

私のJetsonのローカルIPアドレスは「192.168.0.114」です。

次にdeepstreamのconfigファイルを編集します。
今回は例としてサンプルのファイルを編集します。

$cd /opt/nvidia/deepstream/deepstream-5.1/samples/configs/deepstream-app
$vi source1_csi_dec_infer_resnet_int8.txt

次のように[sink]のうち1つをenableにして
そのtypeを4にします。

[sink]
enable=1
type=4

typeについての詳細希望の方は以下のSink Groupの項をご確認ください。
https://docs.nvidia.com/metropolis/deepstream/5.0DP/dev-guide/index.html#page/DeepStream_Development_Guide/deepstream_app_config.3.2.html

deepstreamを使って実行します。

$deepstream_app -c source1_csi_dec_infer_resnet_int8.txt

Android端末側のVLCアプリでネットストリームを起動し次のアドレスを指定します。

rtsp://192.168.0.114:8554/ds-test

Android端末の画面に動画が映れば成功です。

1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?