mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-14 12:07:46 +02:00
fix(video-clips): create unique temporary files for resources to be deleted after generation
- tempfile uniqueness ensures that each process lives in its independent context - add writable/temp folder to store video clips temporary resources - add videoClipWorkers config to Admin for specifying the number of ffmpeg processes to run in parallel - update video clip preview background to better suit the end result
This commit is contained in:
parent
482b47ba6b
commit
7f7c878cb6
13 changed files with 128 additions and 48 deletions
|
|
@ -15,4 +15,10 @@ class Admin extends BaseConfig
|
|||
* Defines a base route for all admin pages
|
||||
*/
|
||||
public string $gateway = 'cp-admin';
|
||||
|
||||
/**
|
||||
* Number of maximum ffmpeg processes to spawn in parallel when generating video clips. Processes are instance wide,
|
||||
* meaning that they are shared across all podcasts and episodes.
|
||||
*/
|
||||
public int $videoClipWorkers = 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue