Cheesegeezer 3086 Posted May 30, 2022 Author Share Posted May 30, 2022 (edited) @FrostByte This should work nicely now. Also added in some logging on processing stats, this also now makes the task progress 100% accurate Emby.MediaInfo.dll Edited May 30, 2022 by Cheesegeezer Link to comment Share on other sites More sharing options...
FrostByte 5024 Posted May 30, 2022 Share Posted May 30, 2022 (edited) Still getting the same error 2022-05-30 08:56:00.407 Info App: Application version: 4.8.0.02022-05-30 08:56 - Pastebin.com Edited May 30, 2022 by FrostByte Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted May 30, 2022 Author Share Posted May 30, 2022 49 minutes ago, FrostByte said: Still getting the same error 2022-05-30 08:56:00.407 Info App: Application version: 4.8.0.02022-05-30 08:56 - Pastebin.com Link to comment Share on other sites More sharing options...
FrostByte 5024 Posted May 30, 2022 Share Posted May 30, 2022 1 hour ago, Cheesegeezer said: Ya, it stalled until the scan was done and then you can see it ran for 2 seconds 2022-05-30 08:57:54.625 Info LibraryMonitor: Watching directory /volume1/surveillance 2022-05-30 08:57:58.776 Info Media Info: Refresh Titles is ON - Resetting Lists 2022-05-30 08:57:58.852 Error Media Info: Object reference not set to an instance of an object. *** Error Report *** Version: 4.8.0.0 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology7_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 4.4.180+ (root@build17) (gcc version 8.5.0 (GCC) ) #42661 SMP Fri Apr 1 15:31:10 CST 2022 Framework: .NET 6.0.2 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 8 Data path: /var/packages/EmbyServer/var Application path: /volume1/@appstore/EmbyServer/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() Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted May 30, 2022 Author Share Posted May 30, 2022 1 hour ago, FrostByte said: Ya, it stalled until the scan was done and then you can see it ran for 2 seconds 2022-05-30 08:57:54.625 Info LibraryMonitor: Watching directory /volume1/surveillance 2022-05-30 08:57:58.776 Info Media Info: Refresh Titles is ON - Resetting Lists 2022-05-30 08:57:58.852 Error Media Info: Object reference not set to an instance of an object. *** Error Report *** Version: 4.8.0.0 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology7_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 4.4.180+ (root@build17) (gcc version 8.5.0 (GCC) ) #42661 SMP Fri Apr 1 15:31:10 CST 2022 Framework: .NET 6.0.2 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 8 Data path: /var/packages/EmbyServer/var Application path: /volume1/@appstore/EmbyServer/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() you got debug logging on? These darn lists again. have you uploaded an old one by accident. Link to comment Share on other sites More sharing options...
MagicDoubleM 92 Posted May 30, 2022 Share Posted May 30, 2022 On 5/27/2022 at 4:50 PM, Cheesegeezer said: Cheesey Productions brings you MediaInfo for Emby Bringing your Media Info Tags up to Date (including HDR, Vision, Atmos, etc) A huge shout out to @rbjtech for all his help with this. He was my knowledge base. Thanks Rich Please read the wiki page available that will help you get set up. MEDIAiNFO WIKI PAGE Some examples Please test on a small test Library. Feed back is always good. Emby.MediaInfo.dll 692 kB · 9 downloads Very cool, I just started the process. Thank you very much! 1 Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted May 30, 2022 Author Share Posted May 30, 2022 Just now, MagicDoubleM said: Very cool, I just started the process. Thank you very much! I just added tagging today, as an option of course. which me and @rbjtech have been testing, so it will add DVx, HDR formats, HLG, Atmos, all DTS formats AAC SBR to your items tags for filtering or for other plugins to use, such as VantagePoint. Hehehe Rich will get some screen grabs up as I’m off to ear tag my calves now!! 1 Link to comment Share on other sites More sharing options...
rbjtech 4170 Posted May 30, 2022 Share Posted May 30, 2022 (edited) So we have added the OPTION to add tags for the 'extra layer of video and audio detail' - such a Atmos, DV profile etc. Combined with the existing filter options - then you now really filter down to exactly what you want. You can of course click on the tag itself in the item - so to see all your 'DV7' titles for example - it's now just a single click away ! Fantastic job @Cheesegeezer ! I'll post some more screen grabs soon ... All - please remember this is a short-medium term stop-gap to get the info into Emby today using MediaInfo as the content provider. Until ffmpeg provides it, then the Core Team cannot provide this extra level of info - thus needing to use this Plugin. Consequently, we are simply holding the data in the track 'Title' and selected 'Tags' only. This is not being held in the database, and as such, it has limited potential but we CAN of course now see it and using the power of Tag's - we can filter on it as well. The Films/Movies filters has the ability to combine Tag's - making it very easy to combine existing filters and then adding one or more of the Tag's - such as maybe DV7 and DTS:X for example. Unfortunately, TV Shows do not have this extra layer of Tag Filtering - but you can just click on any Tag and filter globally by that Tag. -- This is still in beta - so our advice is to run on an isolated test library. There are a few items to sort out - such as removing the Tag's the plugin added (should you wish) but this will probably just be a remove all tags as opposed to just remove what this Plugin added. I believe we have captured most of the popular 'special' codecs/layers/types out there - but if you need one added, then let us know - along with how it looks in MediaInfo (JSON Output) and @Cheesegeezer may be able to add. Thanks.. 30/05/2022 - Latest DLL will be posted by @Cheesegeezer shortly (that adds the option of Tag's ..) Edited May 30, 2022 by rbjtech 2 Link to comment Share on other sites More sharing options...
FrostByte 5024 Posted May 30, 2022 Share Posted May 30, 2022 3 hours ago, Cheesegeezer said: you got debug logging on? These darn lists again. have you uploaded an old one by accident. I think I got the latest. The time is newer than the rest, but the version stays the same. I'll redownload, turn debugging on and let you know in a bit. 1 Link to comment Share on other sites More sharing options...
FrostByte 5024 Posted May 30, 2022 Share Posted May 30, 2022 @Cheesegeezer still erroring 2022-05-30 15:47:41.847 Info App: Application version: 4.8.0.02022-05-30 15:47 - Pastebin.com Link to comment Share on other sites More sharing options...
arrbee99 1544 Posted May 30, 2022 Share Posted May 30, 2022 2 hours ago, Cheesegeezer said: I just added tagging today, as an option of course. which me and @rbjtech have been testing, so it will add DVx, HDR formats, HLG, Atmos, all DTS formats AAC SBR to your items tags for filtering or for other plugins to use, such as VantagePoint. Hehehe Rich will get some screen grabs up as I’m off to ear tag my calves now!! They let you keep calves on an oil rig ? 2 Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted May 30, 2022 Author Share Posted May 30, 2022 6 minutes ago, arrbee99 said: They let you keep calves on an oil rig ? Man’s gotta eat!!! 2 Link to comment Share on other sites More sharing options...
FrostByte 5024 Posted May 30, 2022 Share Posted May 30, 2022 So, are you also distinguishing between DV7, and DV8? Or, does it lump 7 and 8 together? Not that it makes a whole lot of difference as nothing can play the FEL from a DV7 mkv anyway. Link to comment Share on other sites More sharing options...
FrostByte 5024 Posted May 30, 2022 Share Posted May 30, 2022 DV8 { "@type": "Video", "StreamOrder": "0", "ID": "1", "UniqueID": "12641440254228815933", "Format": "HEVC", "Format_Profile": "Main 10", "Format_Level": "5.1", "Format_Tier": "High", "HDR_Format": "Dolby Vision / SMPTE ST 2086", "HDR_Format_Version": "1.0 / ", "HDR_Format_Profile": "dvhe.08 / ", "HDR_Format_Level": "06 / ", "HDR_Format_Settings": "BL+RPU / ", "HDR_Format_Compatibility": "HDR10 / HDR10", "CodecID": "V_MPEGH/ISO/HEVC", "Duration": "6003.456000000", "BitRate": "38436562", "Width": "3840", "Height": "2160", "Sampled_Width": "3840", "Sampled_Height": "2160", "PixelAspectRatio": "1.000", "DisplayAspectRatio": "1.778", "FrameRate_Mode": "CFR", "FrameRate": "23.976", "FrameCount": "143939", "ColorSpace": "YUV", "ChromaSubsampling": "4:2:0", "ChromaSubsampling_Position": "Type 2", "BitDepth": "10", "Delay": "0.000", "StreamSize": "28844026248", "Encoded_Library": "ATEME Titan File 3.9.0 (4.9.0.0) ", "Encoded_Library_Name": "ATEME Titan File", "Encoded_Library_Version": "3.9.0 (4.9.0.0) ", "Default": "Yes", "Forced": "No", "colour_description_present": "Yes", "colour_description_present_Source": "Stream", "colour_range": "Limited", "colour_range_Source": "Stream", "colour_primaries": "BT.2020", "colour_primaries_Source": "Stream", "transfer_characteristics": "PQ", "transfer_characteristics_Source": "Stream", "matrix_coefficients": "BT.2020 non-constant", "matrix_coefficients_Source": "Stream", "MasteringDisplay_ColorPrimaries": "Display P3", "MasteringDisplay_ColorPrimaries_Source": "Stream", "MasteringDisplay_Luminance": "min: 0.0000 cd/m2, max: 1000 cd/m2", "MasteringDisplay_Luminance_Source": "Stream" }, If you used the dv_format_profile instead of color_primaries you should be able to tell the difference between the 3 DV profiles. Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted May 30, 2022 Author Share Posted May 30, 2022 (edited) 8 minutes ago, FrostByte said: DV8 { "@type": "Video", "StreamOrder": "0", "ID": "1", "UniqueID": "12641440254228815933", "Format": "HEVC", "Format_Profile": "Main 10", "Format_Level": "5.1", "Format_Tier": "High", "HDR_Format": "Dolby Vision / SMPTE ST 2086", "HDR_Format_Version": "1.0 / ", "HDR_Format_Profile": "dvhe.08 / ", "HDR_Format_Level": "06 / ", "HDR_Format_Settings": "BL+RPU / ", "HDR_Format_Compatibility": "HDR10 / HDR10", "CodecID": "V_MPEGH/ISO/HEVC", "Duration": "6003.456000000", "BitRate": "38436562", "Width": "3840", "Height": "2160", "Sampled_Width": "3840", "Sampled_Height": "2160", "PixelAspectRatio": "1.000", "DisplayAspectRatio": "1.778", "FrameRate_Mode": "CFR", "FrameRate": "23.976", "FrameCount": "143939", "ColorSpace": "YUV", "ChromaSubsampling": "4:2:0", "ChromaSubsampling_Position": "Type 2", "BitDepth": "10", "Delay": "0.000", "StreamSize": "28844026248", "Encoded_Library": "ATEME Titan File 3.9.0 (4.9.0.0) ", "Encoded_Library_Name": "ATEME Titan File", "Encoded_Library_Version": "3.9.0 (4.9.0.0) ", "Default": "Yes", "Forced": "No", "colour_description_present": "Yes", "colour_description_present_Source": "Stream", "colour_range": "Limited", "colour_range_Source": "Stream", "colour_primaries": "BT.2020", "colour_primaries_Source": "Stream", "transfer_characteristics": "PQ", "transfer_characteristics_Source": "Stream", "matrix_coefficients": "BT.2020 non-constant", "matrix_coefficients_Source": "Stream", "MasteringDisplay_ColorPrimaries": "Display P3", "MasteringDisplay_ColorPrimaries_Source": "Stream", "MasteringDisplay_Luminance": "min: 0.0000 cd/m2, max: 1000 cd/m2", "MasteringDisplay_Luminance_Source": "Stream" }, If you used the dv_format_profile instead of color_primaries you should be able to tell the difference between the 3 DV profiles. So if the color primaries are bt.2020 then i go thru a whole lot of switch cases to select the correct one, so it will look at the HDR format and then if it matches one of thise, we go into DV selection mode using hdr format profile and select 7 or 8. hoof the log over when you get a chance. I’ll see whats going on! Edited May 30, 2022 by Cheesegeezer 1 Link to comment Share on other sites More sharing options...
FrostByte 5024 Posted May 30, 2022 Share Posted May 30, 2022 1 minute ago, Cheesegeezer said: So if the color primaries are bt.2020 then i go thru a whole lot of switch cases to select the correct one, so it will look at the HDR format and then if it matches one of thise, we go into DV selection mode using hdr format profile and select 7 or 8. hoof the log over when you get a chance. I’ll see whats going on! It's the link in my post a little way up right before arrbee99's post Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted May 30, 2022 Author Share Posted May 30, 2022 2 minutes ago, FrostByte said: It's the link in my post a little way up right before arrbee99's post Got it lol, sorry chief. Just looking thru it looks like there isn’t a path set for something. Just double check everything again. Does it run on just movies? thanks for your help! Link to comment Share on other sites More sharing options...
FrostByte 5024 Posted May 30, 2022 Share Posted May 30, 2022 It runs fine for just Movies, but not just TV shows. 1 Link to comment Share on other sites More sharing options...
rbjtech 4170 Posted May 30, 2022 Share Posted May 30, 2022 (edited) 24 minutes ago, FrostByte said: DV8 { "@type": "Video", "StreamOrder": "0", "ID": "1", "UniqueID": "12641440254228815933", "Format": "HEVC", "Format_Profile": "Main 10", "Format_Level": "5.1", "Format_Tier": "High", "HDR_Format": "Dolby Vision / SMPTE ST 2086", "HDR_Format_Version": "1.0 / ", "HDR_Format_Profile": "dvhe.08 / ", "HDR_Format_Level": "06 / ", "HDR_Format_Settings": "BL+RPU / ", "HDR_Format_Compatibility": "HDR10 / HDR10", "CodecID": "V_MPEGH/ISO/HEVC", "Duration": "6003.456000000", "BitRate": "38436562", "Width": "3840", "Height": "2160", "Sampled_Width": "3840", "Sampled_Height": "2160", "PixelAspectRatio": "1.000", "DisplayAspectRatio": "1.778", "FrameRate_Mode": "CFR", "FrameRate": "23.976", "FrameCount": "143939", "ColorSpace": "YUV", "ChromaSubsampling": "4:2:0", "ChromaSubsampling_Position": "Type 2", "BitDepth": "10", "Delay": "0.000", "StreamSize": "28844026248", "Encoded_Library": "ATEME Titan File 3.9.0 (4.9.0.0) ", "Encoded_Library_Name": "ATEME Titan File", "Encoded_Library_Version": "3.9.0 (4.9.0.0) ", "Default": "Yes", "Forced": "No", "colour_description_present": "Yes", "colour_description_present_Source": "Stream", "colour_range": "Limited", "colour_range_Source": "Stream", "colour_primaries": "BT.2020", "colour_primaries_Source": "Stream", "transfer_characteristics": "PQ", "transfer_characteristics_Source": "Stream", "matrix_coefficients": "BT.2020 non-constant", "matrix_coefficients_Source": "Stream", "MasteringDisplay_ColorPrimaries": "Display P3", "MasteringDisplay_ColorPrimaries_Source": "Stream", "MasteringDisplay_Luminance": "min: 0.0000 cd/m2, max: 1000 cd/m2", "MasteringDisplay_Luminance_Source": "Stream" }, If you used the dv_format_profile instead of color_primaries you should be able to tell the difference between the 3 DV profiles. Yep we use the HDR_Format Profile to see the DV Level. I believe Cheese has added DV5, 7 & 8 as you (and I..) have described .. I didn't have anything with DV5 to test though, so if you do, I'm sure Cheese would appreciate the test. It should not list any HDR10/10+ backwards compatibility profiles for DV5 obviously .. Edited May 30, 2022 by rbjtech 1 Link to comment Share on other sites More sharing options...
MagicDoubleM 92 Posted May 30, 2022 Share Posted May 30, 2022 3 hours ago, Cheesegeezer said: I just added tagging today, as an option of course. which me and @rbjtech have been testing, so it will add DVx, HDR formats, HLG, Atmos, all DTS formats AAC SBR to your items tags for filtering or for other plugins to use, such as VantagePoint. Hehehe Rich will get some screen grabs up as I’m off to ear tag my calves now!! Uuuuuh, that's another great idea. Very cool! Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted May 30, 2022 Author Share Posted May 30, 2022 39 minutes ago, FrostByte said: It runs fine for just Movies, but not just TV shows. I’ll look at it tomorrow bud 1 Link to comment Share on other sites More sharing options...
FrostByte 5024 Posted May 31, 2022 Share Posted May 31, 2022 Is it possible to add "(Default)" as an option for the audio tracks flagged as such? sort of like Emby does now. { "@type": "Audio", "@typeorder": "1", "StreamOrder": "1", "ID": "2", "UniqueID": "8162037566479904499", "Format": "MLP FBA", "Format_Commercial_IfAny": "Dolby TrueHD with Dolby Atmos", "Format_AdditionalFeatures": "16-ch", "CodecID": "A_TRUEHD", "Duration": "6003.457000000", "BitRate_Mode": "VBR", "BitRate": "6192174", "BitRate_Maximum": "8532000", "Channels": "8", "ChannelPositions": "Front: L C R, Side: L R, Back: L R, LFE", "ChannelLayout": "L R C LFE Ls Rs Lb Rb", "SamplesPerFrame": "40", "SamplingRate": "48000", "SamplingCount": "288165936", "FrameRate": "1200.000", "FrameCount": "7204148", "Compression_Mode": "Lossless", "Delay": "0.000", "Delay_Source": "Container", "StreamSize": "4646806582", "StreamSize_Proportion": "0.13202", "Title": "Dolby TrueHD 7.1 Atmos", "Language": "en", "Default": "Yes", "Forced": "No", "extra": { "NumberOfDynamicObjects": "13", "BedChannelCount": "1", "BedChannelConfiguration": "LFE" } Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted May 31, 2022 Author Share Posted May 31, 2022 Just now, FrostByte said: Is it possible to add "(Default)" as an option for the audio tracks flagged as such? sort of like Emby does now. { "@type": "Audio", "@typeorder": "1", "StreamOrder": "1", "ID": "2", "UniqueID": "8162037566479904499", "Format": "MLP FBA", "Format_Commercial_IfAny": "Dolby TrueHD with Dolby Atmos", "Format_AdditionalFeatures": "16-ch", "CodecID": "A_TRUEHD", "Duration": "6003.457000000", "BitRate_Mode": "VBR", "BitRate": "6192174", "BitRate_Maximum": "8532000", "Channels": "8", "ChannelPositions": "Front: L C R, Side: L R, Back: L R, LFE", "ChannelLayout": "L R C LFE Ls Rs Lb Rb", "SamplesPerFrame": "40", "SamplingRate": "48000", "SamplingCount": "288165936", "FrameRate": "1200.000", "FrameCount": "7204148", "Compression_Mode": "Lossless", "Delay": "0.000", "Delay_Source": "Container", "StreamSize": "4646806582", "StreamSize_Proportion": "0.13202", "Title": "Dolby TrueHD 7.1 Atmos", "Language": "en", "Default": "Yes", "Forced": "No", "extra": { "NumberOfDynamicObjects": "13", "BedChannelCount": "1", "BedChannelConfiguration": "LFE" } yes sure. I'll do it now. I have a new release but will add that now. Hopefully we can catch your issues in this, if you can spare some time to test. Curiousity here - personally i dont like it, but what does "default" add to the pot? Standby...... Link to comment Share on other sites More sharing options...
FrostByte 5024 Posted May 31, 2022 Share Posted May 31, 2022 I always mark the HD audio track (or the best track) as default and tell my wife if using the Shield to always make sure to use the default track because it will sound better. If using anything else, then select the other audio track. That way I don't have to teach her to know each codec. It also helps if you have Emby remember last audio track used because the one which pops up may not be the one flagged as default. 1 Link to comment Share on other sites More sharing options...
FrostByte 5024 Posted May 31, 2022 Share Posted May 31, 2022 12 minutes ago, Cheesegeezer said: Hopefully we can catch your issues in this, if you can spare some time to test. I need to pop outside for about 30 minutes. I'll take a look as soon as I get back. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now