memories icon indicating copy to clipboard operation
memories copied to clipboard

Android app fail to play videos

Open nnanee opened this issue 1 year ago • 2 comments

Describe the bug

Hello, I am having issues with playback of videos in memories on S24ultra. Most of the videos, especially some older ones, are not possible to play. I can hear sound but no video. If I share it, and open via browser, it actually works. I have reinstalled app, changed settings on Nextcloud, and I am out of ideas. I am starting to believe it is the phone app issue, but still i have no idea how to solve it. Any thoughts?

Btw here is my config.php settings

  'enable_previews' => true,
  'enabledPreviewProviders' => array (
    0 => 'OC\\Preview\\Movie',
    1 => 'OC\\Preview\\TIFF',
    2 => 'OC\\Preview\\HEIC',
    3 => 'OC\\Preview\\Image',
    4 => 'OC\\Preview\\MP4'
  ),
  'preview_max_filesize_image' => 1024,
  'preview_max_memory' => 2048,
  'theme' => '',
  'loglevel' => 2,
  'memories.vod.disable' => false,
  'memories.vod.ffmpeg' => '/usr/bin/ffmpeg',
  'memories.vod.ffprobe' => '/usr/bin/ffprobe',
  'memories' => array(
    'video' => array(
        'enabled' => true,
        'ffmpeg' => true,
        'ffprobe' => true,
        'ffmpeg_options' => array(
            'analyzeduration' => '100M',
            'probesize' => '100M',
        ),
    ),
  ),


'enabledPreviewProviders' => array (
    0 => 'OC\\Preview\\Movie',
    1 => 'OC\\Preview\\TIFF',
    2 => 'OC\\Preview\\HEIC',
    3 => 'OC\\Preview\\Image',
    4 => 'OC\\Preview\\MP4'
  ),
  'preview_max_filesize_image' => 1024,
  'preview_max_memory' => 2048,
  'theme' => '',
  'loglevel' => 2,
  'memories.vod.disable' => false,
  'memories.vod.ffmpeg' => '/usr/bin/ffmpeg',
  'memories.vod.ffprobe' => '/usr/bin/ffprobe',
  'memories' => array(
    'video' => array(
        'enabled' => true,
        'ffmpeg' => true,
        'ffprobe' => true,
        'ffmpeg_options' => array(
            'analyzeduration' => '100M',
            'probesize' => '100M',
        ),
    ),
  ),

Steps To Reproduce

Its very simple, by opening any video especially older i have this issue. Videos are mp4 format.

Platform

- OS:
- Browser:
- Memories Version:
- Nextcloud Version:
- PHP Version:

Screenshots

No response

Additional context

  • Any errors in the JS console?
  • Any errors in the Nextcloud server logs?

nnanee avatar Jan 03 '25 20:01 nnanee

On Android it just uses the system player. Have you configured transcoding?

pulsejet avatar Jan 04 '25 14:01 pulsejet

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