[x264-devel] Real Time encoding

Denio Mariz denio at dynavideo.com.br
Sat Nov 10 02:48:22 CET 2012


Thanks, Jason.
But can I limit the numer of threads?
If I have 8 cores, can I use only 4?
Denio

On Fri, Nov 9, 2012 at 1:46 PM, Jason Garrett-Glaser <jason at x264.com> wrote:

> On Thu, Nov 8, 2012 at 6:47 AM, Denio Mariz <deniomariz at gmail.com> wrote:
> > I would like to capture video from a source (IP stream or TV capture),
> > encode it to H.264 save into a file. However, I would like to do this
> > in *real time*, that is, the time it should take to encode must be
> > very short.
> > I am trying to evaluate how to do this by software using x264. Of
> > course, it depends on the video atributes from the source and on the
> > hardware available to run the x264.
> >
> > Assuming that the video source have always the same attributes, the
> > problem is to dimension the required CPU (processing power and number
> > of CPUs) in order to get to get the task done in real time. Am I
> > correct?
> >
> > I have N processors (CPU cores) available, is it possible to
> > distribute (parallelize) the processing of one video over those N
> > processors? If yes, could somenoe give an example of how this could be
> > done, for example, using x264 command for an input file?
>
> x264 uses threads by default.
>
> Jason
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20121109/c0d9e206/attachment.html>


More information about the x264-devel mailing list