Closed GoogleCodeExporter closed 8 years ago
This problem can be fixed by following setup.py modification:
I just added packages=..., ext_package=... and fixed pyffmpeg.pyx path
...
else:
setup(
name = "pyffmpeg",
packages = ['pyffmpeg'],
ext_package='pyffmpeg',
ext_modules=[
Extension("pyffmpeg", ["pyffmpeg/pyffmpeg.pyx"],
include_dirs=["/usr/include/ffmpeg"],
libraries = ["avformat","avcodec"])
],
cmdclass = {'build_ext': build_ext},
version = "0.2.0",
author = "James Evans",
author_email = "jaevans@users.sf.net",
url = "http://www.clark-evans.com/~milamber/pyffmpeg",
)
Original comment by r...@foobar.cz
on 16 Jul 2008 at 6:53
I changed line 586
targetPts = timestamp * AV_TIME_BASE
to
targetPts = <int64_t>timestamp * AV_TIME_BASE
This way the compile worked.
Original comment by spacysp...@gmail.com
on 16 Aug 2008 at 10:53
Original comment by sebastien.campion@gmail.com
on 3 Jul 2009 at 9:48
Original issue reported on code.google.com by
fru...@gmail.com
on 15 May 2008 at 6:56