I’m trying to use Jetson to encode Camera video into AV1 and transfer along UDP/RTSP, I found it needs to install gst-plugins-rshttps://gitlab.freedesktop.org/gstreamer/gst-plugins-rs which will make the use of rtpav1pay.
But somehow, my Gstreamer in Jetpack version is 1.20.3, and the installation of gst-plugins-rs needs 1.24, I just want ask how to update Gstreamer or nvidia-l4t-gstreamer in Jetpack?
Compiling glib-sys v0.21.0 (https://github.com/gtk-rs/gtk-rs-core?branch=main#f762bdc7)
Compiling gobject-sys v0.21.0 (https://github.com/gtk-rs/gtk-rs-core?branch=main#f762bdc7)
Compiling gstreamer-sys v0.24.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs?branch=main#4917af9b)
Compiling gio-sys v0.21.0 (https://github.com/gtk-rs/gtk-rs-core?branch=main#f762bdc7)
Compiling gstreamer-base-sys v0.24.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs?branch=main#4917af9b)
warning: gstreamer-sys@0.24.0:
error: failed to run custom build command for `gstreamer-sys v0.24.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs?branch=main#4917af9b)`
Caused by:
process didn't exit successfully: `/home/nvidia/gst-plugins-rs/target/debug/build/gstreamer-sys-24189339c79fc6d2/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-changed=/home/nvidia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4917af9/gstreamer/sys/Cargo.toml
cargo:rerun-if-env-changed=GSTREAMER_1.0_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:warning=
pkg-config exited with status code 1
> PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig:/usr/share/pkgconfig PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags gstreamer-1.0 'gstreamer-1.0 >= 1.24'
The system library `gstreamer-1.0` required by crate `gstreamer-sys` was not found.
The file `gstreamer-1.0.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
PKG_CONFIG_PATH contains the following:
- /usr/lib/aarch64-linux-gnu/pkgconfig
- /usr/share/pkgconfig
HINT: you may need to install a package such as gstreamer-1.0, gstreamer-1.0-dev or gstreamer-1.0-devel.
warning: build failed, waiting for other jobs to finish...
warning: gstreamer-base-sys@0.24.0:
error: failed to run custom build command for `gstreamer-base-sys v0.24.0 (https://gitlab.freedesktop.org/gstreamer/gstreamer-rs?branch=main#4917af9b)`
Caused by:
process didn't exit successfully: `/home/nvidia/gst-plugins-rs/target/debug/build/gstreamer-base-sys-5c4ae1394171c62f/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-changed=/home/nvidia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4917af9/gstreamer-base/sys/Cargo.toml
cargo:rerun-if-env-changed=GSTREAMER_BASE_1.0_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:warning=
pkg-config exited with status code 1
> PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig:/usr/share/pkgconfig PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags gstreamer-base-1.0 'gstreamer-base-1.0 >= 1.24'
The system library `gstreamer-base-1.0` required by crate `gstreamer-base-sys` was not found.
The file `gstreamer-base-1.0.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
PKG_CONFIG_PATH contains the following:
- /usr/lib/aarch64-linux-gnu/pkgconfig
- /usr/share/pkgconfig
HINT: you may need to install a package such as gstreamer-base-1.0, gstreamer-base-1.0-dev or gstreamer-base-1.0-devel.