[x264-devel] x264 encoding hangs randomly

Dmitry Q linuxsquirrel.dev at gmail.com
Fri Aug 7 10:58:38 CEST 2015


Hi.

It looks like --enable-win32thread solved the issue. Can you please add
this into the documentation? I believe it will be really helpful for MinGW
users.

2015-08-06 21:33 GMT+03:00 BugMaster <BugMaster at narod.ru>:

> On Thu, 6 Aug 2015 14:32:42 +0300, Dmitry Q wrote:
> > Hi. I've compiled x264 from master on Windows 7 with mingw 4.8.2
> > POSIX threading, DWARF exceptions (from here:
> > https://sourceforge.net/projects/mingw-w64/files/Toolchainstargetting
> > Win32/Personal Builds/mingw-builds/4.8.2). I've wrote a small
> > application to grab the screen contents and encode it with x264. The
> > screen itself displays a live metal concert, so the bitrate is
> > rather high. I see that x264_encoder_encode() hangs randomly. Pseudo
> code:
>
> Hi. Try to compile with --enable-win32thread for native Windows
> threads instead of POSIX. Or try another toolchain (from
> http://files.1f0.de/mingw/ or http://komisar.gin.by/mingw/index.html)
> which have pthreads-w32 for POSIX threads instead of winpthreads
> included in mingw-w64 builds. There was problems winpthreads before
> and I am dunno if they fixed them (and 4.8.2 is pretty old).
>
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> https://mailman.videolan.org/listinfo/x264-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20150807/be9ec286/attachment.html>


More information about the x264-devel mailing list