You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error {Object of type 'AVFormatContext' has no attribute 'data_offset'} after : python setup.py build
pyffmpeg.pyx:4564:43: Invalid types for '==' (AVMediaType, CodecType)
Error compiling Cython file:
...
ret = av_seek_frame(self.FormatCtx,-1,byte, AVSEEK_FLAG_BACKWARD|AVSEEK
_FLAG_BYTE)#|AVSEEK_FLAG_ANY)
if ret < 0:
raise IOError("Unable to seek: %d" % (ret,))
if (self.io_context!=NULL):
# used to have & here
avio_seek(self.FormatCtx.pb, self.FormatCtx.data_offset, SEEK_SET)
^
pyffmpeg.pyx:4738:55: Object of type 'AVFormatContext' has no attribute 'data_offset'
building 'pyffmpeg' extension
creating build
creating build\temp.win-amd64-3.5
creating build\temp.win-amd64-3.5\Release
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nolo
go /Ox /W3 /GL /DNDEBUG /MD -IC:\Anaconda3\lib\site-packages\numpy\core\include
-IC:\ffmpeg-win64-static\include -IC:\Anaconda3\include -IC:\Anaconda3\include -
I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" -I"C:\Program
Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" -I"C:\Program Files
(x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -I"C:\Program Files (x86)\Windo
ws Kits\NETFXSDK\4.6.1\include\um" -I"C:\Program Files (x86)\Windows Kits\8.1\in
clude\shared" -I"C:\Program Files (x86)\Windows Kits\8.1\include\um" -I"C:\Pro
gram Files (x86)\Windows Kits\8.1\include\winrt" /Tcpyffmpeg.c /Fobuild\temp.wi
n-amd64-3.5\Release\pyffmpeg.obj -static-libgcc
Found executable C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd6
4\cl.exe
cl : Command line warning D9002 : ignoring unknown option '-static-libgcc'
pyffmpeg.c
pyffmpeg.c(1): fatal error C1189: #error: Do not use this file, it is the resul
t of a failed Cython compilation.
error: Command "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64
\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Anaconda3\lib\site-packages\num
py\core\include -IC:\ffmpeg-win64-static\include -IC:\Anaconda3\include -IC:\Ana
conda3\include -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE
" -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" -I"C
:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -I"C:\Program F
iles (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" -I"C:\Program Files (x86)\Win
dows Kits\8.1\include\shared" -I"C:\Program Files (x86)\Windows Kits\8.1\includ
e\um" -I"C:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tcpyffmpeg.c
/Fobuild\temp.win-amd64-3.5\Release\pyffmpeg.obj -static-libgcc" failed with exi
t status 2
The text was updated successfully, but these errors were encountered:
I get this error {Object of type 'AVFormatContext' has no attribute 'data_offset'} after : python setup.py build
pyffmpeg.pyx:4564:43: Invalid types for '==' (AVMediaType, CodecType)
Error compiling Cython file:
...
ret = av_seek_frame(self.FormatCtx,-1,byte, AVSEEK_FLAG_BACKWARD|AVSEEK
_FLAG_BYTE)#|AVSEEK_FLAG_ANY)
if ret < 0:
raise IOError("Unable to seek: %d" % (ret,))
if (self.io_context!=NULL):
# used to have & here
avio_seek(self.FormatCtx.pb, self.FormatCtx.data_offset, SEEK_SET)
^
pyffmpeg.pyx:4738:55: Object of type 'AVFormatContext' has no attribute 'data_offset'
building 'pyffmpeg' extension
creating build
creating build\temp.win-amd64-3.5
creating build\temp.win-amd64-3.5\Release
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nolo
go /Ox /W3 /GL /DNDEBUG /MD -IC:\Anaconda3\lib\site-packages\numpy\core\include
-IC:\ffmpeg-win64-static\include -IC:\Anaconda3\include -IC:\Anaconda3\include -
I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" -I"C:\Program
Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" -I"C:\Program Files
(x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -I"C:\Program Files (x86)\Windo
ws Kits\NETFXSDK\4.6.1\include\um" -I"C:\Program Files (x86)\Windows Kits\8.1\in
clude\shared" -I"C:\Program Files (x86)\Windows Kits\8.1\include\um" -I"C:\Pro
gram Files (x86)\Windows Kits\8.1\include\winrt" /Tcpyffmpeg.c /Fobuild\temp.wi
n-amd64-3.5\Release\pyffmpeg.obj -static-libgcc
Found executable C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd6
4\cl.exe
cl : Command line warning D9002 : ignoring unknown option '-static-libgcc'
pyffmpeg.c
pyffmpeg.c(1): fatal error C1189: #error: Do not use this file, it is the resul
t of a failed Cython compilation.
error: Command "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64
\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Anaconda3\lib\site-packages\num
py\core\include -IC:\ffmpeg-win64-static\include -IC:\Anaconda3\include -IC:\Ana
conda3\include -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE
" -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" -I"C
:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -I"C:\Program F
iles (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" -I"C:\Program Files (x86)\Win
dows Kits\8.1\include\shared" -I"C:\Program Files (x86)\Windows Kits\8.1\includ
e\um" -I"C:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tcpyffmpeg.c
/Fobuild\temp.win-amd64-3.5\Release\pyffmpeg.obj -static-libgcc" failed with exi
t status 2
The text was updated successfully, but these errors were encountered: