Closed LigH-de closed 3 months ago
Apparently https://github.com/fraunhoferhhi/vvenc/commit/18af3bb794e2b7fbf48cc066eb6d6a00654202d9 resolve all library to its path, which may or may not exist.
For me, remove "-lG:/MABS/msys64/mingw64/lib/libstdc++.a" works.
Here's my temporary fix:
do_cmakeinstall video -DVVENC_ENABLE_LINK_TIME_OPT=OFF -DVVENC_INSTALL_FULLFEATURE_APP=ON
+ _path=`cygpath -m $MINGW_PREFIX/lib/libstdc++.a`
+ sed -i "10 s#-l${_path//#\\#}\s##1" "$LOCALDESTDIR/lib/pkgconfig/libvvenc.pc"
do_checkIfExist
+ unset _path
And these libraries should be added implicitly by compiler, like this, if I'm not mistaken https://github.com/m-ab-s/media-autobuild_suite/commit/11cdb5dc3ac3d73a158755d53e320cd9374fd278
Follow instructions as mentioned at following page : vvenc ffmpeg integration
I did so for the windows-section (instructions for m-ab-s) and the compilation succeeded completely
Aaaaand ... it's gone. I believe.
Add-support-for-H266-VVC.patch
Patch could not be applied with `git am`. Continuing without patching.
Testing again after completely removing build/ffmpeg-git to enforce a complete re-download.
That patch is no longer compatible with FFmpeg git master.
I think -l
with absolute path is incorrect syntax? ~This may be a CMake bug, or msys2's.~ Oh the -l
is added by their cmake code, not cmake itself. So yeah, they should be more careful when prepending -l
.
I think
-l
with absolute path is incorrect syntax? ~This may be a CMake bug, or msys2's.~ Oh the-l
is added by their cmake code, not cmake itself. So yeah, they should be more careful when prepending-l
.
It´s a bug in VVenC for pkgconfig as '-l' mustn´t be use for absolute paths. A fix will be out today hopefully.
The vvenc installation bug should be fixed by now. https://github.com/fraunhoferhhi/vvenc/pull/414
PR has been merged, testing...
That patch is no longer compatible with FFmpeg git master.
Without that patch, there is no vvdec support yet. But vvenc can be linked in ffmpeg now.
Compilation takes with me over 3 hours, even I selected to use 18 cores (my cpu has 28 cores so that should be fine). The solution I gave at sunday makes the compilation continue and finish. The patch was not included but at least the compilation dind't break. Afterwards I had vvdec included, vvenc was skiped. I will try again as they say the patch should now be working..
Without that patch, there is no vvdec support yet. But vvenc can be linked in ffmpeg now.
With vvdec, you have to fix their cmake like this: https://github.com/fraunhoferhhi/vvenc/pull/414. And linking vvdec with ffmpeg needs the rebased version of this newer patch.
Without that patch, there is no vvdec support yet. But vvenc can be linked in ffmpeg now.
With vvdec, you have to fix their cmake like this: fraunhoferhhi/vvenc#414. And linking vvdec with ffmpeg needs the rebased version of this newer patch.
The cmake bug is also fixed for VVdeC now and build should work again: https://github.com/fraunhoferhhi/vvdec/pull/192
Only after that patch got rebased or committed. Not yet.
Only after that patch got rebased or committed. Not yet.
In the comments of the patch, the author won't update/rebased the patch, and the patch won't be gotten committed because:
In this project we prefer internal decoders to external libs.
Now that we have an internal vvc decoder, we can focus on improving it.
But looking at the linux section of 'FFmpeg Integration', the rebased patch is pretty easy (the only thing that needs change is ./configure
), and then maybe add it to https://github.com/m-ab-s/mabs-patches ?
~It's not that easy (anymore) because ffmpeg's native vvc decoder introduces some conflicts, but should be fixable with some fairly simple tweaking.~ I must had been using the old patch, new patch is compatible.
Works. I will try to make a PR of it...
Unfortunately I have no practical experience in working in github. I have no clue how to merge the edit of media-autobuild_suite.bat and the edit of build/media-suite_compile.sh into one common branch before creating a pull request. So there are: https://github.com/m-ab-s/media-autobuild_suite/pull/2761 https://github.com/m-ab-s/media-autobuild_suite/pull/2762
Unfortunately I have no practical experience in working in github. I have no clue how to merge the edit of media-autobuild_suite.bat and the edit of build/media-suite_compile.sh into one common branch before creating a pull request. So there are: #2761 #2762
Here my version of it https://github.com/m-ab-s/media-autobuild_suite/pull/2763
I have no clue how to merge the edit of media-autobuild_suite.bat and the edit of build/media-suite_compile.sh into one common branch before creating a pull request.
After you finished the commit for media-autobuild_suite.bat, you can just git push
to add another commit to your branch.
I don't use the CLI, only the github web portal. I edit the files online in my fork after syncing that.
Now I believe I should have tried not to submit the single branches as separate PRs, but the master branch of my fork, or similar.
So there are: #2761 #2762
Your version has been merged so we should close this issue for now.
Commit #2753 is supposed to add support vor libvvenc to ffmpeg in case of the complete preset configuration (INI option
ffmpegChoice=4
).I set up the suite to use the custom configuration file (build/ffmpeg_options.txt) with INI option
ffmpegChoice=1
, so I added--enable-libvvenc
to it manually.logs.zip
local64/lib/pkgconfig/libvvenc.pc