Re: Extension Proposal: Video Encoding using FFmpeg
| From: | Jan Ehrhardt | Date: | Tue, 22 Apr 2014 15:09:19 +0000 |
| Subject: | Re: Extension Proposal: Video Encoding using FFmpeg | ||
| References: | 1 2 3 4 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-11742@lists.php.net to get a copy of this message | ||
Pierre Joye in php.pecl.dev (Tue, 22 Apr 2014 16:47:29 +0200):
>On Tue, Apr 22, 2014 at 4:28 PM, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:
>> 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:
>
>Which means it links against the default crt, which is sadly the VC6
>one, available by defatult on all windows install.
True. But I do not see another possibility if you want to include
libx264, except for exec() calls to ffmpeg.exe. If the FFmpeg API is
straightforward that should not be a problem.
The extension links to VC9 / VC11 libs that are created by dumpbin
/exports, which enables the extension to call the publicly available
functions of the libav*.dll's. A call to msvcrt.dll on the backend of
the libav*.dll does not really matter, AFAIK.
Jan