Re: Extension Proposal: Video Encoding using FFmpeg
| From: | Pierre Joye | Date: | Tue, 22 Apr 2014 14:47:29 +0000 |
| Subject: | Re: Extension Proposal: Video Encoding using FFmpeg | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-11741@lists.php.net to get a copy of this message | ||
On Tue, Apr 22, 2014 at 4:28 PM, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:
> "Anatol Belski" in php.pecl.dev (Tue, 22 Apr 2014 10:44:52 +0200):
>>I would strongely discourage you from linking with the libraries built
>>with MinGW.
>
> There is hardly any way to avoid that. The extension will only be
> useable, if it produces at least MP4 (x264) output. This means ffmpeg
> has to be compiled with x264 support. And you cannot compile libx264
> with native MSVC:
>
> https://mailman.videolan.org/pipermail/x264-devel/2011-May/008518.html
>
> The same accounts for many more libraries that are compiled into FFmpeg.
> When you are on a Windows platform, there only is one rock-solid FFmpeg
> implementation: Zeranoe's builds.
>
> Zeranoe's builds are cross-compiled on Linux, using MingGW-w64.
> However, the DLL's are not dependent on any external cygwin-dll or
> libgcc-dll, so they are pretty much self-contained.
Which means it links against the default crt, which is sadly the VC6
one, available by defatult on all windows install.
Cheers,
--
Pierre
@pierrejoye | http://www.libgd.org