undefined symbol: avio_protocol_get_class, version LIBAVFORMAT_58

rv1126上进行编译和在虚拟机里面进行交叉编译ffmpeg都不行

解决办法查看

查看安装的ffmpeg链接的文件

ldd ./ffmpeg
root@EASY-EAI-NANO:/home/nano/ffmpeg-4.3.6# ldd ffmpeg       
linux-vdso.so.1 (0xaeebd000)libavdevice.so.58 => /lib/arm-linux-gnueabihf/libavdevice.so.58 (0xa6f1c000)libavfilter.so.7 => /lib/arm-linux-gnueabihf/libavfilter.so.7 (0xa6cdb000)libavformat.so.58 => /lib/arm-linux-gnueabihf/libavformat.so.58 (0xa6b19000)libavcodec.so.58 => /lib/arm-linux-gnueabihf/libavcodec.so.58 (0xa59dc000)libswresample.so.3 => /lib/arm-linux-gnueabihf/libswresample.so.3 (0xa59b9000)libswscale.so.5 => /lib/arm-linux-gnueabihf/libswscale.so.5 (0xa5954000)libavutil.so.56 => /lib/arm-linux-gnueabihf/libavutil.so.56 (0xa5847000)libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xa57de000)libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xa57b8000)libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xa56b9000)/lib/ld-linux-armhf.so.3 (0xa6fa4000)libraw1394.so.11 => /lib/arm-linux-gnueabihf/libraw1394.so.11 (0xa56a0000)libavc1394.so.0 => /lib/arm-linux-gnueabihf/libavc1394.so.0 (0xa568c000)librom1394.so.0 => /lib/arm-linux-gnueabihf/librom1394.so.0 (0xa5679000)libiec61883.so.0 => /lib/arm-linux-gnueabihf/libiec61883.so.0 (0xa5660000)libjack.so.0 => /lib/arm-linux-gnueabihf/libjack.so.0 (0xa5622000)libdrm.so.2 => /lib/arm-linux-gnueabihf/libdrm.so.2 (0xa5605000)libopenal.so.1 => /lib/arm-linux-gnueabihf/libopenal.so.1 (0xa5536000)libxcb.so.1 => /lib/arm-linux-gnueabihf/libxcb.so.1 (0xa550d000)libxcb-shm.so.0 => /lib/arm-linux-gnueabihf/libxcb-shm.so.0 (0xa54fa000)libxcb-shape.so.0 => /lib/arm-linux-gnueabihf/libxcb-shape.so.0 (0xa54e7000)libxcb-xfixes.so.0 => /lib/arm-linux-gnueabihf/libxcb-xfixes.so.0 (0xa54d1000)libcdio_paranoia.so.2 => /lib/arm-linux-gnueabihf/libcdio_paranoia.so.2 (0xa54bc000)libcdio_cdda.so.2 => /lib/arm-linux-gnueabihf/libcdio_cdda.so.2 (0xa54a6000)libdc1394.so.22 => /lib/arm-linux-gnueabihf/libdc1394.so.22 (0xa542f000)libasound.so.2 => /lib/arm-linux-gnueabihf/libasound.so.2 (0xa5386000)libcaca.so.0 => /lib/arm-linux-gnueabihf/libcaca.so.0 (0xa52ba000)libGL.so.1 => /lib/arm-linux-gnueabihf/libGL.so.1 (0xa51f5000)libpulse.so.0 => /lib/arm-linux-gnueabihf/libpulse.so.0 (0xa51af000)libSDL2-2.0.so.0 => /lib/arm-linux-gnueabihf/libSDL2-2.0.so.0 (0xa50d2000)libsndio.so.7.0 => /lib/arm-linux-gnueabihf/libsndio.so.7.0 (0xa50b6000)libXv.so.1 => /lib/arm-linux-gnueabihf/libXv.so.1 (0xa50a2000)libX11.so.6 => /lib/arm-linux-gnueabihf/libX11.so.6 (0xa4faf000)libXext.so.6 => /lib/arm-linux-gnueabihf/libXext.so.6 (0xa4f94000)libpostproc.so.55 => /lib/arm-linux-gnueabihf/libpostproc.so.55 (0xa4f7b000)libbs2b.so.0 => /lib/arm-linux-gnueabihf/libbs2b.so.0 (0xa4f67000)liblilv-0.so.0 => /lib/arm-linux-gnueabihf/liblilv-0.so.0 (0xa4f48000)libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xa4f35000)librubberband.so.2 => /lib/arm-linux-gnueabihf/librubberband.so.2 (0xa4eff000)libmysofa.so.1 => /lib/arm-linux-gnueabihf/libmysofa.so.1 (0xa4ee5000)libflite_cmu_us_awb.so.1 => /lib/arm-linux-gnueabihf/libflite_cmu_us_awb.so.1 (0xa4c28000)libflite_cmu_us_kal.so.1 => /lib/arm-linux-gnueabihf/libflite_cmu_us_kal.so.1 (0xa4abe000)libflite_cmu_us_kal16.so.1 => /lib/arm-linux-gnueabihf/libflite_cmu_us_kal16.so.1 (0xa46e0000)libflite_cmu_us_rms.so.1 => /lib/arm-linux-gnueabihf/libflite_cmu_us_rms.so.1 (0xa43b0000)libflite_cmu_us_slt.so.1 => /lib/arm-linux-gnueabihf/libflite_cmu_us_slt.so.1 (0xa40f2000)libflite.so.1 => /lib/arm-linux-gnueabihf/libflite.so.1 (0xa40c0000)libfribidi.so.0 => /lib/arm-linux-gnueabihf/libfribidi.so.0 (0xa4097000)libass.so.9 => /lib/arm-linux-gnueabihf/libass.so.9 (0xa406a000)libva.so.2 => /lib/arm-linux-gnueabihf/libva.so.2 (0xa403d000)libvidstab.so.1.1 => /lib/arm-linux-gnueabihf/libvidstab.so.1.1 (0xa4021000)libzmq.so.5 => /lib/arm-linux-gnueabihf/libzmq.so.5 (0xa3fb6000)libOpenCL.so.1 => /usr/lib/libOpenCL.so.1 (0xa3f49000)libfontconfig.so.1 => /lib/arm-linux-gnueabihf/libfontconfig.so.1 (0xa3f0c000)libfreetype.so.6 => /lib/arm-linux-gnueabihf/libfreetype.so.6 (0xa3e8c000)libxml2.so.2 => /lib/arm-linux-gnueabihf/libxml2.so.2 (0xa3d72000)libbz2.so.1.0 => /lib/arm-linux-gnueabihf/libbz2.so.1.0 (0xa3d56000)libgme.so.0 => /lib/arm-linux-gnueabihf/libgme.so.0 (0xa3d18000)libopenmpt.so.0 => /lib/arm-linux-gnueabihf/libopenmpt.so.0 (0xa3bb9000)libchromaprint.so.1 => /lib/arm-linux-gnueabihf/libchromaprint.so.1 (0xa3b9c000)libbluray.so.2 => /lib/arm-linux-gnueabihf/libbluray.so.2 (0xa3b57000)libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xa3b34000)libgnutls.so.30 => /lib/arm-linux-gnueabihf/libgnutls.so.30 (0xa39dd000)libssh-gcrypt.so.4 => /lib/arm-linux-gnueabihf/libssh-gcrypt.so.4 (0xa396b000)libvpx.so.6 => /lib/arm-linux-gnueabihf/vfp/neon/libvpx.so.6 (0xa37ef000)libwebpmux.so.3 => /lib/arm-linux-gnueabihf/libwebpmux.so.3 (0xa37d9000)libwebp.so.6 => /lib/arm-linux-gnueabihf/libwebp.so.6 (0xa378a000)liblzma.so.5 => /lib/arm-linux-gnueabihf/liblzma.so.5 (0xa3760000)librsvg-2.so.2 => /lib/arm-linux-gnueabihf/librsvg-2.so.2 (0xa3063000)libgobject-2.0.so.0 => /lib/arm-linux-gnueabihf/libgobject-2.0.so.0 (0xa3012000)libglib-2.0.so.0 => /lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0xa2f29000)libcairo.so.2 => /lib/arm-linux-gnueabihf/libcairo.so.2 (0xa2e6c000)libzvbi.so.0 => /lib/arm-linux-gnueabihf/libzvbi.so.0 (0xa2dff000)libsnappy.so.1 => /lib/arm-linux-gnueabihf/libsnappy.so.1 (0xa2de9000)libaom.so.0 => /lib/arm-linux-gnueabihf/libaom.so.0 (0xa2b52000)libcodec2.so.0.9 => /lib/arm-linux-gnueabihf/libcodec2.so.0.9 (0xa1d7f000)libgsm.so.1 => /lib/arm-linux-gnueabihf/libgsm.so.1 (0xa1d67000)libmp3lame.so.0 => /lib/arm-linux-gnueabihf/libmp3lame.so.0 (0xa1cf8000)libopenjp2.so.7 => /lib/arm-linux-gnueabihf/libopenjp2.so.7 (0xa1caf000)libopus.so.0 => /lib/arm-linux-gnueabihf/libopus.so.0 (0xa1c5e000)libshine.so.3 => /lib/arm-linux-gnueabihf/libshine.so.3 (0xa1c45000)libspeex.so.1 => /lib/arm-linux-gnueabihf/libspeex.so.1 (0xa1c24000)libtheoraenc.so.1 => /lib/arm-linux-gnueabihf/libtheoraenc.so.1 (0xa1bea000)libtheoradec.so.1 => /lib/arm-linux-gnueabihf/libtheoradec.so.1 (0xa1bc8000)libtwolame.so.0 => /lib/arm-linux-gnueabihf/libtwolame.so.0 (0xa1b9a000)libvorbis.so.0 => /lib/arm-linux-gnueabihf/libvorbis.so.0 (0xa1b69000)libvorbisenc.so.2 => /lib/arm-linux-gnueabihf/libvorbisenc.so.2 (0xa1ad7000)libwavpack.so.1 => /lib/arm-linux-gnueabihf/libwavpack.so.1 (0xa1aa9000)libx264.so.155 => /lib/arm-linux-gnueabihf/libx264.so.155 (0xa189e000)libx265.so.179 => /lib/arm-linux-gnueabihf/libx265.so.179 (0xa1672000)libxvidcore.so.4 => /lib/arm-linux-gnueabihf/libxvidcore.so.4 (0xa159f000)libsoxr.so.0 => /lib/arm-linux-gnueabihf/libsoxr.so.0 (0xa153b000)libva-drm.so.2 => /lib/arm-linux-gnueabihf/libva-drm.so.2 (0xa1529000)libva-x11.so.2 => /lib/arm-linux-gnueabihf/libva-x11.so.2 (0xa1515000)libvdpau.so.1 => /lib/arm-linux-gnueabihf/libvdpau.so.1 (0xa1502000)librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xa14ec000)libstdc++.so.6 => /lib/arm-linux-gnueabihf/libstdc++.so.6 (0xa13a3000)libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xa1378000)libXau.so.6 => /lib/arm-linux-gnueabihf/libXau.so.6 (0xa1365000)libXdmcp.so.6 => /lib/arm-linux-gnueabihf/libXdmcp.so.6 (0xa1351000)libcdio.so.18 => /lib/arm-linux-gnueabihf/libcdio.so.18 (0xa1326000)libusb-1.0.so.0 => /lib/arm-linux-gnueabihf/libusb-1.0.so.0 (0xa1304000)libslang.so.2 => /lib/arm-linux-gnueabihf/libslang.so.2 (0xa1144000)libncursesw.so.6 => /lib/arm-linux-gnueabihf/libncursesw.so.6 (0xa1112000)libtinfo.so.6 => /lib/arm-linux-gnueabihf/libtinfo.so.6 (0xa10e4000)libGLdispatch.so.0 => /lib/arm-linux-gnueabihf/libGLdispatch.so.0 (0xa0fad000)libGLX.so.0 => /lib/arm-linux-gnueabihf/libGLX.so.0 (0xa0f4a000)libpulsecommon-13.99.so => /usr/lib/arm-linux-gnueabihf/pulseaudio/libpulsecommon-13.99.so (0xa0ee3000)libdbus-1.so.3 => /lib/arm-linux-gnueabihf/libdbus-1.so.3 (0xa0ea3000)libXcursor.so.1 => /lib/arm-linux-gnueabihf/libXcursor.so.1 (0xa0e8c000)libXinerama.so.1 => /lib/arm-linux-gnueabihf/libXinerama.so.1 (0xa0e7a000)libXi.so.6 => /lib/arm-linux-gnueabihf/libXi.so.6 (0xa0e60000)libXrandr.so.2 => /lib/arm-linux-gnueabihf/libXrandr.so.2 (0xa0e49000)libXss.so.1 => /lib/arm-linux-gnueabihf/libXss.so.1 (0xa0e36000)libXxf86vm.so.1 => /lib/arm-linux-gnueabihf/libXxf86vm.so.1 (0xa0e22000)libwayland-egl.so.1 => /lib/arm-linux-gnueabihf/libwayland-egl.so.1 (0xa0e10000)libwayland-client.so.0 => /lib/arm-linux-gnueabihf/libwayland-client.so.0 (0xa0df7000)libwayland-cursor.so.0 => /lib/arm-linux-gnueabihf/libwayland-cursor.so.0 (0xa0de0000)libxkbcommon.so.0 => /lib/arm-linux-gnueabihf/libxkbcommon.so.0 (0xa0d9e000)libbsd.so.0 => /lib/arm-linux-gnueabihf/libbsd.so.0 (0xa0d7b000)libserd-0.so.0 => /lib/arm-linux-gnueabihf/libserd-0.so.0 (0xa0d58000)libsord-0.so.0 => /lib/arm-linux-gnueabihf/libsord-0.so.0 (0xa0d42000)libsratom-0.so.0 => /lib/arm-linux-gnueabihf/libsratom-0.so.0 (0xa0d2b000)libsamplerate.so.0 => /lib/arm-linux-gnueabihf/libsamplerate.so.0 (0xa0bb1000)libfftw3.so.3 => /lib/arm-linux-gnueabihf/libfftw3.so.3 (0xa0ad6000)libflite_usenglish.so.1 => /lib/arm-linux-gnueabihf/libflite_usenglish.so.1 (0xa0ab0000)libflite_cmulex.so.1 => /lib/arm-linux-gnueabihf/libflite_cmulex.so.1 (0xa0a10000)libharfbuzz.so.0 => /lib/arm-linux-gnueabihf/libharfbuzz.so.0 (0xa094e000)libgomp.so.1 => /lib/arm-linux-gnueabihf/libgomp.so.1 (0xa0915000)libsodium.so.23 => /lib/arm-linux-gnueabihf/libsodium.so.23 (0xa08cf000)libpgm-5.2.so.0 => /lib/arm-linux-gnueabihf/libpgm-5.2.so.0 (0xa087f000)libnorm.so.1 => /lib/arm-linux-gnueabihf/libnorm.so.1 (0xa0753000)libgssapi_krb5.so.2 => /lib/arm-linux-gnueabihf/libgssapi_krb5.so.2 (0xa0718000)libGAL.so => /usr/lib/libGAL.so (0xa0578000)libVSC.so => /usr/lib/libVSC.so (0x9f6e9000)libCLC.so => /usr/lib/libCLC.so (0x9f524000)libexpat.so.1 => /lib/arm-linux-gnueabihf/libexpat.so.1 (0x9f4fb000)libuuid.so.1 => /lib/arm-linux-gnueabihf/libuuid.so.1 (0x9f4e5000)libpng16.so.16 => /lib/arm-linux-gnueabihf/libpng16.so.16 (0x9f4b1000)libicuuc.so.66 => /lib/arm-linux-gnueabihf/libicuuc.so.66 (0x9f362000)libmpg123.so.0 => /lib/arm-linux-gnueabihf/libmpg123.so.0 (0x9f310000)libvorbisfile.so.3 => /lib/arm-linux-gnueabihf/libvorbisfile.so.3 (0x9f2f9000)libp11-kit.so.0 => /lib/arm-linux-gnueabihf/libp11-kit.so.0 (0x9f234000)libidn2.so.0 => /lib/arm-linux-gnueabihf/libidn2.so.0 (0x9f209000)libunistring.so.2 => /lib/arm-linux-gnueabihf/libunistring.so.2 (0x9f09d000)libtasn1.so.6 => /lib/arm-linux-gnueabihf/libtasn1.so.6 (0x9f080000)libnettle.so.7 => /lib/arm-linux-gnueabihf/libnettle.so.7 (0x9f044000)libhogweed.so.5 => /lib/arm-linux-gnueabihf/libhogweed.so.5 (0x9f00b000)libgmp.so.10 => /lib/arm-linux-gnueabihf/libgmp.so.10 (0x9efab000)libgcrypt.so.20 => /lib/arm-linux-gnueabihf/libgcrypt.so.20 (0x9eef8000)libgpg-error.so.0 => /lib/arm-linux-gnueabihf/libgpg-error.so.0 (0x9eed3000)libcairo-gobject.so.2 => /lib/arm-linux-gnueabihf/libcairo-gobject.so.2 (0x9eebd000)libgdk_pixbuf-2.0.so.0 => /lib/arm-linux-gnueabihf/libgdk_pixbuf-2.0.so.0 (0x9ee92000)libgio-2.0.so.0 => /lib/arm-linux-gnueabihf/libgio-2.0.so.0 (0x9ed62000)libpangocairo-1.0.so.0 => /lib/arm-linux-gnueabihf/libpangocairo-1.0.so.0 (0x9ed48000)libpango-1.0.so.0 => /lib/arm-linux-gnueabihf/libpango-1.0.so.0 (0x9ed05000)libffi.so.7 => /lib/arm-linux-gnueabihf/libffi.so.7 (0x9ecef000)libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0x9ec91000)libpixman-1.so.0 => /lib/arm-linux-gnueabihf/libpixman-1.so.0 (0x9ec06000)libxcb-render.so.0 => /lib/arm-linux-gnueabihf/libxcb-render.so.0 (0x9ebed000)libXrender.so.1 => /lib/arm-linux-gnueabihf/libXrender.so.1 (0x9ebd6000)libogg.so.0 => /lib/arm-linux-gnueabihf/libogg.so.0 (0x9ebbf000)libXfixes.so.3 => /lib/arm-linux-gnueabihf/libXfixes.so.3 (0x9ebab000)libudev.so.1 => /lib/arm-linux-gnueabihf/libudev.so.1 (0x9eb7f000)libsystemd.so.0 => /lib/arm-linux-gnueabihf/libsystemd.so.0 (0x9eafa000)libwrap.so.0 => /lib/arm-linux-gnueabihf/libwrap.so.0 (0x9eae3000)libsndfile.so.1 => /lib/arm-linux-gnueabihf/libsndfile.so.1 (0x9ea7b000)libasyncns.so.0 => /lib/arm-linux-gnueabihf/libasyncns.so.0 (0x9ea66000)libapparmor.so.1 => /lib/arm-linux-gnueabihf/libapparmor.so.1 (0x9ea49000)libgraphite2.so.3 => /lib/arm-linux-gnueabihf/libgraphite2.so.3 (0x9ea1f000)libkrb5.so.3 => /lib/arm-linux-gnueabihf/libkrb5.so.3 (0x9e984000)libk5crypto.so.3 => /lib/arm-linux-gnueabihf/libk5crypto.so.3 (0x9e950000)libcom_err.so.2 => /lib/arm-linux-gnueabihf/libcom_err.so.2 (0x9e93d000)libkrb5support.so.0 => /lib/arm-linux-gnueabihf/libkrb5support.so.0 (0x9e925000)libicudata.so.66 => /lib/arm-linux-gnueabihf/libicudata.so.66 (0x9ce57000)libgmodule-2.0.so.0 => /lib/arm-linux-gnueabihf/libgmodule-2.0.so.0 (0x9ce42000)libmount.so.1 => /lib/arm-linux-gnueabihf/libmount.so.1 (0x9cdf4000)libselinux.so.1 => /lib/arm-linux-gnueabihf/libselinux.so.1 (0x9cdca000)libresolv.so.2 => /lib/arm-linux-gnueabihf/libresolv.so.2 (0x9cdaa000)libpangoft2-1.0.so.0 => /lib/arm-linux-gnueabihf/libpangoft2-1.0.so.0 (0x9cd8c000)libthai.so.0 => /lib/arm-linux-gnueabihf/libthai.so.0 (0x9cd75000)liblz4.so.1 => /lib/arm-linux-gnueabihf/liblz4.so.1 (0x9cd4f000)libnsl.so.1 => /lib/arm-linux-gnueabihf/libnsl.so.1 (0x9cd2f000)libFLAC.so.8 => /lib/arm-linux-gnueabihf/libFLAC.so.8 (0x9ccfd000)libkeyutils.so.1 => /lib/arm-linux-gnueabihf/libkeyutils.so.1 (0x9cce8000)libblkid.so.1 => /lib/arm-linux-gnueabihf/libblkid.so.1 (0x9cca2000)libpcre2-8.so.0 => /lib/arm-linux-gnueabihf/libpcre2-8.so.0 (0x9cc2f000)libdatrie.so.1 => /lib/arm-linux-gnueabihf/libdatrie.so.1 (0x9cc1b000)

 查看

