-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] .mov playback support #66
Comments
Hi, Unfortunately .mov files ar not supported by any browser. Only mp4, WebM and Ogg files are supported. More details here.. I cannot really do anything to fix it. I would like to keep the app clean and simple. I feel that showing a file that the app cannot handle would cause confusion. The aim of the app is not a file browser but a photo gallery. (So not like google drive, but more like google photos) Therefore, at the moment, I would not like to list .mov files without full support. I'm actually planning to make it possible to reconvert original photos/videos, so that I can support more extensions (like raw photos, .mov-s, etc..) and also my raspberry has difficulties streaming hi-res video files. So scaling down would be also good. |
Hi It is relatively easy to add supported extensions to the app:
And to the fronted here: pigallery2/frontend/app/ui/gallery/lightbox/media/media.lightbox.gallery.component.ts Line 132 in 1bf538f
ffmpeg will create a thumbnail for you, so it will more or less work on the UI, but most likely the video wont play. Unfortunately, there is no straightforward way now to automatically convert Patrik |
Thank you for providing the way to support As for converting via |
Hi, Started working on a task scheduler within the app (like crontab in Linux). Once it's ready it should be easy to do things like this. |
Actually MOV and MP4 are essentially the same thing, just with a different file extension, so it should have the same support. Where you might run into difficulty is if the device that created the file uses an unsupported codec or puts the MOOV atom at the end of the file. |
Hi, The app now supports video transcoding with ffmpeg. pigallery2/src/common/SupportedFormats.ts Lines 21 to 39 in f2faa4c
Please note that transcoding should be done manually in the settings. (or schedule it in advanced setting mode) Best, |
just add 2 cents - there is no support MOV mentioned here: https://bpatrik.github.io/pigallery2/ |
Is your feature request related to a problem? Please describe.
Many mobile phone cameras record videos in .mov format. Videos in this format are not even displayed in pigallery2, making some folders appear empty and being one of the greatest things holding me back from using pigallery2 as my main photo and video album service. If pigallery2 is to be a photo/video service like google photos for example, it should support commonly used formats.
Describe the solution you'd like
Provide video playback for .mov files (as many image and video formats as possible, really) to ensure that all photos and videos can be viewed as they should. If it is not possible to support full playback (I don't see why not for .mov), at least display these items in the interface instead of hiding them and provide the option to download the source files.
Describe alternatives you've considered (optional)
All .mov videos could be reencoded to mp4 using FFMPEG, but this is wasteful to both time and resources and will reduce source quality.
The text was updated successfully, but these errors were encountered: