Multi Part Detection

All your suggestions, requests and ideas for future development
Post Reply
thielj
Posts: 55
Joined: 05 Nov 2017, 22:15

Multi Part Detection

Post by thielj »

Hi

I've been coming across a few cases were multipart detection fails. Although these are processed in one group, no part info is provided to the rename script:

Code: Select all

Input: /volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD1.avi
Input: /volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD1.eng.srt
Input: /volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD1.idx
Input: /volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD1.sub
Input: /volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD2.avi
Input: /volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD2.eng.srt
Input: /volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD2.idx
Input: /volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD2.sub
[...]
Group: [mov:redacted 2008] => [Redacted (2008).CD1.avi, Redacted (2008).CD1.eng.srt, Redacted (2008).CD1.idx, Redacted (2008).CD1.sub, Redacted (2008).CD2.avi, Redacted (2008).CD2.eng.srt, Redacted (2008).CD2.idx, Redacted (2008
).CD2.sub]
[...]
Get [German] subtitles for 2 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD1.avi
No matching subtitles found: /volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD2.avi
Get [French] subtitles for 2 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD1.avi
No matching subtitles found: /volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD2.avi
Rename movies using [TheMovieDB]
[TEST] From [/volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD1.avi] to [/volume1/_OUTPUT_/Movies/(R...)/Redacted (2008) [640x272 AC3 5.1 EN]/Redacted (2008).avi]
[TEST] From [/volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD1.eng.srt] to [/volume1/_OUTPUT_/Movies/(R...)/Redacted (2008) [640x272 AC3 5.1 EN]/Redacted (2008).eng.srt]
[TEST] From [/volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD1.idx] to [/volume1/_OUTPUT_/Movies/(R...)/Redacted (2008) [640x272 AC3 5.1 EN]/Redacted (2008).idx]
[TEST] From [/volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD1.sub] to [/volume1/_OUTPUT_/Movies/(R...)/Redacted (2008) [640x272 AC3 5.1 EN]/Redacted (2008).sub]
[TEST] From [/volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD2.avi] to [/volume1/_OUTPUT_/Movies/(R...)/Redacted (2008) [640x272 AC3 5.1 EN]/Redacted (2008).avi]
[TEST] From [/volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD2.eng.srt] to [/volume1/_OUTPUT_/Movies/(R...)/Redacted (2008) [640x272 AC3 5.1 EN]/Redacted (2008).eng.srt]
[TEST] From [/volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD2.idx] to [/volume1/_OUTPUT_/Movies/(R...)/Redacted (2008) [640x272 AC3 5.1 EN]/Redacted (2008).idx]
[TEST] From [/volume1/_INPUT_/Redacted (2008) [640x272 EN es]/Redacted (2008).CD2.sub] to [/volume1/_OUTPUT_/Movies/(R...)/Redacted (2008) [640x272 AC3 5.1 EN]/Redacted (2008).sub]
Processed 8 files
Results are the same with a simple {plex} format.

I believe, this may be due to slight differences in the audio data, in particular channel positions:

Code: Select all

# filebot -mediainfo -r /volume1/_INPUT_/Redacted\ \(2008\)\ \[640x272\ EN\ es\]/
Redacted (2008).CD1 [640x272 XviD 6.0 AC3 0:48]
Redacted (2008).CD1.eng [640x272 XviD 6.0 AC3 0:48]
Redacted (2008).CD1 [640x272 XviD 6.0 AC3 0:48]
Redacted (2008).CD1 [640x272 XviD 6.0 AC3 0:48]
Redacted (2008).CD1 [640x272 XviD 6.0 AC3 0:48]
Redacted (2008).CD1-fanart [640x272 XviD 6.0 AC3 0:48]
Redacted (2008).CD2 [640x272 XviD 5.1 AC3 0:56]                         <= !!!!!!
Redacted (2008).CD2.eng [640x272 XviD 6.0 AC3 0:48]
Redacted (2008).CD2 [640x272 XviD 6.0 AC3 0:48]
Redacted (2008).CD2 [640x272 XviD 6.0 AC3 0:48]
Redacted (2008)-fanart [640x272 XviD 6.0 AC3 0:48]
Folder [640x272 XviD 6.0 AC3 0:48]
The relevant mediainfo details of CD1.avi and CD2.avi:

