我正在为我拥有的 GStreamer 应用程序创建一个 Dockerfile。我正在使用以下图像: 来自dustynv/deepstream:r35.4.1 我使用的硬件:Jetson AGX ORIN。 我有以下 tegra 版本:R35(版本),修订版:5.0,GCID:35550185,董事会:t186ref,EABI:aarch64... 我可以使用 CMake 编译应用程序而不会出现错误,但是当我开始发出请求时,我收到以下错误消息:
(gst-plugin-scanner:30): GStreamer-WARNING **: 09:03:30.211: Failed to load plugin [13/961]
b/aarch64-linux-gnu/gstreamer-1.0/libgstnveglstreamsrc.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnveglstreamsrc.so: file too short
(gst-plugin-scanner:30): GStreamer-WARNING **: 09:03:30.211: Failed to load plugin '/usr/li
b/aarch64-linux-gnu/gstreamer-1.0/libgstnvtee.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvtee.so: file too short
(gst-plugin-scanner:30): GStreamer-WARNING **: 09:03:30.211: Failed to load plugin '/usr/li
b/aarch64-linux-gnu/gstreamer-1.0/libgstnvjpeg.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvjpeg.so: file too short
(gst-plugin-scanner:30): GStreamer-WARNING **: 09:03:30.212: Failed to load plugin '/usr/li
b/aarch64-linux-gnu/gstreamer-1.0/libgstnvvidconv.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvvidconv.so: file too short
(gst-plugin-scanner:30): GStreamer-WARNING **: 09:03:30.212: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvv4l2camerasrc.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvv4l2camerasrc.so: file too short
(gst-plugin-scanner:30): GStreamer-WARNING **: 09:03:30.212: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvarguscamerasrc.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvarguscamerasrc.so: file too short
(gst-plugin-scanner:30): GStreamer-WARNING **: 09:03:30.212: Failed to load plugin '/usr/li
b/aarch64-linux-gnu/gstreamer-1.0/libgstnvcompositor.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvcompositor.so: file too short
(gst-plugin-scanner:30): GStreamer-WARNING **: 09:03:30.212: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvvideosinks.so': /usr/lib/aarch64-linux-gnu/gstrea
mer-1.0/libgstnvvideosinks.so: file too short
(gst-plugin-scanner:30): GStreamer-WARNING **: 09:03:30.212: Failed to load plugin '/usr/li
b/aarch64-linux-gnu/gstreamer-1.0/libgstnvegltransform.so': /usr/lib/aarch64-linux-gnu/gstr
eamer-1.0/libgstnvegltransform.so: file too short
(gst-plugin-scanner:30): GStreamer-WARNING **: 09:03:30.212: Failed to load plugin '/usr/li
b/aarch64-linux-gnu/gstreamer-1.0/libgstnvvideo4linux2.so': /usr/lib/aarch64-linux-gnu/gstr
eamer-1.0/libgstnvvideo4linux2.so: file too short
(gst-plugin-scanner:30): GStreamer-WARNING **: 09:03:30.212: Failed to load plugin '/usr/li
b/aarch64-linux-gnu/gstreamer-1.0/libgstnvivafilter.so': /usr/lib/aarch64-linux-gnu/gstream
er-1.0/libgstnvivafilter.so: file too short
(gst-plugin-scanner:30): GStreamer-WARNING **: 09:03:30.212: Failed to load plugin '/usr/li
b/aarch64-linux-gnu/gstreamer-1.0/libgstnvvideosink.so': /usr/lib/aarch64-linux-gnu/gstream
er-1.0/libgstnvvideosink.so: file too short
(gst-plugin-scanner:30): GStreamer-WARNING **: 09:03:30.212: Failed to load plugin '/usr/li
b/aarch64-linux-gnu/gstreamer-1.0/libgstnveglglessink.so': /usr/lib/aarch64-linux-gnu/gstre...
当我查看插件时,它们确实看起来很空:
-rw-r--r-- 1 root root 10336 Aug 1 2023 libgstnavigationtest.so
-rw-r--r-- 1 root root 27416 Nov 28 2023 libgstnetsim.so
-rw-r--r-- 1 root root 43808 Nov 16 2018 libgstnrtp.so
-rwxr-xr-x 1 root root 0 Aug 3 2023 libgstnvarguscamerasrc.so*
-rwxr-xr-x 1 root root 0 Aug 3 2023 libgstnvcompositor.so*
-rwxr-xr-x 1 root root 0 Aug 3 2023 libgstnvdrmvideosink.so*
-rwxr-xr-x 1 root root 0 Aug 3 2023 libgstnveglglessink.so*
-rwxr-xr-x 1 root root 0 Aug 3 2023 libgstnveglstreamsrc.so*
-rwxr-xr-x 1 root root 0 Aug 3 2023 libgstnvegltransform.so*
-rwxr-xr-x 1 root root 0 Aug 3 2023 libgstnvivafilter.so*
-rwxr-xr-x 1 root root 0 Aug 3 2023 libgstnvjpeg.so*
-rwxr-xr-x 1 root root 0 Aug 3 2023 libgstnvtee.so*
-rwxr-xr-x 1 root root 0 Aug 3 2023 libgstnvv4l2camerasrc.so*
-rwxr-xr-x 1 root root 0 Aug 3 2023 libgstnvvidconv.so*
-rwxr-xr-x 1 root root 0 Aug 3 2023 libgstnvvideo4linux2.so*
-rwxr-xr-x 1 root root 0 Aug 3 2023 libgstnvvideosink.so*
-rwxr-xr-x 1 root root 0 Aug 3 2023 libgstnvvideosinks.so*
-rw-r--r-- 1 root root 14616 Nov 28 2023 libgstofa.so
-rw-r--r-- 1 root root 218136 Jul 26 2022 libgstogg.so
我尝试从本地计算机将所有文件复制到 docker,以替换空文件,但这不起作用。 我尝试了不同的图像,例如来自同一存储库的 pytorch,但效果不佳。
使用以下 docker 映像作为我的项目的基础解决了我的问题: 来自 nvcr.io/nvidia/l4t-jetpack:r35.4.1