memories icon indicating copy to clipboard operation
memories copied to clipboard

Videos do not load on [X] years ago widgets on Android.

Open wale opened this issue 1 year ago • 1 comments

Describe the bug

Loading videos on 'on this day' widgets on the Android Memories app do not load regardless of codec. I have set up go-vod transcoding, and videos play correctly on any other part of the client, such as opening each file individually.

Steps To Reproduce

  1. Have enough photos and videos of previous years to induce these widgets.
  2. Open the Nextcloud Memories Android app
  3. Open the '[X] years ago' widget on the top bar
  4. Find a video, it may show thumbnails, it may load audio, but not a video frame.

Platform

- OS: Android 15 (GrapheneOS)
- Browser: N/A
- Memories Version: 7.4.1
- Nextcloud Version: 30.0.4
- PHP Version: 8.3.14

Screenshots

No response

Additional context

go-vod logs - it successfully generates a stream, but the Android client cannot load it.

2025-01-04T16:41:57.465917969Z 2025/01/05 03:41:57 ori2qucxpn00-max: /usr/local/bin/ffmpeg -loglevel warning -i /mnt/ncdata/wale/files/Photos/Mobile/20220106_144058.mp4 -copyts -fflags +genpts -vf "format=nv12,scale=force_original_aspect_ratio=decrease" -map "0:v:0" "-c:v" libx264 -preset faster -crf 24 -map "0:a:0?" "-c:a" aac -ac 1 -start_number 0 -avoid_negative_ts disabled -f hls -hls_flags split_by_time -hls_time 3 -hls_segment_type mpegts -hls_segment_filename /tmp/go-vod/ori2qucxpn00-3908973790/max-%06d.ts -force_key_frames "expr:gte(t,n_forced*3)" -
2025-01-04T16:42:00.465063399Z 2025/01/05 03:42:00 ori2qucxpn00-max: recv max-000000.ts
2025-01-04T16:42:02.082423825Z 2025/01/05 03:42:02 ori2qucxpn00-max: recv max-000001.ts

wale avatar Jan 04 '25 16:01 wale

It may be the same issue than #1226 , does the app plays the video correctly when you open it directly from the gallery and not from the X years ago timeline ?

ScratMan avatar Jan 29 '25 22:01 ScratMan

@wale see comment above - is this a duplicate?

alexanderdd avatar Nov 27 '25 20:11 alexanderdd

Yes it is, thanks for letting me know. Closed the issue

wale avatar Nov 28 '25 04:11 wale