Closed tardezyx closed 1 year ago
Using FFProbe:
d:\Apps\tartube\mingw64\bin>ffprobe -v quiet -print_format json -show_format -sexagesimal -show_streams -i "g:\data\media\movies (emm)\Captain Kronos - Vampirjäger (1974) [tt0071276]\Captain Kronos - Vampirjäger (1974) (Uncut) [Bluray-576p.8bit.MPEG2.AC3 2.0].[DE+EN]-K4miK4z3.mkv"
Output:
{
"streams": [
{
"index": 0,
"codec_name": "mpeg2video",
"codec_long_name": "MPEG-2 video",
"profile": "Main",
"codec_type": "video",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"width": 720,
"height": 576,
"coded_width": 0,
"coded_height": 0,
"closed_captions": 0,
"has_b_frames": 1,
"sample_aspect_ratio": "64:45",
"display_aspect_ratio": "16:9",
"pix_fmt": "yuv420p",
"level": 8,
"color_range": "tv",
"chroma_location": "left",
"field_order": "tt",
"refs": 1,
"r_frame_rate": "25/1",
"avg_frame_rate": "25/1",
"time_base": "1/1000",
"start_pts": 80,
"start_time": "0:00:00.080000",
"disposition": {
"default": 0,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0,
"timed_thumbnails": 0
},
"tags": {
"language": "eng",
"BPS-eng": "6418564",
"DURATION-eng": "01:27:16.040000000",
"NUMBER_OF_FRAMES-eng": "130901",
"NUMBER_OF_BYTES-eng": "4200982428",
"SOURCE_ID-eng": "0100E0",
"_STATISTICS_WRITING_APP-eng": "MakeMKV v1.17.3 win(x64-release)",
"_STATISTICS_WRITING_DATE_UTC-eng": "2023-05-23 13:21:00",
"_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID"
},
"side_data_list": [
{
"side_data_type": "CPB properties"
}
]
},
{
"index": 1,
"codec_name": "ac3",
"codec_long_name": "ATSC A/52A (AC-3)",
"codec_type": "audio",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"sample_fmt": "fltp",
"sample_rate": "48000",
"channels": 2,
"channel_layout": "stereo",
"bits_per_sample": 0,
"dmix_mode": "-1",
"ltrt_cmixlev": "-1.000000",
"ltrt_surmixlev": "-1.000000",
"loro_cmixlev": "-1.000000",
"loro_surmixlev": "-1.000000",
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/1000",
"start_pts": 600,
"start_time": "0:00:00.600000",
"bit_rate": "192000",
"disposition": {
"default": 1,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0,
"timed_thumbnails": 0
},
"tags": {
"language": "ger",
"title": "Stereo",
"BPS-eng": "192000",
"DURATION-eng": "01:27:15.424000000",
"NUMBER_OF_FRAMES-eng": "163607",
"NUMBER_OF_BYTES-eng": "125650176",
"SOURCE_ID-eng": "0180BD",
"_STATISTICS_WRITING_APP-eng": "MakeMKV v1.17.3 win(x64-release)",
"_STATISTICS_WRITING_DATE_UTC-eng": "2023-05-23 13:21:00",
"_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID"
}
},
{
"index": 2,
"codec_name": "ac3",
"codec_long_name": "ATSC A/52A (AC-3)",
"codec_type": "audio",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"sample_fmt": "fltp",
"sample_rate": "48000",
"channels": 2,
"channel_layout": "stereo",
"bits_per_sample": 0,
"dmix_mode": "-1",
"ltrt_cmixlev": "-1.000000",
"ltrt_surmixlev": "-1.000000",
"loro_cmixlev": "-1.000000",
"loro_surmixlev": "-1.000000",
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/1000",
"start_pts": 0,
"start_time": "0:00:00.000000",
"bit_rate": "192000",
"disposition": {
"default": 0,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0,
"timed_thumbnails": 0
},
"tags": {
"language": "eng",
"title": "Stereo",
"BPS-eng": "192000",
"DURATION-eng": "01:27:16.032000000",
"NUMBER_OF_FRAMES-eng": "163626",
"NUMBER_OF_BYTES-eng": "125664768",
"SOURCE_ID-eng": "0181BD",
"_STATISTICS_WRITING_APP-eng": "MakeMKV v1.17.3 win(x64-release)",
"_STATISTICS_WRITING_DATE_UTC-eng": "2023-05-23 13:21:00",
"_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID"
}
},
{
"index": 3,
"codec_name": "dvd_subtitle",
"codec_long_name": "DVD subtitles",
"codec_type": "subtitle",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"width": 720,
"height": 576,
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/1000",
"start_pts": 0,
"start_time": "0:00:00.000000",
"duration_ts": 5236040,
"duration": "1:27:16.040000",
"disposition": {
"default": 1,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0,
"timed_thumbnails": 0
},
"tags": {
"language": "ger",
"BPS-eng": "2630",
"DURATION-eng": "01:25:58.596977777",
"NUMBER_OF_FRAMES-eng": "546",
"NUMBER_OF_BYTES-eng": "1696120",
"SOURCE_ID-eng": "0120BD",
"_STATISTICS_WRITING_APP-eng": "MakeMKV v1.17.3 win(x64-release)",
"_STATISTICS_WRITING_DATE_UTC-eng": "2023-05-23 13:21:00",
"_STATISTICS_TAGS-eng": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID"
}
}
],
"format": {
"filename": "g:\\data\\media\\movies (emm)\\Captain Kronos - Vampirjäger (1974) [tt0071276]\\Captain Kronos - Vampirjäger (1974) (Uncut) [Bluray-576p.8bit.MPEG2.AC3 2.0].[DE+EN]-K4miK4z3.mkv",
"nb_streams": 4,
"nb_programs": 0,
"format_name": "matroska,webm",
"format_long_name": "Matroska / WebM",
"start_time": "0:00:00.000000",
"duration": "1:27:16.040000",
"size": "4457815242",
"bit_rate": "6810972",
"probe_score": 100,
"tags": {
"encoder": "libmakemkv v1.17.3 (1.3.10/1.5.2) win(x64-release)",
"creation_time": "2023-05-23T13:21:00.000000Z"
}
}
}
:wave: @tardezyx, In order to help you further we'll need to see logs. You'll need to enable trace logging and replicate the problem that you encountered. Guidance on how to enable trace logging can be found in our troubleshooting guide.
The required trace logs will show exactly what is driving radarr's decision and make troubleshooting / debugging much easier.
info logs are not valid for bug reports and not helpful for any debugging
Trace Log Renamed "Captain.Kronos.Vampirjaeger.1974.Uncut.German.DL.Untouched.PAL.DVD9-K4miK4z3" To "Captain Kronos - Vampirjäger (1974) (Uncut) [Unknown.8bit.MPEG2.AC3 2.0].[DE+EN]-K4miK4z3.mkv"
Trace Log #2 Renamed "Captain.Kronos.Vampirjaeger.1974.Uncut.PAL.DVD.German.DL.Untouched-K4miK4z3.mkv" To "Captain Kronos - Vampirjäger (1974) (Uncut) [Bluray-576p.8bit.MPEG2.AC3 2.0].[DE+EN]-K4miK4z3.mkv"
2023-05-24 23:19:48.8|Debug|QualityParser|Trying to parse quality for Captain.Kronos.Vampirjaeger.1974.Uncut.German.DL.Untouched.PAL.DVD9-K4miK4z3.mkv
2023-05-24 23:19:48.8|Debug|Parser|Quality parsed: DVD-R v1
2023-05-24 23:19:48.8|Trace|AggregateQuality|Considering Source DVD (Tag) Resolution 480 (Fallback) Revision v1 from FileName
2023-05-24 23:19:48.8|Trace|AugmentQualityFromMediaInfo|Resolution 720x576 considered 576p
2023-05-24 23:19:48.8|Trace|AggregateQuality|Considering Source UNKNOWN (Default) Resolution 576 (MediaInfo) Revision from MediaInfo
2023-05-24 23:19:48.8|Trace|AggregateQuality|Selected Source DVD (Tag) Resolution 576 (MediaInfo) Revision v1
2023-05-24 23:19:48.8|Warn|QualityFinder|Unable to find exact quality for DVD, 576, and REMUX. Using Unknown as fallback
2023-05-24 23:19:48.8|Debug|AggregateQuality|Using quality: Unknown v1
actually should already be fixed https://github.com/Radarr/Radarr/commit/b8ce140abcef73037b638f3cff200b707aab5e07
Duplicate of https://github.com/Radarr/Radarr/issues/7297
Is there an existing issue for this?
Current Behavior
I let Radarr rename movie files according to this tags:
{Movie Title:DE} ({Release Year}){ (Edition Tags)} [{Quality Full}{.MediaInfo 3D}{.MediaInfo VideoDynamicRange}{.Mediainfo VideoBitDepth}bit{.Mediainfo VideoCodec}{.Mediainfo AudioCodec}{ Mediainfo AudioChannels}]{.MediaInfo AudioLanguages}{-Release Group}
Captain.Kronos.Vampirjaeger.1974.Uncut.German.DL.Untouched.PAL.DVD9-K4miK4z3
The result is as follows:
Captain Kronos - Vampirjäger (1974) (Uncut) [Unknown.8bit.MPEG2.AC3 2.0].[DE+EN]-K4miK4z3.mkv
=> Source "Unknown" is wrong
The result is as follows:
Captain Kronos - Vampirjäger (1974) (Uncut) [Bluray-576p.8bit.MPEG2.AC3 2.0].[DE+EN]-K4miK4z3.mkv
=> Source "Bluray-576p" is wrong
Expected Behavior
Expected is one of these results:
Captain Kronos - Vampirjäger (1974) (Uncut) [DVD.8bit.MPEG2.AC3 2.0].[DE+EN]-K4miK4z3.mkv
Captain Kronos - Vampirjäger (1974) (Uncut) [DVD9.8bit.MPEG2.AC3 2.0].[DE+EN]-K4miK4z3.mkv
Captain Kronos - Vampirjäger (1974) (Uncut) [DVD-R.8bit.MPEG2.AC3 2.0].[DE+EN]-K4miK4z3.mkv
Captain Kronos - Vampirjäger (1974) (Uncut) [PAL-DVD.8bit.MPEG2.AC3 2.0].[DE+EN]-K4miK4z3.mkv
etc.Steps To Reproduce
Test any video source file with 720x576 (= European PAL DVD) and set the file name to
Captain.Kronos.Vampirjaeger.1974.Uncut.German.DL.Untouched.PAL.DVD9-K4miK4z3
Then let Radarr rename the file accordingly while using {Quality Full} in the file renaming settings.
By the way, the Kjeller BOT on your discord server determines the correct data (it determines DVD-R as source) but Radarr seems to use the resolution which then determines the source which is wrong.
The more important questions are: Why does the resolution determine the source, in the first place? Especially when the source is already inside the file name (here: "PAL.DVD9")?
Environment
What branch are you running?
Master
Trace Logs?
Trace Logs have been provided as applicable. Reports may be closed if the required logs are not provided.