[x264-devel] Faster real-time encoding

Marcin Sokalski msokalski at atsisa.com
Thu Jul 24 16:40:18 CEST 2008


Hi,

PTHREADS is opensource implementation of posix threads,
as far as I know its the only one. Its stable and of nice
performance. From the other side, x264 is designed to
use this implementation. So my suggestion is to download pthreads 
sources, add pthreads.c into x264.exe compilation,
add: #define HAVE_PTHREAD to let say common.h
and enjoy multi core encoding.

bye,
MS

Marcin Sokalski
ATSI SA

msokalski at atsisa.com


>>> simon.mazue at telecom-bretagne.eu 2008-07-24 16:32:31 >>>
Hello,

I want to built x264 on Windows and Visual Studio.
Until now, it was quite slow so I was wondering if it's possible to
use threads that way. Because it seems x264 is not using Windows
threads and I don't know about pthread on Windows, but I'm not sure
there's a good implementation.

As you speak about threads, I would like to ask you if you know the
best threads' library to use on Windows.

Thanks in advance.

-- 
Simon

On Wed, Jul 23, 2008 at 5:40 PM, Marcin Sokalski <msokalski at atsisa.com>
wrote:
> Uhm...
>
> I use Quad 2.4GHz + x264 compiled with PTHREADS
>
> x264.exe ..blblbla.. --threads 4
>
> and i got 140 fps (including rgb2yuv, and screen hdc capture) at
> 720x576
>
> seams 1024x768 at 25fps is possible with your hardware but
> you have to use PTHREADS!!!
>
> Marcin
>
>
>>>> send2ari at gmail.com 2008-07-23 17:24:28 >>>
> Hi All,
>
> I want to encode a 1024x768 25 fps video in realtime. I am running
the
> encoder on
> Intel(R) Core(TM) 2 CPU 1.18 GHz  cpu.  The command-line I am using
is
>
> x264.exe -b 0 -I 1 -B 1000 --no-psnr --no-ssim --no-cabac -o
> output.h264
> input.y4m [1024x768]
>
> But I am getting only 8 fps at output.
>
> Can anybody tell me what should be the command-line parameters?
>
> Thaking you in advance.
>
> Regards
> Arindam
>
> CONFIDENTIALITY NOTICE
> This message is intended exclusively for the individual or entity to
which it is addressed. This communication may contain information that
is proprietary, privileged, confidential or otherwise legally exempt
from disclosure. If you are not the named addressee, you are not
authorized to read, print, retain, copy or disseminate this message or
any part of it. If you have received this message in error, please
delete all copies of this message and notify the sender immediately by
return mail or fax ATSI S.A.(+4812) 285 36 04.
> Any email attachment may contain software viruses which could damage
your own computer system. Whilst reasonable precaution has been taken to
minimise this risk, we cannot accept liability for any damage which you
sustain as a result of software viruses. You should therefore carry out
your own virus checks before opening any attachments.
>
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org 
> http://mailman.videolan.org/listinfo/x264-devel 
>
_______________________________________________
x264-devel mailing list
x264-devel at videolan.org 
http://mailman.videolan.org/listinfo/x264-devel 


CONFIDENTIALITY NOTICE
This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged, confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please delete all copies of this message and notify the sender immediately by return mail or fax ATSI S.A.(+4812) 285 36 04.
Any email attachment may contain software viruses which could damage your own computer system. Whilst reasonable precaution has been taken to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should therefore carry out your own virus checks before opening any attachments.



More information about the x264-devel mailing list