FossifyOrg / Gallery

Browse your memories without any interruptions with this photo and video gallery
https://www.fossify.org
GNU General Public License v3.0
1.59k stars 52 forks source link

All imported Videos .MOV do not have thumbnails. #200

Open pretubedongit opened 5 months ago

pretubedongit commented 5 months ago

Checklist

Affected app version

1.1.2

Affected Android/Custom ROM version

Android 13

Affected device model

Motorola G100/ Alldocube mini 50 pro

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. Copy any videos (MOV or MP4) without built-in thumbnail (For example, videos taken from iOS). Either from USB or Syncthing.
  2. Open Fossify gallery from phone, and refresh the folder.
  3. Gallery is not showing thumbnails.
  4. (Using Nextcloud server as a comparison) If I import the same file to Nextcloud, it does not render thumbnails as default, but by enabling ffmpeg and "Preview Generator," it works.

Expected behavior

If the video files does not have built-in thumbnails, app should render it with ffmpeg and generate thumbnail within cache.

Actual behavior

If the video files does not have built-in thumbnails, app shows void space. If the video comes with built-in thumbnails, it is shown in the gallery.

Screenshots/Screen recordings

No response

Additional information

No response

Aga-C commented 5 months ago

Do you have enabled Animate GIFs at thumbnails in Settings? If yes, do the thumbnails appear if you disable it?

pretubedongit commented 5 months ago

Do you have enabled Animate GIFs at thumbnails in Settings? If yes, do the thumbnails appear if you disable it?

Hi Aga-C,

Yes I have tried both "Animate GIFs at thumbnails" in settings, and neither works.

This might not be a "Fossify Gallery" bug, cuz I tried multiple gallery apps and file managers, nothing renders those files. These MOV files can be clicked and played with no issue. Seems like Android does not allow apps to do real-time rendering.

Maybe I should move this to feature required. I have a nextcloud server and I used something like this in php (with ffmpeg loaded), and achieved preview generating. I am not familiar with Android app building so I don't know if "ffmpeg" can be deployed into Fossify Gallery to perform real-time thumbnail rendering.

"<?php
  'enable_previews' => true,"

If you guys cannot re-produce my issue, let me know and I will upload a MOV file (no thumbnail, but okay with my nextcloud server media app), for you to transfer to your android device with USB or Syncthing.

Aga-C commented 5 months ago

Please share an MOV file that doesn't render thumbnails on your phone.

pretubedongit commented 5 months ago

https://github.com/FossifyOrg/Gallery/assets/155866580/a1a4cc2a-ddec-4708-ab68-9b3ba84d3031 Here is the original MOV file. I took this video with an iphone, and transferred to Android.

https://github.com/FossifyOrg/Gallery/assets/155866580/6d57dfa4-fadf-4c55-a761-b36309a8dc37 And a screenshot of Fossify gallery, showing blank preview.