Jump to content

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


Cheesegeezer

Recommended Posts

neik

Cheese, I am immediatly getting this error when I start the task:

Quote
2022-06-02 12:12:15.467 Info Media Info: PERFORMING MEDIAINFO EXTRACTION ON MOVIES
2022-06-02 12:12:15.469 Error Media Info: Object reference not set to an instance of an object.
	*** Error Report ***
	Version: 4.7.1.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Linux version 5.4.0-88-generic (buildd@lgw01-amd64-008) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #99-Ubuntu SMP Thu Sep 23 17:29:00 UTC 2021
	Framework: .NET 6.0.2
	OS/Process: x64/x64
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at Emby.MediaInfo.ScheduledTasks.MediaInfoScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
	Source: Emby.MediaInfo
	TargetSite: Void MoveNext()
	
2022-06-02 12:12:15.469 Debug TaskManager: Media Info Completed after 0 minute(s) and 0 seconds

 

Link to comment
Share on other sites

Cheesegeezer

Apologies all.  I have just updated the dll on the First post.  

This fixes some minor formatting issues.  This is what i hope to be the final for this version.  Before i add some other feature.

It's been thoroughly tested on over 25000 movies and TVShows.

Link to comment
Share on other sites

Cheesegeezer
7 minutes ago, neik said:

Cheese, I am immediatly getting this error when I start the task:

 

try the new dll on the first page

turn on debug logging please also

Edited by Cheesegeezer
Link to comment
Share on other sites

neik
7 minutes ago, Cheesegeezer said:

try the new dll on the first page

turn on debug logging please also

Did both already, log doesn't show much actually.
I will send it you the full log via PM.

  • Thanks 1
Link to comment
Share on other sites

FrostByte
55 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.

DolbyVisionProfilesLevels (3).pdf

This is what I use.  Very good explanation of all the levels, profiles, enhanced layers, etc

  • Like 2
Link to comment
Share on other sites

FrostByte
29 minutes ago, Cheesegeezer said:

Apologies all.  I have just updated the dll on the First post.  

This fixes some minor formatting issues.  This is what i hope to be the final for this version.  Before i add some other feature.

It's been thoroughly tested on over 25000 movies and TVShows.

Were you able to not put "(Default)" in when there was only one audio track and option was set?  Just wondering if I should reset everything again.

Link to comment
Share on other sites

Cheesegeezer
4 minutes ago, FrostByte said:

Were you able to not put "(Default)" in when there was only one audio track and option was set?  Just wondering if I should reset everything again.

Hell yeah bro!!! just for you 🤣

I've worked a lot on the log too, so some good logging at info level.  You can see below on an info log what to expect

image.png.326eae2af417867eb50ada4cd747da63.png

 

Link to comment
Share on other sites

FrostByte
3 minutes ago, Cheesegeezer said:

Hell yeah bro!!! just for you 🤣

 

 

Nice, I feel special :)

Link to comment
Share on other sites

Cheesegeezer
7 minutes ago, FrostByte said:

Nice, I feel special :)

It was a good suggestion!!

  • Like 1
Link to comment
Share on other sites

MagicDoubleM

there is a little formatting error in that version from today

image.png.1012d03c0e591c3c06e5cdfe46737b62.png

And I don't want to be the spoilsport here in regards to the official release, but I noted that some stuff that got added to the lib didn't get the treatment during the import. This however was with yesterday's release, not the one from today.

Edited by MagicDoubleM
Link to comment
Share on other sites

rbjtech
2 hours ago, MagicDoubleM said:

there is a little formatting error in that version from today

image.png.1012d03c0e591c3c06e5cdfe46737b62.png

And I don't want to be the spoilsport here in regards to the official release, but I noted that some stuff that got added to the lib didn't get the treatment during the import. This however was with yesterday's release, not the one from today.

