11/10/2023 0 Comments Php ffmpegThe names of these disks are videos_disk, downloadable_videos and streamable_videos. One non-public disk to store the original uploaded video, one public disk to store a low-bitrate version of the video and another public disk to store a HLS export to do HTTP streaming. In this example I'll use three different Filesystem disks. What we'll build is a controller that stores an uploaded video and then dispatches two jobs that will process the video. It's great if you want to learn more about testing! The package itself is compatible with Laravel 5.1 and up but for this blogpost I'll use Laravel 5.4. I'm not digging into writing tests but if you're interested I suggest to take a look at Test Driven Laravel. ![]() Feel free to adopt if you like it or change it where needed. Of course this example is just one way of doing it. ![]() The example below is not taken from one of these projects but the goal is to give you a sense of what you could do with this package. We use this package ourselves in three different production environments. After some issues that got opened on GitHub I decided to write a blogpost on the Laravel FFmpeg package we created.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |