WWBN / AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
https://avideo.tube/AVideo_OpenSource
Other
1.91k stars 972 forks source link

PHP 7.3 and PHP-FPM #3582

Closed syldri closed 4 years ago

syldri commented 4 years ago

hello @DanielnetoDotCom I did an install of PHP 7.3 and PHP-FPM for the streamer's site, and for the encoder's site

I installed all the plugins; the encoder does not work for direct

image

and

image

Log AVideo-Encoder

[01-Sep-2020 15:38:29 Europe/Berlin] getImage  Destination get Image from https://site.com:1978/live/5f383551a1014/index.m3u8 jpg: /tmp/7c0ee612a1689072965051fd55cca41c.jpg
[01-Sep-2020 15:38:29 Europe/Berlin] Exec get Image: ffmpeg -i "https://site.com:1978/live/5f383551a1014/index.m3u8" -f image2  -s 400x225 -vframes 1 -y /tmp/7c0ee612a1689072965051fd55cca41c.jpg &> /dev/null &
[01-Sep-2020 15:39:23 Europe/Berlin] Sent Login variables try to login
[01-Sep-2020 15:39:23 Europe/Berlin] login.json: Login::run
[01-Sep-2020 15:39:23 Europe/Berlin] Login::run (admin, ***, https://site.com/AVideo/, 1)
[01-Sep-2020 15:39:23 Europe/Berlin] Get Login fail, try again
[01-Sep-2020 15:39:23 Europe/Berlin] Login::run response: ()
[01-Sep-2020 15:39:23 Europe/Berlin] Login::run Error on Login context
[01-Sep-2020 15:39:23 Europe/Berlin] https://site.com/AVideo/login
[01-Sep-2020 15:39:23 Europe/Berlin] 
[01-Sep-2020 15:39:23 Europe/Berlin] Login:: done session_id = t9sn3c0kbrf9nptmntmp25rphq session_login false
[01-Sep-2020 15:39:23 Europe/Berlin] isLogged: false false
[01-Sep-2020 15:39:23 Europe/Berlin] This user can not upload files
[01-Sep-2020 15:40:53 Europe/Berlin] getImage  Destination get Image from https://site.com:1978/live/5f383551a1014/index.m3u8 jpg: /tmp/7c0ee612a1689072965051fd55cca41c.jpg
[01-Sep-2020 15:43:31 Europe/Berlin] Sent Login variables try to login
[01-Sep-2020 15:43:31 Europe/Berlin] login.json: Login::run
[01-Sep-2020 15:43:31 Europe/Berlin] Login::run (admin, ***, https://site.com/AVideo/, 1)
[01-Sep-2020 15:43:31 Europe/Berlin] Get Login fail, try again
[01-Sep-2020 15:43:32 Europe/Berlin] Login::run response: ()
[01-Sep-2020 15:43:32 Europe/Berlin] Login::run Error on Login context
[01-Sep-2020 15:43:32 Europe/Berlin] https://site.com/AVideo/login
[01-Sep-2020 15:43:32 Europe/Berlin] 
[01-Sep-2020 15:43:32 Europe/Berlin] Login:: done session_id = 4gv9n943i5otc4db5sfsa6qipp session_login false
[01-Sep-2020 15:43:32 Europe/Berlin] isLogged: false false
[01-Sep-2020 15:43:32 Europe/Berlin] This user can not upload files
[01-Sep-2020 16:03:08 Europe/Berlin] logoff:: done session_id = p2hvl8b5qro4eekkn8hcqc31u8
[01-Sep-2020 16:03:08 Europe/Berlin] https://site.com/ == https://site.com/
[01-Sep-2020 16:03:08 Europe/Berlin] https://site.com/ == https://site.com/
[01-Sep-2020 16:03:08 Europe/Berlin] login.json: Login::run
[01-Sep-2020 16:03:08 Europe/Berlin] Login::run (admin, ***, https://site.com/, true)
[01-Sep-2020 16:03:09 Europe/Berlin] Login::run response: ({"isCaptchaNeed":false,"siteLogo":"https:\/\/site.com\/videos\/userPhoto\/logo.png","id":1,"user":"admin","donationLink":"","name":"site.com","nameIdentification":"site.com","pass":"4b6c4104654e0359ecf7a43822c4a764","email":"site.com@gmail.com","channelName":"site.com","photo":"https:\/\/site.com\/view\/img\/userSilhouette.jpg","backgroundURL":"https:\/\/site.com\/view\/img\/background.png","isLogged":true,"isAdmin":true,"canUpload":true,"canComment":true,"redirectUri":"https:\/\/site.com\/","categories":[{"id":1,"name":"Default","clean_name":"default","description":"Edited Description 2","nextVideoOrder":0,"parentId":0,"created":"2020-08-15 16:50:15","modified":"2020-08-29 17:15:16","iconClass":"fa fa-folder","users_id":1,"private":0,"allow_download":1,"order":0,"category_image":"videos\/32477_staff4.jpg","total":1,"fullTotal":1,"owner":"site.com","canEdit":true,"canAddVideo":true,"hierarchy":"\/","hierarchyAndName":"\/Default"},{"id":7,"name":"Events","clean_name":"events","description":"Events","nextVideoOrder":1,"parentId":0,"created":"2020-08-29 17:00:07","modified":"2020-08-29 17:00:07","iconClass":"fab fa-accusoft","users_id":1,"private":0,"allow_download":0,"order":0,"category_image":"videos\/23553_Events.jpg","total":0,"fullTotal":0,"owner":"site.com","canEdit":true,"canAddVideo":true,"hierarchy":"\/","hierarchyAndName":"\/Events"},{"id":5,"name":"Fornite","clean_name":"fornite","description":"Fortnite is a sandbox-survival third-person shooter from the studio behind the Unreal Tournament and Gears of War series.","nextVideoOrder":0,"parentId":0,"created":"2020-08-28 19:17:17","modified":"2020-08-30 02:33:07","iconClass":"fab fa-accusoft","users_id":1,"private":0,"allow_download":1,"order":0,"category_image":"videos\/94370_Fortnite285x380.jpg","total":1,"fullTotal":1,"owner":"site.com","canEdit":true,"canAddVideo":true,"hierarchy":"\/","hierarchyAndName":"\/Fornite"},{"id":8,"name":"Games","clean_name":"games","description":"","nextVideoOrder":1,"parentId":0,"created":"2020-08-29 17:01:28","modified":"2020-08-29 17:01:28","iconClass":"fab fa-accusoft","users_id":1,"private":0,"allow_download":0,"order":0,"category_image":"NULL","total":1,"fullTotal":1,"owner":"site.com","canEdit":true,"canAddVideo":true,"hierarchy":"\/","hierarchyAndName":"\/Games"},{"id":9,"name":"Ghost of Tsushima","clean_name":"ghost-of-tsushima","description":"","nextVideoOrder":0,"parentId":8,"created":"2020-08-29 17:02:38","modified":"2020-08-29 17:02:38","iconClass":"fab fa-accusoft","users_id":1,"private":0,"allow_download":0,"order":0,"category_image":"videos\/90419_GhostofTsushima285x380.jpg","total":1,"fullTotal":1,"owner":"site.com","canEdit":true,"canAddVideo":true,"hierarchy":"\/Games\/","hierarchyAndName":"\/Games\/Ghost of Tsushima"},{"id":11,"name":"League of Legends","clean_name":"league-of-legends","description":"League of Legends","nextVideoOrder":0,"parentId":8,"created":"2020-08-29 17:04:08","modified":"2020-08-29 17:04:08","iconClass":"fab fa-accusoft","users_id":1,"private":0,"allow_download":0,"order":0,"category_image":"videos\/65539_LeagueofLegends285x380.jpg","total":0,"fullTotal":0,"owner":"site.com","canEdit":true,"canAddVideo":true,"hierarchy":"\/Games\/","hierarchyAndName":"\/Games\/League of Legends"},{"id":10,"name":"World of Warcraft","clean_name":"world-of-warcraft","description":"World of Warcraft","nextVideoOrder":0,"parentId":8,"created":"2020-08-29 17:03:08","modified":"2020-08-29 17:03:40","iconClass":"fab fa-accusoft","users_id":1,"private":0,"allow_download":0,"order":0,"category_image":"videos\/39236_WorldofWarcraft285x380.jpg","total":0,"fullTotal":0,"owner":"site.com","canEdit":true,"canAddVideo":true,"hierarchy":"\/Games\/","hierarchyAndName":"\/Games\/World of Warcraft"},{"id":6,"name":"music","clean_name":"music","description":"music","nextVideoOrder":0,"parentId":0,"created":"2020-08-29 16:57:55","modified":"2020-08-29 16:57:55","iconClass":"fab fa-accusoft","users_id":1,"private":0,"allow_download":1,"order":0,"category_image":"videos\/49267_music.jpg","total":0,"fullTotal":0,"owner":"site.com","canEdit":true,"canAddVideo":true,"hierarchy":"\/","hierarchyAndName":"\/music"}],"userGroups":[{"id":1,"group_name":"site.com","created":"2020-08-24 14:44:54","modified":"2020-08-24 14:44:54","total_videos":0,"total_users":0}],"streamServerURL":"rtmp:\/\/site.com\/live?p=4b6c4104654e0359ecf7a43822c4a764","streamKey":"5f383551a1014","streamer":{"max_file_size":"6.00GB","file_upload_max_size":6442450944,"videoStorageLimitMinutes":0,"currentStorageUsage":0,"webSiteLogo":"videos\/userPhoto\/logo.png?1598839091","webSiteTitle":"a","PHPSESSID":"q1phsag2f8eu9uhoq1koqa6l6f","version":"9.5","mobileSreamerVersion":2,"reportVideoPluginEnabled":true,"oauthLogin":[{"type":"Facebook","status":false},{"type":"Google","status":false},{"type":"Twitter","status":false},{"type":"LinkedIn","status":false}],"plugins":{"Chat2":{"showOnMobile":true}}},"plugin":{"doNotAllowAnonimusAccess":false,"doNotAllowUpload":false,"hideCreateAccount":false,"hideTabTrending":false,"hideTabLive":false,"hideTabSubscription":false,"hideTabPlayLists":false,"EULA":{"type":"textarea","value":"This Software must be used for Good, never Evil. There is no tolerance for objectionable content or abusive users. It is expressly forbidden to use this app to build porn sites, violence, racism or anything else that affects human integrity or denigrates the image of anyone.\nAny complaints, or through the application or any other electronic means will be analyzed and in case of any criteria established by the developer or local laws, are disrespected, we reserve the right to block and ban any site from our systems\nThe banned site will be prohibited from using any of our resources, including mobile applications, encoder, plugins, etc."},"themeDark":false,"portraitImage":false,"netflixStyle":false,"netflixDateAdded":true,"netflixMostPopular":true,"netflixMostWatched":true,"netflixCategories":true,"netflixBigVideo":true,"disableWhitelabel":false,"approvalMode":false},"encoder":"https:\/\/site-steam.com\/","videoHLS":true})
[01-Sep-2020 16:03:09 Europe/Berlin] Login::run got an object
[01-Sep-2020 16:03:09 Europe/Berlin] createIfNotExists:: admin
[01-Sep-2020 16:03:09 Europe/Berlin] Verification Start https://site.com/
[01-Sep-2020 16:03:09 Europe/Berlin] Verification Creating the Cache https://site.com/
[01-Sep-2020 16:03:09 Europe/Berlin] Verification Response (https://search.avideo.com/verify.php?url=https%3A%2F%2Fsite.com%2F): {"msg":["Start","https:\/\/site.com\/ Site verified"],"verified":true,"status":"a"}
[01-Sep-2020 16:03:09 Europe/Berlin] Login:: almost done
[01-Sep-2020 16:03:09 Europe/Berlin] Login:: done session_id = p2hvl8b5qro4eekkn8hcqc31u8 session_login true
[01-Sep-2020 16:03:10 Europe/Berlin] isLogged:: session_login = true
[01-Sep-2020 16:03:10 Europe/Berlin] isLogged:: session_login = true
[01-Sep-2020 16:03:10 Europe/Berlin] isLogged:: session_login = true
[01-Sep-2020 16:03:10 Europe/Berlin] isLogged:: session_login = true
[01-Sep-2020 16:03:10 Europe/Berlin] isLogged:: session_login = true
[01-Sep-2020 16:03:10 Europe/Berlin] isLogged:: session_login = true
[01-Sep-2020 16:03:10 Europe/Berlin] isLogged:: session_login = true
[01-Sep-2020 16:04:16 Europe/Berlin] Upload.php will set format
[01-Sep-2020 16:04:16 Europe/Berlin] Upload.php will let function decide decideFormatOrder
[01-Sep-2020 16:04:16 Europe/Berlin] decideFormatOrder: {"file":"2020-08-28 15-53-38.mkv","audioOnly":"false","spectrum":"false","webm":"false","inputHLS":"true","inputLow":"false","inputSD":"false","inputHD":"false","title":"test","description":"","categories_id":"0"}
[01-Sep-2020 16:04:16 Europe/Berlin] decideFormatOrder: Multi bitrate HLS encrypted
[01-Sep-2020 16:04:16 Europe/Berlin] Encoder::sendFile videos_id=0, format=mp4
[01-Sep-2020 16:04:16 Europe/Berlin] {"status":"error", "msg":"getDurationFromFile ERROR, File () Not Found"}
[01-Sep-2020 16:04:16 Europe/Berlin] Encoder::sendFile sending file to https://site.com/aVideoEncoder.json
[01-Sep-2020 16:04:16 Europe/Berlin] Encoder::sendFile reading file from 
[01-Sep-2020 16:04:16 Europe/Berlin] AVideo-Streamer answer {"error":false,"video_id":24}
[01-Sep-2020 16:04:16 Europe/Berlin] {"error":false,"format":"mp4","file":"","resolution":"","videoDownloadedLink":null,"target":"https:\/\/site.com\/aVideoEncoder.json","postFields":13,"response_raw":"{\"error\":false,\"video_id\":24}","response":{"error":false,"video_id":24}}
[01-Sep-2020 16:04:16 Europe/Berlin] Encoder::save id=() title=(2020-08-28 15-53-38)
[01-Sep-2020 16:04:16 Europe/Berlin] Encoder::save id=(3) title=(2020-08-28 15-53-38)
[01-Sep-2020 16:04:18 Europe/Berlin] getReturn_vars {"videos_id":24}
[01-Sep-2020 16:04:18 Europe/Berlin] Encoder::save id=(3) title=(2020-08-28 15-53-38)
[01-Sep-2020 16:04:18 Europe/Berlin] downloadFile: start queue_id = 3
[01-Sep-2020 16:04:18 Europe/Berlin] downloadFile: url = https://site-steam.com/videos/original_20200828155338_YPTuniqid_5f4e54e0c19ab4.32004762
[01-Sep-2020 16:04:18 Europe/Berlin] downloadFile:strpos global['webSiteRootURL'] = https://site-steam.com/
[01-Sep-2020 16:04:18 Europe/Berlin] downloadFile: this file was uploaded from file and thus is in the videos
[01-Sep-2020 16:04:18 Europe/Berlin] downloadFile: downloadedFile = /var/www/html/AVideo-Encoder/videos/original_20200828155338_YPTuniqid_5f4e54e0c19ab4.32004762 | url = https://site-steam.com/videos/original_20200828155338_YPTuniqid_5f4e54e0c19ab4.32004762
[01-Sep-2020 16:04:18 Europe/Berlin] Try to get UTF8 URL https://site-steam.com/videos/original_20200828155338_YPTuniqid_5f4e54e0c19ab4.32004762
[01-Sep-2020 16:04:18 Europe/Berlin] Try to get UTF8 decode URL https://site-steam.com/videos/original_20200828155338_YPTuniqid_5f4e54e0c19ab4.32004762
[01-Sep-2020 16:04:18 Europe/Berlin] downloadFile: success
[01-Sep-2020 16:04:18 Europe/Berlin] Encoder::save id=(3) title=(2020-08-28 15-53-38)
[01-Sep-2020 16:04:18 Europe/Berlin] downloadFile: {"error":false,"filename":"3_tmpFile.m3u8","pathFileName":"\/var\/www\/html\/AVideo-Encoder\/videos\/3_tmpFile.m3u8"}
[01-Sep-2020 16:04:18 Europe/Berlin] Encoder::save id=(3) title=(2020-08-28 15-53-38)
[01-Sep-2020 16:04:18 Europe/Berlin] sendImages: Sending image to [24]
[01-Sep-2020 16:04:18 Europe/Berlin] Duration found: 0:02:09
[01-Sep-2020 16:04:18 Europe/Berlin] sendImages: AVideo-Encoder sending file to https://site.com/objects/aVideoEncoderReceiveImage.json.php
[01-Sep-2020 16:04:18 Europe/Berlin] sendImages: AVideo-Encoder reading file from /var/www/html/AVideo-Encoder/videos/3_tmpFile.m3u8
[01-Sep-2020 16:04:18 Europe/Berlin] getImage: ffmpeg -ss 00:01:04 -i "/var/www/html/AVideo-Encoder/videos/3_tmpFile.m3u8" -vframes 1 -y "/var/www/html/AVideo-Encoder/videos/3_tmpFile.m3u8.jpg"
[01-Sep-2020 16:04:18 Europe/Berlin] getImage: takes 0.089905023574829 sec to complete
[01-Sep-2020 16:04:18 Europe/Berlin] getGifImage
[01-Sep-2020 16:04:18 Europe/Berlin] getGif: Starts
[01-Sep-2020 16:04:18 Europe/Berlin] getGif: takes 0.24251699447632 sec to complete
[01-Sep-2020 16:04:19 Europe/Berlin] getWebpImage
[01-Sep-2020 16:04:19 Europe/Berlin] getWebpImage: Starts
[01-Sep-2020 16:04:19 Europe/Berlin] getWebpImage: takes 0.73808097839355 sec to complete
[01-Sep-2020 16:04:19 Europe/Berlin] sendImages: curl_init
[01-Sep-2020 16:04:19 Europe/Berlin] sendImages: curl_exec
[01-Sep-2020 16:04:19 Europe/Berlin] sendImages: AVideo-Streamer answer {"error":false,"video_id":24}
[01-Sep-2020 16:04:19 Europe/Berlin] {"error":false,"file":"\/var\/www\/html\/AVideo-Encoder\/videos\/3_tmpFile.m3u8","target":"https:\/\/site.com\/objects\/aVideoEncoderReceiveImage.json.php","postFields":7,"response_raw":"{\"error\":false,\"video_id\":24}","response":{"error":false,"video_id":24}}
[01-Sep-2020 16:04:19 Europe/Berlin] Encoder::save id=(3) title=(2020-08-28 15-53-38)
[01-Sep-2020 16:04:19 Europe/Berlin] run: 9
[01-Sep-2020 16:04:19 Europe/Berlin] AVideo-Encoder Start Encoder [ffmpeg -re -i /var/www/html/AVideo-Encoder/videos/3_tmpFile.m3u8 -c:a aac -strict -2 -b:a 128k -c:v libx264 -vf scale=-2:360 -g 48 -keyint_min 48  -sc_threshold 0 -bf 3 -b_strategy 2 -b:v 800k -maxrate 856k -bufsize 1200k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/html/AVideo-Encoder/videos/3_tmpFile_converted/keyinfo /var/www/html/AVideo-Encoder/videos/3_tmpFile_converted/low/index.m3u8 -c:a aac -strict -2 -b:a 128k -c:v libx264 -vf scale=-2:540 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -b:v 1400k -maxrate 1498k -bufsize 2100k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/html/AVideo-Encoder/videos/3_tmpFile_converted/keyinfo /var/www/html/AVideo-Encoder/videos/3_tmpFile_converted/sd/index.m3u8 -c:a aac -strict -2 -b:a 128k -c:v libx264 -vf scale=-2:720 -g 48 -keyint_min 48 -sc_threshold 0 -bf 3 -b_strategy 2 -b:v 2800k -maxrate 2996k -bufsize 4200k -f hls -hls_time 6 -hls_list_size 0 -hls_key_info_file /var/www/html/AVideo-Encoder/videos/3_tmpFile_converted/keyinfo /var/www/html/AVideo-Encoder/videos/3_tmpFile_converted/hd/index.m3u8] 
[01-Sep-2020 16:06:30 Europe/Berlin] Encoder::save id=(3) title=(2020-08-28 15-53-38)
[01-Sep-2020 16:06:30 Europe/Berlin] posProcessHLS: ZIP start /var/www/html/AVideo-Encoder/videos/3_tmpFile_converted/
[01-Sep-2020 16:06:30 Europe/Berlin] PHP Fatal error:  Uncaught Error: Class 'ZipArchive' not found in /var/www/html/AVideo-Encoder/objects/functions.php:638
Stack trace:
#0 /var/www/html/AVideo-Encoder/objects/Format.php(295): zipDirectory()
#1 /var/www/html/AVideo-Encoder/objects/Format.php(341): Format::posProcessHLS()
#2 /var/www/html/AVideo-Encoder/objects/Format.php(359): Format::exec()
#3 /var/www/html/AVideo-Encoder/objects/Format.php(66): Format::execOrder()
#4 /var/www/html/AVideo-Encoder/objects/Encoder.php(563): Format->run()
#5 /var/www/html/AVideo-Encoder/view/run.php(6): Encoder::run()
#6 {main}
  thrown in /var/www/html/AVideo-Encoder/objects/functions.php on line 638
[01-Sep-2020 16:35:32 Europe/Berlin] getImage  Destination get Image from https://site.com:1978/live/5f383551a1014/index.m3u8 jpg: /tmp/7c0ee612a1689072965051fd55cca41c.jpg
[01-Sep-2020 16:35:32 Europe/Berlin] Exec get Image: ffmpeg -i "https://site.com:1978/live/5f383551a1014/index.m3u8" -f image2  -s 400x225 -vframes 1 -y /tmp/7c0ee612a1689072965051fd55cca41c.jpg &> /dev/null &
[01-Sep-2020 16:36:29 Europe/Berlin] Sent Login variables try to login
[01-Sep-2020 16:36:29 Europe/Berlin] login.json: Login::run
[01-Sep-2020 16:36:29 Europe/Berlin] Login::run (admin, ***, https://site.com/AVideo/, 1)
[01-Sep-2020 16:36:29 Europe/Berlin] Get Login fail, try again
[01-Sep-2020 16:36:29 Europe/Berlin] Login::run response: ()
[01-Sep-2020 16:36:29 Europe/Berlin] Login::run Error on Login context
[01-Sep-2020 16:36:29 Europe/Berlin] https://site.com/AVideo/login
[01-Sep-2020 16:36:29 Europe/Berlin] 
[01-Sep-2020 16:36:29 Europe/Berlin] Login:: done session_id = okjqsoa443j6hq2q824eunh63v session_login false
[01-Sep-2020 16:36:29 Europe/Berlin] isLogged: false false
[01-Sep-2020 16:36:29 Europe/Berlin] This user can not upload files

Streamer log A video

[01-Sep-2020 13:40:25 UTC] AVideoLog::DEBUG: IP2Location::getLocation(185.41.152.116) Unknow {"ip_from":3106510848,"ip_to":3106511103,"country_code":"FR","country_name":"France","region_name":"Hauts-de-France","city_name":"Valenciennes","ip":"185.41.152.116"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 13:40:25 UTC] AVideoLog::DEBUG: NGINX ON Publish POST: {"app":"live","flashver":"FMLE\/3.0 (compatible; FMSc\/1.0)","swfurl":"rtmp:\/\/demo-site.site.com\/live?p=4b6c4104654e0359ecf7a43822c4a764","tcurl":"rtmp:\/\/demo-site.site.com\/live?p=4b6c4104654e0359ecf7a43822c4a764","pageurl":"","addr":"90.15.136.104","clientid":"8584","call":"publish","name":"5f383551a1014","type":"live","redirectUri":""} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 13:40:25 UTC] AVideoLog::DEBUG: NGINX ON Publish GET: [] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 13:40:25 UTC] AVideoLog::DEBUG: NGINX ON Publish php://inputapp=live&flashver=FMLE/3.0%20(compatible%3B%20FMSc/1.0)&swfurl=rtmp://demo-site.site.com/live%3Fp=4b6c4104654e0359ecf7a43822c4a764&tcurl=rtmp://demo-site.site.com/live%3Fp=4b6c4104654e0359ecf7a43822c4a764&pageurl=&addr=90.15.136.104&clientid=8584&call=publish&name=5f383551a1014&type=live SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 13:40:25 UTC] AVideoLog::DEBUG: NGINX ON Publish parse_url: {"scheme":"rtmp","host":"demo-site.site.com","path":"\/live","query":"p=4b6c4104654e0359ecf7a43822c4a764"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 13:40:25 UTC] AVideoLog::DEBUG: NGINX ON Publish parse_str: {"p":"4b6c4104654e0359ecf7a43822c4a764"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 13:40:25 UTC] AVideoLog::DEBUG: NGINX ON Publish check if key exists (5f383551a1014) SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 13:40:25 UTC] AVideoLog::DEBUG: NGINX ON Publish key exists return {"id":1,"user":"admin","name":"site.com","email":"site.com@gmail.com","password":"4b6c4104654e0359ecf7a43822c4a764","created":"2020-08-15 19:19:45","modified":"2020-08-29 17:28:59","isAdmin":1,"status":"a","photoURL":null,"lastLogin":"2020-09-01 12:48:54","recoverPass":null,"backgroundURL":null,"canStream":1,"canUpload":1,"canCreateMeet":1,"canViewChart":1,"about":"","channelName":"site.com","emailVerified":1,"analyticsCode":"","externalOptions":"YTo1OntzOjE0OiJoYXNPcHRpb25zVGVzdCI7czo0OiJ0cnVlIjtzOjk6Inllc0l0RG9lcyI7czo0OiJ0cnVlIjtzOjEwOiJjaGVja21hcmsxIjtzOjQ6InRydWUiO3M6MTA6ImNoZWNrbWFyazIiO3M6NDoidHJ1ZSI7czoxMDoiY2hlY2ttYXJrMyI7czo0OiJ0cnVlIjt9","first_name":null,"last_name":null,"address":null,"zip_code":null,"country":null,"region":null,"city":null,"donationLink":"","title":"TEST MUSIC","public":1,"saveTransmition":0,"key":"5f383551a1014","description":"Fortnite is a sandbox-survival third-person shooter from the studio behind the Unreal Tournament and Gears of War series.\n","users_id":1,"categories_id":6} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 13:40:25 UTC] AVideoLog::DEBUG: NGINX ON Publish new User(1) SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 13:40:25 UTC] AVideoLog::DEBUG: NGINX ON Publish get LiveTransmitionHistory SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 13:40:25 UTC] AVideoLog::DEBUG: NGINX ON Publish saving LiveTransmitionHistory SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 13:40:25 UTC] AVideoLog::DEBUG: NGINX ON Publish saved LiveTransmitionHistory SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 13:40:25 UTC] AVideoLog::DEBUG: NGINX ON Publish deciding ... SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 13:40:25 UTC] AVideoLog::DEBUG: NGINX ON Publish success SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 13:40:53 UTC] AVideoLog::DEBUG: Live:getImage  start SCRIPT_NAME: /plugin/Live/getImage.php
[01-Sep-2020 13:40:53 UTC] AVideoLog::DEBUG: Live:getImage https://site.site.com/getImage/aHR0cHM6Ly9kZW1vLXNpdGUuZGl6YWx0eS50djoxOTc4L2xpdmUvNWYzODM1NTFhMTAxNC9pbmRleC5tM3U4/jpg SCRIPT_NAME: /plugin/Live/getImage.php
[01-Sep-2020 13:40:53 UTC] AVideoLog::DEBUG: Live:getImage  Image Expired in 01/09/2020 13:40:29 NOW is 01/09/2020 13:40:53 SCRIPT_NAME: /plugin/Live/getImage.php
[01-Sep-2020 13:40:53 UTC] AVideoLog::DEBUG: Live:getImage  New Image will Expired in 01/09/2020 13:42:53 NOW is 01/09/2020 13:40:53 SCRIPT_NAME: /plugin/Live/getImage.php
[01-Sep-2020 13:40:53 UTC] AVideoLog::DEBUG: Live:getImage  Cached Good until 01/09/2020 13:42:53 NOW is 01/09/2020 13:40:53 SCRIPT_NAME: /plugin/Live/getImage.php
[01-Sep-2020 13:43:31 UTC] AVideoLog::DEBUG: IP2Location::getLocation(185.41.152.116) Unknow {"ip_from":3106510848,"ip_to":3106511103,"country_code":"FR","country_name":"France","region_name":"Hauts-de-France","city_name":"Valenciennes","ip":"185.41.152.116"} SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 13:43:31 UTC] AVideoLog::DEBUG: Record Finish SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 13:43:31 UTC] AVideoLog::DEBUG: NGINX on_record_done POST: {"app":"live","flashver":"FMLE\/3.0 (compatible; FMSc\/1.0)","swfurl":"rtmp:\/\/demo-site.site.com\/live?p=4b6c4104654e0359ecf7a43822c4a764","tcurl":"rtmp:\/\/demo-site.site.com\/live?p=4b6c4104654e0359ecf7a43822c4a764","pageurl":"","addr":"90.15.136.104","clientid":"8584","call":"record_done","recorder":"video","name":"5f383551a1014","path":"\/var\/www\/tmp\/5f383551a1014-01-Sep-20-13:40:25.flv","redirectUri":""} SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 13:43:31 UTC] AVideoLog::DEBUG: NGINX on_record_done GET: [] SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 13:43:31 UTC] AVideoLog::DEBUG: NGINX on_record_done php://inputapp=live&flashver=FMLE/3.0%20(compatible%3B%20FMSc/1.0)&swfurl=rtmp://demo-site.site.com/live%3Fp=4b6c4104654e0359ecf7a43822c4a764&tcurl=rtmp://demo-site.site.com/live%3Fp=4b6c4104654e0359ecf7a43822c4a764&pageurl=&addr=90.15.136.104&clientid=8584&call=record_done&recorder=video&name=5f383551a1014&path=/var/www/tmp/5f383551a1014-01-Sep-20-13:40:25.flv SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 13:43:31 UTC] AVideoLog::DEBUG: user::login: noPass = 1, encodedPass = , this->user, admin 185.41.152.116 SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 13:43:31 UTC] AVideoLog::DEBUG: user::login: onUserSignIn Done SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 13:43:31 UTC] AVideoLog::DEBUG: Video::save (TEST MUSIC on 01-Sep-20-13:40:25) Saved id = 1  SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 13:43:31 UTC] AVideoLog::DEBUG: on_record_done Success: video saved on ID 23 SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 13:43:31 UTC] AVideoLog::DEBUG: SEND To QUEUE: (https://site.site.com/queue) {"user":"admin","pass":"4b6c4104654e0359ecf7a43822c4a764","fileURI":"https:\/\/demo-site.site.com\/AVideo\/videos\/original_TESTMUSICon01Sep20134025_YPTuniqid_5f4e50039fe1a8.68612666","filename":"TESTMUSICon01Sep20134025_YPTuniqid_5f4e50039fe1a8.68612666","videos_id":23,"notifyURL":"https:\/\/demo-site.site.com\/AVideo\/","inputHLS":1} SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 13:43:31 UTC] AVideoLog::DEBUG: IP2Location::getLocation(62.210.142.77) Unknow {"ip_from":1053986304,"ip_to":1053986559,"country_code":"FR","country_name":"France","region_name":"Provence-Alpes-Cote d'Azur","city_name":"Gap","ip":"62.210.142.77"} SCRIPT_NAME: /view/error.php
[01-Sep-2020 13:43:31 UTC] AVideoLog::DEBUG: IP2Location::getLocation(62.210.142.77) Unknow {"ip_from":1053986304,"ip_to":1053986559,"country_code":"FR","country_name":"France","region_name":"Provence-Alpes-Cote d'Azur","city_name":"Gap","ip":"62.210.142.77"} SCRIPT_NAME: /view/error.php
[01-Sep-2020 13:43:31 UTC] AVideoLog::DEBUG: IP2Location::getLocation(62.210.142.77) Unknow {"ip_from":1053986304,"ip_to":1053986559,"country_code":"FR","country_name":"France","region_name":"Provence-Alpes-Cote d'Azur","city_name":"Gap","ip":"62.210.142.77"} SCRIPT_NAME: /view/error.php
[01-Sep-2020 13:43:32 UTC] AVideoLog::DEBUG: IP2Location::getLocation(62.210.142.77) Unknow {"ip_from":1053986304,"ip_to":1053986559,"country_code":"FR","country_name":"France","region_name":"Provence-Alpes-Cote d'Azur","city_name":"Gap","ip":"62.210.142.77"} SCRIPT_NAME: /view/error.php
[01-Sep-2020 13:43:32 UTC] AVideoLog::DEBUG: QUEUE CURL: (https://site.site.com/queue) {"error":false,"response":""} SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 13:43:32 UTC] AVideoLog::DEBUG: on_record_done END SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 13:43:43 UTC] AVideoLog::DEBUG: getUsageFromFilename: start /var/www/html/AVideo/videos/TESTMUSICon01Sep20134025_YPTuniqid_5f4e50039fe1a8.68612666 SCRIPT_NAME: /objects/videos.json.php
[01-Sep-2020 13:46:01 UTC] AVideoLog::DEBUG: IP2Location::getLocation(193.118.55.146) Chrome {"ip_from":3245738240,"ip_to":3245754111,"country_code":"GB","country_name":"United Kingdom","region_name":"England","city_name":"London","ip":"193.118.55.146"} SCRIPT_NAME: /view/index.php
[01-Sep-2020 14:03:08 UTC] AVideoLog::DEBUG: IP2Location::getLocation(62.210.142.77) Unknow {"ip_from":1053986304,"ip_to":1053986559,"country_code":"FR","country_name":"France","region_name":"Provence-Alpes-Cote d'Azur","city_name":"Gap","ip":"62.210.142.77"} SCRIPT_NAME: /objects/login.json.php
[01-Sep-2020 14:03:08 UTC] AVideoLog::DEBUG: Start Login Request SCRIPT_NAME: /objects/login.json.php
[01-Sep-2020 14:03:08 UTC] AVideoLog::DEBUG: redirectUri:  SCRIPT_NAME: /objects/login.json.php
[01-Sep-2020 14:03:08 UTC] AVideoLog::DEBUG: same redirectUri: https://demo-site.site.com/ SCRIPT_NAME: /objects/login.json.php
[01-Sep-2020 14:03:08 UTC] AVideoLog::DEBUG: user::login: noPass = , encodedPass = true, this->user, admin 62.210.142.77 SCRIPT_NAME: /objects/login.json.php
[01-Sep-2020 14:03:08 UTC] AVideoLog::DEBUG: encryptPasswordVerify: do not encrypt SCRIPT_NAME: /objects/login.json.php
[01-Sep-2020 14:03:08 UTC] AVideoLog::DEBUG: user::login: onUserSignIn Done SCRIPT_NAME: /objects/login.json.php
[01-Sep-2020 14:03:08 UTC] AVideoLog::DEBUG: login.json.php setup object done SCRIPT_NAME: /objects/login.json.php
[01-Sep-2020 14:03:09 UTC] AVideoLog::DEBUG: IP2Location::getLocation(185.41.152.116) Unknow {"ip_from":3106510848,"ip_to":3106511103,"country_code":"FR","country_name":"France","region_name":"Hauts-de-France","city_name":"Valenciennes","ip":"185.41.152.116"} SCRIPT_NAME: /objects/status.json.php
[01-Sep-2020 14:03:09 UTC] AVideoLog::DEBUG: login.json.php complete SCRIPT_NAME: /objects/login.json.php
[01-Sep-2020 14:03:09 UTC] AVideoLog::DEBUG: IP2Location::getLocation(192.99.14.108) Unknow {"ip_from":3227713536,"ip_to":3227747327,"country_code":"CA","country_name":"Canada","region_name":"Quebec","city_name":"Beauharnois","ip":"192.99.14.108"} SCRIPT_NAME: /objects/status.json.php
[01-Sep-2020 14:03:10 UTC] AVideoLog::DEBUG: IP2Location::getLocation(62.210.142.77) Other (Unknown) {"ip_from":1053986304,"ip_to":1053986559,"country_code":"FR","country_name":"France","region_name":"Provence-Alpes-Cote d'Azur","city_name":"Gap","ip":"62.210.142.77"} SCRIPT_NAME: /plugin/CustomizeAdvanced/advancedCustom.json.php
[01-Sep-2020 14:03:11 UTC] AVideoLog::DEBUG: IP2Location::getLocation(90.15.136.104) Chrome {"ip_from":1510967296,"ip_to":1510967551,"country_code":"FR","country_name":"France","region_name":"Auvergne-Rhone-Alpes","city_name":"Saint-Etienne","ip":"90.15.136.104"} SCRIPT_NAME: /objects/status.json.php
[01-Sep-2020 14:04:03 UTC] AVideoLog::DEBUG: IP2Location::getLocation(192.35.168.251) Unknow {"ip_from":3223560448,"ip_to":3223563007,"country_code":"US","country_name":"United States","region_name":"Michigan","city_name":"Ann Arbor","ip":"192.35.168.251"} SCRIPT_NAME: /view/index.php
[01-Sep-2020 14:04:03 UTC] AVideoLog::DEBUG: IP2Location::getLocation(192.35.168.251) [Bot] Other {"ip_from":3223560448,"ip_to":3223563007,"country_code":"US","country_name":"United States","region_name":"Michigan","city_name":"Ann Arbor","ip":"192.35.168.251"} SCRIPT_NAME: /view/index.php
[01-Sep-2020 14:04:04 UTC] AVideoLog::DEBUG: IP2Location::getLocation(192.35.168.251) [Bot] Other {"ip_from":3223560448,"ip_to":3223563007,"country_code":"US","country_name":"United States","region_name":"Michigan","city_name":"Ann Arbor","ip":"192.35.168.251"} SCRIPT_NAME: /view/error.php
[01-Sep-2020 14:04:16 UTC] AVideoLog::DEBUG: IP2Location::getLocation(62.210.142.77) Unknow {"ip_from":1053986304,"ip_to":1053986559,"country_code":"FR","country_name":"France","region_name":"Provence-Alpes-Cote d'Azur","city_name":"Gap","ip":"62.210.142.77"} SCRIPT_NAME: /objects/aVideoEncoder.json.php
[01-Sep-2020 14:04:16 UTC] AVideoLog::DEBUG: aVideoEncoder.json: start SCRIPT_NAME: /objects/aVideoEncoder.json.php
[01-Sep-2020 14:04:16 UTC] AVideoLog::DEBUG: user::login: noPass = , encodedPass = 1, this->user, admin 62.210.142.77 SCRIPT_NAME: /objects/aVideoEncoder.json.php
[01-Sep-2020 14:04:16 UTC] AVideoLog::DEBUG: encryptPasswordVerify: do not encrypt SCRIPT_NAME: /objects/aVideoEncoder.json.php
[01-Sep-2020 14:04:16 UTC] AVideoLog::DEBUG: user::login: onUserSignIn Done SCRIPT_NAME: /objects/aVideoEncoder.json.php
[01-Sep-2020 14:04:16 UTC] AVideoLog::DEBUG: aVideoEncoder.json: Encoder receiving post {"duration":"EE:EE:EE","title":"test","videos_id":"0","categories_id":"0","format":"mp4","resolution":"","videoDownloadedLink":"","description":"","user":"admin","password":"4b6c4104654e0359ecf7a43822c4a764","downloadURL":"https:\/\/site.site.com\/","chunkFile":"","encoderURL":"https:\/\/site.site.com\/","redirectUri":""} SCRIPT_NAME: /objects/aVideoEncoder.json.php
[01-Sep-2020 14:04:16 UTC] AVideoLog::DEBUG: aVideoEncoder.json: Files EMPTY SCRIPT_NAME: /objects/aVideoEncoder.json.php
[01-Sep-2020 14:04:16 UTC] AVideoLog::DEBUG: Video::save (test) Saved id = 1  SCRIPT_NAME: /objects/aVideoEncoder.json.php
[01-Sep-2020 14:04:16 UTC] AVideoLog::DEBUG: Do not need update duration: {} SCRIPT_NAME: /objects/aVideoEncoder.json.php
[01-Sep-2020 14:04:16 UTC] AVideoLog::DEBUG: Do not need update duration: {} SCRIPT_NAME: /objects/aVideoEncoder.json.php
[01-Sep-2020 14:04:16 UTC] AVideoLog::DEBUG: aVideoEncoder.json: Files Received for video 24: test SCRIPT_NAME: /objects/aVideoEncoder.json.php
[01-Sep-2020 14:04:19 UTC] AVideoLog::DEBUG: IP2Location::getLocation(62.210.142.77) Unknow {"ip_from":1053986304,"ip_to":1053986559,"country_code":"FR","country_name":"France","region_name":"Provence-Alpes-Cote d'Azur","city_name":"Gap","ip":"62.210.142.77"} SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[01-Sep-2020 14:04:19 UTC] AVideoLog::DEBUG: user::login: noPass = , encodedPass = 1, this->user, admin 62.210.142.77 SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[01-Sep-2020 14:04:19 UTC] AVideoLog::DEBUG: encryptPasswordVerify: do not encrypt SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[01-Sep-2020 14:04:19 UTC] AVideoLog::DEBUG: user::login: onUserSignIn Done SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[01-Sep-2020 14:04:19 UTC] AVideoLog::DEBUG: ReceiveImage: Start receiving image SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[01-Sep-2020 14:04:19 UTC] AVideoLog::DEBUG: ReceiveImage: Encoder receiving post Array
(
    [image] => Array
        (
            [name] => 3tmpFile.m3u8.jpg
            [type] => application/octet-stream
            [tmp_name] => /tmp/phpVLk5fC
            [error] => 0
            [size] => 84198
        )

    [gifimage] => Array
        (
            [name] => 3tmpFile.m3u8.gif
            [type] => application/octet-stream
            [tmp_name] => /tmp/phpGc7n7b
            [error] => 0
            [size] => 747747
        )

    [webpimage] => Array
        (
            [name] => 3tmpFile.m3u8.webp
            [type] => application/octet-stream
            [tmp_name] => /tmp/phpIRkl0L
            [error] => 0
            [size] => 562030
        )

)
 SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[01-Sep-2020 14:04:19 UTC] AVideoLog::DEBUG: Video::save (test) Saved id = 1  SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[01-Sep-2020 14:04:19 UTC] AVideoLog::DEBUG: getUsageFromFilename: start /var/www/html/AVideo/videos/_YPTuniqid_5f4e54e0dad692.99167569 SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[01-Sep-2020 14:04:19 UTC] AVideoLog::DEBUG: getUsageFromFilename: /var/www/html/AVideo/videos/_YPTuniqid_5f4e54e0dad692.99167569.gif is File (747747) SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[01-Sep-2020 14:04:19 UTC] AVideoLog::DEBUG: getUsageFromFilename: /var/www/html/AVideo/videos/_YPTuniqid_5f4e54e0dad692.99167569.jpg is File (84198) SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[01-Sep-2020 14:04:19 UTC] AVideoLog::DEBUG: getUsageFromFilename: /var/www/html/AVideo/videos/_YPTuniqid_5f4e54e0dad692.99167569.webp is File (562030) SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[01-Sep-2020 14:04:19 UTC] AVideoLog::DEBUG: Video::save (test) Saved id = 1  SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[01-Sep-2020 14:04:19 UTC] AVideoLog::DEBUG: updateFilesize: videos_id=24 filename=_YPTuniqid_5f4e54e0dad692.99167569 filesize=1393975 SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[01-Sep-2020 14:04:19 UTC] AVideoLog::DEBUG: ReceiveImage: Files Received for video 24: test SCRIPT_NAME: /objects/aVideoEncoderReceiveImage.json.php
[01-Sep-2020 14:06:07 UTC] AVideoLog::DEBUG: getUsageFromFilename: start /var/www/html/AVideo/videos/TESTMUSICon01Sep20134025_YPTuniqid_5f4e50039fe1a8.68612666 SCRIPT_NAME: /objects/videos.json.php
[01-Sep-2020 14:06:37 UTC] AVideoLog::DEBUG: getUsageFromFilename: start /var/www/html/AVideo/videos/TESTMUSICon01Sep20134025_YPTuniqid_5f4e50039fe1a8.68612666 SCRIPT_NAME: /objects/videos.json.php
[01-Sep-2020 14:06:43 UTC] AVideoLog::DEBUG: Resize JPG /var/www/html/AVideo/videos/_YPTuniqid_5f4e54e0dad692.99167569.jpg, /var/www/html/AVideo/videos/_YPTuniqid_5f4e54e0dad692.99167569_thumbsV2.jpg SCRIPT_NAME: /view/index.php
[01-Sep-2020 14:06:43 UTC] AVideoLog::DEBUG: Resize Small JPG /var/www/html/AVideo/videos/_YPTuniqid_5f4e54e0dad692.99167569.jpg, /var/www/html/AVideo/videos/_YPTuniqid_5f4e54e0dad692.99167569_thumbsSmallV2.jpg SCRIPT_NAME: /view/index.php
[01-Sep-2020 14:06:49 UTC] AVideoLog::DEBUG: getUsageFromFilename: start /var/www/html/AVideo/videos/TESTMUSICon01Sep20134025_YPTuniqid_5f4e50039fe1a8.68612666 SCRIPT_NAME: /objects/videos.json.php
[01-Sep-2020 14:35:18 UTC] AVideoLog::DEBUG: IP2Location::getLocation(185.41.152.116) Unknow {"ip_from":3106510848,"ip_to":3106511103,"country_code":"FR","country_name":"France","region_name":"Hauts-de-France","city_name":"Valenciennes","ip":"185.41.152.116"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 14:35:18 UTC] AVideoLog::DEBUG: NGINX ON Publish POST: {"app":"live","flashver":"FMLE\/3.0 (compatible; FMSc\/1.0)","swfurl":"rtmp:\/\/demo-site.site.com\/live?p=4b6c4104654e0359ecf7a43822c4a764","tcurl":"rtmp:\/\/demo-site.site.com\/live?p=4b6c4104654e0359ecf7a43822c4a764","pageurl":"","addr":"90.15.136.104","clientid":"8838","call":"publish","name":"5f383551a1014","type":"live","redirectUri":""} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 14:35:18 UTC] AVideoLog::DEBUG: NGINX ON Publish GET: [] SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 14:35:18 UTC] AVideoLog::DEBUG: NGINX ON Publish php://inputapp=live&flashver=FMLE/3.0%20(compatible%3B%20FMSc/1.0)&swfurl=rtmp://demo-site.site.com/live%3Fp=4b6c4104654e0359ecf7a43822c4a764&tcurl=rtmp://demo-site.site.com/live%3Fp=4b6c4104654e0359ecf7a43822c4a764&pageurl=&addr=90.15.136.104&clientid=8838&call=publish&name=5f383551a1014&type=live SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 14:35:18 UTC] AVideoLog::DEBUG: NGINX ON Publish parse_url: {"scheme":"rtmp","host":"demo-site.site.com","path":"\/live","query":"p=4b6c4104654e0359ecf7a43822c4a764"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 14:35:18 UTC] AVideoLog::DEBUG: NGINX ON Publish parse_str: {"p":"4b6c4104654e0359ecf7a43822c4a764"} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 14:35:18 UTC] AVideoLog::DEBUG: NGINX ON Publish check if key exists (5f383551a1014) SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 14:35:18 UTC] AVideoLog::DEBUG: NGINX ON Publish key exists return {"id":1,"user":"admin","name":"site.com","email":"site.com@gmail.com","password":"4b6c4104654e0359ecf7a43822c4a764","created":"2020-08-15 19:19:45","modified":"2020-08-29 17:28:59","isAdmin":1,"status":"a","photoURL":null,"lastLogin":"2020-09-01 12:48:54","recoverPass":null,"backgroundURL":null,"canStream":1,"canUpload":1,"canCreateMeet":1,"canViewChart":1,"about":"","channelName":"site.com","emailVerified":1,"analyticsCode":"","externalOptions":"YTo1OntzOjE0OiJoYXNPcHRpb25zVGVzdCI7czo0OiJ0cnVlIjtzOjk6Inllc0l0RG9lcyI7czo0OiJ0cnVlIjtzOjEwOiJjaGVja21hcmsxIjtzOjQ6InRydWUiO3M6MTA6ImNoZWNrbWFyazIiO3M6NDoidHJ1ZSI7czoxMDoiY2hlY2ttYXJrMyI7czo0OiJ0cnVlIjt9","first_name":null,"last_name":null,"address":null,"zip_code":null,"country":null,"region":null,"city":null,"donationLink":"","title":"TEST MUSIC","public":1,"saveTransmition":0,"key":"5f383551a1014","description":"Fortnite is a sandbox-survival third-person shooter from the studio behind the Unreal Tournament and Gears of War series.\n","users_id":1,"categories_id":6} SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 14:35:18 UTC] AVideoLog::DEBUG: NGINX ON Publish new User(1) SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 14:35:18 UTC] AVideoLog::DEBUG: NGINX ON Publish get LiveTransmitionHistory SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 14:35:18 UTC] AVideoLog::DEBUG: NGINX ON Publish saving LiveTransmitionHistory SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 14:35:18 UTC] AVideoLog::DEBUG: NGINX ON Publish saved LiveTransmitionHistory SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 14:35:18 UTC] AVideoLog::DEBUG: NGINX ON Publish deciding ... SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 14:35:18 UTC] AVideoLog::DEBUG: NGINX ON Publish success SCRIPT_NAME: /AVideo/plugin/Live/on_publish.php
[01-Sep-2020 14:35:32 UTC] AVideoLog::DEBUG: Live:getImage  start SCRIPT_NAME: /plugin/Live/getImage.php
[01-Sep-2020 14:35:32 UTC] AVideoLog::DEBUG: Live:getImage https://site.site.com/getImage/aHR0cHM6Ly9kZW1vLXNpdGUuZGl6YWx0eS50djoxOTc4L2xpdmUvNWYzODM1NTFhMTAxNC9pbmRleC5tM3U4/jpg SCRIPT_NAME: /plugin/Live/getImage.php
[01-Sep-2020 14:35:32 UTC] AVideoLog::DEBUG: Live:getImage  Image Expired in 01/09/2020 13:42:53 NOW is 01/09/2020 14:35:32 SCRIPT_NAME: /plugin/Live/getImage.php
[01-Sep-2020 14:35:32 UTC] AVideoLog::DEBUG: Live:getImage  New Image will Expired in 01/09/2020 14:37:32 NOW is 01/09/2020 14:35:32 SCRIPT_NAME: /plugin/Live/getImage.php
[01-Sep-2020 14:35:32 UTC] AVideoLog::DEBUG: Live:getImage  Cached Good until 01/09/2020 14:37:32 NOW is 01/09/2020 14:35:32 SCRIPT_NAME: /plugin/Live/getImage.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: IP2Location::getLocation(185.41.152.116) Unknow {"ip_from":3106510848,"ip_to":3106511103,"country_code":"FR","country_name":"France","region_name":"Hauts-de-France","city_name":"Valenciennes","ip":"185.41.152.116"} SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: Record Finish SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: NGINX on_record_done POST: {"app":"live","flashver":"FMLE\/3.0 (compatible; FMSc\/1.0)","swfurl":"rtmp:\/\/demo-site.site.com\/live?p=4b6c4104654e0359ecf7a43822c4a764","tcurl":"rtmp:\/\/demo-site.site.com\/live?p=4b6c4104654e0359ecf7a43822c4a764","pageurl":"","addr":"90.15.136.104","clientid":"8838","call":"record_done","recorder":"video","name":"5f383551a1014","path":"\/var\/www\/tmp\/5f383551a1014-01-Sep-20-14:35:18.flv","redirectUri":""} SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: NGINX on_record_done GET: [] SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: NGINX on_record_done php://inputapp=live&flashver=FMLE/3.0%20(compatible%3B%20FMSc/1.0)&swfurl=rtmp://demo-site.site.com/live%3Fp=4b6c4104654e0359ecf7a43822c4a764&tcurl=rtmp://demo-site.site.com/live%3Fp=4b6c4104654e0359ecf7a43822c4a764&pageurl=&addr=90.15.136.104&clientid=8838&call=record_done&recorder=video&name=5f383551a1014&path=/var/www/tmp/5f383551a1014-01-Sep-20-14:35:18.flv SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: user::login: noPass = 1, encodedPass = , this->user, admin 185.41.152.116 SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: user::login: onUserSignIn Done SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: Video::save (TEST MUSIC on 01-Sep-20-14:35:18) Saved id = 1  SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: on_record_done Success: video saved on ID 25 SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: SEND To QUEUE: (https://site.site.com/queue) {"user":"admin","pass":"4b6c4104654e0359ecf7a43822c4a764","fileURI":"https:\/\/demo-site.site.com\/AVideo\/videos\/original_TESTMUSICon01Sep20143518_YPTuniqid_5f4e5c6d57c3f8.32876783","filename":"TESTMUSICon01Sep20143518_YPTuniqid_5f4e5c6d57c3f8.32876783","videos_id":25,"notifyURL":"https:\/\/demo-site.site.com\/AVideo\/","inputHLS":1} SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: IP2Location::getLocation(62.210.142.77) Unknow {"ip_from":1053986304,"ip_to":1053986559,"country_code":"FR","country_name":"France","region_name":"Provence-Alpes-Cote d'Azur","city_name":"Gap","ip":"62.210.142.77"} SCRIPT_NAME: /view/error.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: IP2Location::getLocation(62.210.142.77) Unknow {"ip_from":1053986304,"ip_to":1053986559,"country_code":"FR","country_name":"France","region_name":"Provence-Alpes-Cote d'Azur","city_name":"Gap","ip":"62.210.142.77"} SCRIPT_NAME: /view/error.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: IP2Location::getLocation(62.210.142.77) Unknow {"ip_from":1053986304,"ip_to":1053986559,"country_code":"FR","country_name":"France","region_name":"Provence-Alpes-Cote d'Azur","city_name":"Gap","ip":"62.210.142.77"} SCRIPT_NAME: /view/error.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: IP2Location::getLocation(62.210.142.77) Unknow {"ip_from":1053986304,"ip_to":1053986559,"country_code":"FR","country_name":"France","region_name":"Provence-Alpes-Cote d'Azur","city_name":"Gap","ip":"62.210.142.77"} SCRIPT_NAME: /view/error.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: QUEUE CURL: (https://site.site.com/queue) {"error":false,"response":""} SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 14:36:29 UTC] AVideoLog::DEBUG: on_record_done END SCRIPT_NAME: /AVideo/plugin/Live/on_record_done.php
[01-Sep-2020 14:36:55 UTC] AVideoLog::DEBUG: getUsageFromFilename: start /var/www/html/AVideo/videos/TESTMUSICon01Sep20143518_YPTuniqid_5f4e5c6d57c3f8.32876783 SCRIPT_NAME: /objects/videos.json.php
[01-Sep-2020 14:38:13 UTC] AVideoLog::DEBUG: getUsageFromFilename: start /var/www/html/AVideo/videos/TESTMUSICon01Sep20143518_YPTuniqid_5f4e5c6d57c3f8.32876783 SCRIPT_NAME: /view/index.php
[01-Sep-2020 14:38:13 UTC] AVideoLog::DEBUG: getUsageFromFilename: start /var/www/html/AVideo/videos/TESTMUSICon01Sep20143518_YPTuniqid_5f4e5c6d57c3f8.32876783 SCRIPT_NAME: /view/index.php
[01-Sep-2020 14:38:13 UTC] AVideoLog::DEBUG: getUsageFromFilename: start /var/www/html/AVideo/videos/TESTMUSICon01Sep20143518_YPTuniqid_5f4e5c6d57c3f8.32876783 SCRIPT_NAME: /view/index.php
[01-Sep-2020 14:38:13 UTC] AVideoLog::DEBUG: getUsageFromFilename: start /var/www/html/AVideo/videos/TESTMUSICon01Sep20143518_YPTuniqid_5f4e5c6d57c3f8.32876783 SCRIPT_NAME: /view/index.php
[01-Sep-2020 14:38:13 UTC] AVideoLog::DEBUG: getUsageFromFilename: start /var/www/html/AVideo/videos/TESTMUSICon01Sep20143518_YPTuniqid_5f4e5c6d57c3f8.32876783 SCRIPT_NAME: /view/index.php
[01-Sep-2020 14:38:13 UTC] AVideoLog::DEBUG: getUsageFromFilename: start /var/www/html/AVideo/videos/TESTMUSICon01Sep20143518_YPTuniqid_5f4e5c6d57c3f8.32876783 SCRIPT_NAME: /view/index.php
[01-Sep-2020 14:38:14 UTC] AVideoLog::DEBUG: getUsageFromFilename: start /var/www/html/AVideo/videos/TESTMUSICon01Sep20143518_YPTuniqid_5f4e5c6d57c3f8.32876783 SCRIPT_NAME: /view/index.php
[01-Sep-2020 14:38:14 UTC] AVideoLog::DEBUG: getUsageFromFilename: start /var/www/html/AVideo/videos/TESTMUSICon01Sep20143518_YPTuniqid_5f4e5c6d57c3f8.32876783 SCRIPT_NAME: /view/index.php
ronaldod commented 4 years ago

PHP Fatal error: Uncaught Error: Class 'ZipArchive' not found

Zip in php not activated/installed.

syldri commented 4 years ago

Hello @ronaldod thank you very much I forgot to activate it everything works perfectly

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.