quasarstream / PHP-FFmpeg-video-streaming

📼 Package media content for online streaming(DASH and HLS) using FFmpeg
https://www.quasarstream.com/op/php/ffmpeg-streaming?u=php-ff
MIT License
514 stars 117 forks source link

return error in huge file #100

Closed sinazahed closed 2 years ago

sinazahed commented 3 years ago

hi im using this package with laravel and i convert them to hls with laravel job but it returns error when the file is big and job fails .

i checked php_executaion_time and job and ffmpeg --timeout but all of them are correct in my case when the file is more than 150(MB) it returns a error .

but when i reduce the size of that movie to 100(MB) every thing is ok .

ffmpeg failed to execute command /usr/bin/ffmpeg/ '-y' -i input.mp4 -c:v libx264 -c -a ...............

is there a limitation for file size ? or something else ? what should i check ?

Desktop/Server (please complete the following information):

angeljunior commented 3 years ago

if your use php cli, change in php.ini memory_limit to -1

aminyazdanpanah commented 2 years ago

No. there is no limitation for file size. Check out your Laravel log. Maybe Laravel Job has a timeout attribute.