发现链接的是编译器下面的,可能版本不是ffmpeg源码的版本,查看本机器有多少个这个

find / -name "libavformat*" 

find / -name "libavformat*"
/var/lib/dpkg/info/libavformat58:armhf.triggers
/var/lib/dpkg/info/libavformat58:armhf.list
/var/lib/dpkg/info/libavformat-dev:armhf.list
/var/lib/dpkg/info/libavformat-dev:armhf.md5sums
/var/lib/dpkg/info/libavformat58:armhf.md5sums
/var/lib/dpkg/info/libavformat58:armhf.shlibs
/var/lib/dpkg/info/libavformat58:armhf.symbols
find: '/proc/969': No such file or directory
/home/nano/ffmpeg-4.3.6/doc/libavformat.3
/home/nano/ffmpeg-4.3.6/doc/examples/pc-uninstalled/libavformat-uninstalled.pc
/home/nano/ffmpeg-4.3.6/doc/libavformat.pod.d
/home/nano/ffmpeg-4.3.6/doc/libavformat.texi
/home/nano/ffmpeg-4.3.6/doc/libavformat.pod
/home/nano/ffmpeg-4.3.6/tests/fate/libavformat.mak
/home/nano/ffmpeg-4.3.6/libavformat
/home/nano/ffmpeg-4.3.6/libavformat/libavformat.so.58
/home/nano/ffmpeg-4.3.6/libavformat/libavformat.pc
/home/nano/ffmpeg-4.3.6/libavformat/libavformat.so
/home/nano/ffmpeg-4.3.6/libavformat/libavformat.v
/home/nano/ffmpeg-4.3.6/libavformat/libavformat.version
/home/nano/ffmpeg-4.3.6/libavformat/libavformat.ver
/home/nano/ffmpeg-4.3.6/libavformat/libavformat.a
/usr/share/doc/libavformat-dev
/usr/share/doc/libavformat58
/usr/share/lintian/overrides/libavformat58
/usr/lib/arm-linux-gnueabihf/libavformat.so.58
/usr/lib/arm-linux-gnueabihf/libavformat.so
/usr/lib/arm-linux-gnueabihf/libavformat.so.58.29.100
/usr/lib/arm-linux-gnueabihf/pkgconfig/libavformat.pc
/usr/lib/arm-linux-gnueabihf/libavformat.a
/usr/include/arm-linux-gnueabihf/libavformat
/usr/local/share/man/man3/libavformat.3
/usr/local/lib/pkgconfig/libavformat.pc
/usr/local/include/libavformat
/opt/arm_ffmpeg/share/man/man3/libavformat.3
/opt/arm_ffmpeg/lib/libavformat.so.58
/opt/arm_ffmpeg/lib/libavformat.so
/opt/arm_ffmpeg/lib/pkgconfig/libavformat.pc
/opt/arm_ffmpeg/lib/libavformat.a
/opt/arm_ffmpeg/lib/libavformat.so.58.45.100
/opt/arm_ffmpeg/include/libavformat
/opt/ffmpeg/share/man/man3/libavformat.3
/opt/ffmpeg/lib/libavformat.so.58
/opt/ffmpeg/lib/libavformat.so
/opt/ffmpeg/lib/pkgconfig/libavformat.pc
/opt/ffmpeg/lib/libavformat.a
/opt/ffmpeg/lib/libavformat.so.58.45.100
/opt/ffmpeg/include/libavformat

