Parallel video encoding

Matthew Gillen me-5yx05kfkO/aqeI1yJSURBw at public.gmane.org
Thu Aug 30 13:02:50 EDT 2007


Matthew Gillen wrote:
> Kristian Erik Hermansen wrote:
>> Considering you know the application is a video encoder, what
>> properties can we exploit to gain the fastest CPU time to encode all
>> the videos?  Let's say it is an arbitrary amount, but more than the
>> number of cores you have.  This is an interesting problem and I should
>> probably ask Pixar :-)  But you guys are a cheap start!
> 
> Knowing a little bit about how mpeg encoding works, one way to do it would be
> to break up the input into "work units" that a single cpu would do.  Each work
> unit would start with an I frame, and do all the images leading up to the next
> I frame.  So each work unit is completely independent from the others, thus
> allowing each CPU to do the bulk of it's work independently.
> 
> Then the "master" thread just concatenates all the results in the correct order.

Upon re-reading, I see that you meant to encode a bunch of independent videos,
not the problem I was talking about, which is fast encoding of a single video.
 Disregard.

Matt

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the Discuss mailing list