Code: Select all

Format                                   : AC-3
Bit rate                                 : 384 Kbps
Channel(s)                               : 6 channels

Code: Select all

Format                                   : AC-3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Bit rate                                 : 384 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE          <= !!!!!!!
Bit depth                                : 16 bits
Delay relative to video                  : 24ms
The files were produced by VirtualDubMod 1.5.10.2 (build 2540/release), so should be quite common for the era. I've merged them with avidemux without issues - except for not having figured out how to do this with VobSub titles.

Maybe, it would be possible to relax the multipart detection if channel positions are missing, as long as the bitrate and total number of channels are the same?


PS: As I woud like to ultimately get rid of the multipart movies, an automatic multi-part merge in FileBot would be amazing ;)

Code: Select all

FileBot 4.7.9 (r4984)
JNA Native: 5.1.0
MediaInfo: 0.7.93
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-10-30 (r508)
Groovy: 2.4.10
JRE: OpenJDK Runtime Environment 1.8.0_121
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 2 Core / 1 GB Max Memory / 21 MB Used Memory
OS: Linux (amd64)
Package: DOCKER
uname: Linux 5e3b63b071ba 4.9.30-unRAID #1 SMP PREEMPT Fri May 26 13:56:36 PDT 2017 x86_64 GNU/Linux
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Multi Part Detection

Post by rednoah »

1.
CD1 and CD2 files must have matching video/audio codec and video resolution. Channels is not used. Please check Audio[0].Codec and see if the values are different:
viewtopic.php?f=5&t=4285


2.
Tagging and Merging files will never be supported, because it'd require code to deal with all the different media formats, or a couple of 3rd party command-line tools.

If you just want to merge one specific type of container format (e.g. mkv) and know how to (e.g. with mkvmerge) then writing a FileBot script to select the right parts and call mkvmerge is probably just a few lines.
:idea: Please read the FAQ and How to Request Help.
thielj
Posts: 55
Joined: 05 Nov 2017, 22:15

Re: Multi Part Detection

Post by thielj »

Re 1.: audio[0].Codec is "2000" for CD1 and "AC3" for CD2.

The AC3 codec is using the 0x2000 (8192 dec) tag, but 2000 dec is also common in the wild. These should be treated as equivalent. Mediainfo CLI (lib v0.7.93) is recognizing both as AC3.

I've repeated this issue with the latest FileBot.jar and updated dependencies.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Multi Part Detection

Post by rednoah »

How come you get different codec values? Wouldn't both parts usually be encoded by the exact same version of the same software? Why would it be different?

This seems like a issue very specific to this exact pair of files you have here, so that's not really a good reason to change how FileBot works.


EDIT:

Please copy & paste the table from FileBot / MediaInfo / Audio Tab so I can have a look and compare the values you get for your CD1/2 files.
:idea: Please read the FAQ and How to Request Help.
thielj
Posts: 55
Joined: 05 Nov 2017, 22:15

Re: Multi Part Detection

Post by thielj »

This is some old stuff from the days video codecs were hacked and video editing software developed by college guys... I assume VirtualDubMod had to re-create the AC3 headers after splitting the data and may have made a boo-boo...

FileBot is currently running headless, full media cli details below. The significant difference is here:

Code: Select all

                                           CD1.avi                     CD2.avi
                                           
Codec ID                                 : 2000
Codec                                    : 2000                        AC3
Codec                                    : AC3
Codec/Family                             : AC3
Codec/Info                               : Dolby AC3
Codec/CC                                 : 2000
CD1:

Code: Select all

