Answer the question
In order to leave comments, you need to log in
How to make a command work through Cron?
Hello, I have a script that crops a video file. The command is executed on the hosting, due to hosting restrictions I cannot install FFMpeg and I use the compiled FFMpeg binaries. I run the script with the command:
/opt/php/5.6/bin/php -f /var/www/public_html/domain.ru/script.php
FFmpeg Errors: ["Error while opening decoder for input stream #0:0 : Resource temporarily unavailable"], Command: "-y -ss 00:00:01.000 -i '/var/www/public_html/domain.ru/docs/video.mp4' -vf 'crop=w=640:h=640:x=0:y=0,scale=w=640:h=640,pad=w=640:h=640:x=0:y=0:color=0xFFFFFF' -f mjpeg -vframes 1 '/tmp/INSTAVID_voC1jM'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question