[x264-devel] Unable to compile x264 with emmake (emscripten)

Steven Walters kemuri9 at gmail.com
Mon Mar 18 16:21:52 CET 2013


On Mon, Mar 18, 2013 at 9:57 AM, Michael Heuberger
<michael.heuberger at binarykitchen.com> wrote:
> James, emscripten is a cool tool to port C++ stuff to JavaScript, see:
> https://github.com/kripken/emscripten
>
> I managed to port other libraries but not x264, see my previous message.
> emscripten is stuck because it doesn't know what to do with the 'cpu_set_t'
> part. If you want to reproduce this, try to port x264 to JavaScript
> yourself.
>

Most of the speed benefits of x264 come from
1) Handwritten ASM code
2) Threading

Both of these are going to cause issues to any attempt to port it to
JS without disabling both of the features.
As such, any JS port made out of x264 will be seriously speed crippled
to where there's not particularly any benefit...

Regards,
Steven

> Cheers
> Michael
>
>
> On 19/03/13 02:51, James Darnley wrote:
>
> On 2013-03-18 09:29, Michael Heuberger wrote:
>
> Hello guys
>
> I just did a fresh git pull of x264 and ran the command 'emmake make'.
> But these errors below appear, all about undeclared identifiers. Any
> hints, advice what I can do?
>
> Did you run configure first?  Also what is 'emmake'?  x264 probably
> requires GNU make.
>
>
>
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel
>
>
> --
>
> Binary Kitchen
> Michael Heuberger
> 4c Dunbar Road
> Mt Eden
> Auckland 1024
> (New Zealand)
>
> Mobile (text only) ...  +64 21 261 89 81
> Email ................  michael at binarykitchen.com
> Website ..............  http://www.binarykitchen.com
>
>
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel
>


More information about the x264-devel mailing list