intonormal / pyffmpeg

Automatically exported from code.google.com/p/pyffmpeg
1 stars 0 forks source link

pyffmpeg.c missng #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run python setup.py build on linux

What is the expected output? What do you see instead?
Expected: Compilation of the Extension pyffmpeg
Insetead: i686-pc-linux-gnu-gcc: pyffmpeg.c: No such file or directory

What version of the product are you using? On what operating system?
Source Version from SVN Revision 5

Please provide any additional information below.
It seems like pyffmpeg.c is missing in the source directory. Could it be?

Original issue reported on code.google.com by Penta...@googlemail.com on 28 Aug 2007 at 9:31

GoogleCodeExporter commented 8 years ago
I'm having the same issue with this.  Seems as if the .c is missing from the 
SVN trunk.

Original comment by gabemon...@gmail.com on 20 Sep 2007 at 1:39

GoogleCodeExporter commented 8 years ago
pyffmeg.c is generated with pyrex. Make you sure you have pyrex installed.

Original comment by ego...@gmail.com on 23 Sep 2007 at 8:15

GoogleCodeExporter commented 8 years ago
Hi,
Same problem on ubuntu gutsy (python 2.5.1 - pyrex 0.9.5.1a - ffmpeg 20060612).

pyrexc output :
pyffmpeg.pyx:586:24: Cannot assign type 'float' to 'PY_LONG_LONG'

Please, could you help ? Pyffmpeg is THE wrapper i'm missing !

Original comment by jd.bourl...@gmail.com on 18 Nov 2007 at 1:23

GoogleCodeExporter commented 8 years ago
Hi,

To fix this problem, edit pyffmpeg/pyffmpeg.pyx and change the following line

def GetFrameTime(self,float timestamp):

to

def GetFrameTime(self,int64_t timestamp):

then run pyrexc and move pyffmpeg.c
# pyrexc pyffmpeg/pyffmpeg.pyx && mv -vf pyffmpeg/pyffmpeg.c .

now you can install the module
# python setup.py install

Best,

-- Nicolas

Original comment by nicolas....@gmail.com on 12 Dec 2007 at 3:57

GoogleCodeExporter commented 8 years ago
Works fine now !
Thank you very much !!!
Best,

jd

Original comment by jd.bourl...@gmail.com on 19 Dec 2007 at 6:46