To work with "ffmpeg" I need pyffmpeg. When assembling the package we get the following error. Help! Reproducible: Always Steps to Reproduce: 1. wget http://pyffmpeg.googlecode.com/files/pyffmpeg-2.0.tar.gz 2. tar xvzf pyff* 3. cd ./pyffmp* && python setyp.py install Actual Results: pyffmpeg-2.0 # python setup.py build running build running build_ext cythoning pyffmpeg.pyx to pyffmpeg.c Error compiling Cython file: ------------------------------------------------------------ ... cdef AVFormatContext *FormatCtx # self.prepacket=<AVPacket *>None # self.packet=&self.packetbufa def __new__(self): ^ ------------------------------------------------------------ pyffmpeg.pyx:807:4: __new__ method of extension type will change semantics in a future version of Pyrex and Cython. Use __cinit__ instead. Error compiling Cython file: ------------------------------------------------------------ ... cdef object default_audio_track cdef object default_video_track cdef int with_readahead cdef unsigned long long int seek_before_security_interval def __new__(self,with_readahead=True,seek_before=4000): ^ ------------------------------------------------------------ pyffmpeg.pyx:1838:4: __new__ method of extension type will change semantics in a future version of Pyrex and Cython. Use __cinit__ instead. building 'pyffmpeg' extension C compiler: x86_64-pc-linux-gnu-gcc -pthread -fPIC creating build creating build/temp.linux-x86_64-2.7 compile options: '-I/opt/ffmpeg/include -I/usr/include/ffmpeg -I./include -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c' x86_64-pc-linux-gnu-gcc: pyffmpeg.c pyffmpeg.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation. pyffmpeg.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation. error: Command "x86_64-pc-linux-gnu-gcc -pthread -fPIC -I/opt/ffmpeg/include -I/usr/include/ffmpeg -I./include -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pyffmpeg.c -o build/temp.linux-x86_64-2.7/pyffmpeg.o" failed with exit status 1 pyffmpeg-2.0 # python setup.py build running build running build_ext cythoning pyffmpeg.pyx to pyffmpeg.c Error compiling Cython file: ------------------------------------------------------------ ... cdef AVFormatContext *FormatCtx # self.prepacket=<AVPacket *>None # self.packet=&self.packetbufa def __new__(self): ^ ------------------------------------------------------------ pyffmpeg.pyx:807:4: __new__ method of extension type will change semantics in a future version of Pyrex and Cython. Use __cinit__ instead. Error compiling Cython file: ------------------------------------------------------------ ... cdef object default_audio_track cdef object default_video_track cdef int with_readahead cdef unsigned long long int seek_before_security_interval def __new__(self,with_readahead=True,seek_before=4000): ^ ------------------------------------------------------------ pyffmpeg.pyx:1838:4: __new__ method of extension type will change semantics in a future version of Pyrex and Cython. Use __cinit__ instead. building 'pyffmpeg' extension C compiler: x86_64-pc-linux-gnu-gcc -pthread -fPIC creating build creating build/temp.linux-x86_64-2.7 compile options: '-I/opt/ffmpeg/include -I/usr/include/ffmpeg -I./include -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c' x86_64-pc-linux-gnu-gcc: pyffmpeg.c pyffmpeg.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation. pyffmpeg.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation. error: Command "x86_64-pc-linux-gnu-gcc -pthread -fPIC -I/opt/ffmpeg/include -I/usr/include/ffmpeg -I./include -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pyffmpeg.c -o build/temp.linux-x86_64-2.7/pyffmpeg.o" failed with exit status 1
Sorry. Im fix it! Close commit.