diff --git a/h264_converter.py b/h264_converter.py index 48c060d..5068340 100644 --- a/h264_converter.py +++ b/h264_converter.py @@ -4,6 +4,7 @@ if 8 * struct.calcsize("P") != 32: sys.exit(32) import os +os.chdir(os.path.dirname(os.path.abspath(__file__))) dll = os.path.abspath('H264Play.dll') print(f"H264Play.dll path: {dll}")