View Issue Details

IDProjectCategoryView StatusLast Update
0002846Avdump2 / autocreq Bug Reportpublic2019-08-04 00:46
ReporterSoulweaver Assigned ToDvdKhl  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0002846: Some perfectly playable files result in a "TrackType missing" exception
DescriptionI came across some releases, all by the same user, that cannot be dumped with avdump2 for some reason; they throw an exception with the text "Failed to create MatroskaProvider TrackType missing", which naturally leads to no dump being sent back to AniDB.

The releases in question are under this account: https://www.nyaa.se/?user=342746

The files can be played just fine in MPC-HC at the very least. Sorry that I can't narrow the problem further for you, not really sure what's so different about these as opposed to other Matroska files.
Tagsavdump

Activities

Belove

2017-04-01 05:30

reporter   ~0004002

I would inspect the metadata provided by the MediaInfo utility (https://mediaarea.net/MediaInfo). Avdump2 uses the mediainfo library (though likely an older version).

Some metadata problems or other irregularities, or corruption, are worked around by media splitters, codecs, and players but still may stump Avdump2. Or, there could of course be a bug somewhere ;)

Soulweaver

2017-04-01 15:02

reporter   ~0004003

That's what I already checked before, but I guess I could add a sample output to this bug report for convenience.
[CoJJ] Boku dake ga Inai Machi 01 [BD_1080_x265_Opus][10bit].mkv.txt (2,664 bytes)   
General
Unique ID                                : 298521862776810789968329030543436788121 (0xE095382E5FC13867267408ED750DB199)
Complete name                            : K:\ADB dump\Boku dake ga Inai Machi (나만이 없는 거리)\[CoJJ] Boku dake ga Inai Machi 01 [BD_1080_x265_Opus][10bit].mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 452 MiB
Duration                                 : 22 min 52 s
Overall bit rate                         : 2 765 kb/s
Writing application                      : Lavf57.66.104
Writing library                          : Lavf57.66.104
Comment                                  : [CoJJ]
ErrorDetectionType                       : Per level 1

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L4@Main
Codec ID                                 : V_MPEGH/ISO/HEVC
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Original frame rate                      : 23.976 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Writing library                          : Lavc57.82.102 libx265
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
DURATION                                 : 00:22:52.045000000

Audio
ID                                       : 2
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 22 min 52 s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 kHz
Bit depth                                : 24 bits
Compression mode                         : Lossy
Writing library                          : Lavc57.82.102 libopus
Default                                  : Yes
Forced                                   : No
DURATION                                 : 00:22:52.047000000

Menu

jkit

2017-10-03 19:58

reporter   ~0004113

I recently submitted files for 3 animes (12080, 13031, 12602) just like I always did. It took me some time to notice that while avdump2 actually finished like always, it didn't work.
At the end it said "Failed: 0" and created the ed2k I used for adding the files, but it didn't send the data in the background. If you expand the ADL releases, you'll see what I mean.
After looking around I found the error xml files it created, and they are all like the one below. Can anybody fix that so I can resubmit the files?

<?xml version="1.0" encoding="utf-8"?>
<FileExceptions>
  <Information>
    <AVDump2CLVersion>0.1.6714.0</AVDump2CLVersion>
    <RunOnBitness>64</RunOnBitness>
    <Framework>2.0.50727.5485</Framework>
    <OS>Microsoft Windows NT 6.1.7601 Service Pack 1</OS>
    <File>D:\Anime\001\AVDump\[AniDL] Battle Girl High School - 02 [720p][HS].mkv</File>
  </Information>
  <Exceptions>
    <AVDump2CL.Exceptions.AVD2Exception thrownOn="20170929 17.12.09.5732">
      <Message>Failed to create MatroskaProvider</Message>
      <System.Exception>
        <Message>TrackType missing</Message>
        <StackTrace>
          <Frame>bei AVDump2Lib.InfoGathering.InfoProvider.MatroskaProvider..ctor(MatroskaFile mfi)</Frame>
          <Frame>bei AVDump2CL.CL.CreateInfoProvider(FileEnvironment e, Dictionary'2 blockConsumers, Boolean& noErrors)</Frame>
        </StackTrace>
      </System.Exception>
    </AVDump2CL.Exceptions.AVD2Exception>
  </Exceptions>
</FileExceptions>

Crosspost from the forum (http://anidb.net/perl-bin/animedb.pl?show=cmt&id=75398)

jkit

2017-10-06 18:28

reporter   ~0004114

Tried to manually update the MediaInfo_x64.dll/MediaInfo_x86.dll libraries with the latest official ones, but it seems avdump2 hardcodes a dependency on old versions:
"Mediainfo library version mismatch. Needed: v0.7.42, Used: MediaInfoLib - v0.7.99"

DerIdiot

2017-10-28 15:03

administrator   ~0004122

obviously. we can't have users change the format willy nilly and mess with the expected data.

Soulweaver

2019-07-31 23:30

reporter   ~0004372

This issue was fixed by Avdump2 v7070+ at the start of the year, at least for the files I had problems with, so this should probably just be marked as resolved now.

Issue History

Date Modified Username Field Change
2017-03-30 16:55 Soulweaver New Issue
2017-03-30 16:55 Soulweaver Tag Attached: avdump
2017-04-01 05:30 Belove Note Added: 0004002
2017-04-01 15:02 Soulweaver File Added: [CoJJ] Boku dake ga Inai Machi 01 [BD_1080_x265_Opus][10bit].mkv.txt
2017-04-01 15:02 Soulweaver Note Added: 0004003
2017-10-03 19:58 jkit Note Added: 0004113
2017-10-06 18:28 jkit Note Added: 0004114
2017-10-28 15:03 DerIdiot Note Added: 0004122
2019-07-31 23:30 Soulweaver Note Added: 0004372
2019-08-04 00:46 DerIdiot Assigned To => DvdKhl
2019-08-04 00:46 DerIdiot Status new => resolved
2019-08-04 00:46 DerIdiot Resolution open => fixed