MetaData in Video Files

All your suggestions, requests and ideas for future development
Post Reply
DigidocTN
Posts: 19
Joined: 10 Jul 2025, 12:45
Location: N Georgia, near Chattanooga

MetaData in Video Files

Post by DigidocTN »

I have a situation. I play videos on my network using Jellyfin. To Android, to FireTV, and to Roku. When I have videos which contain DV (Dolby Video) they do not play correctly because my hardware does not support DV. Playback shows over-saturated yellow tinged video which is not watchable. Another closely related problem are those that contain HDR. I want to use Filebot to identify and set flags for DV and HDR so I can remove DV (and possibly the HDR).

I have:

Code: Select all

Brooklyn's Finest (2010)[Crime, Drama, Thriller] [SD] [NOT HEVC].mp4
I want:

Code: Select all

Brooklyn's Finest (2010)[Crime, Drama, Thriller] [SD] [NOT HEVC][hasDV-HDR].mp4
Code I use:

Format: Select all

{ if (vcf != /HEVC/) ' [NOT HEVC]' }
{if (width >= 3840 || height >= 2160) return " [4K]"
 if (width >= 1280 || height >= 720) return " [HD]"
 return " [SD]"}
This code finds the resolution and allows me to identify SD;HD;4K. How can I further identify those with DV or HDR ?
User avatar
rednoah
The Source
Posts: 24645
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: MetaData in Video Files

Post by rednoah »

You can add {hdr} or {dovi} to your format to check for HDR or more specifically DV. See [DOCS] {hdr} binding for details.
:idea: Please read the FAQ and How to Request Help.
DigidocTN
Posts: 19
Joined: 10 Jul 2025, 12:45
Location: N Georgia, near Chattanooga

Re: MetaData in Video Files

Post by DigidocTN »

When I try:

Format: Select all

{ video.HDR_Format =~ /Dolby Vision/ ? video.HDR_Format_Compatibility =~ /HDR10/ ? 'DV+HDR10' : 'DV' : hdr }
I get an error: Binding: "hdr" undefined.

Can you please correct my syntax? (I am sorry for my poor understanding)
User avatar
rednoah
The Source
Posts: 24645
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: MetaData in Video Files

Post by rednoah »

:idea: Binding: "hdr" undefined means that the video you are testing with is SDR and not HDR. That's the correct behaviour for SDR files. Nothing is added the file name, and in the format editor you will give you an information message to indicate that it's working but not doing anything for the specific file at hand.

:arrow: You'll want to test with HDR files if you want to see {hdr} do something:

Format: Select all

{ hdr }
:idea: Please read the FAQ and How to Request Help.
Post Reply