General
Count                                    : 325
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Count of video streams                   : 1
Count of audio streams                   : 1
Video_Format_List                        : MPEG-4 Visual
Video_Format_WithHint_List               : MPEG-4 Visual (XviD)
Codecs Video                             : XviD
Audio_Format_List                        : AC-3
Audio_Format_WithHint_List               : AC-3
Audio codecs                             : AC3
Complete name                            : Redacted (2008).CD1.avi
File name                                : Redacted (2008).CD1
File extension                           : avi
Format                                   : AVI
Format                                   : AVI
Format/Info                              : Audio Video Interleave
Format/Extensions usually used           : avi
Commercial name                          : AVI
Internet media type                      : video/vnd.avi
Interleaved                              : Yes
Codec                                    : AVI
Codec                                    : AVI
Codec/Info                               : Audio Video Interleave
Codec/Extensions usually used            : avi
File size                                : 734597120
File size                                : 701 MiB
File size                                : 701 MiB
File size                                : 701 MiB
File size                                : 701 MiB
File size                                : 700.6 MiB
Duration                                 : 2901040
Duration                                 : 48 min 21 s
Duration                                 : 48 min 21 s 40 ms
Duration                                 : 48 min 21 s
Duration                                 : 00:48:21.040
Duration                                 : 00:48:21:01
Duration                                 : 00:48:21.040 (00:48:21:01)
Overall bit rate                         : 2025748
Overall bit rate                         : 2 026 kb/s
Frame rate                               : 25.000
Frame rate                               : 25.000 FPS
Frame count                              : 72526
Stream size                              : 3527906
Stream size                              : 3.36 MiB (0%)
Stream size                              : 3 MiB
Stream size                              : 3.4 MiB
Stream size                              : 3.36 MiB
Stream size                              : 3.364 MiB
Stream size                              : 3.36 MiB (0%)
Proportion of this stream                : 0.00480
File last modification date              : UTC 2008-05-22 21:13:32
File last modification date (local)      : 2008-05-22 22:13:32
Writing application                      : VirtualDubMod 1.5.10.2 (build 2540/release)
Writing application                      : VirtualDubMod 1.5.10.2 (build 2540/release)
Writing library                          : VirtualDubMod build 2540/release
Writing library                          : VirtualDubMod build 2540/release

Video
Count                                    : 338
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 0
ID                                       : 0
Format                                   : MPEG-4 Visual
Commercial name                          : MPEG-4 Visual
Format profile                           : Advanced Simple@L5
Format settings                          : BVOP2
Format settings, BVOP                    : 2
Format settings, BVOP                    : 2
Format settings, QPel                    : No
Format settings, QPel                    : No
Format settings, GMC                     : 0
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Format settings, Matrix                  : Default (H.263)
Internet media type                      : video/MP4V-ES
Codec ID                                 : XVID
Codec ID/Hint                            : XviD
Codec ID/Url                             : http://mediaarea.net/XVID
Codec                                    : XVID
Codec                                    : XviD
Codec/Family                             : MPEG-4V
Codec/Info                               : XviD project
Codec/Url                                : http://www.xvid.org/Downloads.15.0.html
Codec/CC                                 : XVID
Codec profile                            : Advanced Simple@L5
Codec settings                           : BVOP
Codec settings, Packet bitstream         : No
Codec settings, BVOP                     : Yes
Codec settings, QPel                     : No
Codec settings, GMC                      : 0
Codec settings, GMC                      : No warppoints
Codec settings, Matrix                   : Default (H.263)
Duration                                 : 2901040
Duration                                 : 48 min 21 s
Duration                                 : 48 min 21 s 40 ms
Duration                                 : 48 min 21 s
Duration                                 : 00:48:21.040
Duration                                 : 00:48:21:01
Duration                                 : 00:48:21.040 (00:48:21:01)
Bit rate                                 : 1632020
Bit rate                                 : 1 632 kb/s
Width                                    : 640
Width                                    : 640 pixels
Height                                   : 272
Height                                   : 272 pixels
Sampled_Width                            : 640
Sampled_Height                           : 272
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 2.353
Display aspect ratio                     : 2.35:1
Frame rate                               : 25.000
Frame rate                               : 25.000 FPS
Frame count                              : 72526
Resolution                               : 8
Resolution                               : 8 bits
Colorimetry                              : 4:2:0
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Interlacement                            : PPF
Interlacement                            : Progressive
Compression mode                         : Lossy
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.375
Stream size                              : 591819294
Stream size                              : 564 MiB (81%)
Stream size                              : 564 MiB
Stream size                              : 564 MiB
Stream size                              : 564 MiB
Stream size                              : 564.4 MiB
Stream size                              : 564 MiB (81%)
Proportion of this stream                : 0.80564
Writing library                          : XviD0046
Writing library                          : XviD 1.1.2 (UTC 2006-11-01)
Encoded_Library_Name                     : XviD
Encoded_Library_Version                  : 1.1.2
Encoded_Library_Date                     : UTC 2006-11-01

