[x264-devel] x264-devel Digest, Vol 58, Issue 5 How to speed ffmpeg-x264 encoder for better performance.
Sureshkumar M
sureshmenon87 at gmail.com
Thu Mar 8 12:18:26 CET 2012
On Wednesday, March 7, 2012, <x264-devel-request at videolan.org> wrote:
> Send x264-devel mailing list submissions to
> x264-devel at videolan.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.videolan.org/listinfo/x264-devel
> or, via email, send a message with subject or body 'help' to
> x264-devel-request at videolan.org
>
> You can reach the person managing the list at
> x264-devel-owner at videolan.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of x264-devel digest..."
>
>
> Today's Topics:
>
> 1. Re: How to speed ffmpeg-x264 encoder for better performance.
> (Jason Garrett-Glaser)
> 2. Re: [PATCH 1/2] macosx: version the libraries (Gil Pedersen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 6 Mar 2012 22:27:51 -0800
> From: Jason Garrett-Glaser <jason at x264.com>
> To: Mailing list for x264 developers <x264-devel at videolan.org>
> Subject: Re: [x264-devel] How to speed ffmpeg-x264 encoder for better
> performance.
> Message-ID:
> <CABS55+BOJX4nLSLKLmBRHWaCLYnwEEj8R0V+DAJ1iA2Q4Gp0Dg at mail.gmail.com
>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, Mar 6, 2012 at 9:02 PM, Sureshkumar M <sureshmenon87 at gmail.com>
wrote:
>> Hi,
>>
>> I have ported ffmpeg-x264 with neon for android but the issue is
>> encoder takes more time to encode a single frame .It takes above 150ms
>> to encode and cpu rises to 85% in some devices like LG and
>> samsung.when both encode and decoder active device struggle to give a
>> good smooth output.It is working better in Samsung GTI9000 compared to
>> other devices such as HTC Desire,..etc.i am using the following ffmpeg
>> ?avcodeccontext settings during ffmpeg initialization.
>>
>> c->bit_rate = 256000;
>> c->width = width;
>> c->height = height;
>> c->gop_size = 2;
>> c->pix_fmt = PIX_FMT_YUV420P;
>> c->codec_type=AVMEDIA_TYPE_VIDEO;
>> c->codec_id=CODEC_ID_H264;
>> c->cqp=36;
>>
>>
>> Is there any other settings ?available or ?have to rebuild the x264
>> with any advanced configure options?
>
> Those settings look like complete nonsense; a keyframe interval of 2?
>
> x264.h contains all of the x264 parameters and API functions. Try
> starting by setting a preset, like "superfast", using
> x264_param_default_preset().
>
> Jason
Hi,
Can u please suggest me better settings? or any useful links to understand
about preset.
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 7 Mar 2012 10:18:00 +0000
> From: Gil Pedersen <gil at cmi.aau.dk>
> To: Mailing list for x264 developers <x264-devel at videolan.org>
> Subject: Re: [x264-devel] [PATCH 1/2] macosx: version the libraries
> Message-ID: <5F79001C-FFD3-443C-AA32-7B7A756A3394 at cmi.aau.dk>
> Content-Type: text/plain; charset="us-ascii"
>
> What is the rationale behind this change?
>
> It will require a recompile of anything that links against libx264 and
cause incompatible programs to crash when started. I don't see any benefits
to the change when libx264 already has a link time check that will crash
the calling app when x264_encoder_open() is called.
>
> Regards,
> Gil
>
> ------------------------------
>
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel
>
>
> End of x264-devel Digest, Vol 58, Issue 5
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20120308/c1645964/attachment.html>
More information about the x264-devel
mailing list