Jetson Nano - NVR

在这里插入图片描述
sudo NO PASSWORD

/home/admin>sudo cat /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults        env_reset
Defaults        mail_badpass
Defaults        secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL:ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:
admin   ALL=(ALL) NOPASSWD:ALL

#includedir /etc/sudoers.d

sudo apt-get install -y nasm yasm cmake mercurial
sudo apt-get install -y libxcb-xfixes0-dev pkg-config texinfo wget zlib1g-dev
sudo apt-get install -y libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev
sudo apt-get install -y libfreetype6-dev libsdl2-dev libtheora-dev
sudo apt-get install -y autoconf automake build-essential git libass-dev

sudo apt-get install libx264-dev
sudo apt-get install libx265-dev libnuma-dev
sudo apt-get install libvpx-dev
sudo apt-get install libmp3lame-dev
sudo apt-get install libopus-dev
sudo apt-get install libfdk-aac-dev

FFMpeg

/home/mic-711on/thinking>git clone https://github.com/Keylost/jetson-ffmpeg.git
Cloning into 'jetson-ffmpeg'...
remote: Enumerating objects: 520, done.
remote: Counting objects: 100% (520/520), done.
remote: Compressing objects: 100% (227/227), done.
remote: Total 520 (delta 304), reused 468 (delta 279), pack-reused 0
Receiving objects: 100% (520/520), 359.08 KiB | 2.70 MiB/s, done.
Resolving deltas: 100% (304/304), done.
/home/mic-711on/thinking>

1.build and install library

git clone https://github.com/Keylost/jetson-ffmpeg.git
cd jetson-ffmpeg
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig

在这里插入图片描述
2.patch ffmpeg and build

git clone git://source.ffmpeg.org/ffmpeg.git -b release/6.0 --depth=1
cd ffmpeg
cp ../jetson-ffmpeg/ffmpeg_patches/ffmpeg6.0_nvmpi.patch ffmpeg_nvmpi.patch
git apply ffmpeg_nvmpi.patch
../configure --enable-nvmpi --enable-libfreetype --enable-libfribidi --enable-libx264 --enable-libx265 --enable-gpl --enable-libfdk-aac --enable-libmp3lame --enable-libvpx --enable-libopus --enable-nonfree --prefix=../install

make

在这里插入图片描述
nginx-rtmp

wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
wget http://www.nasm.us/pub/nasm/releasebuilds/2.14.02/nasm-2.14.02.tar.bz2
wget http://nginx.org/download/nginx-1.25.5.tar.gz
wge https://github.com/arut/nginx-rtmp-module/archive/master.zip
git clone https://github.com/winshining/nginx-http-flv-module.git

sudo apt-get install openssl libssl-dev libpcre3 libpcre3-dev zlib1g-dev

./configure --add-module=nginx-rtmp-module --with-http_ssl_module --prefix=../install

在这里插入图片描述
curl http://127.0.0.1
在这里插入图片描述
golang

wget https://golang.google.cn/dl/go1.21.10.linux-arm64.tar.gz

相关推荐

  1. nvm安装

    2024-05-10 09:36:07       37 阅读
  2. nvm 错误

    2024-05-10 09:36:07       29 阅读
  3. <span style='color:red;'>nvm</span>下载

    nvm下载

    2024-05-10 09:36:07      21 阅读
  4. <span style='color:red;'>NVM</span>配置

    NVM配置

    2024-05-10 09:36:07      23 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-05-10 09:36:07       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-05-10 09:36:07       100 阅读
  3. 在Django里面运行非项目文件

    2024-05-10 09:36:07       82 阅读
  4. Python语言-面向对象

    2024-05-10 09:36:07       91 阅读

热门阅读

  1. 【48】Camunda8-Self-Managed部署

    2024-05-10 09:36:07       45 阅读
  2. HTTP调用API框架Forest

    2024-05-10 09:36:07       37 阅读
  3. MongoDB 从部署到掌握

    2024-05-10 09:36:07       41 阅读
  4. MongoDB聚合运算符:$toObjectId

    2024-05-10 09:36:07       33 阅读
  5. React 学习-4

    2024-05-10 09:36:07       36 阅读
  6. iOS-SSL固定证书

    2024-05-10 09:36:07       34 阅读
  7. 快速了解Vuex

    2024-05-10 09:36:07       28 阅读
  8. 按键精灵、autojs、冰狐智能辅助到底该如何选择?

    2024-05-10 09:36:07       135 阅读
  9. Vue3:视图渲染

    2024-05-10 09:36:07       27 阅读
  10. VMware 的三种网络模式

    2024-05-10 09:36:07       27 阅读
  11. flutter 在onError函数中不推荐使用“runZoned

    2024-05-10 09:36:07       35 阅读