Indexing video( all?) files with XMP, no keywords, labels etc. #508

Closed
opened 2026-02-19 23:10:08 -05:00 by deekerman · 1 comment
Owner

Originally created by @psyciknz on GitHub (Nov 16, 2020).

I have a video file with an xmp.

INFO[2020-11-17T03:26:12Z] index: added main mp4 file “iPhone David/2019/2019-07 July iPhone/IMG_4938.mp4”
DEBU[2020-11-17T03:26:12Z] metadata: original name IMG_4938.mp4.xmp does not match IMG_4938.mp4 (exiftool)
DEBU[2020-11-17T03:26:12Z] mediafile: exif not supported: IMG_4938.mp4.xmp
INFO[2020-11-17T03:26:12Z] index: added related xmp file IMG_4938.mp4.xmp

Where the XMP has:

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 6.0.0">
   <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:MicrosoftPhoto="http://ns.microsoft.com/photo/1.0/"
            xmlns:dc="http://purl.org/dc/elements/1.1/"
            xmlns:lr="http://ns.adobe.com/lightroom/1.0/">
         <xmp:Rating>0</xmp:Rating>
         <xmp:Label/>
         <MicrosoftPhoto:Rating>0</MicrosoftPhoto:Rating>
         <dc:subject>
            <rdf:Bag>
               <rdf:li>Travel</rdf:li>
               <rdf:li>Videos</rdf:li>
               <rdf:li>Greece</rdf:li>
               <rdf:li>Santorini</rdf:li>
               <rdf:li>Timelapse</rdf:li>
            </rdf:Bag>
         </dc:subject>
         <lr:hierarchicalSubject>
            <rdf:Bag>
               <rdf:li>Travel</rdf:li>
               <rdf:li>Videos</rdf:li>
               <rdf:li>Travel|Greece</rdf:li>
               <rdf:li>Travel|Greece|Santorini</rdf:li>
               <rdf:li>Videos|Timelapse</rdf:li>
            </rdf:Bag>
         </lr:hierarchicalSubject>
      </rdf:Description>
   </rdf:RDF>
</x:xmpmeta>

But all I see in the photoprism site is the following:

  • no country - even though latitude and longitude.
  • No keywords which is what i'd hope the hierarchicalSubject was for.

image

Can I get some pointers on how this should work?

Originally created by @psyciknz on GitHub (Nov 16, 2020). I have a video file with an xmp. ``` INFO[2020-11-17T03:26:12Z] index: added main mp4 file “iPhone David/2019/2019-07 July iPhone/IMG_4938.mp4” DEBU[2020-11-17T03:26:12Z] metadata: original name IMG_4938.mp4.xmp does not match IMG_4938.mp4 (exiftool) DEBU[2020-11-17T03:26:12Z] mediafile: exif not supported: IMG_4938.mp4.xmp INFO[2020-11-17T03:26:12Z] index: added related xmp file IMG_4938.mp4.xmp ``` Where the XMP has: ``` <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 6.0.0"> <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:MicrosoftPhoto="http://ns.microsoft.com/photo/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:lr="http://ns.adobe.com/lightroom/1.0/"> <xmp:Rating>0</xmp:Rating> <xmp:Label/> <MicrosoftPhoto:Rating>0</MicrosoftPhoto:Rating> <dc:subject> <rdf:Bag> <rdf:li>Travel</rdf:li> <rdf:li>Videos</rdf:li> <rdf:li>Greece</rdf:li> <rdf:li>Santorini</rdf:li> <rdf:li>Timelapse</rdf:li> </rdf:Bag> </dc:subject> <lr:hierarchicalSubject> <rdf:Bag> <rdf:li>Travel</rdf:li> <rdf:li>Videos</rdf:li> <rdf:li>Travel|Greece</rdf:li> <rdf:li>Travel|Greece|Santorini</rdf:li> <rdf:li>Videos|Timelapse</rdf:li> </rdf:Bag> </lr:hierarchicalSubject> </rdf:Description> </rdf:RDF> </x:xmpmeta> ``` But all I see in the photoprism site is the following: - no country - even though latitude and longitude. - No keywords which is what i'd hope the hierarchicalSubject was for. ![image](https://user-images.githubusercontent.com/5350515/99343255-606ec180-28f2-11eb-85fd-427342f3589e.png) Can I get some pointers on how this should work?
deekerman 2026-02-19 23:10:08 -05:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@graciousgrey commented on GitHub (Nov 19, 2020):

We only have a proof of concept for importing data from xmp files. What is currently possible is mentioned here https://docs.photoprism.org/developer-guide/metadata/xmp/.

@graciousgrey commented on GitHub (Nov 19, 2020): We only have a proof of concept for importing data from xmp files. What is currently possible is mentioned here https://docs.photoprism.org/developer-guide/metadata/xmp/.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/photoprism#508
No description provided.