使用 objdumpnm 工具来检查 libavformat.so.58 中是否包含 avio_protocol_get_class 符号

 查看交叉编译工具链接的如下,发现没有任何打印

nm -D /lib/arm-linux-gnueabihf/libavformat.so.58 | grep avio_protocol_get_class 

查看源码编译下的,如下,发现有打印, 

所以我的办法是把编译工具下的那个文件和源码下的文件做一个替换即可 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/667985.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

哪些因素会限制带宽的可用性?

当我们讨论带宽的可用性时,我们主要关注的是数据传输的速度和容量。带宽就像一条公路,数据就像行驶在公路上的车辆,带宽越大,可以同时传输的数据就越多,数据传输的速度也就越快。但是,就像公路会有各种限制…

【云原生运维问题记录】kubesphere登录不跳转问题

文章目录 现象问题排查 结论先行:kubesphere-system名称空间下reids宕机重启,会判断是否通过registry-proxy重新拉取镜像,该镜像原本是通过阿里云上拉取,代理上没有出现超时情况,导致失败。解决方案:删除re…

k8s-常用工作负载控制器(更高级管理Pod)

一、工作负载控制器是什么? 二、Deploymennt控制器:介绍与部署应用 部署 三、Deployment控制器:滚动升级、零停机 方式一: 通个加入健康检查可以,看到,nginx容器逐个被替代,最终每个都升级完成&…

