FFmpeg.AutoGen
FFmpeg.AutoGen copied to clipboard
4.x
Fixing #182. Tested on OSx with FFmpeg v4.4.1 installed via brew.
➜ ~ ffmpeg -version
ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers
built with Apple clang version 13.0.0 (clang-1300.0.29.3)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.4.1_5 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-avresample --enable-videotoolbox
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Hi there, thanks for the fix but do you recon that all this code is generated this is not going to fix the source of the issue.
Yeah, so I thought. That's why I asked if there have been any changes in the generation of the source code since v4.3.2.1? I'm not completely aware of the tools that are used to generate it, any references will be appreciated.
Well if you check FFmpeg.AutoGen.CppSharpUnsafeGenerator you will find all this project is a tool 😄. Technically it is possible to generate delegates in different manner than functions. However, I have strong feeling it is a bug in dotnet marshaling on specific platform. So it was reason why I ask to validate this function use on different platforms.
Forming new way of API here https://github.com/Ruslan-B/FFmpeg.AutoGen/issues/210 - all none const array parameters are ref now. I'll appriciciet if you can test.
I'll close this one as seems current version is working fine