-
Notifications
You must be signed in to change notification settings - Fork 5
Getting the following error #5
Copy link
Copy link
Open
Description
running install
running build
running build_ext
cythoning pyffmpeg.pyx to pyffmpeg.c
warning: pyffmpeg.pyx:1911:49: Unreachable code
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:1841:4: __new__ method of extension type will change semantics in a future version of Pyrex and Cython. Use __cinit__ instead.
Error compiling Cython file:
------------------------------------------------------------
...
##################################################################
def py_av_register_all():
if __registered:
^
------------------------------------------------------------
pyffmpeg.pyx:705:19: local variable '__registered' referenced before assignment
building 'pyffmpeg' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -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/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c'
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 "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/opt/ffmpeg/include -I/usr/include/ffmpeg -I./include -I/usr/lib/python2.7/dist-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 1Can you please help me in installing this ?
Regards,
Vijay Mahantesh SM
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels