This is a discussion on ffmpeg-php on windoze? WTF? within the alt.comp.lang.php forums, part of the PHP Programming Forums category; ok, I'm getting upset over this one. I need the ffmpeg-php extension on a wamp configuration. Compiling ffmpeg ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
ok, I'm getting upset over this one.
I need the ffmpeg-php extension on a wamp configuration. Compiling ffmpeg and shared dll's was ok under ming-msys and I can invoke it from the dos cli, but there apparently is no freaking way to get it to produce any php extension, no compile directive, anything! I googled it over and over and got nothing, followed tons of links leading to useless and/or misleading pages and articles and how-to's, downloaded sources from sourceforge only to discover that those would only do on linux (which is ok, I have a linux boot as well, but still I want to be able to make it work also on windows), the works... what, is that just not possible? If ffmpeg-php support is just not gonna happen with windows, there should be a link at the top of any search results saying "ffmpeg-php on windows? Just forget it!" This looks like a rant, well it is, but it's also a desperate call for HELP! Thanks |
|
|||
|
As a temporary solution you can create a simple php extension that relies
on the ffmpeg executable or just call the executable with an exec function (popen, system, exec or anything else). Anyway there's no need to be so desperated or angry. Have a nice day. L. A. Iarrusso |
|
|||
|
On Sat, 02 Feb 2008 15:19:43 +0100, www.j2be.com wrote:
> As a temporary solution you can create a simple php extension that > relies on the ffmpeg executable > or just call the executable with an exec function (popen, system, exec > or anything else). > Anyway there's no need to be so desperated or angry. > Well I know, I was just venting my frustration. Kinda feels good to just say, like, yeah, this crap doesn't work, what the fuck's going on, yada yada yada... Even if it's not really justified. But I reassure you I'm not getting desperate or angry over this. As for the direct call, via exec, to the ffmpeg exe, I know it's a solution but I'd prefer using the php extension. Anyways, I'm now using linux for this part. I'd like your opinion on this: See, I'm putting up a website for a client and there'll be video streaming and my client will upload his wmv's and such via an admin interface. FFmpeg is just a way of making the process as fluid as possible, convert the file to an flv file, grab a screen capture and gather a few info such as duration etc However, when I asked the web host if they could install it, they said no because the load on the server would be too much. It's not like we're doing some youtube thing and they have a 3.0Ghz Xeon box running red hat. What do you think about that? It's like, either we handle the conversion and screen capture locally before uploading or we change to a web host that comes with ffmpeg installed in it's php extensions... > Have a nice day. You too |
|
|||
|
On 2 Feb., 14:39, Henri <he...@dontevenbother.fr> wrote:
> ok, I'm getting upset over this one. > I need the ffmpeg-php extension on a wamp configuration. > Compiling ffmpeg and shared dll's was ok under ming-msys and I can invoke > it from the dos cli, but there apparently is no freaking way to get it to > produce any php extension, no compile directive, anything! > I googled it over and over and got nothing, followed tons of links > leading to useless and/or misleading pages and articles and how-to's, > downloaded sources from sourceforge only to discover that those would > only do on linux (which is ok, I have a linux boot as well, but still I > want to be able to make it work also on windows), the works... what, is > that just not possible? If ffmpeg-php support is just not gonna happen > with windows, there should be a link at the top of any search results > saying "ffmpeg-php on windows? Just forget it!" > > This looks like a rant, well it is, but it's also a desperate call for > HELP! > > Thanks Hi! i think it's possible to compile ffmpeg-php on windows. I'm on the last steps - so i assume that it must be possible. I have a VC++ 2008 Project here with a precompiled libavcodec.lib, livavformat.lib with php5ts.lib + php5ts.exp - and now i stuck at linking. The following error happens while linking. ffmpeg_movie.obj : error LNK2019 unresolved external symbol "_executor_globals_id" in function "_zif_ffmpeg_movie" Maybe this helps you - i can send you the project files and some informations - and maybe someone can help me getting rid of this error. Thanks for your help JdM |
![]() |
| Thread Tools | |
| Display Modes | |
|
|