[x264-devel] Dual 6-core encoding problem in ABR mode

BugMaster BugMaster at narod.ru
Fri May 25 18:39:09 CEST 2012


On Wed, 23 May 2012 23:56:11 +0000, Steve Li wrote:
> I started digging into the source code. I think you are right, it
> has to do with memory allocation. x264_frame_new() returns NULL
> after encoding for a second or so.

> x264_encoder_encoder()
>   x264_frame_pop_unused(), encoder.c, line 2750
>     x264_frame_new(), frame.c, line 701

> Steve

> -----Original Message-----
> From: Steve Li 
> Sent: Wednesday, May 23, 2012 2:55 PM
> To: Mailing list for x264 developers
> Cc: Jackie Chen
> Subject: RE: [x264-devel] Dual 6-core encoding problem in ABR mode

> The log does not have much information:
> [info]using SAR=1/1,
> [info]using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle
> SSE4.2, [info]profile Main, level 4.0, [info]final ratefactor: 1.#J

> The machine is running Windows Server 2008 R2 Standard 64-bit, 6GB
> of RAM, and the processor is Intel Xeon X5670 2.93GHz (2
> processors). Please let me know if I am missing any information.

> If it's a memory allocation problem, where should I look to investigate this?

> Thanks
> Steve

Hm. I was wrong. For malloc fails even if you used pf_log callback it
would be printed to stderr not to this callback. So look output of
stderr.



More information about the x264-devel mailing list