I have a php web application (Using code igniter).
I want to build such features.
- User upload the mp4 file to the admin dashboard.
- On the backend (PHP), we convert the mp4 file to m3u8 and ts files.
- The backend save the m3u8 and ts files on the digitalocean’s Spaces.
- On the client side, we use “hls.js” to show the video.
I think I need to use PHP-FFMpeg, but I am not quite sure how to make it.