FFmpeg & PHP
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Macromedia Flash Server > FFmpeg & PHP




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    FFmpeg & PHP  
JesterXL


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-19-06 06:11 AM

I'm attempting to setup FFmpeg with PHP.  Hitting the email threads this
page links to ( http://ffmpeg-php.sourceforge.net/ ), you can apparently set
it up on windows.  Stefan's build, however, is an exe, and it seems they are
talking about using dll's.  There was one link still working on the email
archives, but I'm not confident in where I can setup the files.  I've
managed to get Apache 1.33 working with PHP5, so I guess at this point, I'm
curious, if A ) can I use the exe Stefan sent me somehow, or B ) where do I
put these files to get her to work?

avcodec.dll
avformat.dll
php_ffmpeg_20050123.dll
php_ffmpeg_20050212.dll
php_ffmpeg_20050618.dll

Thanks if you can help.

--JesterXL

 ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com






[ Post a follow-up to this message ]



    RE: FFmpeg & PHP  
Ritesh Jariwala


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-19-06 06:11 AM

Hi Jesse,

I think you suppose to put this dll into the php extension library which is
php\extensions and you have to write down followings in php.ini under
windows extensions:

;Windows Extensions
extension=php_ffmpeg_20050123.dll

You can do latest dll file of ffmpeg. Regarding avcodec and avformat, I am
not so sure about but you can try those similar way.

After adding this just save the file and restart your apache. Try to do
phpinfo() or testing script to check out whether module loaded or not.


With Regards,

Ritesh Jariwala (Actkid)
Freelance Developer
www.actkid.com
Company: www.synonymic.com


-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of JesterXL
Sent: Wednesday, July 19, 2006 7:35 AM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] FFmpeg & PHP

I'm attempting to setup FFmpeg with PHP.  Hitting the email threads this
page links to ( http://ffmpeg-php.sourceforge.net/ ), you can apparently set
it up on windows.  Stefan's build, however, is an exe, and it seems they are
talking about using dll's.  There was one link still working on the email
archives, but I'm not confident in where I can setup the files.  I've
managed to get Apache 1.33 working with PHP5, so I guess at this point, I'm
curious, if A ) can I use the exe Stefan sent me somehow, or B ) where do I
put these files to get her to work?

avcodec.dll
avformat.dll
php_ffmpeg_20050123.dll
php_ffmpeg_20050212.dll
php_ffmpeg_20050618.dll

Thanks if you can help.

--JesterXL

 ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

 ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com






[ Post a follow-up to this message ]



    RE: FFmpeg & PHP  
Stefan Richter


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-19-06 12:14 PM

I'm actually using that same exe with Coldfusion. There I can do a
cf_execute and that works fine. Is there something similar to cf_execute in
PHP?

Stefan



> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gman
e.org] On Behalf Of
> Ritesh Jariwala
> Sent: 19 July 2006 05:52
> To: 'FlashComm Mailing List'
> Subject: RE: [FlashComm] FFmpeg & PHP
>
> Hi Jesse,
>
> I think you suppose to put this dll into the php extension
> library which is php\extensions and you have to write down
> followings in php.ini under windows extensions:
>
> ;Windows Extensions
> extension=php_ffmpeg_20050123.dll
>
> You can do latest dll file of ffmpeg. Regarding avcodec and
> avformat, I am not so sure about but you can try those similar way.
>
> After adding this just save the file and restart your apache.
> Try to do
> phpinfo() or testing script to check out whether module loaded or not.
>
>
> With Regards,
>
> Ritesh Jariwala (Actkid)
> Freelance Developer
> www.actkid.com
> Company: www.synonymic.com
>
>
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gman
e.org] On Behalf Of JesterXL
> Sent: Wednesday, July 19, 2006 7:35 AM
> To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> Subject: [FlashComm] FFmpeg & PHP
>
> I'm attempting to setup FFmpeg with PHP.  Hitting the email
> threads this page links to (
> http://ffmpeg-php.sourceforge.net/ ), you can apparently set
> it up on windows.  Stefan's build, however, is an exe, and it
> seems they are talking about using dll's.  There was one link
> still working on the email archives, but I'm not confident in
> where I can setup the files.  I've managed to get Apache 1.33
> working with PHP5, so I guess at this point, I'm curious, if
> A ) can I use the exe Stefan sent me somehow, or B ) where do
> I put these files to get her to work?
>
> avcodec.dll
> avformat.dll
> php_ffmpeg_20050123.dll
> php_ffmpeg_20050212.dll
> php_ffmpeg_20050618.dll
>
> Thanks if you can help.
>
> --JesterXL
>
>  ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>
>  ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>


 ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com






[ Post a follow-up to this message ]



    RE: FFmpeg & PHP  
Ritesh Jariwala


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-19-06 12:14 PM

You can use following php function to execute any exe or executable file on
linux. You can try this function on windows too:

Example: mysystem("copy ".""\"c:/abc.txt."\" "."\"c:/abc2.txt."\" ", true);

function mysystem($command, $hide=true) {
if (!($p=popen("($command)2>&1","r"))) return 126;
while (!feof($p)) {
$l=fgets($p,1000);
if (!$hide) print $l;
}
return pclose($p);
}

With Regards,

Ritesh Jariwala (Actkid)
Freelance Developer
www.actkid.com
Company: www.synonymic.com



-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Stefan Richter
Sent: Wednesday, July 19, 2006 1:17 PM
To: 'FlashComm Mailing List'
Subject: RE: [FlashComm] FFmpeg & PHP

I'm actually using that same exe with Coldfusion. There I can do a
cf_execute and that works fine. Is there something similar to cf_execute in
PHP?

Stefan



> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gman
e.org] On Behalf Of Ritesh
> Jariwala
> Sent: 19 July 2006 05:52
> To: 'FlashComm Mailing List'
> Subject: RE: [FlashComm] FFmpeg & PHP
>
> Hi Jesse,
>
> I think you suppose to put this dll into the php extension library
> which is php\extensions and you have to write down followings in
> php.ini under windows extensions:
>
> ;Windows Extensions
> extension=php_ffmpeg_20050123.dll
>
> You can do latest dll file of ffmpeg. Regarding avcodec and avformat,
> I am not so sure about but you can try those similar way.
>
> After adding this just save the file and restart your apache.
> Try to do
> phpinfo() or testing script to check out whether module loaded or not.
>
>
> With Regards,
>
> Ritesh Jariwala (Actkid)
> Freelance Developer
> www.actkid.com
> Company: www.synonymic.com
>
>
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gman
e.org] On Behalf Of JesterXL
> Sent: Wednesday, July 19, 2006 7:35 AM
> To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> Subject: [FlashComm] FFmpeg & PHP
>
> I'm attempting to setup FFmpeg with PHP.  Hitting the email threads
> this page links to ( http://ffmpeg-php.sourceforge.net/ ), you can
> apparently set it up on windows.  Stefan's build, however, is an exe,
> and it seems they are talking about using dll's.  There was one link
> still working on the email archives, but I'm not confident in where I
> can setup the files.  I've managed to get Apache 1.33 working with
> PHP5, so I guess at this point, I'm curious, if A ) can I use the exe
> Stefan sent me somehow, or B ) where do I put these files to get her
> to work?
>
> avcodec.dll
> avformat.dll
> php_ffmpeg_20050123.dll
> php_ffmpeg_20050212.dll
> php_ffmpeg_20050618.dll
>
> Thanks if you can help.
>
> --JesterXL
>
>  ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>
>  ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>


 ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

 ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:52 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register