0

I wish to use the codecs that come with realplayer but without needing realplayer. The codecs I want to use are all in .so format, but I don't know how to separate the codecs from the rest of realplayer and use the .so files directly.

Is there a way to do this so that I can just plug the codecs into a new mediaplayer, without having to decompile and recompile the binaries?

2

an so file is self contained, to use it, you simply need to load it and use functions it implements. However, in order to use those functions a header file describing the functions and their input parameters is required.

Getting the available functions from within an so file is easy, you just need to parse the GOT. Understanding the input (and output) parameters is a bit more difficult, you'll need to disassemble the functions you're interested in and understand the parameters from the code.

That is of course, if you don't have access to that library's SDK, which usually contain header files for all shared objects.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.