Closed Frankastro85 closed 2 years ago
@Frankastro85 You didn't do anything wrong. The strange name is a bug that we fixed and then broke. I will fix again in a couple days.
The lack of thumbnail is because your website is on a remote server that has disabled the ability for tha Allsky website to run the command that creates the thumbnails. That's fairly common for security reasons.
On our "to do" list is to allow the thumbnail to be created on the Pi and uploaded to the server.
Ok, thank you ! It's not dramatic ;-)
@Frankastro85 I uploaded an image called 'Timelapse' and pointed the path to it. I prefer this rather than 'No Thumbnail'. https://funrices.net/allsky/videos/
@uzelessknowledge, @Frankastro85 The "No thumbnail" message is simply a .png file in the "allsky" directory. Until we allow the actual thumbnail to be created on the Pi and uploaded, you can replace NoThumbnail.png with any image you want, and if you use the same filename then no code changes are needed.
@EricClaeys Ok good idea. But the most important for me is the name (date).
The problem is the video filename prefix created by Allsky generateForDay.sh is "allsky" and the web script functions.php and the ./videos/index.php assume the prefix is "Timelapse". In the functions.php function display_thumbnails($image_type) { if( $image_type == "Timelapse"){ ... $image_type_len = strlen(TIMELAPSE_PREFIX); } else { ... At the top of functions.php define('TIMELAPSE_PREFIX','allsky'); or simply put "allsky" in the code above. I do this so I will find it easier to maintain the prefix if it changes in the future. This will give a correct date in div.day-text on the videos thumbnail page.
The most likely reason you have no thumbnails is the version of ffmpeg does not support H264 Decoder. Type ffmpeg on the command line and it will list its configuration. I run my server on a QNAP NAS with a version if ffmpeg that did not support a H264 decoder. This resulted was no videos thumbnails. I upgraded ffmpeg on the NAS and thumbnails are generated ok. There web scripts are all ok.
@mpinnuck Mark, there is a fix for the name issue that is being reviewed. It runs fine on my two Pi's.
I believe @Frankastro85 is using a hosted server for his website, and hosted solutions often disable the exec() function which calls ffmpeg, for security reasons. I have a version of functions.php that detects when exec() is disabled, and doesn't use it. The ultimate fix for no video (and less frequently startrails and keogram thumbnails) is to have them created on the Pi and uploaded along with the full-size version.
Thanks for the feed back just letting you know my experience for what it’s worth. Yes, ISPs’ typically disable server side scripting on domestic personal use web hostings that come included with internet access package. Uploading html from the pi will work in all environments. You guys have done a great job on the software and works well day night.
On 22 Feb 2022, at 6:11 pm, EricClaeys @.***> wrote:
@mpinnuck Mark, there is a fix for the name issue that is being reviewed. It runs fine on my two Pi's.
I believe @Frankastro85 is using a hosted server for his website, and hosted solutions often disable the exec() function which calls ffmpeg, for security reasons. I have a version of functions.php that detects when exec() is disabled, and doesn't use it. The ultimate fix for no video (and less frequently startrails and keogram thumbnails) is to have them created on the Pi and uploaded along with the full-size version.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
@EricClaeys Hello, sorry for this delay but I'm on holiday. I'll be back next week and try your solution. Thanks 😊
@mpinnuck Mark, thanks for the kind words. We enjoy improving Allsky and comments like yours help keep us going.
I will create a new Wiki page describing "no thubnails" on the website, and will mention your and my experiences. If the remote website is under control of the user, they can likely fix the issue.
Closing this issue. It's the same as this one which is correctly against the allsky-website package. It's not an issue with the "allsky" package.
@mpinnuck, @Frankastro85, @uzelessknowledge - FYI
@mpinnuck I update the allsky website Wiki page to include your comments about the version of ffmpeg. Thanks for letting me know, and if you have any feedback on that page, let me know.
Hello, I haven't a thumbnail for the video and the name is strange... It's not the date ?
What I do wrong ?
The Website : http://www.villageduciel.fr/allsky/
Thank you. Frank