[x264-devel] x264 encoding hangs randomly

BugMaster BugMaster at narod.ru
Thu Aug 6 20:33:52 CEST 2015


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).



More information about the x264-devel mailing list