fraunhoferhhi / vvenc

VVenC, the Fraunhofer Versatile Video Encoder
https://www.hhi.fraunhofer.de/en/departments/vca/technologies-and-solutions/h266-vvc.html
BSD 3-Clause Clear License
899 stars 158 forks source link

FFmpeg Integration #361

Closed F1FAQ closed 3 months ago

F1FAQ commented 4 months ago

I need vvenc and vvdec embedded in ffmpeg. I found on the wiki the FFMPEG integration (under Windows) via media-autobuild_suite, but the compilation failed. Failure message is : "Patch could not be applied with git am. Continuing without patching" The media-autobuild_suite website confirmed that the procedure to patch ffmpeg with vvdec and vvenc should be updated (rebase the ptach) Is this something that can be done ? Thank you

classicdoomenjoyer commented 4 months ago

I am getting that exact same problem.

I just can't get VVC encoders/decoders in FFMPEG.

adamjw24 commented 4 months ago

Which version of FFmpeg are you applying the patches to? As you can see in the Wiki, its best applied to n6.1. When you are using media autobuild suite, I think it always works with the newest versions of all projects. Regretfully, the project doesn't have proper versioning so its up to you to deal with the mess.

Updating the patchset is surely something that can be done. I don't think anyone is working on it tho, since FFmpeg now has its own decoder.

birdie-github commented 4 months ago

The wiki page specified the exact ffmpeg version/git revision these patches still apply. They no longer apply because ffmpeg has started to support VVC decoding natively but the work isn't completed yet. Once it all settles down I expect these patched to be updated.

In the meantime you can pipe from/to ffmpeg to continue to use it with vvenc/vvdec.

adamjw24 commented 4 months ago

In the meantime you can pipe from/to ffmpeg to continue to use it with vvenc/vvdec.

Please do not pipe from vvdec, its not 1990 anymore.

F1FAQ commented 3 months ago

Thank you to all who made a comment. I succesfully compiled ffmpeg with vvdec and vvenc by specifying ffmpeg release 6.1.1 in media-autobuild_suite. adamjw24 had the answer !

classicdoomenjoyer commented 3 months ago

Thank you to all who made a comment. I succesfully compiled ffmpeg with vvdec and vvenc by specifying ffmpeg release 6.1.1 in media-autobuild_suite. adamjw24 had the answer !

I followed all the steps given here in the Build section to how to build FFMPEG with VVC support:

https://github.com/fraunhoferhhi/vvenc/wiki/FFmpeg-Integration

But, still, I failed. vvenc and vvdec is still not included in my build ☹️

classicdoomenjoyer commented 3 months ago

Thank you to all who made a comment. I succesfully compiled ffmpeg with vvdec and vvenc by specifying ffmpeg release 6.1.1 in media-autobuild_suite. adamjw24 had the answer !

Can you please tell me how did you do that ?

Can you send me your own Media_autobuild suite.zip ?

adamjw24 commented 3 months ago

For me the issue is closed

classicdoomenjoyer commented 3 months ago

For me the issue is closed

But sir, its not fixed for me yet. Please don't ignore me.

classicdoomenjoyer commented 3 months ago

Btw, what's the status on upstreaming the patches to get it in the master branch of FFMPEG ?

birdie-github commented 3 months ago

Btw, what's the status on upstreaming the patches to get it in the master branch of FFMPEG ?

This is done by people not related to this project. Maybe you could ask them directly.