Unfortunately I know almost nothing about compiling software on WIndows
and so wouldn't be able to give you instructions on how to do so, I'm
mostly a Linux guy.
I have a Windows laptop that work loaned me and I borrowed a friend's
copy of Visual Studio but I haven't had a chance to dive into it yet.
I'll try to get the ball rolling on a Windows version of ffmpeg-php
this week since it seems to be the most requested freature lately.
As for the ffmpeg-php website. Yes, it needs work. I'm actually
employed as a web programmer myself so I guess it's a case of the
cobbler's children having no shoes :-). Any ideas or suggest you have
for improving the site are welcome, right now, it's mostly a patchwork
of themes and css I've stolen from similar sites.
Thanks for the feedback!
Todd
It's amazing how once you get out of your element you feel like a total
beginner again.
Now I know how it feels trying to compile ffmpeg-php for the first time
:-)
-Todd
-Todd
:)
-----------------------------------------------------------
if you use ext_skel_win32.php create vc dsp/dsw file
neet modify ffmpeg.dsp file
> find "# ADD BASE " or "# ADD CPP " modify to
=>
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /I "..\.." /I "..\..\Zend" /I
"..\..\..\bindlib_w32" /I "..\..\TSRM" /D "WIN32" /D "NDEBUG" /D
"_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "COMPILE_DL_FFMPEG" /D ZTS=1 /YX
/FD /c
# ADD CPP /nologo /MDd /W3 /GX /O2 /I "..\.." /I "..\..\main" /I
"..\..\Zend" /I "..\..\..\bindlib_w32" /I "..\..\TSRM" /D ZEND_DEBUG=1
/D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D
"FFMPEG_EXPORTS" /D "COMPILE_DL_FFMPEG" /D ZTS=1 /D "ZEND_WIN32" /D
"PHP_WIN32" /D HAVE_FFMPEG=1 /D "LIBZEND_EXPORTS" /YX /FD /c
=========================
I've been trying unsuccessfully to build ffmpeg-php for several days.
I'm gonna download your build and try it right now.
-Todd
Thanks
use mingw32
$ ./configure --enable-mingw32 --enable-memalign-hack
--disable-ffserver --dis
able-ffplay --enable-amr_nb --enable-shared
$ make
use vc98
lib /def:avcodec.def /machine:i386 /out:avcodec.lib
lib /def:avformat.def /machine:i386 /out:avformat.lib
copy avcodec.lib and avformat.lib to php4/ext/ffmpeg/*
==============================================
vc98 compile ffmpeg-php
modify ffmpeg/libavcodec/common.h
find line "# include <inttypes.h>" to '# include "inttypes.h" '
copy my 'inttypes.h' and 'stdint.h' from ffmpeg_new.rar
add to ffmpeg.dsp project.
compile ok....:) / php4 ok ,but php5 failed...:(/
I'm newbie for compilation ...
Did you have to hack the ffmpeg-php source at all to build on windows?
If so, send me whatever changes you made so I can roll them back into
cvs.
Would it be ok to post your build to the ffmpeg-php downloads page?
> Would it be ok to post your build to the ffmpeg-php downloads page?
if you test ok .... no problem :)
It's very important for me and I don't know what i do.
I am trying to save an image from a VideoFrame
and toGDImage()... does not work...
Due lack of examples for ffmpeg-php I can't manage to get it working
for me.
Could anyone maybe help me out?
Cheers