Then I should wrap it in the class? Should I make that class a thread class so every decoder decodes to itself?
In that way I could make and event and just send frame event to each decoder. ----- Original Message ----- From: "Benjamin Gretsch" <[email protected]> To: "Libav* user questions and discussions" <[email protected]> Sent: Thursday, October 15, 2009 5:22 PM Subject: Re: [libav-user] Efficient way of decoding multiple video streams >I guess that using a single decoder would not work, since decoders usually > store content-dependant data internally. > > Dario schrieb: >> Hi. >> >> I'm currently writing videoclient application that has to suppport >> multiple >> video streams >> and display it on the monitor. >> >> I'm wondering what is the most efficient way of decoding multiple video >> streams. >> Should use only one decoder for every stream or should I wrap the >> functionality of libavcodec in a class and instance >> it for each stream? Or something else? >> >> Also, is swscale faster then img_convert and how much? >> >> ----- >> Dario. >> >> >> P.S. >> Sorry about the ugly maillist on the bottom, but my company mailserver >> does >> that automatically. >> >> >> >> ELMA Kurtalj d.o.o. (ELMA Kurtalj ltd.) >> Vitezićeva 1a, 10000 Zagreb, Hrvatska (Viteziceva 1a, 10000 Zagreb, >> Croatia) >> Tel: 01/3035555, Faks: 01/3035599 (Tel: ++385-1-3035555, Fax: >> ++385-1-3035599 ) >> >> Www: >> www.elma.hr; shop.elma.hr >> >> E-mail: >> [email protected] ([email protected]) >> [email protected] ([email protected]) >> [email protected] ([email protected]) >> [email protected] ([email protected]) >> [email protected] ([email protected]) >> [email protected] ([email protected]) >> [email protected] ([email protected]) >> >> _______________________________________________ >> libav-user mailing list >> [email protected] >> https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > ELMA Kurtalj d.o.o. (ELMA Kurtalj ltd.) Vitezićeva 1a, 10000 Zagreb, Hrvatska (Viteziceva 1a, 10000 Zagreb, Croatia) Tel: 01/3035555, Faks: 01/3035599 (Tel: ++385-1-3035555, Fax: ++385-1-3035599 ) Www: www.elma.hr; shop.elma.hr E-mail: [email protected] ([email protected]) [email protected] ([email protected]) [email protected] ([email protected]) [email protected] ([email protected]) [email protected] ([email protected]) [email protected] ([email protected]) [email protected] ([email protected]) _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
