AVideo
AVideo copied to clipboard
Plugin VideoThumbnails
@DanielnetoDotCom Danny, after installing the VideoThumbnails plugin. Video frames are not being generated. I imagine these are generated through the encoder. The problem is that I have around 300 videos already stored. How do I generate these frames manually after encoder?
It should be auto-created when you access the video for the first time
I'm running some tests here. I have already tested some videos and the frames are not being generated. The message is displayed in all videos:
"Creating Images, please come back later"
I would also like to translate this text.
https://cnetv.com.br/videos/_YPTuniqid_60a665fda7b5a3.10114302/_YPTuniqid_60a665fda7b5a3.10114302_thumbsSprit.jpg
In the log I found a link to the public encoder (getSpiritsFromVideo). Image from one of the videos... but it doesn't load in the player: https://encoder2.wwbn.net/getSpiritsFromVideo/aHR0cHM6Ly9jbmV0di5jb20uYnIvdmlkZW9zL19ZUFR1bmlxaWRfNjBhNjY1ZmRhN2I1YTMuMTAxMTQzMDIvX1lQVHVuaXFpZF82MGE2NjVmZGE3YjVhMy4xMDExNDMwMl9IRC5tcDQ=/150/100/0%3A38%3A36?disableCache=6603967869f0e
What it seems to me is that the encoder creates the Spirits, but does not load or store them correctly.
[27-Mar-2024 00:46:01 America/Sao_Paulo] AVideoLog::WARNING: The plugin [VideoThumbnails::getHeadCode] takes 2.3078 seconds to complete. URL: https://www.mysite.com/view/videoEmbeded.php?v=76&modestbranding=1&showinfo=&autoplay=1&controls=1&loop=&mute=&t=0&objectFit= IP: 177.149.133.219 [{"file":"\/var\/www\/html\/AVideo\/plugin\/AVideoPlugin.php","line":84,"function":"YPTend","class":"AVideoPlugin","type":"::"},{"file":"\/var\/www\/html\/AVideo\/view\/include\/head.php","line":5,"function":"getHeadCode","class":"AVideoPlugin","type":"::"},{"file":"\/var\/www\/html\/AVideo\/view\/videoEmbeded.php","line":318,"args":["\/var\/www\/html\/AVideo\/view\/include\/head.php"],"function":"include"}] SCRIPT_NAME: /view/videoEmbeded.php
[27-Mar-2024 00:46:01 America/Sao_Paulo] AVideoLog::DEBUG: getDirSize: found 390016417 from - 390016417 path/to/my/streamer/site/videos/_YPTuniqid_60a665fda7b5a3.10114302/ SCRIPT_NAME: /view/videoEmbeded.php
[27-Mar-2024 00:46:01 America/Sao_Paulo] AVideoLog::DEBUG: getDirSize: start path/to/my/streamer/site/videos/_YPTuniqid_60a665fda7b5a3.10114302/ SCRIPT_NAME: /view/videoEmbeded.php
[27-Mar-2024 00:46:01 America/Sao_Paulo] AVideoLog::DEBUG: createStprits: created old=[147137] new=[147137] path/to/my/streamer/site/videos/_YPTuniqid_60a665fda7b5a3.10114302/_YPTuniqid_60a665fda7b5a3.10114302_thumbsSprit.jpg SCRIPT_NAME: /view/videoEmbeded.php
[27-Mar-2024 00:46:00 America/Sao_Paulo] AVideoLog::DEBUG: createStprits: https://encoder2.wwbn.net/getSpiritsFromVideo/aHR0cHM6Ly9jbmV0di5jb20uYnIvdmlkZW9zL19ZUFR1bmlxaWRfNjBhNjY1ZmRhN2I1YTMuMTAxMTQzMDIvX1lQVHVuaXFpZF82MGE2NjVmZGE3YjVhMy4xMDExNDMwMl9IRC5tcDQ=/150/100/0%3A38%3A36?disableCache=6603967869f0e&sync=0 SCRIPT_NAME: /view/videoEmbeded.php
the thumbs are generated correctly
the error may be in your streamer
The file is now different... the same URL you accessed: https://encoder2.wwbn.net/getSpiritsFromVideo/aHR0cHM6Ly9jbmV0di5jb20uYnIvdmlkZW9zL19ZUFR1bmlxaWRfNjBhNjY1ZmRhN2I1YTMuMTAxMTQzMDIvX1lQVHVuaXFpZF82MGE2NjVmZGE3YjVhMy4xMDExNDMwMl9IRC5tcDQ=/150/100/0%3A38%3A36?disableCache=6603967869f0e
There is some inconsistency in this:
yes, that means it is processing, next time you access if the thumbs are done it will show the correct one