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.php Line 29 Fail to get ID from Database - Docker #304

Open AlthaTechnology opened 3 years ago

AlthaTechnology commented 3 years ago

Hey Daniel, On the encoder side, it runs ffmpeg correctly. Then when it goes to switch to packing the HLS, depending on filesize, it stops here. Is there a way to add more information on this process in the log somehow?

Encoder.php error_log("Encoder::save id=(" . $this->getId() . ") title=(" . $this->getTitle() . ")"); [02-Dec-2020 13:42:29 UTC] Encoder::save id=() title=()

Sincerely, Jared

DanielnetoDotCom commented 3 years ago

Hi

usually, we can see the problem or on the encoder, or on the streamer.

provide a more complete log so we can try to find some clue

AlthaTechnology commented 3 years ago

[01-Dec-2020 13:59:00 UTC] logoff:: done session_id = u5v69i4ip0c4pij569gv5mf2ds [01-Dec-2020 13:59:01 UTC] https://avideotest.althahosting.com/ == https://avideotest.althahosting.com/ [01-Dec-2020 13:59:01 UTC] login.json: Login::run [01-Dec-2020 13:59:01 UTC] Login::run (admin, , https://avideotest.althahosting.com/, true) [01-Dec-2020 13:59:01 UTC] Login::run got an object [01-Dec-2020 13:59:01 UTC] Login:: done session_id = u5v69i4ip0c4pij569gv5mf2ds session_login false [01-Dec-2020 13:59:43 UTC] logoff:: done session_id = u5v69i4ip0c4pij569gv5mf2ds [01-Dec-2020 13:59:43 UTC] https://avideotest.althahosting.com/ == https://avideotest.althahosting.com/ [01-Dec-2020 13:59:43 UTC] login.json: Login::run [01-Dec-2020 13:59:43 UTC] Login::run (admin, , https://avideotest.althahosting.com/, true) [01-Dec-2020 13:59:43 UTC] Login::run got an object [01-Dec-2020 13:59:43 UTC] createIfNotExists:: admin [01-Dec-2020 13:59:43 UTC] Verification Start https://avideotest.althahosting.com/ [01-Dec-2020 13:59:43 UTC] Verification Creating the Cache https://avideotest.althahosting.com/ [01-Dec-2020 13:59:44 UTC] Verification Response (https://search.avideo.com/verify.php?url=https%3A%2F%2Favideotest.althahosting.com%2F): {"msg":["Start","https:\/\/avideotest.althahosting.com\/ Site verified"],"verified":true,"status":"a"} [01-Dec-2020 13:59:44 UTC] Login:: almost done [01-Dec-2020 13:59:44 UTC] Login:: done session_id = u5v69i4ip0c4pij569gv5mf2ds session_login true [01-Dec-2020 13:59:44 UTC] isLogged:: session_login = true [01-Dec-2020 13:59:44 UTC] isLogged:: session_login = true [01-Dec-2020 13:59:44 UTC] isLogged:: session_login = true [01-Dec-2020 13:59:44 UTC] isLogged:: session_login = true [01-Dec-2020 13:59:44 UTC] isLogged:: session_login = true [01-Dec-2020 13:59:44 UTC] isLogged:: session_login = true [01-Dec-2020 13:59:44 UTC] isLogged:: session_login = true [01-Dec-2020 13:59:44 UTC] isLogged:: session_login = true [01-Dec-2020 13:59:44 UTC] isLogged:: session_login = true [01-Dec-2020 13:59:50 UTC] getTitleFromLink: Get Title Error: LC_ALL=en_US.UTF-8 /usr/local/bin/youtube-dl --no-check-certificate --no-playlist --force-ipv4 --skip-download -e "" Array ( [0] => ERROR: u'' is not a valid URL. Set --default-search "ytsearch" (or run youtube-dl "ytsearch:" ) to search YouTube )

[01-Dec-2020 13:59:50 UTC] youtubeDl::addVideo We could not get the title () of your video () [01-Dec-2020 14:00:17 UTC] getTitleFromLink: Get Title: LC_ALL=en_US.UTF-8 /usr/local/bin/youtube-dl --no-check-certificate --no-playlist --force-ipv4 --skip-download -e "https://youtu.be/48KqB3E31Uk" Array ( [0] => Coach Dave LIVE | 11-30-2020 )

