[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17254] trunk/blender: VideoTexture module .

kidb at kidb.de kidb at kidb.de
Sat Nov 1 10:04:25 CET 2008


Hi,

after adding avdevice.h manually following errors occur:

Compiling ==> 'VideoFFmpeg.cpp'
In file included from extern/ffmpeg/include/ffmpeg/avformat.h:32,
                 from source/gameengine/VideoTexture/VideoFFmpeg.h:27,
                 from source/gameengine/VideoTexture/VideoFFmpeg.cpp:29:
extern/ffmpeg/include/ffmpeg/avcodec.h:2245: warning:
‘ImgReSampleContext’ is deprecated (declared at
extern/ffmpeg/include/ffmpeg/avcodec.h:2239)
extern/ffmpeg/include/ffmpeg/avcodec.h:2255: warning:
‘ImgReSampleContext’ is deprecated (declared at
extern/ffmpeg/include/ffmpeg/avcodec.h:2239)
source/gameengine/VideoTexture/VideoFFmpeg.cpp: In member function ‘int
VideoFFmpeg::openStream(const char*, AVInputFormat*,
AVFormatParameters*)’:
source/gameengine/VideoTexture/VideoFFmpeg.cpp:138: warning: comparison
between signed and unsigned integer expressions
source/gameengine/VideoTexture/VideoFFmpeg.cpp: In member function
‘virtual void VideoFFmpeg::openFile(char*)’:
source/gameengine/VideoTexture/VideoFFmpeg.cpp:251: error: base operand
of ‘->’ has non-pointer type ‘ByteIOContext’
source/gameengine/VideoTexture/VideoFFmpeg.cpp: In member function
‘virtual void VideoFFmpeg::openCam(char*, short int)’:
source/gameengine/VideoTexture/VideoFFmpeg.cpp:316: error: invalid
conversion from ‘const char*’ to ‘int’
source/gameengine/VideoTexture/VideoFFmpeg.cpp:316: error:   initializing
argument 2 of ‘char* strchr(const char*, int)’
source/gameengine/VideoTexture/VideoFFmpeg.cpp: In member function ‘bool
VideoFFmpeg::grabFrame(long int)’:
source/gameengine/VideoTexture/VideoFFmpeg.cpp:502: error: ‘INT64_C’ was
not declared in this scope
source/gameengine/VideoTexture/VideoFFmpeg.cpp:511: error: ‘INT64_C’ was
not declared in this scope


kidb at cr9:~$ uname -a
Linux cr9 2.6.27.2 #2 SMP PREEMPT Thu Oct 23 21:01:27 CEST 2008 x86_64
GNU/Linux
kidb at cr9:~$ gcc --version
gcc (Debian 4.3.2-1) 4.3.2

With kind regards
Konrad Naumann


Am 31.10.2008 schrieb "Alphonso Bedoya" <alphonso.bedoya at gmail.com>:

>Looks like ffmpeg/include is missing avdevice.h as of revision 17254?
>
>Tried compilation of revision 17254 under scons on OS X 10.4, failed:
>
>source/blender/imbuf/intern/util.c:67:29: error: ffmpeg/avdevice.h: No
>such file or directory
>
>Looks like util.c gained this include:
>
>+#include <ffmpeg/avdevice.h>
>
>in rev. 17252.
>
>Thanks.
>
>On Fri, Oct 31, 2008 at 3:35 PM, Benoit Bolsee <benoit.bolsee at online.be> wrote:
>> Revision: 17254
>>          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17254
>> Author:   ben2610
>> Date:     2008-10-31 23:35:52 +0100 (Fri, 31 Oct 2008)
>>
>> Log Message:
>> -----------
>> VideoTexture module.
>>
>> The only compilation system that works for sure is the MSVC project files. I've tried my best to
>> update the other compilation system but I count on the community to check and fix them.
>>
>> This is Zdeno Miklas video texture plugin ported to trunk.
>> The original plugin API is maintained (can be found here http://home.scarlet.be/~tsi46445/blender/blendVideoTex.html)
>> EXCEPT for the following:
>>
>[SNIP]
>_______________________________________________
>Bf-committers mailing list
>Bf-committers at blender.org
>http://lists.blender.org/mailman/listinfo/bf-committers


More information about the Bf-committers mailing list