Audio
Count                                    : 275
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
StreamOrder                              : 1
ID                                       : 1
ID                                       : 1
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : AC-3
Codec ID                                 : 2000
Codec                                    : 2000
Codec                                    : AC3
Codec/Family                             : AC3
Codec/Info                               : Dolby AC3
Codec/CC                                 : 2000
Duration                                 : 2901040
Duration                                 : 48 min 21 s
Duration                                 : 48 min 21 s 40 ms
Duration                                 : 48 min 21 s
Duration                                 : 00:48:21.040
Duration                                 : 00:48:21.040
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 384000
Bit rate                                 : 384 kb/s
Channel(s)                               : 6
Channel(s)                               : 6 channels
Sampling rate                            : 48000
Sampling rate                            : 48.0 kHz
Samples count                            : 139249920
Compression mode                         : Lossy
Compression mode                         : Lossy
Stream size                              : 139249920
Stream size                              : 133 MiB (19%)
Stream size                              : 133 MiB
Stream size                              : 133 MiB
Stream size                              : 133 MiB
Stream size                              : 132.8 MiB
Stream size                              : 133 MiB (19%)
Proportion of this stream                : 0.18956
Alignment                                : Split
Alignment                                : Split accross interleaves
Interleave, duration                     : 1.00
Interleave, duration                     : 40
Interleave, duration                     : 40  ms (1.00 video frame)
Interleave, preload duration             : 500
Interleave, preload duration             : 500  ms
CD2:

Code: Select all

General
Count                                    : 325
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Count of video streams                   : 1
Count of audio streams                   : 1
Video_Format_List                        : MPEG-4 Visual
Video_Format_WithHint_List               : MPEG-4 Visual (XviD)
Codecs Video                             : XviD
Audio_Format_List                        : AC-3
Audio_Format_WithHint_List               : AC-3
Audio codecs                             : AC3
Complete name                            : Redacted (2008).CD2.avi
File name                                : Redacted (2008).CD2
File extension                           : avi
Format                                   : AVI
Format                                   : AVI
Format/Info                              : Audio Video Interleave
Format/Extensions usually used           : avi
Commercial name                          : AVI
Internet media type                      : video/vnd.avi
Interleaved                              : Yes
Codec                                    : AVI
Codec                                    : AVI
Codec/Info                               : Audio Video Interleave
Codec/Extensions usually used            : avi
File size                                : 727271424
File size                                : 694 MiB
File size                                : 694 MiB
File size                                : 694 MiB
File size                                : 694 MiB
File size                                : 693.6 MiB
Duration                                 : 3379080
Duration                                 : 56 min 19 s
Duration                                 : 56 min 19 s 80 ms
Duration                                 : 56 min 19 s
Duration                                 : 00:56:19.080
Duration                                 : 00:56:19:02
Duration                                 : 00:56:19.080 (00:56:19:02)
Overall bit rate                         : 1721821
Overall bit rate                         : 1 722 kb/s
Frame rate                               : 25.000
Frame rate                               : 25.000 FPS
Frame count                              : 84477
Stream size                              : 4108821
Stream size                              : 3.92 MiB (1%)
Stream size                              : 4 MiB
Stream size                              : 3.9 MiB
Stream size                              : 3.92 MiB
Stream size                              : 3.918 MiB
Stream size                              : 3.92 MiB (1%)
Proportion of this stream                : 0.00565
File last modification date              : UTC 2008-05-22 21:17:36
File last modification date (local)      : 2008-05-22 22:17:36
Writing application                      : VirtualDubMod 1.5.10.2 (build 2540/release)
Writing application                      : VirtualDubMod 1.5.10.2 (build 2540/release)
Writing library                          : VirtualDubMod build 2540/release
Writing library                          : VirtualDubMod build 2540/release