[01-Dec-2020 14:00:17 UTC] decideFormatOrder: {"videoURL":"https:\/\/youtu.be\/48KqB3E31Uk","audioOnly":"false","spectrum":"false","webm":"false","inputHLS":"false","inputLow":"false","inputSD":"false","inputHD":"false","inputAutoHLS":"true","inputAutoMP4":"false","inputAutoWebm":"false","inputAutoAudio":"false","categories_id":"0"} [01-Dec-2020 14:00:17 UTC] decideFormatOrder: auto HLS [01-Dec-2020 14:00:17 UTC] AVideo-Encoder Format::getFromOrder(6) [01-Dec-2020 14:00:17 UTC] Encoder::sendFile videos_id=0, format=m3u8 [01-Dec-2020 14:00:20 UTC] Encoder::sendFile sending file to https://avideotest.althahosting.com/aVideoEncoder.json [01-Dec-2020 14:00:20 UTC] Encoder::sendFile reading file from [01-Dec-2020 14:00:20 UTC] AVideo-Streamer answer {"error":false,"video_id":1} [01-Dec-2020 14:00:20 UTC] {"error":false,"format":"m3u8","file":"","resolution":"","videoDownloadedLink":"https:\/\/youtu.be\/48KqB3E31Uk","target":"https:\/\/avideotest.althahosting.com\/aVideoEncoder.json","postFields":13,"response_raw":"{\"error\":false,\"video_id\":1}","response":{"error":false,"video_id":1}} [01-Dec-2020 14:00:20 UTC] Encoder::save id=() title=(Coach Dave LIVE | 11-30-2020) [01-Dec-2020 14:00:20 UTC] Encoder::save id=(1) title=(Coach Dave LIVE | 11-30-2020) [01-Dec-2020 14:00:21 UTC] getReturn_vars {"videos_id":1} [01-Dec-2020 14:00:21 UTC] Encoder::save id=(1) title=(Coach Dave LIVE | 11-30-2020) [01-Dec-2020 14:00:21 UTC] downloadFile: start queue_id = 1 [01-Dec-2020 14:00:21 UTC] downloadFile: url = https://youtu.be/48KqB3E31Uk [01-Dec-2020 14:00:21 UTC] getYoutubeDl: Getting from Youtube DL /usr/local/bin/youtube-dl --no-check-certificate --force-ipv4 --no-check-certificate --no-playlist -k -o /tmp/youtubeDlHFvjbU.mp4 -f 'mp4' "https://youtu.be/48KqB3E31Uk" [01-Dec-2020 14:00:59 UTC] getYoutubeDl: Copying [/tmp/youtubeDlHFvjbU.mp4] to [/var/www/AVideo/AVideo-Encoder/videos/1_tmpFile.mp4] [01-Dec-2020 14:00:59 UTC] downloadFile:getYoutubeDl queue_id = 1 [01-Dec-2020 14:00:59 UTC] downloadFile: success [01-Dec-2020 14:00:59 UTC] Encoder::save id=(1) title=(Coach Dave LIVE | 11-30-2020) [01-Dec-2020 14:00:59 UTC] downloadFile: {"error":false,"filename":"1_tmpFile.mp4","pathFileName":"\/var\/www\/AVideo\/AVideo-Encoder\/videos\/1_tmpFile.mp4"} [01-Dec-2020 14:00:59 UTC] Encoder::save id=(1) title=(Coach Dave LIVE | 11-30-2020) [01-Dec-2020 14:00:59 UTC] sendImages: Sending image to [1] [01-Dec-2020 14:00:59 UTC] Duration found: 1:00:15 [01-Dec-2020 14:00:59 UTC] sendImages: AVideo-Encoder sending file to https://avideotest.althahosting.com/objects/aVideoEncoderReceiveImage.json.php [01-Dec-2020 14:00:59 UTC] sendImages: AVideo-Encoder reading file from /var/www/AVideo/AVideo-Encoder/videos/1_tmpFile.mp4 [01-Dec-2020 14:01:03 UTC] getThumbsFromLink: /usr/local/bin/youtube-dl --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download -o "/tmp/thumbsqcAfrW.jpg" "https://youtu.be/48KqB3E31Uk" [01-Dec-2020 14:01:03 UTC] getGifImage [01-Dec-2020 14:01:03 UTC] getGif: Starts [01-Dec-2020 14:01:03 UTC] getGif: takes 0.2695939540863 sec to complete [01-Dec-2020 14:01:03 UTC] getWebpImage [01-Dec-2020 14:01:03 UTC] getWebpImage: Starts [01-Dec-2020 14:01:04 UTC] getWebpImage: takes 0.92085289955139 sec to complete [01-Dec-2020 14:01:04 UTC] sendImages: curl_init [01-Dec-2020 14:01:04 UTC] sendImages: curl_exec [01-Dec-2020 14:01:04 UTC] sendImages: AVideo-Streamer answer {"error":false,"video_id":1,"jpgDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc64c7488d289.71584222.jpg","jpgDestSize":"101.88KB","gifDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc64c7488d289.71584222.gif","gifDestSize":"830.95KB","webpDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc64c7488d289.71584222.webp","webpDestSize":"657.67KB"} [01-Dec-2020 14:01:04 UTC] {"error":false,"file":"\/var\/www\/AVideo\/AVideo-Encoder\/videos\/1_tmpFile.mp4","target":"https:\/\/avideotest.althahosting.com\/objects\/aVideoEncoderReceiveImage.json.php","postFields":7,"response_raw":"{\"error\":false,\"video_id\":1,\"jpgDest\":\"\\/var\\/www\\/AVideo\\/videos\\/_YPTuniqid_5fc64c7488d289.71584222.jpg\",\"jpgDestSize\":\"101.88KB\",\"gifDest\":\"\\/var\\/www\\/AVideo\\/videos\\/_YPTuniqid_5fc64c7488d289.71584222.gif\",\"gifDestSize\":\"830.95KB\",\"webpDest\":\"\\/var\\/www\\/AVideo\\/videos\\/_YPTuniqid_5fc64c7488d289.71584222.webp\",\"webpDestSize\":\"657.67KB\"}","response":{"error":false,"video_id":1,"jpgDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc64c7488d289.71584222.jpg","jpgDestSize":"101.88KB","gifDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc64c7488d289.71584222.gif","gifDestSize":"830.95KB","webpDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc64c7488d289.71584222.webp","webpDestSize":"657.67KB"}} [01-Dec-2020 14:01:04 UTC] Encoder::save id=(1) title=(Coach Dave LIVE | 11-30-2020) [01-Dec-2020 14:01:04 UTC] AVideo-Encoder Format::run(/var/www/AVideo/AVideo-Encoder/videos/1_tmpFile.mp4, 1) [01-Dec-2020 14:01:04 UTC] run: 6 [01-Dec-2020 14:01:04 UTC] AVideo-Encoder Format::getFromOrder(6) [01-Dec-2020 14:01:04 UTC] AVideo-Encoder Format::exec [30, /var/www/AVideo/AVideo-Encoder/videos/1_tmpFile.mp4, /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_1_streamers_id1.mp4, 1] code=(-c:v h264 -vf scale=-2:{$resolution} -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate {$minrate}k -crf 23 -maxrate {$maxrate}k -bufsize {$bufsize}k -c:a aac -b:a {$autioBitrate}k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file {$destinationFile}keyinfo {$destinationFile}res{$resolution}/index.m3u8) [01-Dec-2020 14:01:04 UTC] getResolution: ffprobe -v quiet -print_format json -show_format -show_streams '/var/www/AVideo/AVideo-Encoder/videos/1_tmpFile.mp4' [01-Dec-2020 14:01:04 UTC] getResolution: success 720 ({ "streams": [ { "index": 0, "codec_name": "h264", "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", "profile": "High", "codec_type": "video", "codec_time_base": "1/60", "codec_tag_string": "avc1", "codec_tag": "0x31637661", "width": 1280, "height": 720, "coded_width": 1280, "coded_height": 720, "has_b_frames": 1, "sample_aspect_ratio": "1:1", "display_aspect_ratio": "16:9", "pix_fmt": "yuv420p", "level": 31, "color_range": "tv", "color_space": "bt709", "color_transfer": "bt709", "color_primaries": "bt709", "chroma_location": "left", "refs": 1, "is_avc": "true", "nal_length_size": "4", "r_frame_rate": "30/1", "avg_frame_rate": "30/1", "time_base": "1/15360", "start_pts": 0, "start_time": "0.000000", "duration_ts": 55526400, "duration": "3615.000000", "bit_rate": "1053324", "bits_per_raw_sample": "8", "nb_frames": "108450", "disposition": { "default": 1, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0 }, "tags": { "language": "und", "handler_name": "ISO Media file produced by Google Inc." } }, { "index": 1, "codec_name": "aac", "codec_long_name": "AAC (Advanced Audio Coding)", "profile": "LC", "codec_type": "audio", "codec_time_base": "1/44100", "codec_tag_string": "mp4a", "codec_tag": "0x6134706d", "sample_fmt": "fltp", "sample_rate": "44100", "channels": 2, "channel_layout": "stereo", "bits_per_sample": 0, "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/44100", "start_pts": 0, "start_time": "0.000000", "duration_ts": 159422464, "duration": "3615.021859", "bit_rate": "127999", "nb_frames": "155686", "disposition": { "default": 1, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0 }, "tags": { "language": "eng", "handler_name": "ISO Media file produced by Google Inc." } } ], "format": { "filename": "/var/www/AVideo/AVideo-Encoder/videos/1_tmpFile.mp4", "nb_streams": 2, "nb_programs": 0, "format_name": "mov,mp4,m4a,3gp,3g2,mj2", "format_long_name": "QuickTime / MOV", "start_time": "0.000000", "duration": "3615.021000", "size": "535312310", "bit_rate": "1184640", "probe_score": 100, "tags": { "major_brand": "mp42", "minor_version": "0", "compatible_brands": "isommp42", "encoder": "Google" } } }) [01-Dec-2020 14:01:04 UTC] AVideo-Encoder Format::exec Start Encoder [ffmpeg -i /var/www/AVideo/AVideo-Encoder/videos/1_tmpFile.mp4 -c:v h264 -vf scale=-2:240 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 200k -crf 23 -maxrate 450k -bufsize 600k -c:a aac -b:a 128k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_1_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_1_streamers_id1/res240/index.m3u8 -c:v h264 -vf scale=-2:360 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 300k -crf 23 -maxrate 900k -bufsize 1200k -c:a aac -b:a 128k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_1_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_1_streamers_id1/res360/index.m3u8 -c:v h264 -vf scale=-2:480 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 500k -crf 23 -maxrate 1500k -bufsize 2000k -c:a aac -b:a 128k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_1_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_1_streamers_id1/res480/index.m3u8 -c:v h264 -vf scale=-2:720 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 1000k -crf 23 -maxrate 3000k -bufsize 4000k -c:a aac -b:a 192k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_1_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_1_streamers_id1/res720/index.m3u8] [01-Dec-2020 14:21:53 UTC] Encoder::save id=() title=() [01-Dec-2020 14:26:38 UTC] logoff:: done session_id = ljovn35e7gtpn7d4otqhccu9hs [01-Dec-2020 14:26:39 UTC] https://avideotest.althahosting.com/ == https://avideotest.althahosting.com/ [01-Dec-2020 14:26:39 UTC] login.json: Login::run [01-Dec-2020 14:26:39 UTC] Login::run (admin, , https://avideotest.althahosting.com/, true) [01-Dec-2020 14:26:39 UTC] Login::run got an object [01-Dec-2020 14:26:39 UTC] createIfNotExists:: admin [01-Dec-2020 14:26:39 UTC] Verification Start https://avideotest.althahosting.com/ [01-Dec-2020 14:26:39 UTC] Verification GetFrom Cache https://avideotest.althahosting.com/ [01-Dec-2020 14:26:39 UTC] Verification Response (): {"msg":["Start","https:\/\/avideotest.althahosting.com\/ Site verified"],"verified":true,"status":"a"} [01-Dec-2020 14:26:39 UTC] Login:: almost done [01-Dec-2020 14:26:39 UTC] Login:: done session_id = sagh35nio9eh5q9h3c8rvpc361 session_login true [01-Dec-2020 14:26:39 UTC] isLogged:: session_login = true [01-Dec-2020 14:26:39 UTC] isLogged:: session_login = true [01-Dec-2020 14:26:39 UTC] isLogged:: session_login = true [01-Dec-2020 14:26:39 UTC] isLogged:: session_login = true [01-Dec-2020 14:26:39 UTC] isLogged:: session_login = true [01-Dec-2020 14:26:39 UTC] isLogged:: session_login = true [01-Dec-2020 14:26:39 UTC] isLogged:: session_login = true [01-Dec-2020 14:26:39 UTC] isLogged:: session_login = true [01-Dec-2020 14:26:39 UTC] isLogged:: session_login = true [01-Dec-2020 17:04:24 UTC] logoff:: done session_id = l68uoahnftr1sohnvkriodpco6 [01-Dec-2020 17:04:24 UTC] https://avideotest.althahosting.com/ == https://avideotest.althahosting.com/ [01-Dec-2020 17:04:24 UTC] login.json: Login::run [01-Dec-2020 17:04:24 UTC] Login::run (admin, , https://avideotest.althahosting.com/, true) [01-Dec-2020 17:04:24 UTC] Login::run got an object [01-Dec-2020 17:04:24 UTC] createIfNotExists:: admin [01-Dec-2020 17:04:24 UTC] Verification Start https://avideotest.althahosting.com/ [01-Dec-2020 17:04:24 UTC] Verification Creating the Cache https://avideotest.althahosting.com/ [01-Dec-2020 17:04:24 UTC] Verification Response (https://search.avideo.com/verify.php?url=https%3A%2F%2Favideotest.althahosting.com%2F): {"msg":["Start","https:\/\/avideotest.althahosting.com\/ Site verified"],"verified":true,"status":"a"} [01-Dec-2020 17:04:24 UTC] Login:: almost done [01-Dec-2020 17:04:24 UTC] Login:: done session_id = dlc94ftq5qla3f764mnqadofdd session_login true [01-Dec-2020 17:04:24 UTC] isLogged:: session_login = true [01-Dec-2020 17:04:24 UTC] isLogged:: session_login = true [01-Dec-2020 17:04:24 UTC] isLogged:: session_login = true [01-Dec-2020 17:04:24 UTC] isLogged:: session_login = true [01-Dec-2020 17:04:24 UTC] isLogged:: session_login = true [01-Dec-2020 17:04:24 UTC] isLogged:: session_login = true [01-Dec-2020 17:04:25 UTC] isLogged:: session_login = true [01-Dec-2020 17:04:25 UTC] isLogged:: session_login = true [01-Dec-2020 17:04:25 UTC] isLogged:: session_login = true [01-Dec-2020 18:22:32 UTC] logoff:: done session_id = dlc94ftq5qla3f764mnqadofdd [01-Dec-2020 18:22:32 UTC] https://avideotest.althahosting.com/ == https://avideotest.althahosting.com/ [01-Dec-2020 18:22:32 UTC] login.json: Login::run [01-Dec-2020 18:22:32 UTC] Login::run (admin, ***, https://avideotest.althahosting.com/, true) [01-Dec-2020 18:22:32 UTC] Login::run got an object [01-Dec-2020 18:22:32 UTC] createIfNotExists:: admin [01-Dec-2020 18:22:32 UTC] Verification Start https://avideotest.althahosting.com/ [01-Dec-2020 18:22:32 UTC] Verification Creating the Cache https://avideotest.althahosting.com/ [01-Dec-2020 18:22:33 UTC] Verification Response (https://search.avideo.com/verify.php?url=https%3A%2F%2Favideotest.althahosting.com%2F): {"msg":["Start","https:\/\/avideotest.althahosting.com\/ Site verified"],"verified":true,"status":"a"} [01-Dec-2020 18:22:33 UTC] Login:: almost done [01-Dec-2020 18:22:33 UTC] Login:: done session_id = dlc94ftq5qla3f764mnqadofdd session_login true [01-Dec-2020 18:22:33 UTC] isLogged:: session_login = true [01-Dec-2020 18:22:33 UTC] isLogged:: session_login = true [01-Dec-2020 18:22:33 UTC] isLogged:: session_login = true [01-Dec-2020 18:22:33 UTC] isLogged:: session_login = true [01-Dec-2020 18:22:33 UTC] isLogged:: session_login = true [01-Dec-2020 18:22:33 UTC] isLogged:: session_login = true [01-Dec-2020 18:22:33 UTC] isLogged:: session_login = true [01-Dec-2020 18:22:33 UTC] isLogged:: session_login = true [01-Dec-2020 18:22:33 UTC] isLogged:: session_login = true [01-Dec-2020 18:23:01 UTC] getTitleFromLink: Get Title: LC_ALL=en_US.UTF-8 /usr/local/bin/youtube-dl --no-check-certificate --no-playlist --force-ipv4 --skip-download -e "https://youtu.be/4MkrEMjPk24" Array ( [0] => Apple Destroyed my Expectations. )

