Jump to content

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


Cheesegeezer

Recommended Posts

rbjtech

Taking just one of the failed files - can you open the file with media browser GUI ?

What about mkvtoolnix GUI ?

As @Cheesegeezer has said above - this plugin simply uses the official mkvtoolnix mkvpropedit utility to re-write the stream headers title field to be the stream details - it does not re-write or remux any source data what-so-ever - this is why it runs so fast.

Is it possible you used the wrong mkvprop edit ?

If you can see the streams, then it should be easy enough to fix/re-write the headers...

Edited by rbjtech
Link to comment
Share on other sites

Cheesegeezer
56 minutes ago, mbguy said:

I only had limited time tonight but I noticed in today's log there are 362 entries with *** Error Reports ***

These 362 error reports point directly to 362 videos that now have "cannot render file" status after running MediaInfo 1.0.14

Not sure if these files are permanently damaged, I sincerely hope they can be "rescued".

This is an example of the section that repeats 362 times for each of the "killed" files:

2022-10-29 09:49:45.343 Debug App: Refreshing \\My Computer\TV Shows\Parks and Recreation\Season 3\Parks.And.Recreation.S03E16.720p.HDTV.x264.mkv due to date modified change 1666599723 - 1667058145.
2022-10-29 09:49:45.343 Debug App: FFProbeProvider reports change to 457868 - \\My Computer\TV Shows\Parks and Recreation\Season 3\Parks.And.Recreation.S03E16.720p.HDTV.x264.mkv
2022-10-29 09:49:45.343 Debug App: Running FFProbeProvider for \\My Computer\TV Shows\Parks and Recreation\Season 3\Parks.And.Recreation.S03E16.720p.HDTV.x264.mkv
2022-10-29 09:49:45.343 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: C:\Users\admin\AppData\Roaming\Emby-Server\system\ffprobe.exe -i file:"\\My Computer\TV Shows\Parks and Recreation\Season 3\Parks.And.Recreation.S03E16.720p.HDTV.x264.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2022-10-29 09:49:45.346 Debug MediaProbeManager: ProcessRun 'ffprobe' Started.
2022-10-29 09:49:45.418 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 1 - Failed
2022-10-29 09:49:45.418 Error App: Error in ffprobe
	*** Error Report ***
	Version: 4.7.8.0
	Command line: C:\Users\admin\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.22621
	Framework: .NET 6.0.9
	OS/Process: x64/x64
	Runtime: C:/Users/admin/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 24
	Data path: C:\Users\admin\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\admin\AppData\Roaming\Emby-Server\system
	System.Exception: System.Exception: ffprobe failed for file:"\\My Computer\TV Shows\Parks and Recreation\Season 3\Parks.And.Recreation.S03E16.720p.HDTV.x264.mkv" - streams and format are both null: 
{
	
	}
	
	
