add test python c ffmpeg bindings
This commit is contained in:
parent
b1d89075d3
commit
c9d670e717
15
compression/ctest/main.py
Normal file
15
compression/ctest/main.py
Normal 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()
|
Reference in New Issue
Block a user