[01-Dec-2020 18:23:01 UTC] decideFormatOrder: {"videoURL":"https:\/\/youtu.be\/4MkrEMjPk24","audioOnly":"false","spectrum":"false","webm":"false","inputHLS":"false","inputLow":"false","inputSD":"false","inputHD":"false","inputAutoHLS":"true","inputAutoMP4":"false","inputAutoWebm":"false","inputAutoAudio":"false","categories_id":"0"} [01-Dec-2020 18:23:01 UTC] decideFormatOrder: auto HLS [01-Dec-2020 18:23:01 UTC] AVideo-Encoder Format::getFromOrder(6) [01-Dec-2020 18:23:01 UTC] Encoder::sendFile videos_id=0, format=m3u8 [01-Dec-2020 18:23:04 UTC] Encoder::sendFile sending file to https://avideotest.althahosting.com/aVideoEncoder.json [01-Dec-2020 18:23:04 UTC] Encoder::sendFile reading file from [01-Dec-2020 18:23:04 UTC] AVideo-Streamer answer {"error":false,"video_id":2} [01-Dec-2020 18:23:04 UTC] {"error":false,"format":"m3u8","file":"","resolution":"","videoDownloadedLink":"https:\/\/youtu.be\/4MkrEMjPk24","target":"https:\/\/avideotest.althahosting.com\/aVideoEncoder.json","postFields":13,"response_raw":"{\"error\":false,\"video_id\":2}","response":{"error":false,"video_id":2}} [01-Dec-2020 18:23:04 UTC] Encoder::save id=() title=(Apple Destroyed my Expectations.) [01-Dec-2020 18:23:04 UTC] Encoder::save id=(2) title=(Apple Destroyed my Expectations.) [01-Dec-2020 18:23:08 UTC] getReturn_vars {"videos_id":2} [01-Dec-2020 18:23:08 UTC] Encoder::save id=(2) title=(Apple Destroyed my Expectations.) [01-Dec-2020 18:23:08 UTC] downloadFile: start queue_id = 2 [01-Dec-2020 18:23:08 UTC] downloadFile: url = https://youtu.be/4MkrEMjPk24 [01-Dec-2020 18:23:08 UTC] getYoutubeDl: Getting from Youtube DL /usr/local/bin/youtube-dl --no-check-certificate --force-ipv4 --no-check-certificate --no-playlist -k -o /tmp/youtubeDlZbYP5K.mp4 -f 'mp4' "https://youtu.be/4MkrEMjPk24" [01-Dec-2020 18:23:13 UTC] getYoutubeDl: Copying [/tmp/youtubeDlZbYP5K.mp4] to [/var/www/AVideo/AVideo-Encoder/videos/2_tmpFile.mp4] [01-Dec-2020 18:23:13 UTC] downloadFile:getYoutubeDl queue_id = 2 [01-Dec-2020 18:23:13 UTC] downloadFile: success [01-Dec-2020 18:23:13 UTC] Encoder::save id=(2) title=(Apple Destroyed my Expectations.) [01-Dec-2020 18:23:13 UTC] downloadFile: {"error":false,"filename":"2_tmpFile.mp4","pathFileName":"\/var\/www\/AVideo\/AVideo-Encoder\/videos\/2_tmpFile.mp4"} [01-Dec-2020 18:23:13 UTC] Encoder::save id=(2) title=(Apple Destroyed my Expectations.) [01-Dec-2020 18:23:13 UTC] sendImages: Sending image to [2] [01-Dec-2020 18:23:13 UTC] Duration found: 0:20:24 [01-Dec-2020 18:23:13 UTC] sendImages: AVideo-Encoder sending file to https://avideotest.althahosting.com/objects/aVideoEncoderReceiveImage.json.php [01-Dec-2020 18:23:13 UTC] sendImages: AVideo-Encoder reading file from /var/www/AVideo/AVideo-Encoder/videos/2_tmpFile.mp4 [01-Dec-2020 18:23:15 UTC] getThumbsFromLink: /usr/local/bin/youtube-dl --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download -o "/tmp/thumbsX3VPgL.jpg" "https://youtu.be/4MkrEMjPk24" [01-Dec-2020 18:23:15 UTC] getThumbsFromLink: Error: ["WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.","[youtube] 4MkrEMjPk24: Downloading webpage","[youtube] Downloading just video 4MkrEMjPk24 because of --no-playlist","[youtube] 4MkrEMjPk24: Downloading thumbnail ...","[youtube] 4MkrEMjPk24: Writing thumbnail to: \/tmp\/thumbsX3VPgL.webp"] [01-Dec-2020 18:23:15 UTC] getImage: ffmpeg -ss 00:10:00 -i "/var/www/AVideo/AVideo-Encoder/videos/2_tmpFile.mp4" -vframes 1 -y "/var/www/AVideo/AVideo-Encoder/videos/2_tmpFile.mp4.jpg" [01-Dec-2020 18:23:15 UTC] getImage: takes 0.13485503196716 sec to complete [01-Dec-2020 18:23:15 UTC] getGifImage [01-Dec-2020 18:23:15 UTC] getGif: Starts [01-Dec-2020 18:23:16 UTC] getGif: takes 0.29958987236023 sec to complete [01-Dec-2020 18:23:16 UTC] getWebpImage [01-Dec-2020 18:23:16 UTC] getWebpImage: Starts [01-Dec-2020 18:23:17 UTC] getWebpImage: takes 0.84312510490417 sec to complete [01-Dec-2020 18:23:17 UTC] sendImages: curl_init [01-Dec-2020 18:23:17 UTC] sendImages: curl_exec [01-Dec-2020 18:23:17 UTC] sendImages: AVideo-Streamer answer {"error":false,"video_id":2,"jpgDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc68a081bb9b0.92372999.jpg","jpgDestSize":"75.77KB","gifDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc68a081bb9b0.92372999.gif","gifDestSize":"773.99KB","webpDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc68a081bb9b0.92372999.webp","webpDestSize":"683.21KB"} [01-Dec-2020 18:23:17 UTC] {"error":false,"file":"\/var\/www\/AVideo\/AVideo-Encoder\/videos\/2_tmpFile.mp4","target":"https:\/\/avideotest.althahosting.com\/objects\/aVideoEncoderReceiveImage.json.php","postFields":7,"response_raw":"{\"error\":false,\"video_id\":2,\"jpgDest\":\"\\/var\\/www\\/AVideo\\/videos\\/_YPTuniqid_5fc68a081bb9b0.92372999.jpg\",\"jpgDestSize\":\"75.77KB\",\"gifDest\":\"\\/var\\/www\\/AVideo\\/videos\\/_YPTuniqid_5fc68a081bb9b0.92372999.gif\",\"gifDestSize\":\"773.99KB\",\"webpDest\":\"\\/var\\/www\\/AVideo\\/videos\\/_YPTuniqid_5fc68a081bb9b0.92372999.webp\",\"webpDestSize\":\"683.21KB\"}","response":{"error":false,"video_id":2,"jpgDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc68a081bb9b0.92372999.jpg","jpgDestSize":"75.77KB","gifDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc68a081bb9b0.92372999.gif","gifDestSize":"773.99KB","webpDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc68a081bb9b0.92372999.webp","webpDestSize":"683.21KB"}} [01-Dec-2020 18:23:17 UTC] Encoder::save id=(2) title=(Apple Destroyed my Expectations.) [01-Dec-2020 18:23:17 UTC] AVideo-Encoder Format::run(/var/www/AVideo/AVideo-Encoder/videos/2_tmpFile.mp4, 2) [01-Dec-2020 18:23:17 UTC] run: 6 [01-Dec-2020 18:23:17 UTC] AVideo-Encoder Format::getFromOrder(6) [01-Dec-2020 18:23:17 UTC] AVideo-Encoder Format::exec [30, /var/www/AVideo/AVideo-Encoder/videos/2_tmpFile.mp4, /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_2_streamers_id1.mp4, 2] code=(-c:v h264 -vf scale=-2:{$resolution} -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate {$minrate}k -crf 23 -maxrate {$maxrate}k -bufsize {$bufsize}k -c:a aac -b:a {$autioBitrate}k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file {$destinationFile}keyinfo {$destinationFile}res{$resolution}/index.m3u8) [01-Dec-2020 18:23:17 UTC] getResolution: ffprobe -v quiet -print_format json -show_format -show_streams '/var/www/AVideo/AVideo-Encoder/videos/2_tmpFile.mp4' [01-Dec-2020 18:23:17 UTC] getResolution: success 640 ({ "streams": [ { "index": 0, "codec_name": "h264", "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", "profile": "High", "codec_type": "video", "codec_time_base": "1001/60000", "codec_tag_string": "avc1", "codec_tag": "0x31637661", "width": 1280, "height": 640, "coded_width": 1280, "coded_height": 640, "has_b_frames": 1, "sample_aspect_ratio": "1:1", "display_aspect_ratio": "2:1", "pix_fmt": "yuv420p", "level": 31, "color_range": "tv", "color_space": "bt709", "color_transfer": "bt709", "color_primaries": "bt709", "chroma_location": "left", "refs": 1, "is_avc": "true", "nal_length_size": "4", "r_frame_rate": "30000/1001", "avg_frame_rate": "30000/1001", "time_base": "1/30000", "start_pts": 0, "start_time": "0.000000", "duration_ts": 36732696, "duration": "1224.423200", "bit_rate": "750847", "bits_per_raw_sample": "8", "nb_frames": "36696", "disposition": { "default": 1, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0 }, "tags": { "creation_time": "2020-11-28T17:37:26.000000Z", "language": "und", "handler_name": "ISO Media file produced by Google Inc. Created on: 11/28/2020." } }, { "index": 1, "codec_name": "aac", "codec_long_name": "AAC (Advanced Audio Coding)", "profile": "LC", "codec_type": "audio", "codec_time_base": "1/44100", "codec_tag_string": "mp4a", "codec_tag": "0x6134706d", "sample_fmt": "fltp", "sample_rate": "44100", "channels": 2, "channel_layout": "stereo", "bits_per_sample": 0, "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/44100", "start_pts": 0, "start_time": "0.000000", "duration_ts": 53997568, "duration": "1224.434649", "bit_rate": "128002", "nb_frames": "52732", "disposition": { "default": 1, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0 }, "tags": { "creation_time": "2020-11-28T17:37:26.000000Z", "language": "eng", "handler_name": "ISO Media file produced by Google Inc. Created on: 11/28/2020." } } ], "format": { "filename": "/var/www/AVideo/AVideo-Encoder/videos/2_tmpFile.mp4", "nb_streams": 2, "nb_programs": 0, "format_name": "mov,mp4,m4a,3gp,3g2,mj2", "format_long_name": "QuickTime / MOV", "start_time": "0.000000", "duration": "1224.434633", "size": "135010259", "bit_rate": "882106", "probe_score": 100, "tags": { "major_brand": "mp42", "minor_version": "0", "compatible_brands": "isommp42", "creation_time": "2020-11-28T17:37:26.000000Z" } } }) [01-Dec-2020 18:23:17 UTC] AVideo-Encoder Format::exec Start Encoder [ffmpeg -i /var/www/AVideo/AVideo-Encoder/videos/2_tmpFile.mp4 -c:v h264 -vf scale=-2:240 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 200k -crf 23 -maxrate 450k -bufsize 600k -c:a aac -b:a 128k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_2_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_2_streamers_id1/res240/index.m3u8 -c:v h264 -vf scale=-2:360 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 300k -crf 23 -maxrate 900k -bufsize 1200k -c:a aac -b:a 128k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_2_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_2_streamers_id1/res360/index.m3u8 -c:v h264 -vf scale=-2:480 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 500k -crf 23 -maxrate 1500k -bufsize 2000k -c:a aac -b:a 128k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_2_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_2_streamers_id1/res480/index.m3u8] [01-Dec-2020 18:27:41 UTC] Encoder::save id=(2) title=(Apple Destroyed my Expectations.) [01-Dec-2020 18:27:41 UTC] posProcessHLS: ZIP start /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_2_streamers_id1/ [01-Dec-2020 18:27:49 UTC] posProcessHLS: ZIP created /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_2_streamers_id1.zip 219.13MB [01-Dec-2020 18:27:49 UTC] getReturn_vars {"videos_id":2} [01-Dec-2020 18:27:49 UTC] Encoder::save id=(2) title=(Apple Destroyed my Expectations.) [01-Dec-2020 18:27:49 UTC] Encoder::send() order_id=6 [01-Dec-2020 18:27:49 UTC] Encoder::send() multiResolutionOrder [01-Dec-2020 18:27:49 UTC] Encoder::send() multiResolutionOrder sendAll found (1) files [01-Dec-2020 18:27:49 UTC] Encoder::send() multiResolutionOrder sendAll resolution() (/var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_2_streamers_id1.zip) [01-Dec-2020 18:27:49 UTC] Encoder::sendFileToDownload videos_id=2, format=zip [01-Dec-2020 18:27:49 UTC] {"status":"error", "msg":"getDurationFromFile ERROR, File (/var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_2_streamers_id1.mp4) Not Found"} [01-Dec-2020 18:27:51 UTC] Encoder::sendFileToDownload sending file to https://avideotest.althahosting.com/aVideoEncoder.json [01-Dec-2020 18:27:51 UTC] Encoder::sendFileToDownload reading file from /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_2_streamers_id1.zip [01-Dec-2020 18:27:59 UTC] AVideo-Streamer answer {"error":false,"video_id":2} [01-Dec-2020 18:27:59 UTC] {"error":false,"format":"zip","file":"\/var\/www\/AVideo\/AVideo-Encoder\/videos\/avideoTmpFile_2_streamers_id1.zip","resolution":null,"videoDownloadedLink":"https:\/\/youtu.be\/4MkrEMjPk24","target":"https:\/\/avideotest.althahosting.com\/aVideoEncoder.json","postFields":12,"videoFileSize":"219.13MB","response_raw":"{\"error\":false,\"video_id\":2}","response":{"error":false,"video_id":2}} [01-Dec-2020 18:27:59 UTC] Encoder::save id=(2) title=(Apple Destroyed my Expectations.) [01-Dec-2020 18:27:59 UTC] Encoder:sendFileChunk no need, we could download [01-Dec-2020 18:27:59 UTC] Encoder::save id=(2) title=(Apple Destroyed my Expectations.) [01-Dec-2020 18:27:59 UTC] getReturn_vars {"videos_id":2} [01-Dec-2020 18:27:59 UTC] AVideo-Encoder sending confirmation to https://avideotest.althahosting.com/objects/aVideoEncoderNotifyIsDone.json.php [01-Dec-2020 18:27:59 UTC] AVideo-Streamer confirmation answer {"error":false,"video_id":2} [01-Dec-2020 18:27:59 UTC] {"error":false,"target":"https:\/\/avideotest.althahosting.com\/objects\/aVideoEncoderNotifyIsDone.json.php","postFields":{"videos_id":2,"user":"admin","password":"1a2b0303972b51d8237bec628f3702a9","fail":0},"response_raw":"{\"error\":false,\"video_id\":2}","response":{"error":false,"video_id":2}} [01-Dec-2020 18:27:59 UTC] Encoder::save id=(2) title=(Apple Destroyed my Expectations.) [01-Dec-2020 18:40:58 UTC] logoff:: done session_id = dlc94ftq5qla3f764mnqadofdd [01-Dec-2020 18:40:58 UTC] https://avideotest.althahosting.com/ == https://avideotest.althahosting.com/ [01-Dec-2020 18:40:58 UTC] login.json: Login::run [01-Dec-2020 18:40:58 UTC] Login::run (admin, *, https://avideotest.althahosting.com/, true) [01-Dec-2020 18:40:58 UTC] Login::run got an object [01-Dec-2020 18:40:58 UTC] createIfNotExists:: admin [01-Dec-2020 18:40:58 UTC] Verification Start https://avideotest.althahosting.com/ [01-Dec-2020 18:40:58 UTC] Verification GetFrom Cache https://avideotest.althahosting.com/ [01-Dec-2020 18:40:58 UTC] Verification Response (): {"msg":["Start","https:\/\/avideotest.althahosting.com\/ Site verified"],"verified":true,"status":"a"} [01-Dec-2020 18:40:58 UTC] Login:: almost done [01-Dec-2020 18:40:58 UTC] Login:: done session_id = dlc94ftq5qla3f764mnqadofdd session_login true [01-Dec-2020 18:40:58 UTC] isLogged:: session_login = true [01-Dec-2020 18:40:58 UTC] isLogged:: session_login = true [01-Dec-2020 18:40:58 UTC] isLogged:: session_login = true [01-Dec-2020 18:40:58 UTC] isLogged:: session_login = true [01-Dec-2020 18:40:58 UTC] isLogged:: session_login = true [01-Dec-2020 18:40:58 UTC] isLogged:: session_login = true [01-Dec-2020 18:40:58 UTC] isLogged:: session_login = true [01-Dec-2020 18:40:58 UTC] isLogged:: session_login = true [01-Dec-2020 18:40:58 UTC] isLogged:: session_login = true [01-Dec-2020 18:42:48 UTC] Upload.php will set format [01-Dec-2020 18:42:48 UTC] Upload.php will let function decide decideFormatOrder [01-Dec-2020 18:42:48 UTC] decideFormatOrder: {"file":"CoachDaveLive_Episode20201201_070006.mp4","audioOnly":"false","spectrum":"false","webm":"false","inputHLS":"false","inputLow":"false","inputSD":"false","inputHD":"false","inputAutoHLS":"true","inputAutoMP4":"false","inputAutoWebm":"false","inputAutoAudio":"false","title":"","description":"","categories_id":"0","PHPSESSID":"dlc94ftq5qla3f764mnqadofdd"} [01-Dec-2020 18:42:48 UTC] decideFormatOrder: auto HLS [01-Dec-2020 18:42:48 UTC] AVideo-Encoder Format::getFromOrder(6) [01-Dec-2020 18:42:48 UTC] Encoder::sendFile videos_id=0, format=m3u8 [01-Dec-2020 18:42:48 UTC] Encoder::sendFile sending file to https://avideotest.althahosting.com/aVideoEncoder.json [01-Dec-2020 18:42:48 UTC] Encoder::sendFile reading file from [01-Dec-2020 18:42:49 UTC] AVideo-Streamer answer {"error":false,"video_id":3} [01-Dec-2020 18:42:49 UTC] {"error":false,"format":"m3u8","file":"","resolution":"","videoDownloadedLink":null,"target":"https:\/\/avideotest.althahosting.com\/aVideoEncoder.json","postFields":13,"response_raw":"{\"error\":false,\"video_id\":3}","response":{"error":false,"video_id":3}} [01-Dec-2020 18:42:49 UTC] Encoder::save id=() title=(CoachDaveLive_Episode20201201_070006) [01-Dec-2020 18:42:49 UTC] Encoder::save id=(3) title=(CoachDaveLive_Episode20201201_070006) [01-Dec-2020 18:42:50 UTC] getReturn_vars {"videos_id":3} [01-Dec-2020 18:42:50 UTC] Encoder::save id=(3) title=(CoachDaveLive_Episode20201201_070006) [01-Dec-2020 18:42:50 UTC] downloadFile: start queue_id = 3 [01-Dec-2020 18:42:50 UTC] downloadFile: url = https://avideotest.althahosting.com/AVideo-Encoder/videos/original_CoachDaveLiveEpisode20201201070006_YPTuniqid_5fc68ea8f100f6.60582851 [01-Dec-2020 18:42:50 UTC] downloadFile:strpos global['webSiteRootURL'] = https://avideotest.althahosting.com/AVideo-Encoder/ [01-Dec-2020 18:42:50 UTC] downloadFile: this file was uploaded from file and thus is in the videos [01-Dec-2020 18:42:50 UTC] downloadFile: downloadedFile = /var/www/AVideo/AVideo-Encoder/videos/original_CoachDaveLiveEpisode20201201070006_YPTuniqid_5fc68ea8f100f6.60582851 | url = https://avideotest.althahosting.com/AVideo-Encoder/videos/original_CoachDaveLiveEpisode20201201070006_YPTuniqid_5fc68ea8f100f6.60582851 [01-Dec-2020 18:42:51 UTC] Try to get UTF8 URL https://avideotest.althahosting.com/AVideo-Encoder/videos/original_CoachDaveLiveEpisode20201201070006_YPTuniqid_5fc68ea8f100f6.60582851 [01-Dec-2020 18:42:51 UTC] Try to get UTF8 decode URL https://avideotest.althahosting.com/AVideo-Encoder/videos/original_CoachDaveLiveEpisode20201201070006_YPTuniqid_5fc68ea8f100f6.60582851 [01-Dec-2020 18:42:51 UTC] downloadFile: success [01-Dec-2020 18:42:51 UTC] Encoder::save id=(3) title=(CoachDaveLive_Episode20201201_070006) [01-Dec-2020 18:42:51 UTC] downloadFile: {"error":false,"filename":"3_tmpFile.mp4","pathFileName":"\/var\/www\/AVideo\/AVideo-Encoder\/videos\/3_tmpFile.mp4"} [01-Dec-2020 18:42:51 UTC] Encoder::save id=(3) title=(CoachDaveLive_Episode20201201_070006) [01-Dec-2020 18:42:51 UTC] sendImages: Sending image to [3] [01-Dec-2020 18:42:51 UTC] Duration found: 1:00:04 [01-Dec-2020 18:42:51 UTC] sendImages: AVideo-Encoder sending file to https://avideotest.althahosting.com/objects/aVideoEncoderReceiveImage.json.php [01-Dec-2020 18:42:51 UTC] sendImages: AVideo-Encoder reading file from /var/www/AVideo/AVideo-Encoder/videos/3_tmpFile.mp4 [01-Dec-2020 18:42:51 UTC] getImage: ffmpeg -ss 00:10:00 -i "/var/www/AVideo/AVideo-Encoder/videos/3_tmpFile.mp4" -vframes 1 -y "/var/www/AVideo/AVideo-Encoder/videos/3_tmpFile.mp4.jpg" [01-Dec-2020 18:42:51 UTC] getImage: takes 0.19619512557983 sec to complete [01-Dec-2020 18:42:51 UTC] getGifImage [01-Dec-2020 18:42:51 UTC] getGif: Starts [01-Dec-2020 18:42:52 UTC] getGif: takes 0.41299295425415 sec to complete [01-Dec-2020 18:42:52 UTC] getWebpImage [01-Dec-2020 18:42:52 UTC] getWebpImage: Starts [01-Dec-2020 18:42:53 UTC] getWebpImage: takes 1.0303947925568 sec to complete [01-Dec-2020 18:42:53 UTC] sendImages: curl_init [01-Dec-2020 18:42:53 UTC] sendImages: curl_exec [01-Dec-2020 18:42:53 UTC] sendImages: AVideo-Streamer answer {"error":false,"video_id":3,"jpgDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc68ea903c352.78591146.jpg","jpgDestSize":"122.26KB","gifDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc68ea903c352.78591146.gif","gifDestSize":"393.69KB","webpDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc68ea903c352.78591146.webp","webpDestSize":"868.64KB"} [01-Dec-2020 18:42:53 UTC] {"error":false,"file":"\/var\/www\/AVideo\/AVideo-Encoder\/videos\/3_tmpFile.mp4","target":"https:\/\/avideotest.althahosting.com\/objects\/aVideoEncoderReceiveImage.json.php","postFields":7,"response_raw":"{\"error\":false,\"video_id\":3,\"jpgDest\":\"\\/var\\/www\\/AVideo\\/videos\\/_YPTuniqid_5fc68ea903c352.78591146.jpg\",\"jpgDestSize\":\"122.26KB\",\"gifDest\":\"\\/var\\/www\\/AVideo\\/videos\\/_YPTuniqid_5fc68ea903c352.78591146.gif\",\"gifDestSize\":\"393.69KB\",\"webpDest\":\"\\/var\\/www\\/AVideo\\/videos\\/_YPTuniqid_5fc68ea903c352.78591146.webp\",\"webpDestSize\":\"868.64KB\"}","response":{"error":false,"video_id":3,"jpgDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc68ea903c352.78591146.jpg","jpgDestSize":"122.26KB","gifDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc68ea903c352.78591146.gif","gifDestSize":"393.69KB","webpDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc68ea903c352.78591146.webp","webpDestSize":"868.64KB"}} [01-Dec-2020 18:42:53 UTC] Encoder::save id=(3) title=(CoachDaveLive_Episode__20201201_070006) [01-Dec-2020 18:42:53 UTC] AVideo-Encoder Format::run(/var/www/AVideo/AVideo-Encoder/videos/3_tmpFile.mp4, 3) [01-Dec-2020 18:42:53 UTC] run: 6 [01-Dec-2020 18:42:53 UTC] AVideo-Encoder Format::getFromOrder(6) [01-Dec-2020 18:42:53 UTC] AVideo-Encoder Format::exec [30, /var/www/AVideo/AVideo-Encoder/videos/3_tmpFile.mp4, /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_3_streamers_id1.mp4, 3] code=(-c:v h264 -vf scale=-2:{$resolution} -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate {$minrate}k -crf 23 -maxrate {$maxrate}k -bufsize {$bufsize}k -c:a aac -b:a {$autioBitrate}k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file {$destinationFile}keyinfo {$destinationFile}res{$resolution}/index.m3u8) [01-Dec-2020 18:42:53 UTC] getResolution: ffprobe -v quiet -print_format json -show_format -show_streams '/var/www/AVideo/AVideo-Encoder/videos/3_tmpFile.mp4' [01-Dec-2020 18:42:53 UTC] getResolution: success 1080 ({ "streams": [ { "index": 0, "codec_name": "h264", "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", "profile": "High", "codec_type": "video", "codec_time_base": "108137/6486360", "codec_tag_string": "avc1", "codec_tag": "0x31637661", "width": 1920, "height": 1080, "coded_width": 1920, "coded_height": 1088, "has_b_frames": 1, "sample_aspect_ratio": "1:1", "display_aspect_ratio": "16:9", "pix_fmt": "yuv420p", "level": 40, "chroma_location": "left", "refs": 1, "is_avc": "true", "nal_length_size": "4", "r_frame_rate": "30/1", "avg_frame_rate": "3243180/108137", "time_base": "1/3000", "start_pts": 0, "start_time": "0.000000", "duration_ts": 10813700, "duration": "3604.566667", "bit_rate": "5770151", "bits_per_raw_sample": "8", "nb_frames": "108106", "disposition": { "default": 1, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0 }, "tags": { "creation_time": "2020-12-01T07:00:07.000000Z", "language": "und", "encoder": "AVC" } }, { "index": 1, "codec_name": "aac", "codec_long_name": "AAC (Advanced Audio Coding)", "profile": "LC", "codec_type": "audio", "codec_time_base": "1/44100", "codec_tag_string": "mp4a", "codec_tag": "0x6134706d", "sample_fmt": "fltp", "sample_rate": "44100", "channels": 2, "channel_layout": "stereo", "bits_per_sample": 0, "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/44100", "start_pts": 0, "start_time": "0.000000", "duration_ts": 158961390, "duration": "3604.566667", "bit_rate": "177213", "max_bit_rate": "192000", "nb_frames": "155236", "disposition": { "default": 1, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0 }, "tags": { "creation_time": "2020-12-01T07:00:07.000000Z", "language": "und" } } ], "format": { "filename": "/var/www/AVideo/AVideo-Encoder/videos/3_tmpFile.mp4", "nb_streams": 2, "nb_programs": 0, "format_name": "mov,mp4,m4a,3gp,3g2,mj2", "format_long_name": "QuickTime / MOV", "start_time": "0.000000", "duration": "3604.566667", "size": "2715644096", "bit_rate": "6027119", "probe_score": 100, "tags": { "major_brand": "mp42", "minor_version": "0", "compatible_brands": "mp42isom", "creation_time": "2020-12-01T07:00:07.000000Z" } } }) [01-Dec-2020 18:42:53 UTC] AVideo-Encoder Format::exec Start Encoder [ffmpeg -i /var/www/AVideo/AVideo-Encoder/videos/3_tmpFile.mp4 -c:v h264 -vf scale=-2:240 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 200k -crf 23 -maxrate 450k -bufsize 600k -c:a aac -b:a 128k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_3_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_3_streamers_id1/res240/index.m3u8 -c:v h264 -vf scale=-2:360 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 300k -crf 23 -maxrate 900k -bufsize 1200k -c:a aac -b:a 128k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_3_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_3_streamers_id1/res360/index.m3u8 -c:v h264 -vf scale=-2:480 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 500k -crf 23 -maxrate 1500k -bufsize 2000k -c:a aac -b:a 128k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_3_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_3_streamers_id1/res480/index.m3u8 -c:v h264 -vf scale=-2:720 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 1000k -crf 23 -maxrate 3000k -bufsize 4000k -c:a aac -b:a 192k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_3_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_3_streamers_id1/res720/index.m3u8 -c:v h264 -vf scale=-2:1080 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 2000k -crf 23 -maxrate 6000k -bufsize 8000k -c:a aac -b:a 192k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_3_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_3_streamers_id1/res1080/index.m3u8] [01-Dec-2020 19:26:22 UTC] logoff:: done session_id = dlc94ftq5qla3f764mnqadofdd [01-Dec-2020 19:26:22 UTC] https://avideotest.althahosting.com/ == https://avideotest.althahosting.com/ [01-Dec-2020 19:26:22 UTC] login.json: Login::run [01-Dec-2020 19:26:22 UTC] Login::run (admin, *, https://avideotest.althahosting.com/, true) [01-Dec-2020 19:26:23 UTC] Login::run got an object [01-Dec-2020 19:26:23 UTC] createIfNotExists:: admin [01-Dec-2020 19:26:23 UTC] Verification Start https://avideotest.althahosting.com/ [01-Dec-2020 19:26:23 UTC] Verification Creating the Cache https://avideotest.althahosting.com/ [01-Dec-2020 19:26:24 UTC] Verification Response (https://search.avideo.com/verify.php?url=https%3A%2F%2Favideotest.althahosting.com%2F): {"msg":["Start","https:\/\/avideotest.althahosting.com\/ Site verified"],"verified":true,"status":"a"} [01-Dec-2020 19:26:24 UTC] Login:: almost done [01-Dec-2020 19:26:24 UTC] Login:: done session_id = dlc94ftq5qla3f764mnqadofdd session_login true [01-Dec-2020 19:26:24 UTC] isLogged:: session_login = true [01-Dec-2020 19:26:24 UTC] isLogged:: session_login = true [01-Dec-2020 19:26:24 UTC] isLogged:: session_login = true [01-Dec-2020 19:26:24 UTC] isLogged:: session_login = true [01-Dec-2020 19:26:24 UTC] isLogged:: session_login = true [01-Dec-2020 19:26:24 UTC] isLogged:: session_login = true [01-Dec-2020 19:26:24 UTC] isLogged:: session_login = true [01-Dec-2020 19:26:24 UTC] isLogged:: session_login = true [01-Dec-2020 19:26:24 UTC] isLogged:: session_login = true [01-Dec-2020 19:34:25 UTC] Encoder::save id=() title=() [02-Dec-2020 12:40:36 UTC] logoff:: done session_id = u5v69i4ip0c4pij569gv5mf2ds [02-Dec-2020 12:40:36 UTC] https://avideotest.althahosting.com/ == https://avideotest.althahosting.com/ [02-Dec-2020 12:40:36 UTC] login.json: Login::run [02-Dec-2020 12:40:36 UTC] Login::run (admin, , https://avideotest.althahosting.com/, true) [02-Dec-2020 12:40:36 UTC] Login::run got an object [02-Dec-2020 12:40:36 UTC] createIfNotExists:: admin [02-Dec-2020 12:40:36 UTC] Verification Start https://avideotest.althahosting.com/ [02-Dec-2020 12:40:36 UTC] Verification Creating the Cache https://avideotest.althahosting.com/ [02-Dec-2020 12:40:37 UTC] Verification Response (https://search.avideo.com/verify.php?url=https%3A%2F%2Favideotest.althahosting.com%2F): {"msg":["Start","https:\/\/avideotest.althahosting.com\/ Site verified"],"verified":true,"status":"a"} [02-Dec-2020 12:40:37 UTC] Login:: almost done [02-Dec-2020 12:40:37 UTC] Login:: done session_id = u5v69i4ip0c4pij569gv5mf2ds session_login true [02-Dec-2020 12:40:37 UTC] isLogged:: session_login = true [02-Dec-2020 12:40:37 UTC] isLogged:: session_login = true [02-Dec-2020 12:40:37 UTC] isLogged:: session_login = true [02-Dec-2020 12:40:37 UTC] isLogged:: session_login = true [02-Dec-2020 12:40:37 UTC] isLogged:: session_login = true [02-Dec-2020 12:40:37 UTC] isLogged:: session_login = true [02-Dec-2020 12:40:37 UTC] isLogged:: session_login = true [02-Dec-2020 12:40:37 UTC] isLogged:: session_login = true [02-Dec-2020 12:40:37 UTC] isLogged:: session_login = true [02-Dec-2020 12:44:32 UTC] logoff:: done session_id = u5v69i4ip0c4pij569gv5mf2ds [02-Dec-2020 12:44:33 UTC] https://avideotest.althahosting.com/ == https://avideotest.althahosting.com/ [02-Dec-2020 12:44:33 UTC] login.json: Login::run [02-Dec-2020 12:44:33 UTC] Login::run (admin, , https://avideotest.althahosting.com/, true) [02-Dec-2020 12:44:33 UTC] Login::run got an object [02-Dec-2020 12:44:33 UTC] createIfNotExists:: admin [02-Dec-2020 12:44:33 UTC] Verification Start https://avideotest.althahosting.com/ [02-Dec-2020 12:44:33 UTC] Verification GetFrom Cache https://avideotest.althahosting.com/ [02-Dec-2020 12:44:33 UTC] Verification Response (): {"msg":["Start","https:\/\/avideotest.althahosting.com\/ Site verified"],"verified":true,"status":"a"} [02-Dec-2020 12:44:33 UTC] Login:: almost done [02-Dec-2020 12:44:33 UTC] Login:: done session_id = u5v69i4ip0c4pij569gv5mf2ds session_login true [02-Dec-2020 12:44:33 UTC] isLogged:: session_login = true [02-Dec-2020 12:44:33 UTC] isLogged:: session_login = true [02-Dec-2020 12:44:33 UTC] isLogged:: session_login = true [02-Dec-2020 12:44:33 UTC] isLogged:: session_login = true [02-Dec-2020 12:44:33 UTC] isLogged:: session_login = true [02-Dec-2020 12:44:33 UTC] isLogged:: session_login = true [02-Dec-2020 12:44:33 UTC] isLogged:: session_login = true [02-Dec-2020 12:44:33 UTC] isLogged:: session_login = true [02-Dec-2020 12:44:33 UTC] isLogged:: session_login = true [02-Dec-2020 12:58:09 UTC] logoff:: done session_id = u5v69i4ip0c4pij569gv5mf2ds [02-Dec-2020 12:58:09 UTC] https://avideotest.althahosting.com/ == https://avideotest.althahosting.com/ [02-Dec-2020 12:58:09 UTC] login.json: Login::run [02-Dec-2020 12:58:09 UTC] Login::run (admin, ***, https://avideotest.althahosting.com/, true) [02-Dec-2020 12:58:09 UTC] Login::run got an object [02-Dec-2020 12:58:09 UTC] createIfNotExists:: admin [02-Dec-2020 12:58:09 UTC] Verification Start https://avideotest.althahosting.com/ [02-Dec-2020 12:58:09 UTC] Verification GetFrom Cache https://avideotest.althahosting.com/ [02-Dec-2020 12:58:09 UTC] Verification Response (): {"msg":["Start","https:\/\/avideotest.althahosting.com\/ Site verified"],"verified":true,"status":"a"} [02-Dec-2020 12:58:09 UTC] Login:: almost done [02-Dec-2020 12:58:09 UTC] Login:: done session_id = u5v69i4ip0c4pij569gv5mf2ds session_login true [02-Dec-2020 12:58:09 UTC] isLogged:: session_login = true [02-Dec-2020 12:58:09 UTC] isLogged:: session_login = true [02-Dec-2020 12:58:09 UTC] isLogged:: session_login = true [02-Dec-2020 12:58:09 UTC] isLogged:: session_login = true [02-Dec-2020 12:58:09 UTC] isLogged:: session_login = true [02-Dec-2020 12:58:09 UTC] isLogged:: session_login = true [02-Dec-2020 12:58:10 UTC] isLogged:: session_login = true [02-Dec-2020 12:58:10 UTC] isLogged:: session_login = true [02-Dec-2020 12:58:10 UTC] isLogged:: session_login = true [02-Dec-2020 12:59:27 UTC] Upload.php will set format [02-Dec-2020 12:59:27 UTC] Upload.php will let function decide decideFormatOrder [02-Dec-2020 12:59:27 UTC] decideFormatOrder: {"file":"IFTCC Con Kiska Video 1 (Polish).mp4","audioOnly":"false","spectrum":"false","webm":"false","inputHLS":"false","inputLow":"false","inputSD":"false","inputHD":"false","inputAutoHLS":"true","inputAutoMP4":"false","inputAutoWebm":"false","inputAutoAudio":"false","title":"","description":"","categories_id":"0","PHPSESSID":"u5v69i4ip0c4pij569gv5mf2ds"} [02-Dec-2020 12:59:27 UTC] decideFormatOrder: auto HLS [02-Dec-2020 12:59:27 UTC] AVideo-Encoder Format::getFromOrder(6) [02-Dec-2020 12:59:27 UTC] Encoder::sendFile videos_id=0, format=m3u8 [02-Dec-2020 12:59:27 UTC] Encoder::sendFile sending file to https://avideotest.althahosting.com/aVideoEncoder.json [02-Dec-2020 12:59:27 UTC] Encoder::sendFile reading file from [02-Dec-2020 12:59:27 UTC] AVideo-Streamer answer {"error":false,"video_id":4} [02-Dec-2020 12:59:27 UTC] {"error":false,"format":"m3u8","file":"","resolution":"","videoDownloadedLink":null,"target":"https:\/\/avideotest.althahosting.com\/aVideoEncoder.json","postFields":13,"response_raw":"{\"error\":false,\"video_id\":4}","response":{"error":false,"video_id":4}} [02-Dec-2020 12:59:27 UTC] Encoder::save id=() title=(IFTCC Con Kiska Video 1 (Polish)) [02-Dec-2020 12:59:27 UTC] Encoder::save id=(4) title=(IFTCC Con Kiska Video 1 (Polish)) [02-Dec-2020 12:59:29 UTC] getReturn_vars {"videos_id":4} [02-Dec-2020 12:59:29 UTC] Encoder::save id=(4) title=(IFTCC Con Kiska Video 1 (Polish)) [02-Dec-2020 12:59:29 UTC] downloadFile: start queue_id = 4 [02-Dec-2020 12:59:29 UTC] downloadFile: url = https://avideotest.althahosting.com/AVideo-Encoder/videos/original_IFTCCConKiskaVideo1Polish_YPTuniqid_5fc78faf033bf7.25636767 [02-Dec-2020 12:59:29 UTC] downloadFile:strpos global['webSiteRootURL'] = https://avideotest.althahosting.com/AVideo-Encoder/ [02-Dec-2020 12:59:29 UTC] downloadFile: this file was uploaded from file and thus is in the videos [02-Dec-2020 12:59:29 UTC] downloadFile: downloadedFile = /var/www/AVideo/AVideo-Encoder/videos/original_IFTCCConKiskaVideo1Polish_YPTuniqid_5fc78faf033bf7.25636767 | url = https://avideotest.althahosting.com/AVideo-Encoder/videos/original_IFTCCConKiskaVideo1Polish_YPTuniqid_5fc78faf033bf7.25636767 [02-Dec-2020 12:59:30 UTC] Try to get UTF8 URL https://avideotest.althahosting.com/AVideo-Encoder/videos/original_IFTCCConKiskaVideo1Polish_YPTuniqid_5fc78faf033bf7.25636767 [02-Dec-2020 12:59:30 UTC] Try to get UTF8 decode URL https://avideotest.althahosting.com/AVideo-Encoder/videos/original_IFTCCConKiskaVideo1Polish_YPTuniqid_5fc78faf033bf7.25636767 [02-Dec-2020 12:59:30 UTC] downloadFile: success [02-Dec-2020 12:59:30 UTC] Encoder::save id=(4) title=(IFTCC Con Kiska Video 1 (Polish)) [02-Dec-2020 12:59:30 UTC] downloadFile: {"error":false,"filename":"4_tmpFile.mp4","pathFileName":"\/var\/www\/AVideo\/AVideo-Encoder\/videos\/4_tmpFile.mp4"} [02-Dec-2020 12:59:30 UTC] Encoder::save id=(4) title=(IFTCC Con Kiska Video 1 (Polish)) [02-Dec-2020 12:59:30 UTC] sendImages: Sending image to [4] [02-Dec-2020 12:59:30 UTC] Duration found: 0:38:50 [02-Dec-2020 12:59:30 UTC] sendImages: AVideo-Encoder sending file to https://avideotest.althahosting.com/objects/aVideoEncoderReceiveImage.json.php [02-Dec-2020 12:59:30 UTC] sendImages: AVideo-Encoder reading file from /var/www/AVideo/AVideo-Encoder/videos/4_tmpFile.mp4 [02-Dec-2020 12:59:30 UTC] getImage: ffmpeg -ss 00:10:00 -i "/var/www/AVideo/AVideo-Encoder/videos/4_tmpFile.mp4" -vframes 1 -y "/var/www/AVideo/AVideo-Encoder/videos/4_tmpFile.mp4.jpg" [02-Dec-2020 12:59:31 UTC] getImage: takes 0.18568897247314 sec to complete [02-Dec-2020 12:59:31 UTC] getGifImage [02-Dec-2020 12:59:31 UTC] getGif: Starts [02-Dec-2020 12:59:31 UTC] getGif: takes 0.45558905601501 sec to complete [02-Dec-2020 12:59:32 UTC] getWebpImage [02-Dec-2020 12:59:32 UTC] getWebpImage: Starts [02-Dec-2020 12:59:32 UTC] getWebpImage: takes 0.92654895782471 sec to complete [02-Dec-2020 12:59:32 UTC] sendImages: curl_init [02-Dec-2020 12:59:32 UTC] sendImages: curl_exec [02-Dec-2020 12:59:33 UTC] sendImages: AVideo-Streamer answer {"error":false,"video_id":4,"jpgDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc78faf11d994.53205460.jpg","jpgDestSize":"49.70KB","gifDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc78faf11d994.53205460.gif","gifDestSize":"811.02KB","webpDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc78faf11d994.53205460.webp","webpDestSize":"197.37KB"} [02-Dec-2020 12:59:33 UTC] {"error":false,"file":"\/var\/www\/AVideo\/AVideo-Encoder\/videos\/4_tmpFile.mp4","target":"https:\/\/avideotest.althahosting.com\/objects\/aVideoEncoderReceiveImage.json.php","postFields":7,"response_raw":"{\"error\":false,\"video_id\":4,\"jpgDest\":\"\\/var\\/www\\/AVideo\\/videos\\/_YPTuniqid_5fc78faf11d994.53205460.jpg\",\"jpgDestSize\":\"49.70KB\",\"gifDest\":\"\\/var\\/www\\/AVideo\\/videos\\/_YPTuniqid_5fc78faf11d994.53205460.gif\",\"gifDestSize\":\"811.02KB\",\"webpDest\":\"\\/var\\/www\\/AVideo\\/videos\\/_YPTuniqid_5fc78faf11d994.53205460.webp\",\"webpDestSize\":\"197.37KB\"}","response":{"error":false,"video_id":4,"jpgDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc78faf11d994.53205460.jpg","jpgDestSize":"49.70KB","gifDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc78faf11d994.53205460.gif","gifDestSize":"811.02KB","webpDest":"\/var\/www\/AVideo\/videos\/_YPTuniqid_5fc78faf11d994.53205460.webp","webpDestSize":"197.37KB"}} [02-Dec-2020 12:59:33 UTC] Encoder::save id=(4) title=(IFTCC Con Kiska Video 1 (Polish)) [02-Dec-2020 12:59:33 UTC] AVideo-Encoder Format::run(/var/www/AVideo/AVideo-Encoder/videos/4_tmpFile.mp4, 4) [02-Dec-2020 12:59:33 UTC] run: 6 [02-Dec-2020 12:59:33 UTC] AVideo-Encoder Format::getFromOrder(6) [02-Dec-2020 12:59:33 UTC] AVideo-Encoder Format::exec [30, /var/www/AVideo/AVideo-Encoder/videos/4_tmpFile.mp4, /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_4_streamers_id1.mp4, 4] code=(-c:v h264 -vf scale=-2:{$resolution} -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate {$minrate}k -crf 23 -maxrate {$maxrate}k -bufsize {$bufsize}k -c:a aac -b:a {$autioBitrate}k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file {$destinationFile}keyinfo {$destinationFile}res{$resolution}/index.m3u8) [02-Dec-2020 12:59:33 UTC] getResolution: ffprobe -v quiet -print_format json -show_format -show_streams '/var/www/AVideo/AVideo-Encoder/videos/4_tmpFile.mp4' [02-Dec-2020 12:59:33 UTC] getResolution: success 1080 ({ "streams": [ { "index": 0, "codec_name": "h264", "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", "profile": "High", "codec_type": "video", "codec_time_base": "1001/48000", "codec_tag_string": "avc1", "codec_tag": "0x31637661", "width": 1920, "height": 1080, "coded_width": 1920, "coded_height": 1088, "has_b_frames": 1, "pix_fmt": "yuv420p", "level": 42, "color_range": "tv", "color_space": "bt709", "color_transfer": "bt709", "color_primaries": "bt709", "chroma_location": "left", "refs": 1, "is_avc": "true", "nal_length_size": "4", "r_frame_rate": "24000/1001", "avg_frame_rate": "24000/1001", "time_base": "1/24000", "start_pts": 0, "start_time": "0.000000", "duration_ts": 55938883, "duration": "2330.786792", "bit_rate": "7975542", "bits_per_raw_sample": "8", "nb_frames": "55883", "disposition": { "default": 1, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0 }, "tags": { "creation_time": "2020-12-01T13:56:27.000000Z", "language": "eng", "handler_name": "\u001fMainconcept Video Media Handler", "encoder": "AVC Coding" } }, { "index": 1, "codec_name": "aac", "codec_long_name": "AAC (Advanced Audio Coding)", "profile": "LC", "codec_type": "audio", "codec_time_base": "1/48000", "codec_tag_string": "mp4a", "codec_tag": "0x6134706d", "sample_fmt": "fltp", "sample_rate": "48000", "channels": 2, "channel_layout": "stereo", "bits_per_sample": 0, "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/48000", "start_pts": 0, "start_time": "0.000000", "duration_ts": 111877766, "duration": "2330.786792", "bit_rate": "317375", "max_bit_rate": "473623", "nb_frames": "109258", "disposition": { "default": 1, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0, "timed_thumbnails": 0 }, "tags": { "creation_time": "2020-12-01T13:56:27.000000Z", "language": "eng", "handler_name": "#Mainconcept MP4 Sound Media Handler" } } ], "format": { "filename": "/var/www/AVideo/AVideo-Encoder/videos/4_tmpFile.mp4", "nb_streams": 2, "nb_programs": 0, "format_name": "mov,mp4,m4a,3gp,3g2,mj2", "format_long_name": "QuickTime / MOV", "start_time": "0.000000", "duration": "2330.837333", "size": "2417294010", "bit_rate": "8296740", "probe_score": 100, "tags": { "major_brand": "mp42", "minor_version": "0", "compatible_brands": "mp42mp41", "creation_time": "2020-12-01T13:56:26.000000Z" } } }) [02-Dec-2020 12:59:33 UTC] AVideo-Encoder Format::exec Start Encoder [ffmpeg -i /var/www/AVideo/AVideo-Encoder/videos/4_tmpFile.mp4 -c:v h264 -vf scale=-2:240 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 200k -crf 23 -maxrate 450k -bufsize 600k -c:a aac -b:a 128k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_4_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_4_streamers_id1/res240/index.m3u8 -c:v h264 -vf scale=-2:360 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 300k -crf 23 -maxrate 900k -bufsize 1200k -c:a aac -b:a 128k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_4_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_4_streamers_id1/res360/index.m3u8 -c:v h264 -vf scale=-2:480 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 500k -crf 23 -maxrate 1500k -bufsize 2000k -c:a aac -b:a 128k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_4_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_4_streamers_id1/res480/index.m3u8 -c:v h264 -vf scale=-2:720 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 1000k -crf 23 -maxrate 3000k -bufsize 4000k -c:a aac -b:a 192k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_4_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_4_streamers_id1/res720/index.m3u8 -c:v h264 -vf scale=-2:1080 -r 24 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -minrate 2000k -crf 23 -maxrate 6000k -bufsize 8000k -c:a aac -b:a 192k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_4_streamers_id1/keyinfo /var/www/AVideo/AVideo-Encoder/videos/avideoTmpFile_4_streamers_id1/res1080/index.m3u8] [02-Dec-2020 13:42:11 UTC] isLogged:: session_login = true [02-Dec-2020 13:42:11 UTC] isLogged:: session_login = true [02-Dec-2020 13:42:11 UTC] isLogged:: session_login = true [02-Dec-2020 13:42:11 UTC] isLogged:: session_login = true [02-Dec-2020 13:42:11 UTC] isLogged:: session_login = true [02-Dec-2020 13:42:11 UTC] isLogged:: session_login = true [02-Dec-2020 13:42:11 UTC] isLogged:: session_login = true [02-Dec-2020 13:42:11 UTC] isLogged:: session_login = true [02-Dec-2020 13:42:11 UTC] isLogged:: session_login = true [02-Dec-2020 13:42:29 UTC] Encoder::save id=() title=()

