[x264-devel] Dual 6-core encoding problem in ABR mode
Steve Li
steve.li at digitalrapids.com
Thu May 24 01:56:11 CEST 2012
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
-----Original Message-----
From: x264-devel-bounces at videolan.org [mailto:x264-devel-bounces at videolan.org] On Behalf Of BugMaster
Sent: Monday, May 21, 2012 12:43 PM
To: Mailing list for x264 developers
Subject: Re: [x264-devel] Dual 6-core encoding problem in ABR mode
On Wed, 16 May 2012 17:56:41 +0000, Steve Li wrote:
> Hi all,
>
> I am having problem encoding with my machine. It has 2 physical
> processors (Westmere 6-core xeon). With hyper-threading enabled, it
> has a total of 24 physical + logical processors. Basically I am
> encoding 1920x1080p24, i_rc_method set to 2 (ARB). If I leave the
> variable i_threads to 0, the encoding fails within the first few
> frames (x264_encoder_encode() returns a negative number).
>
> If I set i_threads to something like 16, the encoding is fine. If I
> change the frame size to SD (i.e. 720x480), its also fine. Changing
> i_rc_method to 1 (rate control) is also fine.
>
> Your help is appreciated. This is my first post. If I am on the wrong forum, please let me know.
>
> Steve
>
Hi. Did you read log x264 printed or if you overwritten pf_log callback than what it send through it? Most likely is that it simply failed to allocate more memory according to your symptoms. Btw, you didn't specify your OS and other things (like RAM and other).
_______________________________________________
x264-devel mailing list
x264-devel at videolan.org
http://mailman.videolan.org/listinfo/x264-devel
More information about the x264-devel
mailing list