Open wonx opened 1 month ago
Browsers don't support this format so you need to set up transcoding.
Note: if you're using Nextcloud's external storage module that currently doesn't work with transcoding. You'll need to mount the directory instead.
Is there a way to figure out what formats are supported by a given browser? In Firefox I can't play .MOV videos created by an iPhone, but they play just fine in Google Chrome. I also noticed that some videos only play on my Windows machine.
I think there's an API to test codec support but don't know from a user pov. The reason FF can't play your MOV is they use HEVC https://caniuse.com/hevc
Describe the bug I've had a few issues trying to play video files in Memories. It seems to depend both on the file format, the web browser and the devices in which is viewed.
One file format I've been unable to play in any device and/or browser are videos recorded in MTS format. These videos in particular have been recorded with a Sony Alpha a5000 camera (ILCE-5000).
I have tried both in Chrome, Firefox, from a Windows 10 and a Kubuntu 22.04 machine, and from my Android phone (using the android app), with the same result. I also tried playing it in incognito mode, to make sure there weren't any cookies or extensions that might have been interfering.
In Nextcloud,
To Reproduce Have a MTS video in your library, go to memories (either the web version or the Android app) and try to play the video. On the web version you'll receive the following message: "The media could not be loaded, either because the server or network failed or because the format is not supported."
Screenshots Here's a screenshot. Here's a sample video: 00007.zip
Platform:
Additional context
Nextcloud is running inside a docker container (this one: https://docs.linuxserver.io/images/docker-nextcloud/ ).
All my files are in external storage (accessed via SMB)
Transcoding is disabled.
Thubnails are being generated correctly.
ffmpeg preview binary exists and is usable (5.1.3).
ffprobe binary exists and is usable (5.1.3).
No hardware acceleration.
Any errors in the JS console? Not sure.
Any errors in the Nextcloud server logs? No.