nextcloud/all-in-one

nextcloud container's ffmpeg version 6 does not handle recent files

Closed this issue · 1 comments

Steps to reproduce

  1. capture a video with an iPhone13 running iOS26 (also perhaps previous release, can't check)
  2. upload it to NextCloud 32.0.1 running on Nextcloud AIO v11.10.0
    3a. attempt to create a preview (occ preview:generate path_to_file)
    3b. OR browse in the files app in "grid view"

Expected behavior

a. preview should be generated
b. A preview should appear

Actual behavior

a. an error is shown, reproduced below

nextcloud-aio-nextcloud:/var/www/html$ php occ preview:generate "xx/files/Photos/yy/2025/10/25-10-08 21-53-14 1876.mov"

In Generator.php line 366:

No provider successfully handled the preview generation

b. No preview is shown

Other information

Host OS

Running on Fedora Server 42

Output of sudo docker info

Client: Docker Engine - Community
 Version:    28.5.1
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.29.1
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.40.0
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 18
  Running: 14
  Paused: 0
  Stopped: 4
 Images: 24
 Server Version: 28.5.1
 Storage Driver: overlay2
  Backing Filesystem: xfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 CDI spec directories:
  /etc/cdi
  /var/run/cdi
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b98a3aace656320842a23f4a392a33f46af97866
 runc version: v1.3.0-0-g4ca628d1
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.16.11-200.fc42.x86_64
 Operating System: Fedora Linux 42 (Server Edition)
 OSType: linux
 Architecture: x86_64
 CPUs: 16
 Total Memory: 30.13GiB
 Name: cumulus.bigmillion.fr
 ID: b8cd6bf8-4b60-4593-b299-dd00a70698cf
 Docker Root Dir: /data/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  ::1/128
  127.0.0.0/8
 Live Restore Enabled: false

Docker run command or docker-compose file that you used

DATA_DIR=/data/nextcloud/ncdata # voir étape de migration de données
docker run \
-d \
--init \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--env NEXTCLOUD_DATADIR="$DATA_DIR" \
--publish 80:80 \
--publish 8080:8080 \
--publish 8443:8443 \
--env NEXTCLOUD_ENABLE_DRI_DEVICE=true \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
--env NEXTCLOUD_MEMORY_LIMIT=8192M \
ghcr.io/nextcloud-releases/all-in-one:latest

Other valuable info

I suspect preview uses ffmpeg, so I ran

$ docker exec --user www-data -it nextcloud-aio-nextcloud ffmpeg -i  "/mnt/ncdata/xx/files/Photos/yy/2025/10/25-10-08 21-53-14 1876.mov" 
ffmpeg version 6.1.2 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 14.2.0 (Alpine 14.2.0)
  configuration: --prefix=/usr --disable-librtmp --disable-lzma --disable-static --disable-stripping --enable-avfilter --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libmp3lame --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librist --enable-libsoxr --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-lto=auto --enable-lv2 --enable-openssl --enable-pic --enable-postproc --enable-pthreads --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-vulkan --optflags=-O3 --enable-libjxl --enable-libsvtav1 --enable-libvpl
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9aa21e3600] moov atom not found
[in#0 @ 0x7f9a9dcc7980] Error opening input: Invalid data found when processing input
Error opening input file /mnt/ncdata/xx/files/Photos/yy/2025/10/25-10-08 21-53-14 1876.mov.

Same file on a Fedora 42 desktop running ffmpeg 7 yields


Sorry, got that one wrong