I've downloaded the code and compiled it. I then reference the two assemblies in the bin directory.
I'm running on Raspberry Pi. When I try to load the video file I get this error:
System.DllNotFoundException: Unable to load shared library 'libavformat.so.59' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibavformat.so.59: cannot open shared object file: No such file or directory
at System.Runtime.InteropServices.NativeLibrary.LoadByName(String libraryName, QCallAssembly callingAssembly, Boolean hasDllImportSearchPathFlag, UInt32 dllImportSearchPathFlag, Boolean throwOnError)
at System.Runtime.InteropServices.NativeLibrary.LoadLibraryByName(String libraryName, Assembly assembly, Nullable`1 searchPath, Boolean throwOnError)
at System.Runtime.InteropServices.NativeLibrary.Load(String libraryName, Assembly assembly, Nullable`1 searchPath)
at Sdcb.FFmpeg.Raw.ffmpeg.DllImportResolver(String libraryName, Assembly assembly, Nullable`1 searchPath)
at System.Runtime.InteropServices.NativeLibrary.LoadLibraryCallbackStub(String libraryName, Assembly assembly, Boolean hasDllImportSearchPathFlags, UInt32 dllImportSearchPathFlags)
at Sdcb.FFmpeg.Raw.ffmpeg.avformat_alloc_context()
at MonoGame.Extended.VideoPlayback.DecodeContext..ctor(String url, DecodingOptions decodingOptions) in D:\Development\GitHub\MonoGame.Extended2-master\Sources\MonoGame.Extended.VideoPlayback\DecodeContext.cs:line 35
at MonoGame.Extended.Framework.Media.Video..ctor(String url, DecodingOptions decodingOptions) in D:\Development\GitHub\MonoGame.Extended2-master\Sources\MonoGame.Extended.VideoPlayback\Media\Video.cs:line 24
at MonoGame.Extended.VideoPlayback.VideoHelper.LoadFromUrl(String url, DecodingOptions decodingOptions) in D:\Development\GitHub\MonoGame.Extended2-master\Sources\MonoGame.Extended.VideoPlayback\VideoHelper.cs:line 53
at MonoGame.Extended.VideoPlayback.VideoHelper.LoadFromFile(String path, DecodingOptions decodingOptions) in D:\Development\GitHub\MonoGame.Extended2-master\Sources\MonoGame.Extended.VideoPlayback\VideoHelper.cs:line 32
at MonoGame.Extended.VideoPlayback.VideoHelper.LoadFromFile(String path) in D:\Development\GitHub\MonoGame.Extended2-master\Sources\MonoGame.Extended.VideoPlayback\VideoHelper.cs:line 19
On the pi I run the ffmpeg -version and get the following:
I've downloaded the code and compiled it. I then reference the two assemblies in the bin directory.
I'm running on Raspberry Pi. When I try to load the video file I get this error:
On the pi I run the ffmpeg -version and get the following:
It says it can't find libavcodec.o.59, but if I'm reading that correctly shouldn't it be libavcodec.o.58?