Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unlinking gives me a 4kb file. #33

Open
ToukoKino opened this issue Dec 8, 2020 · 7 comments
Open

Unlinking gives me a 4kb file. #33

ToukoKino opened this issue Dec 8, 2020 · 7 comments

Comments

@ToukoKino
Copy link

I've been trying to unlink G_P's release of VOTOMS, pushing an unlink through on a test file gives me this.

checking if file is segmented
         sys > mkvextract chapters "E:/Animu/Armored Trooper VOTOMS (Series)/test/(G_P) Votoms Opening (softsubbed karaoke)(x264)(ACC7F27E).mkv"
         "E:/Animu/Armored Trooper VOTOMS (Series)/test/(G_P) Votoms Opening (softsubbed karaoke)(x264)(ACC7F27E).mkv" does not contain segmented chapters
      removed tmp C:\Users\Anarchy\AppData\Local\Temp\14056
      created tmp C:\Users\Anarchy\AppData\Local\Temp\14056
   removed tmp C:\Users\Anarchy\AppData\Local\Temp\14056 [exiting]
UnlinkMKV
   removed tmp C:\Users\Anarchy\AppData\Local\Temp\22104
   created tmp C:\Users\Anarchy\AppData\Local\Temp\22104
   processing E:/Animu/Armored Trooper VOTOMS (Series)/test/Soukou Kihei Votoms-S01E01 - War`s End.mkv
      checking if file is segmented
         sys > mkvextract chapters "E:/Animu/Armored Trooper VOTOMS (Series)/test/Soukou Kihei Votoms-S01E01 - War`s End.mkv"
         "E:/Animu/Armored Trooper VOTOMS (Series)/test/Soukou Kihei Votoms-S01E01 - War`s End.mkv" contains segmented chapters
      generating chapter file
         loading chapters
            Checking for editions...
            Edition(s) found....
            non-default chapter dropped
            Edition(s) found....
            non-default chapter dropped
            Done checking for editions...
         writing chapter temporary file
         looking for segment parts
            sys > mkvinfo "E:/Animu/Armored Trooper VOTOMS (Series)/test/(G_P) Votoms Ending (hardsubbed karaoke)(x264)(BD68EA19).mkv"
            sys > mkvinfo "E:/Animu/Armored Trooper VOTOMS (Series)/test/(G_P) Votoms Ending (softsubbed karaoke)(x264)(0DCDA892).mkv"
            sys > mkvinfo "E:/Animu/Armored Trooper VOTOMS (Series)/test/(G_P) Votoms Opening (hardsubbed karaoke)(x264)(61CFFBC4).mkv"
            sys > mkvinfo "E:/Animu/Armored Trooper VOTOMS (Series)/test/(G_P) Votoms Opening (softsubbed karaoke)(x264)(ACC7F27E).mkv"
         checking that all required segments were found
         extracting attachments
         creating splits
         setting parts
         extracting subs
         making substyles unique
         mashing unique substyles to all parts
         remuxing subtitles
         building file
            sys > mkvmerge --no-chapters -M --chapters "C:\Users\Anarchy\AppData\Local\Temp\22104/Soukou Kihei Votoms-S01E01 - War`s End-chapters.xml" -o "C:\Users\Anarchy\AppData\Local\Temp\22104/encodes/Soukou Kihei Votoms-S01E01 - War`s End.mkv"
         fixing subs, again... (maybe an mkvmerge issue?)
            sys > mkvinfo "C:\Users\Anarchy\AppData\Local\Temp\22104/encodes/Soukou Kihei Votoms-S01E01 - War`s End.mkv"
            sys > mkvmerge -o "C:\Users\Anarchy\AppData\Local\Temp\22104/encodes/fixed.Soukou Kihei Votoms-S01E01 - War`s End.mkv" -S "C:\Users\Anarchy\AppData\Local\Temp\22104/encodes/Soukou Kihei Votoms-S01E01 - War`s End.mkv"
         moving built file to final destination
         removed tmp C:\Users\Anarchy\AppData\Local\Temp\22104
         created tmp C:\Users\Anarchy\AppData\Local\Temp\22104
      removed tmp C:\Users\Anarchy\AppData\Local\Temp\22104 [exiting]

When I actually go to the file itself, I'm greeted with an unplayable 4.19kb file that displays this error message when put into MPC.

File Source (Async.)::Output

Media Type 0:
--------------------------
Unknown

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: Unknown GUID Name {1AC0BEBD-4D2B-45AD-BCEB-F2C41C5E3788}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0


Media Type 1:
--------------------------
Unknown

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0

Nothing I try has actually yielded results and I wonder if its something specific about the VOTOMS files because Great Mazinger (Another show with poorly done ordered chapters because they had to nuke the next episode previews in order to do it, which at that point begs the question of why did they do it at all) actually does render properly (Albeit without subtitles and with the entire file turning into a single "Opening" chapter.)

