Jump to content

MediaInfo For Emby Plugin(HDR, Vision, Atmos, DTS:X)


Cheesegeezer

Recommended Posts

Cheesegeezer
5 minutes ago, FrostByte said:

DV5 appears correct, no HDR10 compatibility added

Video 
ID : 1 
Format : HEVC 
Format/Info : High Efficiency Video Coding 
Format profile : Main 10@L5@High 
HDR format : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU 
Codec ID : V_MPEGH/ISO/HEVC 
Duration : 42 min 24 s 
Bit rate : 15.7 Mb/s 
Width : 3 840 pixels 
Height : 2 160 pixels 
Display aspect ratio : 16:9 
Frame rate mode : Constant 
Frame rate : 24.000 FPS 
Color space : YUV 
Chroma subsampling : 4:2:0 
Bit depth : 10 bits 
Bits/(Pixel*Frame) : 0.079 
Stream size : 4.65 GiB (95%) 
Title : 4K DV5 HEVC  
Default : No 
Forced : No 
Color range : Full 

 

Can you check HLG also please

 

Link to comment
Share on other sites

FrostByte

Quick check of different codecs and I don't see any issues.  Default flag is working too.  All seems good on my end

👍👍

  • Like 2
Link to comment
Share on other sites

Cheesegeezer
5 minutes ago, FrostByte said:

Quick check of different codecs and I don't see any issues.  Default flag is working too.  All seems good on my end

👍👍

Is HLG working? 

 

Link to comment
Share on other sites

FrostByte

Oops, forgot about HLG.  Looks like it's working

Video 
ID : 1 
Format : HEVC 
Format/Info : High Efficiency Video Coding 
Format profile : Main 10@L5.1@Main 
Codec ID : V_MPEGH/ISO/HEVC 
Duration : 53 min 14 s 
Bit rate : 18.7 Mb/s 
Width : 3 840 pixels 
Height : 2 160 pixels 
Display aspect ratio : 16:9 
Frame rate mode : Constant 
Frame rate : 25.000 FPS 
Standard : Component 
Color space : YUV 
Chroma subsampling : 4:2:0 
Bit depth : 10 bits 
Bits/(Pixel*Frame) : 0.090 
Stream size : 6.95 GiB (94%) 
Title : 4K HLG HEVC  
Default : Yes 
Forced : No 
Color range : Limited 
Color primaries : BT.2020 
Transfer characteristics : HLG 
transfer_characteristics_Original : HLG / BT.2020 (10-bit) 
Matrix coefficients : BT.2020 non-constant 

 

  • Thanks 1
Link to comment
Share on other sites

Cheesegeezer
24 minutes ago, FrostByte said:

Oops, forgot about HLG.  Looks like it's working

 

Excellent stuff! Thanks again Frosty! Your input has be repeatedly 😜 invaluable 👍👍

Link to comment
Share on other sites

MagicDoubleM

Two little bugs, there is a space missing before the geeky stuff and some dolby tracks seem to be too shy to show their bitrate, even though they're 24.image.png.e587f2c9ffacb26490dc74a87b3a6de2.png

Link to comment
Share on other sites

Cheesegeezer
1 minute ago, MagicDoubleM said:

Two little bugs, there is a space missing before the geeky stuff and some dolby tracks seem to be too shy to show their bitrate, even though they're 24.image.png.e587f2c9ffacb26490dc74a87b3a6de2.png

Nice catch for the space.

As for bitDepth not sure if there is limitations to number of characters in different clients. If you ditch the Default tag do they show? 
 

In the log.. debug on .. you can see what the embedded title is output as
 

Link to comment
Share on other sites

Cheesegeezer

@MagicDoubleM

i fixed the spacing issue.  but i didn't do anything else, the bitrate and bitdepth are showing fine in Web and on Emby Theatre.  I guess you are using these settings?

NEW DLL ON FIRST POST AGAIN 👍
 

image.png.472bd5fa43342fa5a85e68c0cac35285.png

image.png.41ee809e57fe9b0419ebb9ede935fb25.png

 

image.png.d90540d733d64a230e6699e85b231dec.png

 

 

Also all the Emphasised colors now come from your Accent color from your Server Theme.

image.png.175ad5af8c75d650ac3d8e13f5b787ba.png

 

Edited by Cheesegeezer
Link to comment
Share on other sites

MagicDoubleM
7 minutes ago, Cheesegeezer said:

@MagicDoubleM

i fixed the spacing issue.  but i didn't do anything else, the bitrate and bitdepth are showing fine in Web and on Emby Theatre.  I guess you are using these settings?

NEW DLL ON FIRST POST AGAIN 👍
 

image.png.472bd5fa43342fa5a85e68c0cac35285.png

image.png.41ee809e57fe9b0419ebb9ede935fb25.png

 

image.png.d90540d733d64a230e6699e85b231dec.png

 

 

Also all the Emphasised colors now come from your Accent color from your Server Theme.

image.png.175ad5af8c75d650ac3d8e13f5b787ba.png

 

Yes, those are exactly the settings I use for now.

24bit shows up for some, but then for others not, haven't found an obvious reason for now.

image.png.c59623462c89cc01f9cadf379f477598.png

Link to comment
Share on other sites

Cheesegeezer
4 minutes ago, MagicDoubleM said:

Yes, those are exactly the settings I use for now.

24bit shows up for some, but then for others not, haven't found an obvious reason for now.

image.png.c59623462c89cc01f9cadf379f477598.png

I would double check mediaInfo gui for those files

Link to comment
Share on other sites

FrostByte

