Switch to pre-patched FFmpeg 4.2 with NVMPI support
This commit is contained in:
2
FFmpeg
2
FFmpeg
Submodule FFmpeg updated: 747429ea1c...9da2b95b80
@@ -24,10 +24,6 @@ elif [ "$ARCH" == "aarch64" ]; then
|
||||
make -j$(nproc)
|
||||
make install
|
||||
|
||||
# We need to patch ffmpeg to add NVMPI support
|
||||
cd /opt/FFmpeg
|
||||
git apply /opt/jetson-ffmpeg/ffmpeg_nvmpi.patch
|
||||
|
||||
# Enable NVMPI decoders
|
||||
EXTRA_FFMPEG_ARGS="--enable-nvmpi --enable-decoder=h264_nvmpi --enable-decoder=hevc_nvmpi"
|
||||
elif [ "$ARCH" == "x86_64" ]; then
|
||||
@@ -44,4 +40,4 @@ fi
|
||||
cd /opt/FFmpeg
|
||||
./configure $BASE_FFMPEG_ARGS $EXTRA_FFMPEG_ARGS
|
||||
make -j$(nproc)
|
||||
make install
|
||||
make install
|
||||
|
||||
Reference in New Issue
Block a user