Search code examples
phpvideo-streaminghtml5-videohtml2canvas

How to split the videos into multiple packets using php?


I Just want to buffer a video manually, so I need to split the videos into smaller packets. For example: convert 6 MB video into 6 - 1 MB small videos.

Is this feasible using PHP?


Solution

  • This sounds related to the questions about "Streaming Video in Parts".

    As mentioned, the described way of consuming videos is similar to adaptive streaming. An introduction to that topic can be found here.

    If you are bound to PHP, you can still use it to generate segmented content, with Bitmovin's API, as shown in the example at https://github.com/bitmovin/bitcodin-php.