Hiya - we admit that DV5 did not get any testing lol (as neither I nor Cheese use that format, as it's generally a poor format to use unless ALL your devices support DV5..which is highly unlikely)

But we got around to getting a demo DV5 file today to test - not actually directly for this, but for another exciting enhancement to this Plugin which @Cheesegeezer will likely release tomorrow.  We can also squash the DV5 spacing bug at the same time . 

Watch this space !

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

FrostByte

I can confirm DV5 error is in the one from this morning also.  It wasn't in there on Tuesday though when I posted my pic so it's something new

Link to comment
Share on other sites

neik
9 hours ago, neik said:

Did both already, log doesn't show much actually.
I will send it you the full log via PM.

I think for some reason I did the test on an older version than the one in the first post.
Just downloaded the dll from post #1 and retried and now I am seeing a different issue.

2022-06-02 22:10:58.886 Info Media Info: Filtering MKV Movies
2022-06-02 22:10:58.887 Info Media Info: Total Movies in Library = 14 
2022-06-02 22:10:58.887 Info Media Info: Total Movies to process = 14 
2022-06-02 22:10:58.887 Debug Media Info: Ep items to = 0
2022-06-02 22:10:58.887 Debug Media Info: mov items = 14
2022-06-02 22:10:58.887 Info Media Info: Total items to process = 14
2022-06-02 22:10:58.887 Info Media Info: PERFORMING MEDIAINFO EXTRACTION ON MOVIES
2022-06-02 22:10:58.887 Info Media Info: PROCESSING OF  GX010060 - tv  HAS STARTED
2022-06-02 22:10:58.887 Info Media Info: Item FilePath = /var/lib/emby/gopro/GX010060 - tv.mkv 
2022-06-02 22:10:58.887 Debug Media Info: Starting MediaInfo.exe process
2022-06-02 22:10:58.896 Debug Media Info: ************** Reset Embedded Titles = False
2022-06-02 22:10:58.896 Debug Media Info: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
2022-06-02 22:10:58.896 Info Media Info: PROCESSING OF GX010060 - tv HAS COMPLETED

 

Link to comment
Share on other sites

rbjtech
5 minutes ago, neik said:

I think for some reason I did the test on an older version than the one in the first post.
Just downloaded the dll from post #1 and retried and now I am seeing a different issue.

2022-06-02 22:10:58.886 Info Media Info: Filtering MKV Movies
2022-06-02 22:10:58.887 Info Media Info: Total Movies in Library = 14 
2022-06-02 22:10:58.887 Info Media Info: Total Movies to process = 14 
2022-06-02 22:10:58.887 Debug Media Info: Ep items to = 0
2022-06-02 22:10:58.887 Debug Media Info: mov items = 14
2022-06-02 22:10:58.887 Info Media Info: Total items to process = 14
2022-06-02 22:10:58.887 Info Media Info: PERFORMING MEDIAINFO EXTRACTION ON MOVIES
2022-06-02 22:10:58.887 Info Media Info: PROCESSING OF  GX010060 - tv  HAS STARTED
2022-06-02 22:10:58.887 Info Media Info: Item FilePath = /var/lib/emby/gopro/GX010060 - tv.mkv 
2022-06-02 22:10:58.887 Debug Media Info: Starting MediaInfo.exe process
2022-06-02 22:10:58.896 Debug Media Info: ************** Reset Embedded Titles = False
2022-06-02 22:10:58.896 Debug Media Info: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
2022-06-02 22:10:58.896 Info Media Info: PROCESSING OF GX010060 - tv HAS COMPLETED

 

Are you pointing to the CLI mediainfo.exe ?   There is a GUI and a CLI version of MediaInfo - they are unfortunately named the same, so you may have the wrong one ?

  • Thanks 2
Link to comment
Share on other sites

neik
13 minutes ago, rbjtech said:

Are you pointing to the CLI mediainfo.exe ?   There is a GUI and a CLI version of MediaInfo - they are unfortunately named the same, so you may have the wrong one ?

Ahh, that might be the case.
I am pointing to the mediainfo binary that is within the snap package.

Let me have a look...

Edit: That was it, the snap package seems to have the gui version instead of the cli.
Thank you! 🙂

Edited by neik
Link to comment
Share on other sites

Cheesegeezer
14 minutes ago, neik said:

Ahh, that might be the case.
I am pointing to the mediainfo binary that is within the snap package.

Let me have a look...

Let me know how you get on.

3 hours ago, MagicDoubleM said:

there is a little formatting error in that version from today

image.png.1012d03c0e591c3c06e5cdfe46737b62.png

And I don't want to be the spoilsport here in regards to the official release, but I noted that some stuff that got added to the lib didn't get the treatment during the import. This however was with yesterday's release, not the one from today.

We did a lot of reformatting and to make it pristine, but this slipped thru the net. Can you also check 4k SDR if you have any please. I fear this may also be affected.

Edited by Cheesegeezer
Link to comment
Share on other sites

Cheesegeezer

Another Big feature coming tomorrow, for those that are into Quality,  and again @rbjtech has been my knowledge base. We were thinking of a new plugin but it really didn’t warrant the extra work involved and keeping in the theme of Great Visual formats… all will be revealed in the official release to the plugin store….. with a preview here of course!! 
 

if you want a sneak peek check out the wiki
 

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

neik
3 minutes ago, Cheesegeezer said:

Let me know how you get on.

It's OK now, the problem was sitting in front of the computer.. 😛 
It's been running for a couple of minutes now and I can see activity in the log.

  • Thanks 1
Link to comment
Share on other sites

Cheesegeezer
2 minutes ago, neik said:

It's OK now, the problem was sitting in front of the computer.. 😛 
It's been running for a couple of minutes now and I can see activity in the log.

Hahaha 🤪 

they are the best problems to solve

Link to comment
Share on other sites

neik

It just ran through and I can see the identification happening in the log but it didn't actually change anything.
I even ran a library scan afterwards but am still seeing this:

image.thumb.png.47f4f0d9822a0f2aaaedfbf0ed11e800.png

Link to comment
Share on other sites

Cheesegeezer
10 minutes ago, neik said:

It just ran through and I can see the identification happening in the log but it didn't actually change anything.
I even ran a library scan afterwards but am still seeing this:

image.thumb.png.47f4f0d9822a0f2aaaedfbf0ed11e800.png

I have this on a few of my titles also.... I don't know if these are maybe locked in the container.

I will have to research it

Leave it with me

you can see my example.  it's MKV so should work. But it doesn't

image.png.8e3e55e0471500bfda0278aab170e1f6.png

 

Link to comment
Share on other sites

FrostByte

Found another bug.  DD+ 7.1 is being named "Dolby Digital 7.1 " and not including the Plus.  As you know there is no such thing as DD 7.1.  There looks to be an extra space at the end also. 

DD+ 5.1 is good.

{
"@type": "Audio",
"@typeorder": "2",
"StreamOrder": "2",
"ID": "3",
"UniqueID": "5134773871594612934",
"Format": "AC-3",
"Format_Commercial_IfAny": "Dolby Digital Plus",
"Format_Profile": "Blu-ray Disc",
"Format_Settings_Endianness": "Big",
"Format_AdditionalFeatures": "Dep",
"CodecID": "A_EAC3",
"Duration": "7139.488000000",
"BitRate_Mode": "CBR",
"BitRate": "1536000",
"Channels": "8",
"ChannelPositions": "Front: L C R, Side: L R, Back: L R, LFE",
"ChannelLayout": "L R C LFE Ls Rs Lb Rb",
"SamplesPerFrame": "1536",
"SamplingRate": "48000",
"SamplingCount": "342695424",
"FrameRate": "31.250",
"FrameCount": "223109",
"Compression_Mode": "Lossy",
"Delay": "0.000",
"Delay_Source": "Container",
"StreamSize": "1370781696",
"StreamSize_Proportion": "0.01855",
"Title": "Dolby Digital 7.1 ",
"Language": "en",
"ServiceKind": "CM",
"Default": "No",
"Forced": "No",
"extra": {
"bsid": "16",
"dialnorm": "-31",
"compr": "-0.28",
"acmod": "7 / 5",
"lfeon": "1 / 0",
"dialnorm_Average": "-31",
"dialnorm_Minimum": "-31"
}

 

 

Edited by FrostByte
  • Thanks 1
Link to comment
Share on other sites

MagicDoubleM
10 hours ago, Cheesegeezer said:

We did a lot of reformatting and to make it pristine, but this slipped thru the net. Can you also check 4k SDR if you have any please. I fear this may also be affected.

Yes indeed, these are affected too. They show up as "UHD SDRHEVC".

  • Thanks 1
Link to comment
Share on other sites

MagicDoubleM
10 hours ago, Cheesegeezer said:

if you want a sneak peek check out the wiki

 

Uuuuuuh, that's a very nice surprise.

Link to comment
Share on other sites

neik
10 hours ago, Cheesegeezer said:

I have this on a few of my titles also.... I don't know if these are maybe locked in the container.

Actually, for me none of the titles were changed at least I couldn't find any out of 20 titles I checked.
On the other hand I am not seeing any mkvpropedit activity in the logs, should there be any?

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...