AI助力农作物自动采摘,基于YOLOv5全系列【n/s/m/l/x】参数模型开发构建作物生产场景下番茄采摘检测计数分析系统

去年十一那会无意间刷到一个视频展示的就是德国机械收割机非常高效自动化地24小时不间断地在超广阔的土地上采摘各种作物,专家设计出来了很多用于采摘不同农作物的大型机械,看着非常震撼,但是我们国内农业的发展还是相对比较滞后的&#xff0…

国辰智企APS自动化排产平台:实现生产计划与其他系统无缝协同

在当今竞争激烈的制造环境中,有效的生产计划和排程对于企业的成功至关重要。APS生产计划排程平台作为一种先进的工具,正越来越受到企业的关注和应用。那么,APS生产计划排程平台有哪些类型呢?本文将为您详细介绍。 1.基于规则的APS…

小埋的解密游戏的题解

题目描述 小埋最近在玩一个解密游戏,这个游戏的解密方法是这样的,这个游戏会给你提供 个数,让我们求出这 个数里面,有多少个连续的数的平均数大于某个给定的数 。这个数可能会很大,所以我们要输出这个数对 的取模结果。现在小…

99例电气实物接线及52个自动化机械手动图

给大家分享一些流水线设计中常见的一些结构,这些动态图很直观,有助于大家了解其原理,非常好懂。 1.家庭总电箱接线图 2.经典双控灯接线 3.五孔一开接线 4.电动机点动控制接线(不安全) 5.电动机自锁接线图(…

git常用一些操作

1. git status // 查看当前目录更新 2. git checkout -b <NEW_BRANCH> // 新切一个分支&#xff08;只在第一次操作的时候做&#xff0c;后面就不用做了&#xff09; 3. git pull origin <BRANCH_NAME> …

怎样理解Vue单向数据流

在前端开发中&#xff0c;数据流是一个非常重要的概念。Vue.js作为一种流行的前端框架&#xff0c;采用了单向数据流的架构&#xff0c;旨在简化开发过程并提高应用的可维护性。本文将探讨Vue单向数据流的含义以及它的使用方法。 什么是单向数据流&#xff1f; 在Vue中&#…

H5 简约四色新科技风引导页源码

H5 简约四色新科技风引导页源码 源码介绍&#xff1a;一款四色切换自适应现代科技风动态背景的引导页源码&#xff0c;源码有主站按钮&#xff0c;分站按钮2个&#xff0c;QQ联系站长按钮一个。 下载地址&#xff1a; https://www.changyouzuhao.cn/11990.html

在Vue中如何动态绑定class和style属性

在Vue中&#xff0c;动态绑定class和style属性是我们经常遇到的需求。这个功能允许我们根据不同的条件来动态改变元素的样式&#xff0c;让我们的应用更加灵活和富有交互性。在本篇博客文章中&#xff0c;我将带你深入探索在Vue中如何实现这一功能。 首先&#xff0c;让我们了…

FPGA高端项目:IMX327 MIPI 视频解码 USB3.0 UVC 输出,提供FPGA开发板+2套工程源码+技术支持

目录 1、前言免责声明 2、相关方案推荐我这里已有的 MIPI 编解码方案 3、本 MIPI CSI-RX IP 介绍4、个人 FPGA高端图像处理开发板简介5、详细设计方案设计原理框图IMX327 及其配置MIPI CSI RX图像 ISP 处理图像缓存UVC 时序USB3.0输出架构 6、vivado工程详解FPGA逻辑设计 7、工…

flask+pyinstaller实现mock接口,并打包到exe运行使用postman验证

flask代码 from flask import Flask, request, jsonifyapp Flask(__name__)app.route("/login", methods[POST]) def login():username request.json.get("username").strip() # 用户名password request.json.get("password").strip() # 密…

SQL--DDL

全称 Structured Query Language&#xff0c;结构化查询语言。操作关系型数据库的编程语言&#xff0c;定义了 一套操作关系型数据库统一标准。 1 SQL通用语法 在学习具体的SQL语句之前&#xff0c;先来了解一下SQL语言的同于语法。 1). SQL语句可以单行或多行书写&#xff0…

解决IntellIJ Idea内存不足

突然有一天我在IDEA打开两个项目时&#xff0c;发生了报错&#xff0c;说我内存不足&#xff0c;我这电脑内存16G怎么会内存不足。下面是我的解决方案。 IntelliJ IDEA 报告内存不足的原因通常与以下几个因素有关&#xff1a; 项目规模较大&#xff1a;如果您正在开发的项目非…

远程手机搭建Termux环境,并通过ssh连接Termux

背景 Termux只能通过鼠标点击&#xff0c;无法使用电脑键盘&#xff0c;输入速度很慢&#xff0c;你想通过ssh 连接Termux&#xff0c;获得友好体验搞了个云手机&#xff0c;想像普通手机那样充当服务器想把自己的手机公开到局域网中供同事调试想把自己的模拟器公开到局域网中…

套路化编程 C# winform 自适应缩放布局

本例程实现基本的自适应缩放布局。 在本例程中你将会学习到如何通过鼠标改变界面比例&#xff08;SplitContainer&#xff09;、如何使用流布局&#xff08;FlowLayoutPanel&#xff09;排列控件&#xff0c;当然首先需要了解如何设置控件随窗口缩放。 目录 创建项目 ​编辑…

【stm32】hal库学习笔记-ADC模数转换(超详细!)

【stm32】hal库学习笔记-ADC模数转换&#xff08;超详细&#xff01;&#xff09; 本篇章介绍了ADC实现电压检测的三种方式 ADC原理及选型 ADC将连续的模拟电压信号转换为二进制的数字信号 选型参数 速度&#xff08;采样频率&#xff09; 功耗 精度 转换原理 ADC hal库驱…

Linux进程信号(2)--信号的保存

目录 1.阻塞信号 1.1 信号其他相关常见概念 1.实际执行信号的处理动作称为信号递达(Delivery&#xff09; 2.信号从产生到递达之间的状态,称为信号未决(Pending)。 3.进程可以选择阻塞 (Block )某个信号。 1.2信号在内核中的表示 sigset_t 信号集操作函数 使用sigprocm…

安全基础~通用漏洞4

文章目录 知识补充XSS跨站脚本**原理****攻击类型**XSS-后台植入Cookie&表单劫持XSS-Flash钓鱼配合MSF捆绑上线ctfshow XSS靶场练习 知识补充 SQL注入小迪讲解 文件上传小迪讲解 文件上传中间件解析 XSS跨站脚本 xss平台&#xff1a; https://xss.pt/ 原理 恶意攻击者…