If not too late, is it possible to only write (Default) if there are more than one audio track?  Doesn't really make sense to have (Default) when there is only one.

Link to comment
Share on other sites

MagicDoubleM
9 hours ago, Cheesegeezer said:

I would double check mediaInfo gui for those files

Good point, they're indeed 16bit. Emby seems to get it wrong here. So only 24bit is supposed to show up? I ask, because i have a movie with a DTS 2.0 track that gets tagged with 16-bit, others don't.

Also found a 4k file with a slightly off resolution (3836x1912) that doesn't get recognized as 4k. Similar to those earlier mentioned HD-movies.

  • Agree 1
Link to comment
Share on other sites

Cheesegeezer
13 minutes ago, MagicDoubleM said:

Good point, they're indeed 16bit. Emby seems to get it wrong here. So only 24bit is supposed to show up? I ask, because i have a movie with a DTS 2.0 track that gets tagged with 16-bit, others don't.

That will be down to whether the Bitdepth field is populated or not in the media container and what is in the mediaInfo file. I don’t think i put any conditions in to show only 24-bit or higher, but I’ll double check.

13 minutes ago, MagicDoubleM said:

Also found a 4k file with a slightly off resolution (3836x1912) that doesn't get recognized as 4k. Similar to those earlier mentioned HD-movies.

Nice catch again.

  • Like 1
Link to comment
Share on other sites

neik

Cheese, any chance to select a specific (test) library to run this?
For now, I just found an option to run this on either all movies or all tv shows.

Link to comment
Share on other sites

Cheesegeezer
9 minutes ago, neik said:

Cheese, any chance to select a specific (test) library to run this?
For now, I just found an option to run this on either all movies or all tv shows.

you will need to set up your own test library or Emby server instance to test.  Sorry

  • Thanks 1
Link to comment
Share on other sites

MrLinford

I'm running EMBY Server in a Docker and i'm not sure what are the correct MediaInfoCLI  and MKVToolNix files to use with this plugin.

Anyone able to point me in the correct direction?

Link to comment
Share on other sites

Cheesegeezer
3 minutes ago, MrLinford said:

I'm running EMBY Server in a Docker and i'm not sure what are the correct MediaInfoCLI  and MKVToolNix files to use with this plugin.

Anyone able to point me in the correct direction?

As long as you have downloaded the MediaInfoCLI you need to select MediaInfo executable

MKVToolNix Requires mkvpropedit executable

 

image.png.09a89fddb2427c6d1924cb310420b197.png

Link to comment
Share on other sites

neik
30 minutes ago, Cheesegeezer said:

you will need to set up your own test library or Emby server instance to test.  Sorry

No worries.
Just one further question:
If I start the process and interrupt it to see the created results, will it then pick up where I stopped it?
That would already be good enough for me to give it a try.

Link to comment
Share on other sites

neik
On 5/29/2022 at 10:20 PM, FrostByte said:

It's a type of HDR, but it isn't HDR10.  I think it should replace it, maybe rbjtech has an opinion

These are the HDR formats I'm aware of

  • DV5,7,8, etc (DV7 and DV8 have a DV and HDR10 layer)
  • HDR10/HDR10+
  • HLG

 

Hybrid Log Gamma: everything you need to know about HLG HDR | TechRadar

 

 

Does anyone have a good overview of all the DV/HDR flavours that exist?
I didn't know that DV7/8 always have a HDR10 layer addtionally to the DV layer and that is quite interesting tbh.

Link to comment
Share on other sites

Cheesegeezer
4 minutes ago, neik said:

No worries.
Just one further question:
If I start the process and interrupt it to see the created results, will it then pick up where I stopped it?
That would already be good enough for me to give it a try.

Yes, it adds processed items to a list so they are ignored next run.

  • Like 1
Link to comment
Share on other sites

Cheesegeezer
2 minutes ago, neik said:

Does anyone have a good overview of all the DV/HDR flavours that exist?
I didn't know that DV7/8 always have a HDR10 layer addtionally to the DV layer and that is quite interesting tbh.

I can give you a snippet out of the code.

it relies on color primaries being bt2020, if they are then it has some variety of hdr in the stream. If bt709 then no hdr and DV5 has no hdr

Link to comment
Share on other sites

Cheesegeezer

@neik

HDR Available formats with and without Dolby vision

The Case is what is commonly found in the stream and what MediaInfo looks at.

The output is our friendly term such as HDR

		case "SMPTE ST 2086":
                        output = "HDR10";
                        break;
                    case "SMPTE ST 2086, HDR10 compatible":
                        output = "HDR10";
                        break;
                    case "SMPTE ST 2094 App 4":
                        output = "HDR10+";
                        break;
                    case "Dolby Vision / SMPTE ST 2086":
                        output = "DV" + GetHdrFormatProfile(hdrFormatProfile) + " HDR10";
                        break;
                    case "Dolby Vision / SMPTE ST 2094 App 4":
                        output = "DV" + GetHdrFormatProfile(hdrFormatProfile) + " HDR10+";
                        break;

 

Edited by Cheesegeezer
  • Like 1
Link to comment
Share on other sites

Cheesegeezer
40 minutes ago, MrLinford said:

That the problem I'm sure what one I need for the official EMBY unRIAD docker

After doing some Googling found this thread

Which version of Unix is unRaid based on? - General Support - Unraid

Which points to this

The Slackware Linux Project: Configuration Help

 

So you should download Slackware Linux MediaInfo

MediaInfo - Download MediaInfo for Slackware (mediaarea.net)

image.png.d1f40b4980f1eb10b4672c2727920da8.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...