Video
Count                                    : 338
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 0
ID                                       : 0
Format                                   : MPEG-4 Visual
Commercial name                          : MPEG-4 Visual
Format profile                           : Advanced Simple@L5
Format settings                          : BVOP2
Format settings, BVOP                    : 2
Format settings, BVOP                    : 2
Format settings, QPel                    : No
Format settings, QPel                    : No
Format settings, GMC                     : 0
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Format settings, Matrix                  : Default (H.263)
Internet media type                      : video/MP4V-ES
Codec ID                                 : XVID
Codec ID/Hint                            : XviD
Codec ID/Url                             : http://mediaarea.net/XVID
Codec                                    : XVID
Codec                                    : XviD
Codec/Family                             : MPEG-4V
Codec/Info                               : XviD project
Codec/Url                                : http://www.xvid.org/Downloads.15.0.html
Codec/CC                                 : XVID
Codec profile                            : Advanced Simple@L5
Codec settings                           : BVOP
Codec settings, Packet bitstream         : No
Codec settings, BVOP                     : Yes
Codec settings, QPel                     : No
Codec settings, GMC                      : 0
Codec settings, GMC                      : No warppoints
Codec settings, Matrix                   : Default (H.263)
Duration                                 : 3379080
Duration                                 : 56 min 19 s
Duration                                 : 56 min 19 s 80 ms
Duration                                 : 56 min 19 s
Duration                                 : 00:56:19.080
Duration                                 : 00:56:19:02
Duration                                 : 00:56:19.080 (00:56:19:02)
Bit rate                                 : 1328113
Bit rate                                 : 1 328 kb/s
Width                                    : 640
Width                                    : 640 pixels
Height                                   : 272
Height                                   : 272 pixels
Sampled_Width                            : 640
Sampled_Height                           : 272
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 2.353
Display aspect ratio                     : 2.35:1
Frame rate                               : 25.000
Frame rate                               : 25.000 FPS
Frame count                              : 84477
Resolution                               : 8
Resolution                               : 8 bits
Colorimetry                              : 4:2:0
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Interlacement                            : PPF
Interlacement                            : Progressive
Compression mode                         : Lossy
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.305
Delay                                    : 0
Delay                                    : 00:00:00.000
Stream size                              : 560975212
Stream size                              : 535 MiB (77%)
Stream size                              : 535 MiB
Stream size                              : 535 MiB
Stream size                              : 535 MiB
Stream size                              : 535.0 MiB
Stream size                              : 535 MiB (77%)
Proportion of this stream                : 0.77134
Writing library                          : XviD0046
Writing library                          : XviD 1.1.2 (UTC 2006-11-01)
Encoded_Library_Name                     : XviD
Encoded_Library_Version                  : 1.1.2
Encoded_Library_Date                     : UTC 2006-11-01

