Choppy Video playback in web browser

Support intro

Hello. I have recently stood up a new Nextcloud server to replace my older one with a new domain. Both servers are currently hosting the same files and I am testing the new server before decommissioning the old one.

I noticed this morning that playback of videos in a web browser on the new instance are choppy. Playback of the same files are smooth from the old server. Both servers are configured with 4 CPU, 8 GB RAM and are hosted in the data center where I work. I am not seeing this choppiness when viewing the files from my iPhone app.

The older server is running 24.0.8 and is configured similarly if not identically. Any guidance on where to start troubleshooting would be greatly appreciated!

Nextcloud version (eg, 20.0.5): 25.0.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.52
PHP version (eg, 7.4): 8.1.2

The issue you are facing:
Video playback in web browser is choppy.

Is this the first time you’ve seen this error? (Y/N):
Steps to replicate it:

  1. Open and play a video file in NC web browser interface
  2. Observe the playback lagging (skipping frames?)

The output of your Nextcloud log in Admin > Logging:

only filled with these entries which I have traced to apparent unrelated bug per:

Error	PHP	Error: exif_read_data(): File not supported at /var/www/<sensitive info removed>/lib/private/Metadata/Provider/ExifProvider.php#59

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'instanceid' => '<sensitive info removed>',
  'passwordsalt' => '<sensitive info removed>',
  'secret' => '<sensitive info removed>',
  'trusted_domains' => 
  array (
    0 => '<sensitive info removed>',
    1 => '<sensitive info removed>',
  'datadirectory' => '/ncdata',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => '<sensitive info removed>',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '<sensitive info removed>',
  'dbpassword' => '<sensitive info removed>',
  'installed' => true,
  'default_phone_region' => 'US',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\OC\Memcache\Redis',
  'memcache.distributed' => '\OC\Memcache\Redis',
  'redis' => [
       'host'     => '/run/redis/redis-server.sock',
       'port'     => 0,

       'timeout'  => 1.5,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'nextcloud',
  'mail_domain' => '<sensitive info removed>',
  'mail_smtpauth' => 1,
  'mail_smtphost' => '<sensitive info removed>',
  'mail_smtpport' => '<sensitive info removed>',
  'mail_smtpname' => '<sensitive info removed>',
  'mail_smtppassword' => '<sensitive info removed>,
  'maintenance' => false,

The output of your Apache/nginx/system log in /var/log/____:



Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.


What kind of encoding are you using for your videos?