quasarstream / PHP-FFmpeg-video-streaming

📼 Package media content for online streaming(DASH and HLS) using FFmpeg
https://www.quasarstream.com/op/php/ffmpeg-streaming?u=php-ff
MIT License
514 stars 117 forks source link

HLS to Cloud #119

Closed tozeka closed 2 years ago

tozeka commented 2 years ago

Is any chance to upload created .ts files while ffmpeg is running?

I have this code

$video->hls()
                    ->setHlsTime(10) 
                    ->setHlsListSize(3)
                    ->x264()
                    ->addRepresentations($new_representations)
                    ->save(null,$to_s3);

Everything works fine, it does the upload after command finishes. Is it possible while command is running, upload the .ts created ?

Thank you