mbox series

[FFmpeg-devel,v4,0/4] lavf/dashdec: Multithreaded DASH initialization

Message ID 20220905211634.1460-1-lukas.fellechner@gmx.net
Headers show
Series lavf/dashdec: Multithreaded DASH initialization | expand

Message

Lukas Fellechner Sept. 5, 2022, 9:16 p.m. UTC
Initializing DASH streams is currently slow, because each individual
stream is opened and probed sequentially. With DASH streams often
having somewhere between 10-20 streams, this can easily take up to
half a minute on slow connections.

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.
In-Reply-To: trinity-36a68f08-f239-4450-b893-af6bfa783181-1661031307501@3c-app-gmx-bs35