avideo.log

AlthaTechnology commented 3 years ago

Oop, did that wrong.

AlthaTechnology commented 3 years ago

That is the encoder log.

AlthaTechnology commented 3 years ago

Here is the streamer log: avideo (1).log

DanielnetoDotCom commented 3 years ago

I found this in your streamer log

[01-Dec-2020 18:27:55 Africa/Abidjan] AVideoLog::DEBUG: decideMoveUploadedToVideos: ZIp file _YPTuniqid_5fc68a081bb9b0.92372999.zip SCRIPT_NAME: /objects/aVideoEncoder.json.php
[01-Dec-2020 18:27:57 Africa/Abidjan] AVideoLog::DEBUG: unzipDirectory: unzip /var/www/AVideo/videos/cache/tmpFile/avideoTmpFile_2_streamers_id_1_.zip -d /var/www/AVideo/videos/_YPTuniqid_5fc68a081bb9b0.92372999  2>&1 SCRIPT_NAME: /objects/aVideoEncoder.json.php
[01-Dec-2020 18:27:58 Africa/Abidjan] AVideoLog::DEBUG: unzipDirectory: Success /var/www/AVideo/videos/_YPTuniqid_5fc68a081bb9b0.92372999 SCRIPT_NAME: /objects/aVideoEncoder.json.php
[01-Dec-2020 18:27:59 Africa/Abidjan] AVideoLog::DEBUG: decideMoveUploadedToVideos: destinationFile /var/www/AVideo/videos/_YPTuniqid_5fc68a081bb9b0.92372999.zip filesize= (0 bytes) SCRIPT_NAME: /objects/aVideoEncoder.json.php
[01-Dec-2020 18:27:59 Africa/Abidjan] AVideoLog::DEBUG: Video:clearCacheFromFilename(_YPTuniqid_5fc68a081bb9b0.92372999.zip) SCRIPT_NAME: /objects/aVideoEncoder.json.php

filesize= (0 bytes) calls my attention.

can you please make sure your streamer and encoder are up to date?