From c9d670e7176c16ad6d67b8b8a9eb6a2e16603916 Mon Sep 17 00:00:00 2001 From: ange Date: Mon, 1 Jul 2024 17:19:51 +0200 Subject: [PATCH] add test python c ffmpeg bindings --- compression/ctest/main.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 compression/ctest/main.py diff --git a/compression/ctest/main.py b/compression/ctest/main.py new file mode 100644 index 0000000..a660274 --- /dev/null +++ b/compression/ctest/main.py @@ -0,0 +1,15 @@ +import ctypes + + +def avcodec_version(): + f = ctypes.CDLL("libavcodec.so") + + print(f.avcodec_version()) + + +def main(): + avcodec_version() + + +if __name__ == "__main__": + main()