add test python c ffmpeg bindings

This commit is contained in:
ange 2024-07-01 17:19:51 +02:00
parent b1d89075d3
commit c9d670e717
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

15
compression/ctest/main.py Normal file
View File

@ -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()