kidrigger / godot-videodecoder

GDNative Video Decoder libraries for Godot Game Engine, using FFmpeg library for codecs. A Google Summer of Code Project, 2018
MIT License
84 stars 22 forks source link

Possibe split each codec to dynamic library #46

Open JezSonic opened 2 years ago

JezSonic commented 2 years ago

Just wondering if each codec like libvpx can be splitted out of avcodec dynamic library to its own, like libvpx.dll on windows.

Can someone tell me how can i reach this goal? I'm just curious if will it make decoding/encoding faster in performance or not

jamie-pate commented 2 years ago

The only thing that makes sense is if you want to make a separate build with a different set of decoders etc for increased compatibility with more video/audio formats.. but it won't affect the performance, just the size of the output libraries. Currently only a small set of decoders is selected in the automated build to avoid licensing issues with patent/license encumbered codecs.

JezSonic commented 2 years ago

The only thing that makes sense is if you want to make a separate build with a different set of decoders etc for increased compatibility with more video/audio formats - That's what i want to do

I just don't know how could i reach my goal.

My goal is to reach something like... for example when I have added lame into that project, i want the lame codec to be exported as separate library, outside of avcodec...

Is that even possible? If so, do You know ways how can i achieve that? I have been searching for this on google etc. byt i didn't find any good results :/

jamie-pate commented 2 years ago

I don't understand why you want it to be separate.. ffmpeg expects to know at build time what codecs it has

kidrigger commented 2 years ago

While unsure how to do that with Libav itself (it's entirely on how you build that third-party library)

You can build your own plugin for the interface based on this one.

On Tue, May 24, 2022, 22:45 JezSonic @.***> wrote:

The only thing that makes sense is if you want to make a separate build with a different set of decoders etc for increased compatibility with more video/audio formats - That's what i want to do

I just don't know how could i reach my goal.

My goal is to reach somethink like... for example when I have added lame into that project, i want the lame codec to be exported as separate library, outside of avcodec...

Is that even possible? If so, do You know ways how can i achieve that? I have been searching for this on google etc. byt i didn't find any good results :/

— Reply to this email directly, view it on GitHub https://github.com/kidrigger/godot-videodecoder/issues/46#issuecomment-1136414174, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDSN5UEQ7HLNJ2WVY2FOBLVLU5XLANCNFSM5WV7UYDA . You are receiving this because you are subscribed to this thread.Message ID: @.***>