Is there a way to use multi-threading with ffmpeg2theora? Pretty much any type i'm ok with, including multi-threaded theora encoding or multi-threaded ffmpeg decoding, or using half of my cpu cores on ffmpeg decoding and the other half on theora encoding. Is there a way to do multithreaded thoera encoding? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20110121/1221e9f6/attachment.htm
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. --Ben -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature Url : http://lists.xiph.org/pipermail/theora/attachments/20110122/47f86046/attachment.pgp
On Sat, Jan 22, 2011 at 3:40 AM, Benjamin M. Schwartz <bmschwar at fas.harvard.edu> 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 > theora at xiph.org > 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/