Re: [FFmpeg-devel] [PATCH v3 2/3] lavf/dashdec: Multithreaded DASH initialization

2022-09-11 Thread Lukas Fellechner
      Gesendet: Montag, 05. September 2022 um 12:45 Uhr Von: "Andreas Rheinhardt" An: ffmpeg-devel@ffmpeg.org Betreff: Re: [FFmpeg-devel] [PATCH v3 2/3] lavf/dashdec: Multithreaded DASH initialization Lukas Fellechner: >>> Moreover, older pthread standards d

Re: [FFmpeg-devel] [PATCH v3 2/3] lavf/dashdec: Multithreaded DASH initialization

2022-09-05 Thread Lukas Fellechner
>Gesendet: Montag, 05. September 2022 um 12:45 Uhr >Von: "Andreas Rheinhardt" >An: ffmpeg-devel@ffmpeg.org >Betreff: Re: [FFmpeg-devel] [PATCH v3 2/3] lavf/dashdec: Multithreaded DASH >initialization >Lukas Fellechner: >>> Gesendet: Montag, 05. Septembe

Re: [FFmpeg-devel] [PATCH v3 2/3] lavf/dashdec: Multithreaded DASH initialization

2022-09-05 Thread Andreas Rheinhardt
Lukas Fellechner: >> Gesendet: Montag, 05. September 2022 um 00:50 Uhr >> Von: "Andreas Rheinhardt" >> An: ffmpeg-devel@ffmpeg.org >> Betreff: Re: [FFmpeg-devel] [PATCH v3 2/3] lavf/dashdec: Multithreaded DASH >> initialization >> Lukas Fellech

Re: [FFmpeg-devel] [PATCH v3 2/3] lavf/dashdec: Multithreaded DASH initialization

2022-09-05 Thread Lukas Fellechner
> Gesendet: Montag, 05. September 2022 um 00:50 Uhr > Von: "Andreas Rheinhardt" > An: ffmpeg-devel@ffmpeg.org > Betreff: Re: [FFmpeg-devel] [PATCH v3 2/3] lavf/dashdec: Multithreaded DASH > initialization > Lukas Fellechner: > > Andreas Rheinhardt andreas.rheinh

Re: [FFmpeg-devel] [PATCH v3 2/3] lavf/dashdec: Multithreaded DASH initialization

2022-09-04 Thread Andreas Rheinhardt
Lukas Fellechner: > Andreas Rheinhardt andreas.rheinhardt at outlook.com > Wed Aug 31 05:54:12 EEST 2022 >> >>> +#if HAVE_THREADS >>> + >>> +struct work_pool_data >>> +{ >>> +AVFormatContext *ctx; >>> +struct representation *pls; >>> +struct representation *common_pls; >>> +

Re: [FFmpeg-devel] [PATCH v3 2/3] lavf/dashdec: Multithreaded DASH initialization

2022-09-04 Thread Lukas Fellechner
Andreas Rheinhardt andreas.rheinhardt at outlook.com Wed Aug 31 05:54:12 EEST 2022 > > > +#if HAVE_THREADS > > + > > +struct work_pool_data > > +{ > > +AVFormatContext *ctx; > > +struct representation *pls; > > +struct representation *common_pls; > > +pthread_mutex_t *common_mutex;

Re: [FFmpeg-devel] [PATCH v3 2/3] lavf/dashdec: Multithreaded DASH initialization

2022-08-31 Thread Andreas Rheinhardt
Steven Liu: > Andreas Rheinhardt 于2022年8月31日周三 10:54写道: >> 1. We actually have an API to process multiple tasks by different >> threads: Look at libavutil/slicethread.h. Why can't you reuse that? > I saw that usually be used in avfilters for slice multi-thread, or i > misunderstand something? >

Re: [FFmpeg-devel] [PATCH v3 2/3] lavf/dashdec: Multithreaded DASH initialization

2022-08-31 Thread Steven Liu
Andreas Rheinhardt 于2022年8月31日周三 10:54写道: > > Lukas Fellechner: > > This patch adds an "init-threads" option, specifying the max > > number of threads to use. Multiple worker threads are spun up > > to massively bring down init times. > > --- > > libavformat/dashdec.c | 351

Re: [FFmpeg-devel] [PATCH v3 2/3] lavf/dashdec: Multithreaded DASH initialization

2022-08-30 Thread Andreas Rheinhardt
Lukas Fellechner: > This patch adds an "init-threads" option, specifying the max > number of threads to use. Multiple worker threads are spun up > to massively bring down init times. > --- > libavformat/dashdec.c | 351 +- > 1 file changed, 350

[FFmpeg-devel] [PATCH v3 2/3] lavf/dashdec: Multithreaded DASH initialization

2022-08-23 Thread Lukas Fellechner
This patch adds an "init-threads" option, specifying the max number of threads to use. Multiple worker threads are spun up to massively bring down init times. --- libavformat/dashdec.c | 351 +- 1 file changed, 350 insertions(+), 1 deletion(-) diff --git