quasarstream / PHP-FFmpeg-video-streaming

📼 Package media content for online streaming(DASH and HLS) using FFmpeg

Home Page:https://www.quasarstream.com/op/php/ffmpeg-streaming?u=php-ff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HLS to Cloud

tozeka opened this issue · comments

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