Audio
Count                                    : 305
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
StreamOrder                              : 1
ID                                       : 1
ID                                       : 1
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : AC-3
Format settings, Endianness              : Big
Codec ID                                 : 2000
Codec                                    : AC3
Codec                                    : AC3
Codec/Family                             : AC3
Codec/Info                               : Dolby AC3
Codec/CC                                 : 2000
Duration                                 : 3378904
Duration                                 : 56 min 18 s
Duration                                 : 56 min 18 s 904 ms
Duration                                 : 56 min 18 s
Duration                                 : 00:56:18.904
Duration                                 : 00:56:18.904
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 384000
Bit rate                                 : 384 kb/s
Channel(s)                               : 6
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Channel positions                        : 3/2/0.1
ChannelLayout                            : L C R LFE Ls Rs
Samples per frame                        : 1536
Sampling rate                            : 48000
Sampling rate                            : 48.0 kHz
Samples count                            : 162187392
Frame rate                               : 31.250
Frame rate                               : 31.250 FPS (1536 spf)
Resolution                               : 16
Resolution                               : 16 bits
Bit depth                                : 16
Bit depth                                : 16 bits
Compression mode                         : Lossy
Compression mode                         : Lossy
Delay                                    : 24
Delay                                    : 24 ms
Delay                                    : 24 ms
Delay                                    : 24 ms
Delay                                    : 00:00:00.024
Delay, origin                            : Stream
Delay, origin                            : Raw stream
Delay relative to video                  : 24
Delay relative to video                  : 24 ms
Delay relative to video                  : 24 ms
Delay relative to video                  : 24 ms
Delay relative to video                  : 00:00:00.024
Video0 delay                             : 24
Video0 delay                             : 24 ms
Video0 delay                             : 24 ms
Video0 delay                             : 24 ms
Video0 delay                             : 00:00:00.024
Stream size                              : 162187391
Stream size                              : 155 MiB (22%)
Stream size                              : 155 MiB
Stream size                              : 155 MiB
Stream size                              : 155 MiB
Stream size                              : 154.7 MiB
Stream size                              : 155 MiB (22%)
Proportion of this stream                : 0.22301
Alignment                                : Split
Alignment                                : Split accross interleaves
Interleave, duration                     : 1.00
Interleave, duration                     : 40
Interleave, duration                     : 40  ms (1.00 video frame)
Interleave, preload duration             : 500
Interleave, preload duration             : 500  ms
Service kind                             : CM
Service kind                             : Complete Main
bsid                                     : 8
dialnorm                                 : -27
dialnorm                                 : -27 dB
compr                                    : -1.48
compr                                    : -1.48 dB
dynrng                                   : -1.64
dynrng                                   : -1.64 dB
acmod                                    : 7
lfeon                                    : 1
dialnorm_Average                         : -27
dialnorm_Average                         : -27 dB
dialnorm_Minimum                         : -27
dialnorm_Minimum                         : -27 dB
dialnorm_Maximum                         : -27
dialnorm_Maximum                         : -27 dB
dialnorm_Count                           : 388
compr_Average                            : -0.73
compr_Average                            : -0.73 dB
compr_Minimum                            : -1.48
compr_Minimum                            : -1.48 dB
compr_Maximum                            : 0.53
compr_Maximum                            : 0.53 dB
compr_Count                              : 388
dynrng_Average                           : -0.71
dynrng_Average                           : -0.71 dB
dynrng_Minimum                           : -1.64
dynrng_Minimum                           : -1.64 dB
dynrng_Maximum                           : 0.27
dynrng_Maximum                           : 0.27 dB
dynrng_Count                             : 388
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Multi Part Detection

Post by rednoah »

I see. Definitely strange values in the second file. Sorry but this is a "won't fix" unless this is actually an issue for more than 1-2 users.
:idea: Please read the FAQ and How to Request Help.
thielj
Posts: 55
Joined: 05 Nov 2017, 22:15

Re: Multi Part Detection

Post by thielj »

The fix would be simple: use CodecID instead of Codec! The latter is deprecated anyway.

See output from mediainfo --Info-Parameters:

Code: Select all

...
Audio
...
CodecID                   : Codec ID (found in some containers)
CodecID/String            : Codec ID (found in some containers)
CodecID/Info              : Info about this codec
CodecID/Hint              : A hint/popular name for this codec
CodecID/Url               : A link to more details about this codec ID
...
Codec                     : Deprecated, do not use in new projects
Codec/String              : Deprecated, do not use in new projects
Codec/Info                : Deprecated, do not use in new projects
Codec/Url                 : Deprecated, do not use in new projects
...
thielj
Posts: 55
Joined: 05 Nov 2017, 22:15

Re: Multi Part Detection

Post by thielj »

I had a quick scan through multi-part movies in my lib and there's a few of these, both with 2000/AC3 and 55/MP3
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Multi Part Detection

Post by rednoah »

So CodecID works in those cases where Codec does not? I'll use CodecID then. That won't change how it works, and ideally it'll work better in these corner cases.
:idea: Please read the FAQ and How to Request Help.
thielj
Posts: 55
Joined: 05 Nov 2017, 22:15

Re: Multi Part Detection

Post by thielj »

CodecID was good all the time :)

I found what may be another corner case: multi-part movies with multiple embedded audio tracks. Will test these soon and get back to you.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Multi Part Detection

Post by rednoah »

As long as the first audio track has the same CodecID, that's good enough. ;)
:idea: Please read the FAQ and How to Request Help.
Post Reply