protonemedia / laravel-ffmpeg

This package provides an integration with FFmpeg for Laravel. Laravel's Filesystem handles the storage of the files.
https://protone.media/en/blog/how-to-use-ffmpeg-in-your-laravel-projects
MIT License
1.66k stars 194 forks source link

Prevent downloading video #363

Closed alizamani closed 2 years ago

alizamani commented 2 years ago

Hi guys, I want to use this package to convert videos to HLS streaming playlist and prevent downloading video by users.

Please let me know can I achieve to this by using this package ? or is there any other ways to prevent video downloading even without HLS ?

Thanks a lot

pascalbaljet commented 2 years ago

You can't entirely prevent people from downloading publicly available videos, but you can make it harder for them by using encrypted HLS: https://github.com/protonemedia/laravel-ffmpeg#encrypted-hls