Re: ffmpeg2theora multi-threading
Felipe Portavales Goldstein <[email protected]>
| Newsgroups | gmane.comp.multimedia.ogg.theora.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jan 22, 2011 at 3:40 AM, Benjamin M. Schwartz <[email protected]> wrote: > On 01/21/2011 09:56 PM, Leo Izen wrote: >> Is there a way to do >> multithreaded thoera encoding? > > The only thing I know of that seems relevant is gstreamer. With gstreamer > you can "easily" do decoding, processing, and re-encoding in separate > threads. You can make use of this directly (in a gstreamer pipeline via > gst-launch) or by using an application such as Pitivi, Arista, or > Transmaggedon that is based on gstreamer. > > There is currently no truly multithreaded encoder that breaks the encoding > of Theora into multiple threads. Yes there is. I did that: http://svn.xiph.org/branches/theora-multithread/ But the gain with 2 cores is usually small (about 10% to 20%) due to datapath dependencies of the implementation. > > --Ben > > > _______________________________________________ > theora mailing list > [email protected] > http://lists.xiph.org/mailman/listinfo/theora > > -- ________________________________________ Felipe Portavales Goldstein <portavales at gmail> MS Student - IC-UNICAMP Computer Systems Laboratory http://lampiao.lsc.ic.unicamp.br/~portavales/