Fix issue where font wasn't being loaded for ffmpeg usage
Install libunibreak and libass for ffmpeg so it can read srt/ass files correctly
Reload fc-cache for ffmpeg
Change code so that fonts are loaded dynamically for ffmpeg
- Updated caption_video function to check for S3 and GCP environment variables.
- Added logic to switch between S3 and GCP based on the available environment variables.
- Ensured that the code only attempts to upload to the configured storage provider.
- Added logging for debugging purposes.
This change allows the application to upload files to either S3 or GCP, depending on the environment variables set.