Update FFmpeg for L4T platforms
This commit is contained in:
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -18,7 +18,7 @@
|
|||||||
url = https://github.com/cgutman/userland.git
|
url = https://github.com/cgutman/userland.git
|
||||||
[submodule "FFmpeg-l4t"]
|
[submodule "FFmpeg-l4t"]
|
||||||
path = FFmpeg-l4t
|
path = FFmpeg-l4t
|
||||||
url = https://gitlab.com/switchroot/switch-l4t-multimedia/FFmpeg.git
|
url = https://github.com/cgutman/FFmpeg.git
|
||||||
[submodule "dav1d"]
|
[submodule "dav1d"]
|
||||||
path = dav1d
|
path = dav1d
|
||||||
url = https://code.videolan.org/videolan/dav1d.git
|
url = https://code.videolan.org/videolan/dav1d.git
|
||||||
|
|||||||
Submodule FFmpeg-l4t updated: 91e53cd834...e119ff5f25
Submodule FFmpeg-l4t-new updated: ac6ab5a6de...93133c040c
@@ -82,9 +82,3 @@ cd /opt/FFmpeg
|
|||||||
./configure $BASE_FFMPEG_ARGS $EXTRA_FFMPEG_ARGS $DAV1D_FFMPEG_ARGS
|
./configure $BASE_FFMPEG_ARGS $EXTRA_FFMPEG_ARGS $DAV1D_FFMPEG_ARGS
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
make install
|
make install
|
||||||
|
|
||||||
if [ "$TARGET" == "l4t" ]; then
|
|
||||||
# Patch libavcodec.pc to provide the proper library path for libnvbuf_utils.so
|
|
||||||
sed -i 's|-lnvbuf_utils|-L/usr/lib/aarch64-linux-gnu/tegra -Wl,-rpath=/usr/lib/aarch64-linux-gnu/tegra -lnvbuf_utils|g' /usr/local/lib/pkgconfig/libavcodec.pc
|
|
||||||
cat /usr/local/lib/pkgconfig/libavcodec.pc
|
|
||||||
fi
|
|
||||||
|
|||||||
Reference in New Issue
Block a user