|
Home > Archive > Macromedia Flash Server > July 2006 > FFmpeg & PHP
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| JesterXL 2006-07-19, 1: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
| |
| Ritesh Jariwala 2006-07-19, 1: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
| |
| Stefan Richter 2006-07-19, 7:14 am |
| 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.gmane.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.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
>
________________________________________
_______
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
| |
| Ritesh Jariwala 2006-07-19, 7:14 am |
| 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.gmane.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.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
>
________________________________________
_______
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
|
|
|
|
|