rbjtech 4260 Posted June 3, 2022 Share Posted June 3, 2022 For the guys running this on Linux etc - can you check that 'emby' (specifically mkvpropedit) has write access to the source files ? The file also has to be 'closed' on a file system level - ie if you have the file open / playing, then while we have not tested this, it is unlikely mkvpropedit can modify the file. As a really basic test - you can manually edit one of the MKV's mkvpropedit.exe <MKV_File_Path & Name> --edit track:a1 --set "name=TESTEDIT" ie mkvpropedit.exe c:\mymovies\movie.mkv --edit track:a1 --set "name=TESTEDIT" Will set the first Audio Track on movie.mkv to have a title of 'TESTEDIT' Check with MediaInfo GUI or after a few mins/a scan - it should show in Emby itself. Link to comment Share on other sites More sharing options...
rbjtech 4260 Posted June 3, 2022 Share Posted June 3, 2022 5 hours ago, FrostByte said: 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" } Hmm - this may actually be a bug in MediaInfo itself. Note the 'Format' is AC-3 and not E-AC-3 The CodecID is correct, but we don't use that item. This is why it's being formatted as Dolby Digital 7.1 as it's just combining the Format with the Channels. @Cheesegeezer Lets follow up on teams - but I think we can use 'Additional Features' of 'Dep' to capture this - we capture, JOC, Dep JOC, etc - but this is the first time I've seen 'Dep' on it's own. Link to comment Share on other sites More sharing options...
neik 837 Posted June 3, 2022 Share Posted June 3, 2022 12 minutes ago, rbjtech said: can you check that 'emby' (specifically mkvpropedit) has write access to the source files ? How do I do that check? 12 minutes ago, rbjtech said: ie mkvpropedit.exe c:\mymovies\movie.mkv --edit track:a1 --set "name=TESTEDIT" Editing with mkvpropedit works fine for me when using root, I use that quite regular. Link to comment Share on other sites More sharing options...
rbjtech 4260 Posted June 3, 2022 Share Posted June 3, 2022 2 hours ago, MagicDoubleM said: Yes indeed, these are affected too. They show up as "UHD SDRHEVC". btw - as you would have noticed, we only add the SDR flag if it's 4K/UHD SDR - we don't for all the other resolutions as that's a given. 1 Link to comment Share on other sites More sharing options...
rbjtech 4260 Posted June 3, 2022 Share Posted June 3, 2022 1 minute ago, neik said: How do I do that check? Good question - I'm not a Linux guy - but in short, does Emby use any special access or have a service account ? - I would hope it not using root ! That account needs access to write to the MKV's. We are effectively just doing what you did manually using a pre-formatted CLI command - so it must be related to permissions I would have thought. Link to comment Share on other sites More sharing options...
neik 837 Posted June 3, 2022 Share Posted June 3, 2022 (edited) Does this ring a bell for someone? Input: id emby Output: uid=999(emby) gid=999(emby) groups=999(emby),44(video),121(render) Edited June 3, 2022 by neik Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted June 3, 2022 Share Posted June 3, 2022 2 hours ago, rbjtech said: Hmm - this may actually be a bug in MediaInfo itself. Note the 'Format' is AC-3 and not E-AC-3 The CodecID is correct, but we don't use that item. This is why it's being formatted as Dolby Digital 7.1 as it's just combining the Format with the Channels. @Cheesegeezer Lets follow up on teams - but I think we can use 'Additional Features' of 'Dep' to capture this - we capture, JOC, Dep JOC, etc - but this is the first time I've seen 'Dep' on it's own. This only appears when it's EAC3 with an AC3 core like you see on 4K blu-ray discs. In order to be blu-ray compatible they have to include the core so that it can play on older blu-ray players. DD+ without a core is displayed as E-AC-3 like you mentioned. I don't know why they do this, but they do @Cheesegeezer @rbjtech another option is to use the codec "A_EAC3" in addition? I also have DD+ 7.1 with Atmos files btw. Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted June 3, 2022 Author Share Posted June 3, 2022 23 minutes ago, FrostByte said: This only appears when it's EAC3 with an AC3 core like you see on 4K blu-ray discs. In order to be blu-ray compatible they have to include the core so that it can play on older blu-ray players. DD+ without a core is displayed as E-AC-3 like you mentioned. I don't know why they do this, but they do @Cheesegeezer @rbjtech another option is to use the codec "A_EAC3" in addition? I also have DD+ 7.1 with Atmos files btw. Thanks Frosty!! I'm just wrapping up these new bugs now. I have DD+ 7.1 & 5.1 with atmos too and these will be picked up with DEP JOC features or just JOC (can't remember) but I didn't cater for just the DEP extension so that should catch it. It's a crazy minefield of data field and properties hahahahaha 1 Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted June 3, 2022 Author Share Posted June 3, 2022 @FrostByte check your PM's sir. 1 Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted June 3, 2022 Share Posted June 3, 2022 Okay, it's better, but not fully working. DD+ 7.1 is now "Dolby Digital+ 7.1" However, DD+ 51. is "Dolby Digital Plus 5.1" It's abbreviating when it's 7.1 channels when it shouldn't DD+ 7.1 with Atmos still displays as "Dolby Digital Atmos 7.1" with no plus Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted June 3, 2022 Author Share Posted June 3, 2022 19 minutes ago, FrostByte said: Okay, it's better, but not fully working. DD+ 7.1 is now "Dolby Digital+ 7.1" However, DD+ 51. is "Dolby Digital Plus 5.1" It's abbreviating when it's 7.1 channels when it shouldn't Darn... thought i might get away with that lol, i'll have to add in a abbreviate and non abbreviated instances. At least it's working 19 minutes ago, FrostByte said: DD+ 7.1 with Atmos still displays as "Dolby Digital Atmos 7.1" with no plus Can you share the JSON please for that Audio Track. I'll take a wee peek and fix it did you check the formatting for SDR and HLG? DV5 is fixed and tested so i guess these should be too. Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted June 3, 2022 Share Posted June 3, 2022 JSON for Mad Max with DD+ 7.1 with Atmos { "@type": "Audio", "@typeorder": "3", "StreamOrder": "3", "ID": "4", "UniqueID": "4850947894526734905", "Format": "AC-3", "Format_Commercial_IfAny": "Dolby Digital Plus with Dolby Atmos", "Format_Profile": "Blu-ray Disc", "Format_Settings_Endianness": "Big", "Format_AdditionalFeatures": "Dep JOC", "CodecID": "A_EAC3", "Duration": "7220.416000000", "BitRate_Mode": "CBR", "BitRate": "1280000", "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": "346579968", "FrameRate": "31.250", "FrameCount": "225638", "Compression_Mode": "Lossy", "Delay": "0.028", "Delay_Source": "Container", "StreamSize": "1155266560", "StreamSize_Proportion": "0.02480", "Title": "Dolby Digital Atmos 7.1", "Language": "en", "ServiceKind": "CM", "Default": "No", "Forced": "No", "extra": { "ComplexityIndex": "12", "NumberOfDynamicObjects": "11", "BedChannelCount": "1", "BedChannelConfiguration": "LFE", "bsid": "16", "dialnorm": "-27", "compr": "1.94", "acmod": "7 / 5", "lfeon": "1 / 0", "dialnorm_Average": "-27", "dialnorm_Minimum": "-27", "compr_Average": "2.36", "compr_Minimum": "0.53", "compr_Maximum": "3.52", "compr_Count": "134", "dynrng_Average": "0.99", "dynrng_Minimum": "0.00", "dynrng_Maximum": "2.77", "dynrng_Count": "134" } Link to comment Share on other sites More sharing options...
CBers 6771 Posted June 3, 2022 Share Posted June 3, 2022 @Cheesegeezer/ @rbjtech Just about to jump in and test this. Is the latest DLL the one in post #1? Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted June 3, 2022 Author Share Posted June 3, 2022 (edited) Just now, CBers said: @Cheesegeezer/ @rbjtech Just about to jump in and test this. Is the latest DLL the one in post #1? hold tight don't do it yet Edited June 3, 2022 by Cheesegeezer 1 Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted June 3, 2022 Author Share Posted June 3, 2022 3 minutes ago, FrostByte said: JSON for Mad Max with DD+ 7.1 with Atmos { "@type": "Audio", "@typeorder": "3", "StreamOrder": "3", "ID": "4", "UniqueID": "4850947894526734905", "Format": "AC-3", "Format_Commercial_IfAny": "Dolby Digital Plus with Dolby Atmos", "Format_Profile": "Blu-ray Disc", "Format_Settings_Endianness": "Big", "Format_AdditionalFeatures": "Dep JOC", "CodecID": "A_EAC3", "Duration": "7220.416000000", "BitRate_Mode": "CBR", "BitRate": "1280000", "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": "346579968", "FrameRate": "31.250", "FrameCount": "225638", "Compression_Mode": "Lossy", "Delay": "0.028", "Delay_Source": "Container", "StreamSize": "1155266560", "StreamSize_Proportion": "0.02480", "Title": "Dolby Digital Atmos 7.1", "Language": "en", "ServiceKind": "CM", "Default": "No", "Forced": "No", "extra": { "ComplexityIndex": "12", "NumberOfDynamicObjects": "11", "BedChannelCount": "1", "BedChannelConfiguration": "LFE", "bsid": "16", "dialnorm": "-27", "compr": "1.94", "acmod": "7 / 5", "lfeon": "1 / 0", "dialnorm_Average": "-27", "dialnorm_Minimum": "-27", "compr_Average": "2.36", "compr_Minimum": "0.53", "compr_Maximum": "3.52", "compr_Count": "134", "dynrng_Average": "0.99", "dynrng_Minimum": "0.00", "dynrng_Maximum": "2.77", "dynrng_Count": "134" } Got it.. So Dep is an extension of AC3 for "Plus" JOC is and extension for anything that has an Atmos Layer.... Everyday is a school day hahaha - keep an eye on you PM's .... one shooting there shortly 1 Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted June 3, 2022 Share Posted June 3, 2022 I'm going to have to rerun it again for TV. I thought I had some 4K SDR movies, but can't find them right now Link to comment Share on other sites More sharing options...
CBers 6771 Posted June 3, 2022 Share Posted June 3, 2022 6 minutes ago, Cheesegeezer said: keep an eye on you PM's Add me in then Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted June 3, 2022 Share Posted June 3, 2022 4K SDR now has 1 extra space after 4K "Title": "4K SDR HEVC" HLG is the same "Title": "4K HLG HEVC" Now this is with the first dll I got. Not with the one where you modified DD+ 7.1 with Atmos I'm download new dll now Link to comment Share on other sites More sharing options...
MagicDoubleM 93 Posted June 3, 2022 Share Posted June 3, 2022 9 hours ago, rbjtech said: btw - as you would have noticed, we only add the SDR flag if it's 4K/UHD SDR - we don't for all the other resolutions as that's a given. I'd agree, but HD and HDR became a thing in the past few years. Not mega-widely spread, but they're there and it makes sense for some stuff. Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted June 3, 2022 Share Posted June 3, 2022 I'm not sure 1080p SDR is a given. You can have 1080p HDR also. Bridgerton season 2 { "@type": "Video", "StreamOrder": "0", "ID": "1", "UniqueID": "14618806561643585174", "Format": "HEVC", "Format_Profile": "Main 10", "Format_Level": "4", "Format_Tier": "Main", "HDR_Format": "SMPTE ST 2086", "HDR_Format_Compatibility": "HDR10", "CodecID": "V_MPEGH/ISO/HEVC", "Duration": "4105.685000000", "BitRate": "5486604", "Width": "1920", "Height": "1080", "Sampled_Width": "1920", "Sampled_Height": "1080", "PixelAspectRatio": "1.000", "DisplayAspectRatio": "1.778", "FrameRate_Mode": "CFR", "FrameRate": "23.976", "FrameCount": "98438", "ColorSpace": "YUV", "ChromaSubsampling": "4:2:0", "ChromaSubsampling_Position": "Type 2", "BitDepth": "10", "Delay": "0.000", "StreamSize": "2815783777", "Title": "1080p HDR10", "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.0001 cd/m2, max: 1000 cd/m2", "MasteringDisplay_Luminance_Source": "Stream", "MaxCLL": "756 cd/m2", "MaxCLL_Source": "Stream", "MaxFALL": "119 cd/m2", "MaxFALL_Source": "Stream" }, Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted June 3, 2022 Author Share Posted June 3, 2022 1 minute ago, FrostByte said: I'm not sure 1080p SDR is a given. You can have 1080p HDR also. Bridgerton season 2 { "@type": "Video", "StreamOrder": "0", "ID": "1", "UniqueID": "14618806561643585174", "Format": "HEVC", "Format_Profile": "Main 10", "Format_Level": "4", "Format_Tier": "Main", "HDR_Format": "SMPTE ST 2086", "HDR_Format_Compatibility": "HDR10", "CodecID": "V_MPEGH/ISO/HEVC", "Duration": "4105.685000000", "BitRate": "5486604", "Width": "1920", "Height": "1080", "Sampled_Width": "1920", "Sampled_Height": "1080", "PixelAspectRatio": "1.000", "DisplayAspectRatio": "1.778", "FrameRate_Mode": "CFR", "FrameRate": "23.976", "FrameCount": "98438", "ColorSpace": "YUV", "ChromaSubsampling": "4:2:0", "ChromaSubsampling_Position": "Type 2", "BitDepth": "10", "Delay": "0.000", "StreamSize": "2815783777", "Title": "1080p HDR10", "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.0001 cd/m2, max: 1000 cd/m2", "MasteringDisplay_Luminance_Source": "Stream", "MaxCLL": "756 cd/m2", "MaxCLL_Source": "Stream", "MaxFALL": "119 cd/m2", "MaxFALL_Source": "Stream" }, SDR is not shown in anything less than 4k, HDR is shown if it their because it's in the correct color primaries class and is extremely uncommon, so you would expect all 1080's to be SDR unless it says otherwise.... same with 4K, you assume HDR unless it's SDR so that's the approach we've taken. 1 1 Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted June 3, 2022 Author Share Posted June 3, 2022 Everyone.... New DLL up on first page.... Please read thru all the description again, as new content has been updated. I would also ask you all to read the WIKI for BIF Creation. This will explain it much better and the impacts on systems. @rbjtech did a great job with writing it up. Waiting on ole frostyNickers update on his final testing.... and you guys get stuck in too. But should be in the catalogue very very shortly. Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted June 3, 2022 Share Posted June 3, 2022 We still have 1 issue with DD+ 7.1 I just sent via PM Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted June 3, 2022 Share Posted June 3, 2022 DD+ 7.1 w/o AC3 core { "@type": "Audio", "@typeorder": "2", "StreamOrder": "2", "ID": "3", "UniqueID": "1048900328747269917", "Format": "E-AC-3", "Format_Commercial_IfAny": "Dolby Digital Plus", "Format_Settings_Endianness": "Big", "Format_AdditionalFeatures": "Dep", "CodecID": "A_EAC3", "Duration": "7132.576", "BitRate_Mode": "CBR", "BitRate": "960000", "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": "342363648", "FrameRate": "31.250", "Compression_Mode": "Lossy", "Delay": "0.000", "Delay_Source": "Container", "StreamSize": "855909120", "StreamSize_Proportion": "0.01605", "Title": "Dolby Digital Plus Plus 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", "compr_Average": "2.17", "compr_Minimum": "0.53", "compr_Maximum": "3.52", "compr_Count": "154" } Link to comment Share on other sites More sharing options...
Cheesegeezer 3086 Posted June 3, 2022 Author Share Posted June 3, 2022 4 minutes ago, FrostByte said: We still have 1 issue with DD+ 7.1 I just sent via PM Turning out to be a huge issue format. Lol I’ll take a look later but got some shiz to do 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