WWBN / AVideo-Encoder

Encoder Server for AVideo Platform Open-Source
https://platform.avideo.com
GNU Affero General Public License v3.0
152 stars 189 forks source link

encoder dont work properly #208

Open alifaaz opened 4 years ago

alifaaz commented 4 years ago

[16-Jan-2020 11:49:06 UTC] ERROR on get http://10.4.13.80/avideo/plugin/CustomizeAdvanced/advancedCustom.json.php false [16-Jan-2020 11:49:07 UTC] ERROR on get http://10.4.13.80/avideo/plugin/CustomizeAdvanced/advancedCustom.json.php false [16-Jan-2020 11:49:13 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/view\/queue.php","line":65,"function":"save","class":"Encoder","object":{},"type":"->","args":[]}] [16-Jan-2020 11:49:13 UTC] getReturn_vars {"videos_id":18} [16-Jan-2020 11:49:13 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":532,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:13 UTC] downloadFile: start queue_id = 17 [16-Jan-2020 11:49:13 UTC] downloadFile: url = http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:13 UTC] downloadFile:strpos global['webSiteRootURL'] = http://10.4.13.80/avideo-encoder/ [16-Jan-2020 11:49:13 UTC] downloadFile: this file was uploaded from file and thus is in the videos [16-Jan-2020 11:49:13 UTC] downloadFile: downloadedFile = /var/www/html/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 | url = http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:13 UTC] Try to get UTF8 URL http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:13 UTC] Try to get UTF8 decode URL http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:13 UTC] downloadFile: success [16-Jan-2020 11:49:13 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":276,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":533,"function":"downloadFile","class":"Encoder","type":"::","args":["17"]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:13 UTC] downloadFile: {"error":false,"filename":"17_tmpFile.mp4","pathFileName":"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4"} [16-Jan-2020 11:49:13 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":550,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:13 UTC] sendImages: Sending image to [18] [16-Jan-2020 11:49:13 UTC] {"status":"error", "msg":["sh: ffprobe: command not found"] ,"return_val":127, "where":"getDuration", "cmd":"ffprobe -i "/var/www/html/avideo-encoder/videos/17_tmpFile.mp4" -sexagesimal -show_entries format=duration -v quiet -of csv='p=0'"} [16-Jan-2020 11:49:13 UTC] Duration found: EE:EE:EE [16-Jan-2020 11:49:13 UTC] sendImages: AVideo-Encoder sending file to http://10.4.13.80/avideo/objects/aVideoEncoderReceiveImage.json.php [16-Jan-2020 11:49:13 UTC] sendImages: AVideo-Encoder reading file from /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 [16-Jan-2020 11:49:13 UTC] getImage: ffmpeg -ss 00:00:00 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vframes 1 -y /var/www/html/avideo-encoder/videos/17_tmpFile.mp4.jpg [16-Jan-2020 11:49:13 UTC] getImage: takes 0.0038249492645264 sec to complete [16-Jan-2020 11:49:13 UTC] Create Image error: ffmpeg -ss 00:00:00 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vframes 1 -y /var/www/html/avideo-encoder/videos/17_tmpFile.mp4.jpg [16-Jan-2020 11:49:13 UTC] getGifImage [16-Jan-2020 11:49:13 UTC] getGif: Starts [16-Jan-2020 11:49:13 UTC] getGif: takes 0.0028281211853027 sec to complete [16-Jan-2020 11:49:13 UTC] Create Pallete Gif Image error: ffmpeg -y -ss 00:00:00 -t 3 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf fps=10,scale=320:-1:flags=lanczos,palettegen /var/www/html/avideo-encoder/videos/17_tmpFile.mp4palette.png [16-Jan-2020 11:49:13 UTC] getWebpImage [16-Jan-2020 11:49:13 UTC] getWebpImage: Starts [16-Jan-2020 11:49:13 UTC] getWebpImage: takes 0.0027980804443359 sec to complete [16-Jan-2020 11:49:13 UTC] getWebpImage: Image error : ffmpeg -y -ss 00:00:00 -t 3 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vcodec libwebp -lossless 1 -vf fps=10,scale=640:-1 -q 60 -preset default -loop 0 -an -vsync 0 /var/www/html/avideo-encoder/videos/17_tmpFile.mp4.webp ["sh: ffmpeg: command not found"] [16-Jan-2020 11:49:13 UTC] sendImages: curl_init [16-Jan-2020 11:49:13 UTC] sendImages: curl_exec [16-Jan-2020 11:49:13 UTC] sendImages: AVideo-Streamer answer {"error":false,"video_id":18} [16-Jan-2020 11:49:13 UTC] {"error":false,"file":"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","target":"http:\/\/10.4.13.80\/avideo\/objects\/aVideoEncoderReceiveImage.json.php","postFields":7,"response_raw":"{\"error\":false,\"video_id\":18}","response":{"error":false,"video_id":18}} [16-Jan-2020 11:49:13 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":143,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":926,"function":"setReturn_varsVideos_id","class":"Encoder","object":{},"type":"->","args":[18]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":552,"function":"sendImages","class":"Encoder","type":"::","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4",18,{}]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:13 UTC] run:runMultiResolution [16-Jan-2020 11:49:13 UTC] AVideo-Encoder Start Encoder [ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:720 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_HD.mp4] [16-Jan-2020 11:49:13 UTC] ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:720 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_HD.mp4 --- [] --- (8, /var/www/html/avideo-encoder/videos/17_tmpFile.mp4, /var/www/html/avideo-encoder/videos/17_tmpFile_converted_HD.mp4, 17) [16-Jan-2020 11:49:13 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":334,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":359,"function":"exec","class":"Format","type":"::","args":["8","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_HD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":77,"function":"execOrder","class":"Format","type":"::","args":[12,"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_HD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":62,"function":"runMultiResolution","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17","80"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":555,"function":"run","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:13 UTC] AVideo-Encoder Start Encoder [ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:540 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_SD.mp4] [16-Jan-2020 11:49:13 UTC] ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:540 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_SD.mp4 --- [] --- (7, /var/www/html/avideo-encoder/videos/17_tmpFile.mp4, /var/www/html/avideo-encoder/videos/17_tmpFile_converted_SD.mp4, 17) [16-Jan-2020 11:49:13 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":334,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":359,"function":"exec","class":"Format","type":"::","args":["7","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_SD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":83,"function":"execOrder","class":"Format","type":"::","args":[11,"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_SD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":62,"function":"runMultiResolution","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17","80"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":555,"function":"run","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:13 UTC] AVideo-Encoder Start Encoder [ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4] [16-Jan-2020 11:49:13 UTC] ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4 --- [] --- (1, /var/www/html/avideo-encoder/videos/17_tmpFile.mp4, /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4, 17) [16-Jan-2020 11:49:13 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":334,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":359,"function":"exec","class":"Format","type":"::","args":["1","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_Low.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":89,"function":"execOrder","class":"Format","type":"::","args":[10,"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_Low.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":62,"function":"runMultiResolution","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17","80"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":555,"function":"run","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:13 UTC] Trying again: [1] => Execute code error "Array\n(\n)\n" Code: ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4 [16-Jan-2020 11:49:13 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":562,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:13 UTC] getReturn_vars {"videos_id":18} [16-Jan-2020 11:49:13 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":532,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:13 UTC] downloadFile: start queue_id = 17 [16-Jan-2020 11:49:13 UTC] downloadFile: url = http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:13 UTC] downloadFile:strpos global['webSiteRootURL'] = http://10.4.13.80/avideo-encoder/ [16-Jan-2020 11:49:13 UTC] downloadFile: this file was uploaded from file and thus is in the videos [16-Jan-2020 11:49:13 UTC] downloadFile: downloadedFile = /var/www/html/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 | url = http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:14 UTC] Try to get UTF8 URL http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:14 UTC] Try to get UTF8 decode URL http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:14 UTC] downloadFile: success [16-Jan-2020 11:49:14 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":276,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":533,"function":"downloadFile","class":"Encoder","type":"::","args":["17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:14 UTC] downloadFile: {"error":false,"filename":"17_tmpFile.mp4","pathFileName":"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4"} [16-Jan-2020 11:49:14 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":550,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:14 UTC] sendImages: Sending image to [18] [16-Jan-2020 11:49:14 UTC] {"status":"error", "msg":["sh: ffprobe: command not found"] ,"return_val":127, "where":"getDuration", "cmd":"ffprobe -i "/var/www/html/avideo-encoder/videos/17_tmpFile.mp4" -sexagesimal -show_entries format=duration -v quiet -of csv='p=0'"} [16-Jan-2020 11:49:14 UTC] Duration found: EE:EE:EE [16-Jan-2020 11:49:14 UTC] sendImages: AVideo-Encoder sending file to http://10.4.13.80/avideo/objects/aVideoEncoderReceiveImage.json.php [16-Jan-2020 11:49:14 UTC] sendImages: AVideo-Encoder reading file from /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 [16-Jan-2020 11:49:14 UTC] getImage: ffmpeg -ss 00:00:00 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vframes 1 -y /var/www/html/avideo-encoder/videos/17_tmpFile.mp4.jpg [16-Jan-2020 11:49:14 UTC] getImage: takes 0.0033488273620605 sec to complete [16-Jan-2020 11:49:14 UTC] Create Image error: ffmpeg -ss 00:00:00 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vframes 1 -y /var/www/html/avideo-encoder/videos/17_tmpFile.mp4.jpg [16-Jan-2020 11:49:14 UTC] getGifImage [16-Jan-2020 11:49:14 UTC] getGif: Starts [16-Jan-2020 11:49:14 UTC] getGif: takes 0.0028409957885742 sec to complete [16-Jan-2020 11:49:14 UTC] Create Pallete Gif Image error: ffmpeg -y -ss 00:00:00 -t 3 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf fps=10,scale=320:-1:flags=lanczos,palettegen /var/www/html/avideo-encoder/videos/17_tmpFile.mp4palette.png [16-Jan-2020 11:49:14 UTC] getWebpImage [16-Jan-2020 11:49:14 UTC] getWebpImage: Starts [16-Jan-2020 11:49:14 UTC] getWebpImage: takes 0.0026750564575195 sec to complete [16-Jan-2020 11:49:14 UTC] getWebpImage: Image error : ffmpeg -y -ss 00:00:00 -t 3 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vcodec libwebp -lossless 1 -vf fps=10,scale=640:-1 -q 60 -preset default -loop 0 -an -vsync 0 /var/www/html/avideo-encoder/videos/17_tmpFile.mp4.webp ["sh: ffmpeg: command not found"] [16-Jan-2020 11:49:14 UTC] sendImages: curl_init [16-Jan-2020 11:49:14 UTC] sendImages: curl_exec [16-Jan-2020 11:49:14 UTC] sendImages: AVideo-Streamer answer {"error":false,"video_id":18} [16-Jan-2020 11:49:14 UTC] {"error":false,"file":"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","target":"http:\/\/10.4.13.80\/avideo\/objects\/aVideoEncoderReceiveImage.json.php","postFields":7,"response_raw":"{\"error\":false,\"video_id\":18}","response":{"error":false,"video_id":18}} [16-Jan-2020 11:49:14 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":143,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":926,"function":"setReturn_varsVideos_id","class":"Encoder","object":{},"type":"->","args":[18]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":552,"function":"sendImages","class":"Encoder","type":"::","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4",18,{}]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:14 UTC] run:runMultiResolution [16-Jan-2020 11:49:14 UTC] AVideo-Encoder Start Encoder [ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:720 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_HD.mp4] [16-Jan-2020 11:49:14 UTC] ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:720 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_HD.mp4 --- [] --- (8, /var/www/html/avideo-encoder/videos/17_tmpFile.mp4, /var/www/html/avideo-encoder/videos/17_tmpFile_converted_HD.mp4, 17) [16-Jan-2020 11:49:14 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":334,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":359,"function":"exec","class":"Format","type":"::","args":["8","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_HD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":77,"function":"execOrder","class":"Format","type":"::","args":[12,"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_HD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":62,"function":"runMultiResolution","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17","80"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":555,"function":"run","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:14 UTC] AVideo-Encoder Start Encoder [ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:540 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_SD.mp4] [16-Jan-2020 11:49:14 UTC] ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:540 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_SD.mp4 --- [] --- (7, /var/www/html/avideo-encoder/videos/17_tmpFile.mp4, /var/www/html/avideo-encoder/videos/17_tmpFile_converted_SD.mp4, 17) [16-Jan-2020 11:49:14 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":334,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":359,"function":"exec","class":"Format","type":"::","args":["7","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_SD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":83,"function":"execOrder","class":"Format","type":"::","args":[11,"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_SD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":62,"function":"runMultiResolution","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17","80"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":555,"function":"run","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:14 UTC] AVideo-Encoder Start Encoder [ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4] [16-Jan-2020 11:49:14 UTC] ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4 --- [] --- (1, /var/www/html/avideo-encoder/videos/17_tmpFile.mp4, /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4, 17) [16-Jan-2020 11:49:14 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":334,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":359,"function":"exec","class":"Format","type":"::","args":["1","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_Low.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":89,"function":"execOrder","class":"Format","type":"::","args":[10,"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_Low.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":62,"function":"runMultiResolution","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17","80"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":555,"function":"run","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:14 UTC] Trying again: [2] => Execute code error "Array\n(\n)\n" Code: ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4 [16-Jan-2020 11:49:14 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":562,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:14 UTC] getReturn_vars {"videos_id":18} [16-Jan-2020 11:49:14 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":532,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:14 UTC] downloadFile: start queue_id = 17 [16-Jan-2020 11:49:14 UTC] downloadFile: url = http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:14 UTC] downloadFile:strpos global['webSiteRootURL'] = http://10.4.13.80/avideo-encoder/ [16-Jan-2020 11:49:14 UTC] downloadFile: this file was uploaded from file and thus is in the videos [16-Jan-2020 11:49:14 UTC] downloadFile: downloadedFile = /var/www/html/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 | url = http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:14 UTC] Try to get UTF8 URL http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:14 UTC] Try to get UTF8 decode URL http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:14 UTC] downloadFile: success [16-Jan-2020 11:49:14 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":276,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":533,"function":"downloadFile","class":"Encoder","type":"::","args":["17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:14 UTC] downloadFile: {"error":false,"filename":"17_tmpFile.mp4","pathFileName":"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4"} [16-Jan-2020 11:49:14 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":550,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:14 UTC] sendImages: Sending image to [18] [16-Jan-2020 11:49:14 UTC] {"status":"error", "msg":["sh: ffprobe: command not found"] ,"return_val":127, "where":"getDuration", "cmd":"ffprobe -i "/var/www/html/avideo-encoder/videos/17_tmpFile.mp4" -sexagesimal -show_entries format=duration -v quiet -of csv='p=0'"} [16-Jan-2020 11:49:14 UTC] Duration found: EE:EE:EE [16-Jan-2020 11:49:14 UTC] sendImages: AVideo-Encoder sending file to http://10.4.13.80/avideo/objects/aVideoEncoderReceiveImage.json.php [16-Jan-2020 11:49:14 UTC] sendImages: AVideo-Encoder reading file from /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 [16-Jan-2020 11:49:14 UTC] getImage: ffmpeg -ss 00:00:00 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vframes 1 -y /var/www/html/avideo-encoder/videos/17_tmpFile.mp4.jpg [16-Jan-2020 11:49:14 UTC] getImage: takes 0.0032250881195068 sec to complete [16-Jan-2020 11:49:14 UTC] Create Image error: ffmpeg -ss 00:00:00 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vframes 1 -y /var/www/html/avideo-encoder/videos/17_tmpFile.mp4.jpg [16-Jan-2020 11:49:14 UTC] getGifImage [16-Jan-2020 11:49:14 UTC] getGif: Starts [16-Jan-2020 11:49:14 UTC] getGif: takes 0.0034389495849609 sec to complete [16-Jan-2020 11:49:14 UTC] Create Pallete Gif Image error: ffmpeg -y -ss 00:00:00 -t 3 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf fps=10,scale=320:-1:flags=lanczos,palettegen /var/www/html/avideo-encoder/videos/17_tmpFile.mp4palette.png [16-Jan-2020 11:49:14 UTC] getWebpImage [16-Jan-2020 11:49:14 UTC] getWebpImage: Starts [16-Jan-2020 11:49:14 UTC] getWebpImage: takes 0.002816915512085 sec to complete [16-Jan-2020 11:49:14 UTC] getWebpImage: Image error : ffmpeg -y -ss 00:00:00 -t 3 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vcodec libwebp -lossless 1 -vf fps=10,scale=640:-1 -q 60 -preset default -loop 0 -an -vsync 0 /var/www/html/avideo-encoder/videos/17_tmpFile.mp4.webp ["sh: ffmpeg: command not found"] [16-Jan-2020 11:49:14 UTC] sendImages: curl_init [16-Jan-2020 11:49:14 UTC] sendImages: curl_exec [16-Jan-2020 11:49:14 UTC] sendImages: AVideo-Streamer answer {"error":false,"video_id":18} [16-Jan-2020 11:49:14 UTC] {"error":false,"file":"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","target":"http:\/\/10.4.13.80\/avideo\/objects\/aVideoEncoderReceiveImage.json.php","postFields":7,"response_raw":"{\"error\":false,\"video_id\":18}","response":{"error":false,"video_id":18}} [16-Jan-2020 11:49:14 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":143,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":926,"function":"setReturn_varsVideos_id","class":"Encoder","object":{},"type":"->","args":[18]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":552,"function":"sendImages","class":"Encoder","type":"::","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4",18,{}]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:14 UTC] run:runMultiResolution [16-Jan-2020 11:49:15 UTC] AVideo-Encoder Start Encoder [ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:720 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_HD.mp4] [16-Jan-2020 11:49:15 UTC] ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:720 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_HD.mp4 --- [] --- (8, /var/www/html/avideo-encoder/videos/17_tmpFile.mp4, /var/www/html/avideo-encoder/videos/17_tmpFile_converted_HD.mp4, 17) [16-Jan-2020 11:49:15 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":334,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":359,"function":"exec","class":"Format","type":"::","args":["8","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_HD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":77,"function":"execOrder","class":"Format","type":"::","args":[12,"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_HD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":62,"function":"runMultiResolution","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17","80"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":555,"function":"run","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:15 UTC] AVideo-Encoder Start Encoder [ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:540 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_SD.mp4] [16-Jan-2020 11:49:15 UTC] ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:540 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_SD.mp4 --- [] --- (7, /var/www/html/avideo-encoder/videos/17_tmpFile.mp4, /var/www/html/avideo-encoder/videos/17_tmpFile_converted_SD.mp4, 17) [16-Jan-2020 11:49:15 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":334,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":359,"function":"exec","class":"Format","type":"::","args":["7","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_SD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":83,"function":"execOrder","class":"Format","type":"::","args":[11,"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_SD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":62,"function":"runMultiResolution","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17","80"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":555,"function":"run","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:15 UTC] AVideo-Encoder Start Encoder [ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4] [16-Jan-2020 11:49:15 UTC] ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4 --- [] --- (1, /var/www/html/avideo-encoder/videos/17_tmpFile.mp4, /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4, 17) [16-Jan-2020 11:49:15 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":334,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":359,"function":"exec","class":"Format","type":"::","args":["1","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_Low.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":89,"function":"execOrder","class":"Format","type":"::","args":[10,"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_Low.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":62,"function":"runMultiResolution","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17","80"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":555,"function":"run","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:15 UTC] Trying again: [3] => Execute code error "Array\n(\n)\n" Code: ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4 [16-Jan-2020 11:49:15 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":562,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:15 UTC] getReturn_vars {"videos_id":18} [16-Jan-2020 11:49:15 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":532,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[4]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:15 UTC] downloadFile: start queue_id = 17 [16-Jan-2020 11:49:15 UTC] downloadFile: url = http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:15 UTC] downloadFile:strpos global['webSiteRootURL'] = http://10.4.13.80/avideo-encoder/ [16-Jan-2020 11:49:15 UTC] downloadFile: this file was uploaded from file and thus is in the videos [16-Jan-2020 11:49:15 UTC] downloadFile: downloadedFile = /var/www/html/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 | url = http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:15 UTC] Try to get UTF8 URL http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:15 UTC] Try to get UTF8 decode URL http://10.4.13.80/avideo-encoder/videos/original_credit3_YPTuniqid_5e204aed58d503.76617043 [16-Jan-2020 11:49:15 UTC] downloadFile: success [16-Jan-2020 11:49:15 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":276,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":533,"function":"downloadFile","class":"Encoder","type":"::","args":["17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[4]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:15 UTC] downloadFile: {"error":false,"filename":"17_tmpFile.mp4","pathFileName":"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4"} [16-Jan-2020 11:49:15 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":550,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[4]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:15 UTC] sendImages: Sending image to [18] [16-Jan-2020 11:49:15 UTC] {"status":"error", "msg":["sh: ffprobe: command not found"] ,"return_val":127, "where":"getDuration", "cmd":"ffprobe -i "/var/www/html/avideo-encoder/videos/17_tmpFile.mp4" -sexagesimal -show_entries format=duration -v quiet -of csv='p=0'"} [16-Jan-2020 11:49:15 UTC] Duration found: EE:EE:EE [16-Jan-2020 11:49:15 UTC] sendImages: AVideo-Encoder sending file to http://10.4.13.80/avideo/objects/aVideoEncoderReceiveImage.json.php [16-Jan-2020 11:49:15 UTC] sendImages: AVideo-Encoder reading file from /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 [16-Jan-2020 11:49:15 UTC] getImage: ffmpeg -ss 00:00:00 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vframes 1 -y /var/www/html/avideo-encoder/videos/17_tmpFile.mp4.jpg [16-Jan-2020 11:49:15 UTC] getImage: takes 0.00376296043396 sec to complete [16-Jan-2020 11:49:15 UTC] Create Image error: ffmpeg -ss 00:00:00 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vframes 1 -y /var/www/html/avideo-encoder/videos/17_tmpFile.mp4.jpg [16-Jan-2020 11:49:15 UTC] getGifImage [16-Jan-2020 11:49:15 UTC] getGif: Starts [16-Jan-2020 11:49:15 UTC] getGif: takes 0.0030810832977295 sec to complete [16-Jan-2020 11:49:15 UTC] Create Pallete Gif Image error: ffmpeg -y -ss 00:00:00 -t 3 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf fps=10,scale=320:-1:flags=lanczos,palettegen /var/www/html/avideo-encoder/videos/17_tmpFile.mp4palette.png [16-Jan-2020 11:49:15 UTC] getWebpImage [16-Jan-2020 11:49:15 UTC] getWebpImage: Starts [16-Jan-2020 11:49:15 UTC] getWebpImage: takes 0.0034999847412109 sec to complete [16-Jan-2020 11:49:15 UTC] getWebpImage: Image error : ffmpeg -y -ss 00:00:00 -t 3 -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vcodec libwebp -lossless 1 -vf fps=10,scale=640:-1 -q 60 -preset default -loop 0 -an -vsync 0 /var/www/html/avideo-encoder/videos/17_tmpFile.mp4.webp ["sh: ffmpeg: command not found"] [16-Jan-2020 11:49:15 UTC] sendImages: curl_init [16-Jan-2020 11:49:15 UTC] sendImages: curl_exec [16-Jan-2020 11:49:15 UTC] ERROR on get http://10.4.13.80/avideo/plugin/CustomizeAdvanced/advancedCustom.json.php false [16-Jan-2020 11:49:15 UTC] sendImages: AVideo-Streamer answer {"error":false,"video_id":18} [16-Jan-2020 11:49:15 UTC] {"error":false,"file":"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","target":"http:\/\/10.4.13.80\/avideo\/objects\/aVideoEncoderReceiveImage.json.php","postFields":7,"response_raw":"{\"error\":false,\"video_id\":18}","response":{"error":false,"video_id":18}} [16-Jan-2020 11:49:15 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":143,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":926,"function":"setReturn_varsVideos_id","class":"Encoder","object":{},"type":"->","args":[18]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":552,"function":"sendImages","class":"Encoder","type":"::","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4",18,{}]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[4]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:15 UTC] run:runMultiResolution [16-Jan-2020 11:49:15 UTC] AVideo-Encoder Start Encoder [ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:720 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_HD.mp4] [16-Jan-2020 11:49:15 UTC] ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:720 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_HD.mp4 --- [] --- (8, /var/www/html/avideo-encoder/videos/17_tmpFile.mp4, /var/www/html/avideo-encoder/videos/17_tmpFile_converted_HD.mp4, 17) [16-Jan-2020 11:49:15 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":334,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":359,"function":"exec","class":"Format","type":"::","args":["8","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_HD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":77,"function":"execOrder","class":"Format","type":"::","args":[12,"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_HD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":62,"function":"runMultiResolution","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17","80"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":555,"function":"run","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[4]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:15 UTC] AVideo-Encoder Start Encoder [ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:540 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_SD.mp4] [16-Jan-2020 11:49:15 UTC] ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:540 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_SD.mp4 --- [] --- (7, /var/www/html/avideo-encoder/videos/17_tmpFile.mp4, /var/www/html/avideo-encoder/videos/17_tmpFile_converted_SD.mp4, 17) [16-Jan-2020 11:49:15 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":334,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":359,"function":"exec","class":"Format","type":"::","args":["7","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_SD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":83,"function":"execOrder","class":"Format","type":"::","args":[11,"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_SD.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":62,"function":"runMultiResolution","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17","80"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":555,"function":"run","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[4]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:15 UTC] AVideo-Encoder Start Encoder [ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4] [16-Jan-2020 11:49:15 UTC] ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4 --- [] --- (1, /var/www/html/avideo-encoder/videos/17_tmpFile.mp4, /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4, 17) [16-Jan-2020 11:49:15 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":334,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":359,"function":"exec","class":"Format","type":"::","args":["1","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_Low.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":89,"function":"execOrder","class":"Format","type":"::","args":[10,"\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_Low.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Format.php","line":62,"function":"runMultiResolution","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17","80"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":555,"function":"run","class":"Format","object":{},"type":"->","args":["\/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4","17"]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[4]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}] [16-Jan-2020 11:49:15 UTC] Encoder Run: {"error":true,"msg":"Execute code error \"Array\n(\n)\n\" \n Code: ffmpeg -i \/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y \/var\/www\/html\/avideo-encoder\/videos\/17_tmpFile_converted_Low.mp4"} [16-Jan-2020 11:49:15 UTC] Encoder::save id=(17) title=(credit3)[{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":569,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[4]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[3]},{"file":"\/var\/www\/html\/avideo-encoder\/objects\/Encoder.php","line":563,"function":"run","class":"Encoder","type":"::","args":[2]},{"file":"\/var\/www\/html\/avideo-encoder\/view\/run.php","line":6,"function":"run","class":"Encoder","type":"::","args":[]}]

DanielnetoDotCom commented 4 years ago

Looks like your FFMPEG is not installed properly

ffprobe: command not found

also try to manually run this ffmpeg -i /var/www/html/avideo-encoder/videos/17_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset ultrafast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/html/avideo-encoder/videos/17_tmpFile_converted_Low.mp4