#31330·immich

XMP rating not detected on AVI video file

Author: FunkyKwakCreated Sep 8, 2026Updated Sep 17, 2026

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

I have a video file "4L Trophy fini - Bon.avi", and in the same folder "4L Trophy fini - Bon.avi.xmp" with xmp:Rating="5". The file are here (with rating 5) since months.

And still after these months, and after 2 tasks "Annex metadata (Xmp files)" run, the 5 stars rating is still not taken into account in Immich.

However it's not for all avi files, I have another one "[Montage] Parapente Super-Besse.avi" where the XMP rating 5" is detected. I checked : both avi files do not have a rating set in their own metadata :

Why is this not working with this XMP file and working with the other ? You'll find bellow the coontent of these 2 XMP files :

4L Trophy fini - Bon.avi.xmp

<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2">
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:xmp="http://ns.adobe.com/xap/1.0/"
    xmlns:exif="http://ns.adobe.com/exif/1.0/"
   xmp:Rating="5"
   exif:GPSVersionID="2.0.0.0"
   exif:GPSLatitude="45,30.6874910N"
   exif:GPSLongitude="2,51.3694610E"
   exif:GPSMapDatum="WGS-84"/>
 </rdf:RDF>
</x:xmpmeta>
<?xpacket end="w"?>

[Montage] Parapente Super-Besse.avi.xmp

<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2">
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:MicrosoftPhoto="http://ns.microsoft.com/photo/1.0/"
    xmlns:acdsee="http://ns.acdsee.com/iptc/1.0/"
    xmlns:audio="http://www.audio/"
    xmlns:exif="http://ns.adobe.com/exif/1.0/"
    xmlns:tiff="http://ns.adobe.com/tiff/1.0/"
    xmlns:video="http://www.video/"
    xmlns:xmp="http://ns.adobe.com/xap/1.0/"
    xmlns:xmpDM="http://ns.adobe.com/xmp/1.0/DynamicMedia/"
    xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
   MicrosoftPhoto:Rating="99"
   acdsee:rating="5"
   audio:ChannelType="Stereo"
   audio:Codec="mp3"
   audio:CodecDescription="MP3 (MPEG audio layer 3)"
   audio:Format="fltp"
   audio:SampleRate="48000"
   audio:SampleType="32Float"
   exif:DateTimeOriginal="2020-11-22T16:57:01"
   exif:GPSLatitude="31,10.3692300N"
   exif:GPSLongitude="7,20.1748920W"
   exif:GPSMapDatum="WGS-84"
   exif:GPSVersionID="2.0.0.0"
   exif:PixelXDimension="1920"
   exif:PixelYDimension="1088"
   tiff:DateTime="2020-11-22T16:57:01"
   tiff:ImageWidth="1920"
   tiff:ImageLength="1088"
   video:AspectRatio="30/17"
   video:BitDepth="24"
   video:Codec="mpeg4"
   video:CodecDescription="MPEG-4 part 2"
   video:ColorMode="unknown"
   video:DateTimeOriginal="2020-11-22T16:57:01"
   video:DateUTC="2020-11-22T16:57:01"
   video:FileName="4L Trophy fini - Bon.avi"
   video:FileSize="574"
   video:FileType="avi"
   video:Format="yuv420p"
   video:FrameHeight="1088"
   video:FrameRate="25"
   video:FrameSize="w:1920, h:1088, unit:pixels"
   video:FrameWidth="1920"
   video:Height="1088"
   video:MaxBitRate="4886556"
   video:MimeType="video/x-msvideo"
   video:ModificationDate="2020-11-22T16:57:01"
   video:SourceImageHeight="1088"
   video:SourceImageWidth="1920"
   video:StreamCount="2"
   video:Width="1920"
   video:duration="985920"
   xmp:MetadataDate="2020-11-22T16:57:01"
   xmp:ModifyDate="2020-11-22T16:57:01"
   xmp:Rating="5"
   xmp:CreateDate="2020-11-22T16:57:01"
   xmpDM:audioChannelType="Stereo"
   xmpDM:audioSampleRate="48000"
   xmpDM:audioSampleType="32Float"
   xmpDM:duration="985920"
   xmpDM:videoFrameRate="PAL"
   xmpDM:videoFrameSize="w:1920, h:1088, unit:pixels"
   xmpDM:videoPixelAspectRatio="30/17"
   xmpDM:videoPixelDepth="8Int"
   photoshop:DateCreated="2020-11-22T16:57:01"/>
 </rdf:RDF>
</x:xmpmeta>
<?xpacket end="w"?>

Don't hesitate to ask me for moore info, I can evven share the avi files if required, there is nothing private.

The OS that Immich Server is running on

Synology DSM 7.4.1

Version of Immich Server

v3.1.0

Version of Immich Mobile App

v3.1.0 build.3057

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

No response

Your docker-compose.yml content

name: immich

services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:v3
    # Transcodage materiel : NAS avec un processeur Intel, retirer les 2 # ci-dessous
    # devices:
    #  - /dev/dri:/dev/dri
    volumes:
      - ./library:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
      - /volume1/photo:/photo
      - "/volume1/Photos à ranger:/photo_a_ranger"
    user: 'xxxx:100'
    group_add:
    - "xxxxx"
    security_opt:
      - no-new-privileges:true
    environment:
      UPLOAD_LOCATION: /usr/src/app/upload
      TZ: Europe/Paris
    ports:
      - 'xxxx:xxxx'
    depends_on:
      - redis
      - database
    labels:
      - wud.display.name=Immich
      - wud.display.icon=si:immich
      - wud.link.template=https://github.com/immich-app/immich/releases
      - wud.watch=true
      - wud.trigger.include=telegram.immich,dockercompose.immich
    healthcheck:
      disable: false
                            
  immich-machine-learning:
    container_name: immich_machine_learning
    image: ghcr.io/immich-app/immich-machine-learning:v3
    volumes:
      - ./model-cache:/cache
    user: 'xxxx:100'
    group_add:
    - "xxxxx"
    security_opt:
      - no-new-privileges:true
    environment:
      TZ: Europe/Paris
    healthcheck:
      disable: false
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2-alpine
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always

  database:
    container_name: immich_postgres
    image: ghcr.io/immich-app/postgres:16-vectorchord0.5.
    environment:
      POSTGRES_PASSWORD: xxxxxxx
      POSTGRES_USER: xxxxxxxx
      POSTGRES_DB: immich
      DB_STORAGE_TYPE: 'HDD'
    volumes:
      - ./postgres:/var/lib/postgresql/data
    shm_size: 128mb
    healthcheck:
      test: >-
        pg_isready --dbname="immich" --username="xxxxxxx" || exit 1;
      interval: 5m
      retries: 3
      start_period: 5m

  immich-kiosk:
    image: ghcr.io/damongolding/immich-kiosk:latest
    container_name: immich-kiosk
    tty: true
    environment:
      LANG: "fr_FR"
      TZ: Europe/Paris
      # Required settings
      KIOSK_IMMICH_API_KEY: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      KIOSK_IMMICH_URL: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      # Asset sources
      KIOSK_RATING: 5
    ports:
      - 3000:3000
    volumes:
      - ./kiosk-config:/config
      # - ./custom.css:/custom.css
      # - ./offline-assets:/offline-assets
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
      interval: 30s
      timeout: 5s
      retries: 3
      start_period: 10s

Your .env content

[none]

Reproduction steps

  1. Run task "Annex metadata (Xmp files)"
  2. Check video in Immich : still no rating

Relevant log output

Additional information

No response