ffmpeg-php on windoze? WTF?

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 ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-02-2008
Henri
 
Posts: n/a
Default ffmpeg-php on windoze? WTF?

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
Reply With Quote
  #2 (permalink)  
Old 02-02-2008
www.j2be.com
 
Posts: n/a
Default Re: ffmpeg-php on windoze? WTF?

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



Reply With Quote
  #3 (permalink)  
Old 02-03-2008
Henri
 
Posts: n/a
Default Re: ffmpeg-php on windoze? WTF?

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



Reply With Quote
  #4 (permalink)  
Old 03-13-2008
ben.c@gmx.net
 
Posts: n/a
Default Re: ffmpeg-php on windoze? WTF?

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:43 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0