to have video enabled for the comms display .
That is not particulary easy , and worst under windows , that need to fix some problems
in the ffmpeg headers .
So i open this thread , where i will try to comment my progres using the actual ffmpeg implementation , then add support for a new lib , libtheoraplayer , that open a lot of new features .
What i will report will be under the windows OS , i hope some other devs from different OS
will be interested too .
FIRST : the ffmpeg lib for windows
Other OS : http://ffmpeg.org/Zeranoe's FFmpeg Builds Home Page: < http://ffmpeg.zeranoe.com/builds/ >
Once downloaded , the project preprocessor options must be updated like this :
And you must add the path to the ffmpeg includes too .HAVE_AVIO_H
HAVE_AVFORMAT_H
HAVE_AVCODEC_H
HAVE_FFMPEG
When that will be done , there will be errors to fix in the code :
Fixs :
fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory
http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=5&t=130
It is solved in this thread : http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=7&t=461: error C3861: 'av_open_input_file': identifier not found
mmm ... after that , error again :It's deprecated; use avformat_open_input().
As it seem that the VegaStrike code uses an old ffmpeg lib , there will be a lot of changes1>..\..\vegastrike\src\gfx\vid_file.cpp(218) : error C2660: 'avformat_open_input' : function does not take 5 arguments
to make ... I won't describe all the process , but i'll report if i had success or not .
( as i'm not sure that ffmpeg is working at all in vegastrike ...)
stack overflow help to migrate :
http://stackoverflow.com/questions/1744 ... ing-ffmpeg
more later ...