Installing on OSX mountain lion failures during Cython compile

55 views
Skip to first unread message

jhra...@gmail.com

unread,
Jul 17, 2013, 3:21:30 AM7/17/13
to pyff...@googlegroups.com
I am finding that the beta version fails to compile.  Here is the relevant section :

Error compiling Cython file:
------------------------------------------------------------
...

    cdef AVFormatContext *FormatCtx
 #   self.prepacket=<AVPacket *>None
#   self.packet=&self.packetbufa

    def __new__(self):
   ^
------------------------------------------------------------

pyffmpeg.pyx:808: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:1835: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:706:19: local variable '__registered' referenced before assignment





Is this a known issue or should I try hacking to code to make this work.

thanks
Jim

Reply all
Reply to author
Forward
0 new messages