ffprobe version 5.0.0-emby_2022_05_27-u1 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
	  built with gcc 10.3.0 (Rev5, Built by MSYS2 project)
	[matroska,webm @ 000002636b3c0340] 0x00 at pos 165 (0xa5) invalid as first byte of an EBML number
	[matroska,webm @ 000002636b3c0340] Element at 0x35 ending at 0x34df5 exceeds containing master element ending at 0x13e1
	[matroska,webm @ 000002636b3c0340] Duplicate element
	[matroska,webm @ 000002636b3c0340] Element at 0x44 ending at 0xa54e04 exceeds containing master element ending at 0x13f0
	[matroska,webm @ 000002636b3c0340] Element at 0x53 ending at 0x2ecb1 exceeds containing master element ending at 0x13ff
	[matroska,webm @ 000002636b3c0340] Element at 0x64 ending at 0x2ecab exceeds containing master element ending at 0x1410
	[matroska,webm @ 000002636b3c0340] 0x00 at pos 165 (0xa5) invalid as first byte of an EBML number
	[matroska,webm @ 000002636b3c0340] Duplicate element
	[h264 @ 000002636b3d3240] missing picture in access unit with size 1873
	[extract_extradata @ 000002636b393dc0] No start code is found.
	file:\\My Computer\TV Shows\Parks and Recreation\Season 3\Parks.And.Recreation.S03E16.720p.HDTV.x264.mkv: Invalid data found when processing input
	
	
	   at Emby.Server.MediaEncoding.Probing.MediaProbeManager.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, String userAgent, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean forceEnableLogging, CancellationToken cancellationToken)
	   at Emby.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](MetadataResult`1 metadataResult, MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken)
	   at Emby.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, MetadataResult`1 itemResult, String logName, MetadataRefreshOptions options, LibraryOptions libraryOptions, RefreshResult refreshResult, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()
	
2022-10-29 09:49:45.418 Debug App: Running EpisodeNfoProvider for \\My Computer\TV Shows\Parks and Recreation\Season 3\Parks.And.Recreation.S03E16.720p.HDTV.x264.mkv
2022-10-29 09:49:45.418 Debug App: EpisodeNfoProvider returned no metadata for \\My Computer\TV Shows\Parks and Recreation\Season 3\Parks.And.Recreation.S03E16.720p.HDTV.x264.mkv
2022-10-29 09:49:45.418 Debug App: Running EpisodeXmlProvider for \\My Computer\TV Shows\Parks and Recreation\Season 3\Parks.And.Recreation.S03E16.720p.HDTV.x264.mkv
2022-10-29 09:49:45.418 Debug App: EpisodeXmlProvider will fetch xml from \\My Computer\TV Shows\Parks and Recreation\Season 3\metadata\Parks.And.Recreation.S03E16.720p.HDTV.x264.xml

 

That's all to do with FFProbe and FFMpeg.

MediaInfo Plugin uses only MediaInfoCLI and MKVToolnix.  There is no FFMpeg or FFProbe processes involved in the MediaInfo task.

There is ffmpeg used in HDR-SDR convert task and that is purely to extract images.

Unfortunately that's nothing to do with me.

Please can you send me a full log.

Link to comment
Share on other sites

rbjtech
On 25/10/2022 at 05:28, mbguy said:

Hi, I am on latest release version 1.0.1.10 and having an issue of the "Advanced media Information" progress bar in "Scheduled Tasks" stuck at 0%

It's strange because the first it ran, it went all the way to 67.9% and got stuck there. I tried stopping and starting it manually but it just wouldn't move past 67.9%.

So I restarted Emby Server and windows hoping to solve the issue, but now it won't even move past 0.0%. If I stopped it manually, the status would just be stuck in "Stopping" forever.

I know it can't be the paths because many of my titles are showing the new advanced media info as I configured, but many titles are still left unchanged.

I did a "Scan media library" and it went to 100% without issues so I don't think it's a library issue. Anything else I can try to fix this?

What are the recommended next steps? Thanks.

Screenshot 2022-10-24 212934.jpg

It is possible this is where your problems started - corrupt file system - do you have a log from when this ran (and then stopped) ?

Link to comment
Share on other sites

rbjtech
2 minutes ago, Cheesegeezer said:

@mbguy

You can set both of these to on and rerun, this will remove any headers

image.thumb.png.e51f49fe6a942f7025946e8dde9a3533.png

I would hold off on this until the damage to files are understood - you may make things worse.

If the headers cannot be read (by ffmpeg or mkvtoolnix) then I doubt they would be set back to blank anyway tbh.

Need to see the log and ideally an example file that we can examine.

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

Hi,

 

as i said in my post on page 33 i got some (at least 2+) corrupted files after mediainfo processing (with version 1.0.1.10) too, and i had a ideas whats causes the problem with these files.

Im willing to upload one of the movies to my website for testing purpose, its around 4GB. 

 

Link to comment
Share on other sites

Cheesegeezer
7 minutes ago, Andy2k said:

Hi,

 

as i said in my post on page 33 i got some (at least 2+) corrupted files after mediainfo processing (with version 1.0.1.10) too, and i had a ideas whats causes the problem with these files.

Im willing to upload one of the movies to my website for testing purpose, its around 4GB. 

 

Version 1.0.1.10 has been fine for an extremely long time.

1.0.1.14 was released to cater for multi versions and thats it. 
 

but since core updates a lot of things are breaking.

i really dont need the actual file, i need a debug log and a mediaInfo json output. Because that will tell me more about issues with your setup rather than mine.

Link to comment
Share on other sites

rbjtech
23 minutes ago, Andy2k said:

Hi,

 

as i said in my post on page 33 i got some (at least 2+) corrupted files after mediainfo processing (with version 1.0.1.10) too, and i had a ideas whats causes the problem with these files.

Im willing to upload one of the movies to my website for testing purpose, its around 4GB. 

 

The raw file will maybe tell me if it's the file streams that are corrupt, or it's simply missing/corrupt headers.

The log file from your original post (when it froze) is I think the key here - we need to see this - but I'm also willing to look at the corrupt file for you to see if it's recoverable.

  • Thanks 1
Link to comment
Share on other sites

Cheesegeezer
6 minutes ago, rbjtech said:

The raw file will maybe tell me if it's the file streams that are corrupt, or it's simply missing/corrupt headers.

The log file from your original post (when it froze) is I think the key here - we need to see this - but I'm also willing to look at the corrupt file for you to see if it's recoverable.

@Andy2k give Rich @rbjtech all the info in a PM, he’s awesome with this stuff. So he can certainly help you!!

Edited by Cheesegeezer
Link to comment
Share on other sites

Hi,

 

mediainfo json of this file before processing:

 mediainfo --output=JSON bekenntnisse.des.hochstaplers.felix.krull.2021.german.1080p.bluray.x264-details.mkv
{
"creatingLibrary": {
"name": "MediaInfoLib",
"version": "21.09",
"url": "https://mediaarea.net/MediaInfo"
},
"media": {
"@ref": "bekenntnisse.des.hochstaplers.felix.krull.2021.german.1080p.bluray.x264-details.mkv",
"track": [
{
"@type": "General",
"VideoCount": "1",
"AudioCount": "1",
"MenuCount": "1",
"FileExtension": "mkv",
"Format": "Matroska",
"Format_Version": "2",
"FileSize": "4303262405",
"Duration": "6848.342",
"OverallBitRate": "5026925",
"FrameRate": "23.976",
"FrameCount": "164196",
"StreamSize": "85631919",
"IsStreamable": "Yes",
"File_Modified_Date": "UTC 2022-10-19 19:38:42",
"File_Modified_Date_Local": "2022-10-19 21:38:42",
"Encoded_Application": "mkvmerge v6.6.0 ('The Edge Of The In Between') built on Dec 1 2013 17:55:00",
"Encoded_Library": "libebml v1.3.0 + libmatroska v1.4.1"
},
{
"@type": "Video",
"StreamOrder": "0",
"ID": "1",
"UniqueID": "1",
"Format": "AVC",
"Format_Profile": "High",
"Format_Level": "4.1",
"Format_Settings_CABAC": "Yes",
"Format_Settings_RefFrames": "5",
"CodecID": "V_MPEG4/ISO/AVC",
"Duration": "6848.348",
"BitRate": "3417889",
"Width": "1920",
"Height": "808",
"Stored_Height": "816",
"Sampled_Width": "1920",
"Sampled_Height": "808",
"PixelAspectRatio": "1.000",
"DisplayAspectRatio": "2.376",
"FrameRate_Mode": "CFR",
"FrameRate": "23.976",
"FrameCount": "164196",
"ColorSpace": "YUV",
"ChromaSubsampling": "4:2:0",
"BitDepth": "8",
"ScanType": "Progressive",
"Delay": "0.000",
"StreamSize": "2925861976",
"Encoded_Library": "x264 - core 164 r3101 b093bbe",
"Encoded_Library_Name": "x264",
"Encoded_Library_Version": "core 164 r3101 b093bbe",
"Encoded_Library_Settings": "cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=25 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00",
"Language": "en",
"Default": "Yes",
"Forced": "No"
},
{
"@type": "Audio",
"StreamOrder": "1",
"ID": "2",
"UniqueID": "2864556435",
"Format": "DTS",
"Format_Settings_Mode": "16",
"Format_Settings_Endianness": "Big",
"CodecID": "A_DTS",
"Duration": "6848.342",
"BitRate_Mode": "CBR",
"BitRate": "1509000",
"Channels": "6",
"ChannelPositions_Original": "Front: L C R, Side: L R, LFE",
"ChannelLayout_Original": "C L R Ls Rs LFE",
"SamplesPerFrame": "512",
"SamplingRate": "48000",
"SamplingCount": "328720416",
"FrameRate": "93.750",
"BitDepth": "24",
"Compression_Mode": "Lossy",
"Delay": "0.000",
"Delay_Source": "Container",
"StreamSize": "1291768510",
"StreamSize_Proportion": "0.30018",
"Title": "dts",
"Language": "de",
"Default": "Yes",
"Forced": "No"
},
{
"@type": "Menu",
"extra": {
"_00_00_00_000": "en:00:00:00.000",
"_00_09_40_580": "en:00:09:40.580",
"_00_20_01_617": "en:00:20:01.617",
"_00_29_36_483": "en:00:29:36.483",
"_00_38_37_190": "en:00:38:37.190",
"_00_48_25_611": "en:00:48:25.611",
"_00_58_44_646": "en:00:58:44.646",
"_01_08_55_715": "en:01:08:55.715",
"_01_19_37_022": "en:01:19:37.022",
"_01_27_28_702": "en:01:27:28.702",
"_01_38_34_283": "en:01:38:34.283",
"_01_48_41_515": "en:01:48:41.515"
}
}
]
}
}

 

Debug log:

2022-10-30 17:53:58.360 Info Media Info: New Item Added --- Running Media Info Task for Bekenntnisse des Hochstaplers Felix Krull
2022-10-30 17:53:58.363 Debug TaskManager: Executing Advanced Media Information
2022-10-30 17:53:58.415 Debug Media Info: MEDIAINFO TASK IS STARTING
2022-10-30 17:53:58.415 Debug Media Info: isEnabled = True
2022-10-30 17:53:58.416 Info Media Info: MediaInfo Individual ID list has been cleared
2022-10-30 17:53:58.416 Debug Media Info: TESTING:  include item types: 
2022-10-30 17:53:58.416 Info Media Info: Getting Episodes in Library
2022-10-30 17:53:59.689 Debug SqliteItemRepository: GetItemList query time (slow): 1271ms. Query: select A.Id,A.StartDate,A.EndDate,A.CommunityRating,A.CustomRating,A.IndexNumber,A.IsLocked,A.PreferredMetadataLanguage,A.PreferredMetadataCountryCode,A.Width,A.Height,A.DateLastRefreshed,A.Name,A.Path,A.PremiereDate,A.Overview,A.ParentIndexNumber,A.ProductionYear,A.OfficialRating,A.SortName,A.RunTimeTicks,A.Size,A.Container,A.DateCreated,A.DateModified,A.guid,A.ParentId,A.IsInMixedFolder,A.DateLastSaved,A.LockedFields,A.OriginalTitle,A.CriticRating,A.IsVirtualItem,A.SeriesName,A.Album,A.AlbumId,A.SeriesId,A.PresentationUniqueKey,A.Tagline,A.ProviderIds,A.Images,A.ProductionLocations,A.TotalBitrate,A.ExternalId,A.SeriesPresentationUniqueKey,A.DisplayOrder,A.ThreeDFormat,A.RemoteTrailers,A.SortIndexNumber,A.SortParentIndexNumber,A.IndexNumberEnd from MediaItems A where type=8
2022-10-30 17:54:02.555 Info Media Info: Total Episodes in Library = 12024 
2022-10-30 17:54:02.555 Info Media Info: Filtering MKV Episodes
2022-10-30 17:54:02.871 Error Media Info: System.NullReferenceException: Object reference not set to an instance of an object.
   at Emby.MediaInfo.ScheduledTasks.MediaInfoScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
2022-10-30 17:54:02.872 Info Media Info: NO MKV EPISODES FOUND
2022-10-30 17:54:04.625 Info Media Info: Total Movies in Library = 3586 
2022-10-30 17:54:04.625 Info Media Info: Filtering MKV Movies
2022-10-30 17:54:04.649 Info Media Info: Actual Movies to process = 1 
2022-10-30 17:54:04.649 Debug Media Info: Ep items = 0
2022-10-30 17:54:04.649 Debug Media Info: mov items = 1
2022-10-30 17:54:04.649 Info Media Info: Total items to process = 1
2022-10-30 17:54:04.649 Info Media Info: PERFORMING MEDIAINFO EXTRACTION ON MOVIES
2022-10-30 17:54:04.650 Info Media Info: PROCESSING OF  Bekenntnisse des Hochstaplers Felix Krull  HAS STARTED
2022-10-30 17:54:04.650 Info Media Info: Item FilePath = /media/video/Filme/UHD-H.265/Bekenntnisse des Hochstaplers Felix Krull (1957)/Bekenntnisse des Hochstaplers Felix Krull (1957) 1080p DTS Blu-ray.mkv 
2022-10-30 17:54:04.657 Debug Media Info: Starting MediaInfo.exe process
2022-10-30 17:54:05.026 Debug Media Info: ************** Reset Embedded Titles = False
2022-10-30 17:54:05.294 Debug Media Info: Ref Item = /media/video/Filme/UHD-H.265/Bekenntnisse des Hochstaplers Felix Krull (1957)/Bekenntnisse des Hochstaplers Felix Krull (1957) 1080p DTS Blu-ray.mkv
2022-10-30 17:54:05.296 Debug Media Info: GENERAL INFO
2022-10-30 17:54:05.297 Debug Media Info: Video Tracks = 1
2022-10-30 17:54:05.297 Debug Media Info: Audio Tracks = 1
2022-10-30 17:54:05.297 Debug Media Info: Subtitle Tracks = 
2022-10-30 17:54:05.298 Debug Media Info: Overall Bitrate = 5026925
2022-10-30 17:54:05.298 Debug Media Info: *********************
2022-10-30 17:54:05.298 Debug Media Info: VIDEO INFO
2022-10-30 17:54:05.298 Debug Media Info: Track Format = AVC
2022-10-30 17:54:05.299 Debug Media Info: BitRate = 3417889
2022-10-30 17:54:05.299 Debug Media Info: Height =808
2022-10-30 17:54:05.299 Debug Media Info: Width =1920
2022-10-30 17:54:05.300 Debug Media Info: Aspect Ration =2.376
2022-10-30 17:54:05.300 Debug Media Info: HDR Format =
2022-10-30 17:54:05.301 Debug Media Info: HDR Format Profile =
2022-10-30 17:54:05.301 Debug Media Info: HDR Compatibility =
2022-10-30 17:54:05.301 Debug Media Info: *********************
2022-10-30 17:54:05.303 Debug Media Info: Adding Video Tags
2022-10-30 17:54:05.532 Info Media Info: Video Track successfully Written & Exited with Code 134
2022-10-30 17:54:05.532 Info Media Info: Video Track Title Set to HD 1080p AVC [3,4Mb/s]
2022-10-30 17:54:05.538 Debug XmlSerializer: Deserializing file /var/lib/emby/config/xbmcmetadata.xml
2022-10-30 17:54:05.542 Debug Media Info: AUDIO INFO
2022-10-30 17:54:05.542 Debug Media Info: Track Format = DTS
2022-10-30 17:54:05.542 Debug Media Info: No of Channels = 6
2022-10-30 17:54:05.542 Debug Media Info: Track Index = 1
2022-10-30 17:54:05.543 Debug Media Info: Track Additional Features = 
2022-10-30 17:54:05.543 Debug Media Info: *********************
2022-10-30 17:54:05.555 Debug Media Info: Adding Audio Tags
2022-10-30 17:54:05.567 Info Media Info: Item Tags found =  
2022-10-30 17:54:05.568 Info Media Info: PROCESSING OF Bekenntnisse des Hochstaplers Felix Krull HAS COMPLETED
2022-10-30 17:54:05.568 Debug Media Info: MediaInfo processing for Bekenntnisse des Hochstaplers Felix Krull and took 918 milliseconds
2022-10-30 17:54:05.569 Debug XmlSerializer: Serializing to file /var/lib/emby/plugins/configurations/Emby.MediaInfo.xml
2022-10-30 17:54:05.596 Info Media Info: MEDIAINFO EXTRACTION ON MOVIES Completed for 3586 Movies
2022-10-30 17:54:05.597 Debug XmlSerializer: Serializing to file /var/lib/emby/plugins/configurations/Emby.MediaInfo.xml

 

mediainfo (windows & Linux) "hang" after processing the file and show no more information.

mkvtoolnix shows:

image.jpeg.4adc27f857d755274d4e55ac9ad3a6e4.jpeg

 I hoep this is helpfull.

Link to comment
Share on other sites

rbjtech

Exit code 134 ?

There are only 3 exit codes - 0,1 & 2 ... Odd 🤔

Can you upload the file and share a download link via PM ?

Link to comment
Share on other sites

Cheesegeezer

Thanks andy, the file looks very sparse as a start. There should be audio video and other parts in the multiplex info. 
 

 

Link to comment
Share on other sites

@rbjtech

I send you the infos via pm in a min.

Its not a filesystem problem in my case, i downloaded and used different names for the file(s) during testing. In both (known) problem movies changing the video-track language and remuxing it with mkvtoolnix avoid the corruption. 

Link to comment
Share on other sites

rbjtech
1 minute ago, Andy2k said:

@rbjtech

I send you the infos via pm in a min.

Its not a filesystem problem in my case, i downloaded and used different names for the file(s) during testing. In both (known) problem movies changing the video-track language and remuxing it with mkvtoolnix avoid the corruption. 

ok cool - will check very shortly and get back to you on my findings.  Thanks.

Link to comment
Share on other sites

I must correct me, i not changed the video track language, i changed it to an empty value (undefined).

Edited by Andy2k
Link to comment
Share on other sites

In addition, version 1.0.1.14 worked in my setup (ubuntu 22.04, arm64, server 4.8.0.15) for series episodes in 720p, but failed on movies in 1080p. I posted a debug log on page 33 for the movie file. 

 

 

Link to comment
Share on other sites

rbjtech

On the file you sent - I can open with mediainfo and mkvtoolnix just fine.

File plays perfect fine using VLC - with sound.

Showing a 1080p h264 Video File, with DTS Audio and 12 Chapter entries.

image.png.d7c2a1010977e1d5fda4b4579c1102b4.png

Is this the file the plugin gets 'stuck' on ?

If so - I'll need to add to my library and run the plugin on it.

Link to comment
Share on other sites

yes this is one of the files getting corrupted and exits with error code 134.

If you wish i can also upload the corrupted file.

Edited by Andy2k
Link to comment
Share on other sites

rbjtech
2 minutes ago, Andy2k said:

yes this is one of the files getting corrupted and exits with error code 134

ok - will run on my library - brb

Link to comment
Share on other sites

rbjtech

Sorry - got delayed - I don't see any issues at all.

It picked up the file, re titled the video and audio tracks correctly - see highlights.

 

image.png.ec9653cb9522e12fff5db93f19eb6942.png

 

2022-10-30 18:34:39.506 Info Media Info: PROCESSING OF  Confessions of Felix Krull  HAS STARTED
2022-10-30 18:34:39.506 Info Media Info: Item FilePath = \\MEDIA\Films\Bekenntnisse des Hochstaplers Felix Krull (2021)\Bekenntnisse des Hochstaplers Felix Krull (2021).mkv 
2022-10-30 18:34:39.506 Debug Media Info: Starting MediaInfo.exe process
2022-10-30 18:34:39.535 Debug Media Info: Reset Embedded Titles = False
2022-10-30 18:34:39.535 Debug Media Info: ********* REFERENCE ITEM = \\MEDIA\Films\Bekenntnisse des Hochstaplers Felix Krull (2021)\Bekenntnisse des Hochstaplers Felix Krull (2021).mkv
2022-10-30 18:34:39.535 Debug Media Info: GENERAL INFO
2022-10-30 18:34:39.535 Debug Media Info: Video Tracks = 1
2022-10-30 18:34:39.535 Debug Media Info: Audio Tracks = 1
2022-10-30 18:34:39.535 Debug Media Info: Subtitle Tracks = 
2022-10-30 18:34:39.535 Debug Media Info: Overall Bitrate = 5026925
2022-10-30 18:34:39.535 Debug Media Info: *********************
2022-10-30 18:34:39.535 Debug Media Info: VIDEO INFO
2022-10-30 18:34:39.535 Debug Media Info: Track Format = AVC
2022-10-30 18:34:39.535 Debug Media Info: BitRate = 3417889
2022-10-30 18:34:39.535 Debug Media Info: Height =808
2022-10-30 18:34:39.535 Debug Media Info: Width =1920
2022-10-30 18:34:39.535 Debug Media Info: Aspect Ration =2.376
2022-10-30 18:34:39.535 Debug Media Info: HDR Format =
2022-10-30 18:34:39.535 Debug Media Info: HDR Format Profile =
2022-10-30 18:34:39.535 Debug Media Info: HDR Compatibility =
2022-10-30 18:34:39.535 Debug Media Info: *********************
2022-10-30 18:34:39.535 Debug Media Info: Adding Video Tags
2022-10-30 18:34:39.535 Debug Media Info: split output = 
2022-10-30 18:34:39.565 Info Media Info: Video Track successfully Written & Exited with Code 0
2022-10-30 18:34:39.565 Info Media Info: Video Track Title Set to HD 1080p  [3.4Mb/s]
2022-10-30 18:34:39.591 Debug Media Info: AUDIO INFO
2022-10-30 18:34:39.591 Debug Media Info: Track Format = DTS
2022-10-30 18:34:39.591 Debug Media Info: No of Channels = 6
2022-10-30 18:34:39.591 Debug Media Info: Track Index = 1
2022-10-30 18:34:39.591 Debug Media Info: Track Additional Features = 
2022-10-30 18:34:39.591 Debug Media Info: *********************
2022-10-30 18:34:39.591 Debug Media Info: Adding Audio Tags
2022-10-30 18:34:39.619 Info Media Info: Audio Track successfully Written & Exited with Code 0
2022-10-30 18:34:39.619 Info Media Info: Audio Stream #1 Updated to: DTS 5.1 (Default)
2022-10-30 18:34:39.668 Info Media Info: Only 1 Audio Stream - Removing *Default* from Title -  Updated to: DTS 5.1 
2022-10-30 18:34:39.668 Info Media Info: Item Tags found =  
2022-10-30 18:34:39.668 Info Media Info: PROCESSING OF Confessions of Felix Krull HAS COMPLETED
2022-10-30 18:34:39.668 Debug Media Info: MediaInfo processing for Confessions of Felix Krull and took 161 milliseconds

 

Edited by rbjtech
Link to comment
Share on other sites

rbjtech

All I can suggest is double checking both mediainfo (cli) and mkvpropedit (part of mkvtoolnix) is from a reputable source - and test them independently on the command line if you can. 

Link to comment
Share on other sites

Funny...

 

Than this must be an linux issue...i i used this file for sure 3-4 times, and could always reproduce the error code 134 and the corrupted file...not sure how can i test this outside of emby / Mediainfo Plugin on a cli... 

Link to comment
Share on other sites

rbjtech
12 minutes ago, Andy2k said:

Funny...

 

Than this must be an linux issue...i i used this file for sure 3-4 times, and could always reproduce the error code 134 and the corrupted file...not sure how can i test this outside of emby / Mediainfo Plugin on a cli... 

 

mkvpropedit movie.mkv --edit track:a1 --set "title=Audio Track 1"

 

try the above commandline - obviously replace the movie.mkv with your file location.

This is effectively what the plugin is doing - use mediainfo to just gather the info - then use that info in a long mkvpropedit command line to change the mkv track title headers.   

That's all it does (conceptually - a LOT of work is going into ensuring the data gathered is good and formatted correctly.) but nothing else is changed on the file, it's not remuxed, no track is changed other than to change it's 'title' - so I'm really not understanding where corruption has taken place.

https://mkvtoolnix.download/doc/mkvpropedit.html

I tested using Windows - so need to test this with Linux ..

 

Edited by rbjtech
Link to comment
Share on other sites

Cheesegeezer
13 minutes ago, Andy2k said:

Funny...

 

Than this must be an linux issue...i i used this file for sure 3-4 times, and could always reproduce the error code 134 and the corrupted file...not sure how can i test this outside of emby / Mediainfo Plugin on a cli... 

are you using a script to convert files or remux or re encode them prior to them being imported to Emby? 
 

Please be honest… because I’m chasing my tale at the minute after the new emby updates and all my plugins are fucked right now

Link to comment
Share on other sites

@rbjtech

Thx for the description, found it out myself:)

@Cheesegeezer

No, the files are just downloaded;)

And i can say its not a problem caused by the mediainfo plugin, the problem caused by mkvpropedit itself. Its the newest version from the ubuntu repro, but it seems there are some bugs in the version 71 and 71.1 handling mkv's made with older versions of libebml + libmatroska.

Not sure if this happends on windows too, but i use a V70.0 version, and rbjtech is using V61.0, i guess thats why he had no problems with my testfile.

A simple remuxing with my V70.0 (without any changes) and i can use mkvpropedit without corruption.

 

Im going to look if i can downgrade mkvpropedit or just compile the git version myself for further testing. Not sure if its worth to write a warning in the wiki about using the versions 71 + 71.1....

I will give you more feedback after some more testing.

Andy

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