godot-videodecoder icon indicating copy to clipboard operation
godot-videodecoder copied to clipboard

Possibe split each codec to dynamic library

Open JezSonic opened this issue 3 years ago • 4 comments

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

JezSonic avatar May 23 '22 14:05 JezSonic

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.

jamie-pate avatar May 23 '22 16:05 jamie-pate

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 :/

JezSonic avatar May 24 '22 20:05 JezSonic

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

jamie-pate avatar May 25 '22 20:05 jamie-pate

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: @.***>

zombietype avatar May 28 '22 20:05 zombietype