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

Michael Heuberger michael.heuberger at binarykitchen.com
Tue Mar 19 02:56:56 CET 2013


Good points Steven.

My goal is to have a JavaScript video encoder, no matter what format. If 
you think porting x264 is too painstaking with no much advantages left, 
then maybe I'll check with libvpx ...

But if you guys have other ideas or recommendations, please let me know.

Cheers
Michael

On 19/03/13 04:21, Steven Walters wrote:
> 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
>>
> _______________________________________________
> 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



More information about the x264-devel mailing list