Cannot Import GST in Python

后端 未结 4 1321
夕颜
夕颜 2020-12-10 09:58

I\'m in a quandary. I\'m following the following tutorial (specifically, 6.4.2)

http://majorsilence.com/pygtk_audio_and_video_playback_gstreamer

I\'m running

4条回答
  •  庸人自扰
    2020-12-10 10:39

    Sometime there are other version of same dll in your system with cause the problem. To find out which dll causing the problem, you write a simple python script, loading the dll or pyd file. When execute with python.exe, it will show you a dialog box with much better error message then the "ImportError: DLL load failed: The specified module could not be found."

    Here is the python script.

    import ctypes
    ctypes.CDLL("C:\gstreamer-sdk\0.10\x86\lib\python2.7\site-packages\gst-0.10\gst\_gst.pyd")
    

提交回复
热议问题