Skip to content

Instantly share code, notes, and snippets.

@Ewoodss
Ewoodss / update-dtbo.sh
Created October 25, 2024 13:24
Nvidia Custom board dtbo loading
#!/bin/bash
# Path to the extlinux.conf file
CONFIG_FILE="/boot/extlinux/extlinux.conf"
dtsFile="$1"
dtboFile=/boot/$(basename $dtsFile .dts).dtbo
dtb=$(ls /boot/dtb/*.dtb)
dtbFile=$(realpath $dtb)
@Ewoodss
Ewoodss / jetson-ffmpeg.patch
Created June 18, 2024 08:30
jetson-ffmpeg.patch
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 64abbfc..6af2fca 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,7 +18,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-value -fPIC")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-rpath-link=/usr/lib/aarch64-linux-gnu/tegra")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-rpath-link=/usr/local/cuda/lib64")
-find_library(LIB_NVBUF nvbuf_utils PATHS /usr/lib/aarch64-linux-gnu/tegra)
+#find_library(LIB_NVBUF nvbuf_utils PATHS /usr/lib/aarch64-linux-gnu/tegra)
@Ewoodss
Ewoodss / ffmpeg_nvmpi.patch
Created June 18, 2024 08:24
ffmpeg 6.0 patch nvmpi rtsp
diff --git a/configure b/configure
index e06faa4..8087aee 100755
--- a/configure
+++ b/configure
@@ -353,6 +353,7 @@ External library support:
--disable-vaapi disable Video Acceleration API (mainly Unix/Intel) code [autodetect]
--disable-vdpau disable Nvidia Video Decode and Presentation API for Unix code [autodetect]
--disable-videotoolbox disable VideoToolbox code [autodetect]
+ --enable-nvmpi enable nvmpi code