I tried seeing if it was the version of MKVToolnix that was provided, I turned it from whatever version that was included to v15 which somebody else mentioned to fix the subtitles getting deleted (that didn't work) I tried messing with the checkboxes, which turning on "ignore default flag" just makes it so nothing is unlinked at all. I'm seriously at a loss since I just want to watch the show on Plex since that doesn't support ordered chapters.

@hilts-vaughan
Copy link
Owner

hilts-vaughan commented Dec 8, 2020 via email

@ToukoKino
Copy link
Author

I don't seem to have the version with native mode at all, putting mediainfo into the MKVtoolnix folder doesn't bring up the box so I presume its an older version that has it. I'm using the most recent "release".

@hilts-vaughan
Copy link
Owner

hilts-vaughan commented Dec 8, 2020 via email

@ToukoKino
Copy link
Author

Just got it, Native Backend gives the same result, Perl backend seems to up and crash which prevents me from getting a log.

Great Mazinger didn't even create files when using native backend. Testing that with Perl Backend and it once again seems to have locked up.

@hilts-vaughan
Copy link
Owner

hilts-vaughan commented Dec 8, 2020 via email

@ToukoKino
Copy link
Author

ToukoKino commented Dec 8, 2020

Tried a clean install, that one does absolutely nothing and will spawn "The Unlinking is complete!"

Added the UnlinkMKV CLI tool into the folder and it gives me the 4kb file again for VOTOMS but nothing for Great Mazinger.

C:\Strawberry\perl\bin\perl.exe "E:\dist\winport.pl"  --outdir "E:\dist\output" "E:\Animu\Armored Trooper VOTOMS (Series)\test\(G_P) Votoms Ending (softsubbed karaoke)(x264)(0DCDA892).mkv"

UnlinkMKV

      Options

         : 

         chapters: 1

         ffmpeg: E:\dist

         fixaudio: 1

         fixsubtitles: 0

         fixvideo: 1

         ignoredefaultflag: 0

         mkvext: C:\Program Files\MKVToolNix\mkvextract.exe

         mkvinfo: C:\Program Files\MKVToolNix\mkvinfo.exe

         mkvmerge: C:\Program Files\MKVToolNix\mkvmerge.exe

         out_dir: E:\dist\output

         outdir: E:\dist\output

         tmpdir: C:\Users\Anarchy\AppData\Local\Temp\UnlinkMKV

   processing E:\Animu\Armored Trooper VOTOMS (Series)\test\(G_P) Votoms Ending (softsubbed karaoke)(x264)(0DCDA892).mkv

      checking if file is segmented

         E:\Animu\Armored Trooper VOTOMS (Series)\test\(G_P) Votoms Ending (softsubbed karaoke)(x264)(0DCDA892).mkv does not contain segmented chapters

C:\Strawberry\perl\bin\perl.exe "E:\dist\winport.pl"  --outdir "E:\dist\output" "E:\Animu\Armored Trooper VOTOMS (Series)\test\(G_P) Votoms Opening (softsubbed karaoke)(x264)(ACC7F27E).mkv"

UnlinkMKV

      Options

         : 

         chapters: 1

         ffmpeg: E:\dist

         fixaudio: 1

         fixsubtitles: 0

         fixvideo: 1

         ignoredefaultflag: 0

         mkvext: C:\Program Files\MKVToolNix\mkvextract.exe

         mkvinfo: C:\Program Files\MKVToolNix\mkvinfo.exe

         mkvmerge: C:\Program Files\MKVToolNix\mkvmerge.exe

         out_dir: E:\dist\output

         outdir: E:\dist\output

         tmpdir: C:\Users\Anarchy\AppData\Local\Temp\UnlinkMKV

   processing E:\Animu\Armored Trooper VOTOMS (Series)\test\(G_P) Votoms Opening (softsubbed karaoke)(x264)(ACC7F27E).mkv

      checking if file is segmented

         E:\Animu\Armored Trooper VOTOMS (Series)\test\(G_P) Votoms Opening (softsubbed karaoke)(x264)(ACC7F27E).mkv does not contain segmented chapters

C:\Strawberry\perl\bin\perl.exe "E:\dist\winport.pl"  --outdir "E:\dist\output" "E:\Animu\Armored Trooper VOTOMS (Series)\test\Soukou Kihei Votoms-S01E01 - War`s End.mkv"

UnlinkMKV

      Options

         : 

         chapters: 1

         ffmpeg: E:\dist

         fixaudio: 1

         fixsubtitles: 0

         fixvideo: 1

         ignoredefaultflag: 0

         mkvext: C:\Program Files\MKVToolNix\mkvextract.exe

         mkvinfo: C:\Program Files\MKVToolNix\mkvinfo.exe

         mkvmerge: C:\Program Files\MKVToolNix\mkvmerge.exe

         out_dir: E:\dist\output

         outdir: E:\dist\output

         tmpdir: C:\Users\Anarchy\AppData\Local\Temp\UnlinkMKV

   processing E:\Animu\Armored Trooper VOTOMS (Series)\test\Soukou Kihei Votoms-S01E01 - War`s End.mkv

      checking if file is segmented

         E:\Animu\Armored Trooper VOTOMS (Series)\test\Soukou Kihei Votoms-S01E01 - War`s End.mkv contains segmented chapters

      generating chapter file

         loading chapters

         non-default chapter dropped

         non-default chapter dropped

      writing chapter temporary file

      looking for segment parts

      checking that all required segments were found

      extracting attachments

      creating splits

      setting parts

      encoding parts

      building file

      fixing subs, again... (maybe an mkvmerge issue?)

      moving built file to final destination

This is the output from that run. Using the Verbose output kills the program.

@ToukoKino
Copy link
Author

Not sure if you got it but I did email you with a test file. If it didn't go through let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants