do i need to unregister when there is no need of ffmpeg or before the program exit?
On Thu, Nov 15, 2012 at 12:55 AM, Ron Woods <[email protected]> wrote: > Call av_register_all() only at the beginning of your main program, not > before each open file; but, depending on what you are doing, you may also > need to call avcodec_register_all() and/or avfilter_register_all(). Refer > to the documentation if you’re not sure what each does.**** > > ** ** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Quy Pham Sy > *Sent:* Tuesday, November 13, 2012 10:31 PM > *To:* This list is about using libavcodec, libavformat, libavutil, > libavdevice and libavfilter. > *Subject:* [Libav-user] when to call av_register_all()**** > > ** ** > > Hi, i'm very new to this, so please bear with me if the question is stupid. > **** > > ** ** > > In my app, there will be more than one instance of decoder process that > decode multiple files at the same time, so there will be more than place > where i need to open and do all the initialization before open video files > and start decoding.**** > > ** ** > > My question is that should i call av_register_all for each decoding > process? when and where should the method be called? **** > > ** ** > > Thanks,**** > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
