AVideo
AVideo copied to clipboard
AVideo Storage Bugs
@DanielForthman Danny, I'm starting to use AVideo Storage... I managed to install it correctly. I was able to transfer files from one server to another. It's functional. But I noticed that the video option menu disappeared. see this image:
It was normal until before installing the Storage plugin and running tests... What is happening?
Apparently you are losing the file references. It is in the state of "Broken Missing files"
[10-Apr-2024 00:34:43 UTC] AVideoLog::DEBUG: execAsync Linux: /usr/bin/php path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php 310 > /dev/null 2>&1 & echo $!; SCRIPT_NAME: /plugin/YPTStorage/isMoving.php
[09-Apr-2024 21:34:42 America/Sao_Paulo] AVideoLog::DEBUG: getVideosURL_V2(video_230919172214_v7625) Recreate cache requested [{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6754,"function":"getVideosURL_V2"},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6736,"function":"isMediaFileMissing","class":"Video","type":"::"},{"file":"\/var\/www\/html\/AVideo\/objects\/videos.json.php","line":86,"function":"checkIfIsBroken","class":"Video","type":"::"}] SCRIPT_NAME: /objects/videos.json.php
[09-Apr-2024 21:34:42 America/Sao_Paulo] AVideoLog::DEBUG: getVideosURL_V2(video_231003001846_vbd08) Recreate cache requested [{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6754,"function":"getVideosURL_V2"},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6736,"function":"isMediaFileMissing","class":"Video","type":"::"},{"file":"\/var\/www\/html\/AVideo\/objects\/videos.json.php","line":86,"function":"checkIfIsBroken","class":"Video","type":"::"}] SCRIPT_NAME: /objects/videos.json.php
[09-Apr-2024 21:34:42 America/Sao_Paulo] AVideoLog::DEBUG: getVideosURL_V2(video_231216031144_v83c1) Recreate cache requested [{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6754,"function":"getVideosURL_V2"},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6736,"function":"isMediaFileMissing","class":"Video","type":"::"},{"file":"\/var\/www\/html\/AVideo\/objects\/videos.json.php","line":86,"function":"checkIfIsBroken","class":"Video","type":"::"}] SCRIPT_NAME: /objects/videos.json.php
[09-Apr-2024 21:34:42 America/Sao_Paulo] AVideoLog::DEBUG: getVideosURL_V2(video104152654_va4fb) Recreate cache requested [{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6754,"function":"getVideosURL_V2"},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6736,"function":"isMediaFileMissing","class":"Video","type":"::"},{"file":"\/var\/www\/html\/AVideo\/objects\/videos.json.php","line":86,"function":"checkIfIsBroken","class":"Video","type":"::"}] SCRIPT_NAME: /objects/videos.json.php
[10-Apr-2024 00:34:23 UTC] AVideoLog::DEBUG: execAsync Linux: /usr/bin/php path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php 310 > /dev/null 2>&1 & echo $!; SCRIPT_NAME: /plugin/YPTStorage/isMoving.php
[09-Apr-2024 21:34:21 America/Sao_Paulo] AVideoLog::DEBUG: getVideosURL_V2(video_230919172214_v7625) Recreate cache requested [{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6754,"function":"getVideosURL_V2"},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6736,"function":"isMediaFileMissing","class":"Video","type":"::"},{"file":"\/var\/www\/html\/AVideo\/objects\/videos.json.php","line":86,"function":"checkIfIsBroken","class":"Video","type":"::"}] SCRIPT_NAME: /objects/videos.json.php
[09-Apr-2024 21:34:21 America/Sao_Paulo] AVideoLog::DEBUG: getVideosURL_V2(video_231003001846_vbd08) Recreate cache requested [{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6754,"function":"getVideosURL_V2"},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6736,"function":"isMediaFileMissing","class":"Video","type":"::"},{"file":"\/var\/www\/html\/AVideo\/objects\/videos.json.php","line":86,"function":"checkIfIsBroken","class":"Video","type":"::"}] SCRIPT_NAME: /objects/videos.json.php
[09-Apr-2024 21:34:21 America/Sao_Paulo] AVideoLog::DEBUG: getVideosURL_V2(video_231216031144_v83c1) Recreate cache requested [{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6754,"function":"getVideosURL_V2"},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6736,"function":"isMediaFileMissing","class":"Video","type":"::"},{"file":"\/var\/www\/html\/AVideo\/objects\/videos.json.php","line":86,"function":"checkIfIsBroken","class":"Video","type":"::"}] SCRIPT_NAME: /objects/videos.json.php
[09-Apr-2024 21:34:21 America/Sao_Paulo] AVideoLog::DEBUG: getVideosURL_V2(video104152654_va4fb) Recreate cache requested [{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6754,"function":"getVideosURL_V2"},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":6736,"function":"isMediaFileMissing","class":"Video","type":"::"},{"file":"\/var\/www\/html\/AVideo\/objects\/videos.json.php","line":86,"function":"checkIfIsBroken","class":"Video","type":"::"}] SCRIPT_NAME: /objects/videos.json.php
For example, when I access one of the downloaded videos, it displays this message and does not display the video: Please try again
the files are broken
how did you transfer the files to the storage?
you cannot just move the files
but you can use this command line
php /var/www/html/AVideo/plugin/YPTStorage/tools/moveAllVideosToStorage.php
@DanielnetoDotCom This command is to copy all files, correct? That's not what I'm doing.
php /var/www/html/AVideo/plugin/YPTStorage/tools/moveAllVideosToStorage.php
I am transferring the files individually. Through Plugin Storage. 1- I select the video I want to transfer from one server to another. 2- I click on MOVE STORAGE 3- Select the server 4- The transfer is made and completed 5- When I open the file, it only plays the MP3 file that was on the initial server. Does not display the file that was just transferred.
https://github.com/WWBN/AVideo/assets/37880073/f197c233-1b8f-41ad-8a9e-c1a4437bdbc9
I just tried to reproduce it and I could not
https://demo.avideo.com/video/418/cgi-3d-animated-short-let-s-make-it-happen---by-zeilt-productions-1
@DanielnetoDotCom Danny, the most interesting thing is that when I do the reverse process. Returning the video to the local server, the video plays normally again. What I managed to understand is that the streamer does not change the file location. This way it does not find the video that was transferred to the storage and only finds the MP3 and plays it itself. The MP3 file is useless to me.
[12-Apr-2024 13:14:07 America/Sao_Paulo] AVideoLog::DEBUG: transcribe subtitle: done videos_id=318 path/to/my/streamer/site/videos/video127080721_v910e/video127080721_v910e.vtt SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[12-Apr-2024 13:14:07 America/Sao_Paulo] AVideoLog::DEBUG: transcribe subtitle: Another instance of the script is already running PIDs=119603,119604 videos_id=318 age=1 [318] /tmp/transcriber.lock logFile=path/to/my/streamer/site/videos/video127080721_v910e/video127080721_v910e.srt.log SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[12-Apr-2024 13:14:07 America/Sao_Paulo] AVideoLog::DEBUG: transcribe subtitle: isFileUnchangedForOneMinute(path/to/my/streamer/site/videos/video127080721_v910e/video127080721_v910e.srt.log) 1712938446 <= 1712938387 SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[12-Apr-2024 13:14:07 America/Sao_Paulo] AVideoLog::DEBUG: transcribe subtitle: lock file exists videos_id=318 time=1712938446 /tmp/transcriber.lock path/to/my/streamer/site/videos/video127080721_v910e/video127080721_v910e.srt SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[12-Apr-2024 16:14:07 UTC] AVideoLog::DEBUG: execAsync Linux: /usr/bin/php path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php 318 > /dev/null 2>&1 & echo $!; SCRIPT_NAME: /view/videosList.php
[12-Apr-2024 13:14:06 America/Sao_Paulo] AVideoLog::DEBUG: transcribe subtitle: exec vosk-transcriber -i 'path/to/my/streamer/site/videos/video127080721_v910e/video127080721_v910e.mp3' -t srt -o 'path/to/my/streamer/site/videos/video127080721_v910e/video127080721_v910e.srt' > 'path/to/my/streamer/site/videos/video127080721_v910e/video127080721_v910e.srt.log' 2>&1 SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[12-Apr-2024 13:14:06 America/Sao_Paulo] AVideoLog::DEBUG: transcribe subtitle: SRT will be created srtFile=path/to/my/streamer/site/videos/video127080721_v910e/video127080721_v910e.srt mp3File=path/to/my/streamer/site/videos/video127080721_v910e/video127080721_v910e.mp3 SCRIPT_NAME: path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php
[12-Apr-2024 16:14:06 UTC] AVideoLog::DEBUG: execAsync Linux: /usr/bin/php path/to/my/streamer/site/plugin/SubtitleSwitcher/transcribe.php 318 > /dev/null 2>&1 & echo $!; SCRIPT_NAME: /plugin/PlayerSkins/mediaSession.json.php
Hi
first, you can disable the auto MP3 in the SubtitleSwitcher plugin
Uncheck automaticTranscript
But I still do not understand why it is loading the MP3, it is not happening here
1- I disabled this function of creating MP3 files. 2- I deleted the specific MP3 file from this video. 3- And now the player doesn't play anything and doesn't give any error messages. 4- I returned the file from the storage to its location. 5- Then I sent it back to storage but without the MP3 option now. 6- I played the video and the video is not loaded in the player.
https://github.com/WWBN/AVideo/assets/37880073/ef0e8487-e600-4f93-bb98-0775eaea110a
try clear the cache.
I cleared the cache and nothing changed.
Interesting that the URL is correct in the code:
And the URL is accessible outside the streamer: http://209.209.9.79/AVideo-Storage/videos/video127080721_v910e/video127080721_v910e_HD.mp4
what is your site domain?
Site domain: https://cnetv.com.br
Storage: http://209.209.9.79
this will never works
your storage must have a valid domain and HTTPS NOT HTTP
there is no other way
@DanielnetoDotCom As I already predicted..... the problem is not that the server is HTTP or HTTPS. I ran the same tests on HTTPS and nothing changed. Now: https://storage01.cnetv.com.br/ In fact, it's gotten worse now! When I return the videos from Storage to the main server it deletes the files and does not transfer them to the correct location.
Ok, keep the HTTPS and now check your logs
check it on streamer and also in the storage
Yes, I will keep HTTPS, I wasn't previously because I'm still testing.
So I did the new test: 1- Upload through the public Encoder, from a YouTube link. 2- The video went directly to the external storage 3- Activate the video for viewing 4- I click to play the video and nothing happens
https://github.com/WWBN/AVideo/assets/37880073/d60acfb7-71e0-44b5-b04f-0096d77f291e
[15-Apr-2024 15:56:23 America/Sao_Paulo] AVideoLog::ERROR: Time: 8.022s | Limit: 0.7s | Location: path/to/my/streamer/site/objects/videoStatus.json.php Line 1980 [stats.json.php getStats] IP=177.149.151.62 backtrace=[{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1980,"function":"TimeLogEnd","args":["stats.json.php getStats",1980]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1928,"function":"getStats","class":"Live","type":"::","args":[false]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1862,"function":"getStatsApplications","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1855,"function":"finishAllFromStats","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/objects\/functions.php","line":2987,"function":"checkAllFromStats","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":864,"function":"clearCache","args":[true]},{"file":"\/var\/www\/html\/AVideo\/objects\/videoStatus.json.php","line":43,"function":"setStatus","class":"Video","object":{"views_count_25":null,"views_count_50":null,"views_count_75":null,"views_count_100":null,"modified":"2024-04-15 15:55:10"},"type":"->","args":["a"]}] SCRIPT_NAME: /objects/videoStatus.json.php
[15-Apr-2024 15:56:23 America/Sao_Paulo] AVideoLog::ERROR: Time: 8.021s | Limit: 0.7s | Location: path/to/my/streamer/site/objects/videoStatus.json.php Line 2287 [stats.json.php _getStats] IP=177.149.151.62 backtrace=[{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":2287,"function":"TimeLogEnd","args":["stats.json.php _getStats",2287]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1979,"function":"_getStats","class":"Live","type":"::","args":[0,false]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1928,"function":"getStats","class":"Live","type":"::","args":[false]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1862,"function":"getStatsApplications","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1855,"function":"finishAllFromStats","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/objects\/functions.php","line":2987,"function":"checkAllFromStats","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":864,"function":"clearCache","args":[true]},{"file":"\/var\/www\/html\/AVideo\/objects\/videoStatus.json.php","line":43,"function":"setStatus","class":"Video","object":{"views_count_25":null,"views_count_50":null,"views_count_75":null,"views_count_100":null,"modified":"2024-04-15 15:55:10"},"type":"->","args":["a"]}] SCRIPT_NAME: /objects/videoStatus.json.php
[15-Apr-2024 15:56:23 America/Sao_Paulo] AVideoLog::ERROR: Live::getStatsObject RTMP Server (https://www.mysite.com:8443/stat) is OFFLINE requestStatsTimout=4 we could not connect on it => live_servers_id = (0) SCRIPT_NAME: /objects/videoStatus.json.php
[15-Apr-2024 15:54:16 America/Sao_Paulo] AVideoLog::ERROR: Time: 8.031s | Limit: 0.7s | Location: path/to/my/streamer/site/objects/aVideoEncoder.json.php Line 1980 [stats.json.php getStats] IP=192.99.46.228 USER_AGENT=Undefined server={"REDIRECT_proto":"https","REDIRECT_HTTPS":"on","REDIRECT_SSL_TLS_SNI":"www.mysite.com","REDIRECT_STATUS":"200","proto":"https","HTTPS":"on","SSL_TLS_SNI":"www.mysite.com","HTTP_HOST":"www.mysite.com","HTTP_CONNECTION":"Keep-Alive","HTTP_ACCEPT_ENCODING":"gzip, br","HTTP_X_FORWARDED_FOR":"192.99.46.228","HTTP_CF_RAY":"874e2471bf78872f-ORD","CONTENT_LENGTH":"2623","HTTP_X_FORWARDED_PROTO":"https","HTTP_CF_VISITOR":"{\"scheme\":\"https\"}","HTTP_ACCEPT":"*\/*","CONTENT_TYPE":"multipart\/form-data; boundary=------------------------4ecd374fee55630d","HTTP_CF_CONNECTING_IP":"192.99.46.228","HTTP_CDN_LOOP":"cloudflare","HTTP_CF_IPCOUNTRY":"CA","PATH":"\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin:\/snap\/bin","SERVER_SIGNATURE":"<address>Apache\/2.4.52 (Ubuntu) Server at www.mysite.com Port 443<\/address>\n","SERVER_SOFTWARE":"Apache\/2.4.52 [email protected] backtrace=[{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1980,"function":"TimeLogEnd","args":["stats.json.php getStats",1980]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1928,"function":"getStats","class":"Live","type":"::","args":[false]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1862,"function":"getStatsApplications","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1855,"function":"finishAllFromStats","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/objects\/functions.php","line":2987,"function":"checkAllFromStats","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":864,"function":"clearCache","args":[true]},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":900,"function":"setStatus","class":"Video","object":{"views_count_25":null,"views_count_50":null,"views_count_75":null,"views_count_100":null,"modified":"2024-04-15 15:50:57"},"type":"->","args":["h"]},{"file":"\/var\/www\/html\/AVideo\/objects\/aVideoEncoder.json.php","line":96,"function":"setAutoStatus","class":"Video","object":{"views_count_25":null,"views_count_50":null,"views_count_75":null,"views_count_100":null,"modified":"2024-04-15 15:50:57"},"type":"->","args":[]}] SCRIPT_NAME: /objects/aVideoEncoder.json.php
[15-Apr-2024 15:54:16 America/Sao_Paulo] AVideoLog::ERROR: Time: 8.030s | Limit: 0.7s | Location: path/to/my/streamer/site/objects/aVideoEncoder.json.php Line 2287 [stats.json.php _getStats] IP=192.99.46.228 USER_AGENT=Undefined server={"REDIRECT_proto":"https","REDIRECT_HTTPS":"on","REDIRECT_SSL_TLS_SNI":"www.mysite.com","REDIRECT_STATUS":"200","proto":"https","HTTPS":"on","SSL_TLS_SNI":"www.mysite.com","HTTP_HOST":"www.mysite.com","HTTP_CONNECTION":"Keep-Alive","HTTP_ACCEPT_ENCODING":"gzip, br","HTTP_X_FORWARDED_FOR":"192.99.46.228","HTTP_CF_RAY":"874e2471bf78872f-ORD","CONTENT_LENGTH":"2623","HTTP_X_FORWARDED_PROTO":"https","HTTP_CF_VISITOR":"{\"scheme\":\"https\"}","HTTP_ACCEPT":"*\/*","CONTENT_TYPE":"multipart\/form-data; boundary=------------------------4ecd374fee55630d","HTTP_CF_CONNECTING_IP":"192.99.46.228","HTTP_CDN_LOOP":"cloudflare","HTTP_CF_IPCOUNTRY":"CA","PATH":"\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin:\/snap\/bin","SERVER_SIGNATURE":"<address>Apache\/2.4.52 (Ubuntu) Server at www.mysite.com Port 443<\/address>\n","SERVER_SOFTWARE":"Apache\/2.4.52 [email protected] backtrace=[{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":2287,"function":"TimeLogEnd","args":["stats.json.php _getStats",2287]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1979,"function":"_getStats","class":"Live","type":"::","args":[0,false]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1928,"function":"getStats","class":"Live","type":"::","args":[false]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1862,"function":"getStatsApplications","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1855,"function":"finishAllFromStats","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/objects\/functions.php","line":2987,"function":"checkAllFromStats","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":864,"function":"clearCache","args":[true]},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":900,"function":"setStatus","class":"Video","object":{"views_count_25":null,"views_count_50":null,"views_count_75":null,"views_count_100":null,"modified":"2024-04-15 15:50:57"},"type":"->","args":["h"]},{"file":"\/var\/www\/html\/AVideo\/objects\/aVideoEncoder.json.php","line":96,"function":"setAutoStatus","class":"Video","object":{"views_count_25":null,"views_count_50":null,"views_count_75":null,"views_count_100":null,"modified":"2024-04-15 15:50:57"},"type":"->","args":[]}] SCRIPT_NAME: /objects/aVideoEncoder.json.php
[15-Apr-2024 15:54:16 America/Sao_Paulo] AVideoLog::ERROR: Live::getStatsObject RTMP Server (https://www.mysite.com:8443/stat) is OFFLINE requestStatsTimout=4 we could not connect on it => live_servers_id = (0) SCRIPT_NAME: /objects/aVideoEncoder.json.php
[15-Apr-2024 15:45:17 America/Sao_Paulo] AVideoLog::ERROR: Time: 8.409s | Limit: 0.7s | Location: path/to/my/streamer/site/objects/videoStatus.json.php Line 1980 [stats.json.php getStats] IP=177.149.151.62 backtrace=[{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1980,"function":"TimeLogEnd","args":["stats.json.php getStats",1980]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1928,"function":"getStats","class":"Live","type":"::","args":[false]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1862,"function":"getStatsApplications","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1855,"function":"finishAllFromStats","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/objects\/functions.php","line":2987,"function":"checkAllFromStats","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":864,"function":"clearCache","args":[true]},{"file":"\/var\/www\/html\/AVideo\/objects\/videoStatus.json.php","line":43,"function":"setStatus","class":"Video","object":{"views_count_25":null,"views_count_50":null,"views_count_75":null,"views_count_100":null,"modified":"2024-04-15 15:43:22"},"type":"->","args":["a"]}] SCRIPT_NAME: /objects/videoStatus.json.php
[15-Apr-2024 15:45:17 America/Sao_Paulo] AVideoLog::ERROR: Time: 8.407s | Limit: 0.7s | Location: path/to/my/streamer/site/objects/videoStatus.json.php Line 2287 [stats.json.php _getStats] IP=177.149.151.62 backtrace=[{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":2287,"function":"TimeLogEnd","args":["stats.json.php _getStats",2287]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1979,"function":"_getStats","class":"Live","type":"::","args":[0,false]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1928,"function":"getStats","class":"Live","type":"::","args":[false]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1862,"function":"getStatsApplications","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/plugin\/Live\/Live.php","line":1855,"function":"finishAllFromStats","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/objects\/functions.php","line":2987,"function":"checkAllFromStats","class":"Live","type":"::","args":[]},{"file":"\/var\/www\/html\/AVideo\/objects\/video.php","line":864,"function":"clearCache","args":[true]},{"file":"\/var\/www\/html\/AVideo\/objects\/videoStatus.json.php","line":43,"function":"setStatus","class":"Video","object":{"views_count_25":null,"views_count_50":null,"views_count_75":null,"views_count_100":null,"modified":"2024-04-15 15:43:22"},"type":"->","args":["a"]}] SCRIPT_NAME: /objects/videoStatus.json.php
[15-Apr-2024 15:45:17 America/Sao_Paulo] AVideoLog::ERROR: Live::getStatsObject RTMP Server (https://www.mysite.com:8443/stat) is OFFLINE requestStatsTimout=4 we could not connect on it => live_servers_id = (0) SCRIPT_NAME: /objects/videoStatus.json.php
Can you please share the video link here?
Also, please make the video unlisted o active
Video link: https://www.youtube.com/watch?v=ucZl6vQ_8Uo
I mean the link for the video in your platform (AVideo)
Ok https://cnetv.com.br/video/319
SD https://storage01.cnetv.com.br/videos/video_240415010244_v960f/video_240415010244_v960f_SD.mp4 HD https://storage01.cnetv.com.br/videos/video_240415010244_v960f/video_240415010244_v960f_HD.mp4
Your video source is this https://storage01.cnetv.com.br/videos/video_240415010244_v960f/video_240415010244_v960f_SD.mp4
instead of this https://storage01.cnetv.com.br/videos/video_240415010244_v960f_SD.mp4
I have no idea what is causing it on your side, but I just sent the YPTStorage version 5.6 that may fix it if this happens
Ok, I'll update... I was trying to change the file permissions and nothing changed.
Sorry, I guess the latest version will not fix it, hold on
Can you please update your AVideo-Storage server with a git pull?
https://github.com/WWBN/AVideo-Storage
OK, I did git pull on AVideo Storage now. I didn't see the plugin requesting an update. I will run new tests.
Danny, it worked! So it really was the URL that was being generated wrong... https://cnetv.com.br/video/319/audio-video-sync-test
I verified that after GIT PULL the permissions and users were changed, this is correct:
Files are no longer displayed in tinyfilemanager... only in the Ubuntu list:
I am not 100% but it is not showing probably the because the permission
It must be because I had to make one:
sudo git fetch --all && sudo git reset --hard origin/master
the permission issue is in the videos folder, the git fetch will not resolve