Giter VIP home page Giter VIP logo

Comments (9)

akai10tsuki avatar akai10tsuki commented on May 23, 2024 1

Hi,

Was able to reproduce working on it.

from mkvbatchmultiplex.

akai10tsuki avatar akai10tsuki commented on May 23, 2024 1

HI,

New developer version.

  1. First issue was the handling of the tracks names. Any name not edited should be preserved. It was accessing null pointers.
  2. The special characters/symbols is a problem with the Windows 10 console encoding not been UTF-8 compliant. The commands are executed in a sub-process that launches a console in the background to make it easy to capture the output the console is launched in text mode so any special symbol is translated to text this changes the name and the files are not found. Now the console launches in binary mode and the names should not go through any translation. This forces the output to be read one character at a time which complicates the handling of the lines etc...

https://github.com/akai10tsuki/mkvbatchmultiplex/releases/download/v2.1.0b1.dev3/MKVBatchMultiplex-2.1.0b1.dev3-iss-AMD64.exe

Hope this solves the problem please test.

from mkvbatchmultiplex.

akai10tsuki avatar akai10tsuki commented on May 23, 2024 1

Hi,

Did you test the original files without any changes? The program should work now either way mixed or not. There should be no need to set or remove the BOM so the program can function.

from mkvbatchmultiplex.

VegethB avatar VegethB commented on May 23, 2024

I add a small problem that happened to me.
This special symbol creates .mkv 0kb size (even if I put .mks from the output form). By removing the symbol from the name, everything works.

Command:
C:\Users\MSI\Downloads\EXE\mkvtoolnix\mkvmerge.exe --ui-language it --output ^"Z:\Anime Backups\Fate Grand Order\S01\Owari ^& Pantaloni Rossi\[Owari-Pantaloni Rossi] Fate/Grand Order - Zettai Majuu Sensen Babylonia - 00v2 [96412CA0].mkv^" --no-audio --no-video --sub-charset 2:UTF-8 --language 2:it --track-name ^"2:Owari ^& Pantaloni Rossi^" --default-track 2:yes ^"^(^" ^"G:\_torrent\_Anime-Serie\Fate\[Owari-Pantaloni Rossi] Fate/Grand Order - Zettai Majuu Sensen Babylonia\[Owari-Pantaloni Rossi] Fate/Grand Order - Zettai Majuu Sensen Babylonia - 00v2 [96412CA0].mkv^" ^"^)^" --title ^"[Owari-Pantaloni Rossi] Fate/Grand Order - Zettai Majuu Sensen Babylonia - 00v2^"

from mkvbatchmultiplex.

VegethB avatar VegethB commented on May 23, 2024

Perfect 👍. Finished 2 batches that didn't work before and now yes. The special symbol also worked.
Thanks as usual for the support

from mkvbatchmultiplex.

VegethB avatar VegethB commented on May 23, 2024

Again it doesn't work. Always with .ass.

Command:
C:\Users\MSI\Downloads\EXE\mkvtoolnix\mkvmerge.exe --ui-language it --output ^"G:\Backup Anime\Nuova cartella\DanMachi - Sword Oratoria 01.mkv^" --language 0:und --track-name 0:gdshsh --default-track 0:yes --display-dimensions 0:1920x1080 --language 1:ja --track-name 1:JPN --default-track 1:yes --sub-charset 2:UTF-8 --language 2:en ^"^(^" ^"G:\_torrent\_HEVC-Conv\DanMachi - Sword Oratoria\DanMachi - Sword Oratoria 01.mkv^" ^"^)^" --language 0:it --track-name 0:gsga --default-track 0:yes ^"^(^" ^"Z:\Sottotitoli Backup\Netflix\Sword Oratoria\ass\Sword.Oratoria_.Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon_.On.the.Side.S01E01.WEBRip.Netflix.it.ass^" ^"^)^" --title ^"[ApachePrime] DanMachi - Sword Oratoria 01^" --track-order 0:0,0:1,1:0,0:2

Ass: https://mega.nz/folder/xsNBXAAY#JQmLV33OOpt4_j9uHlYPGQ

Log:
2021-01-07 17:06:00,242 INFO     root MAI0001: Start Logging.
2021-01-07 17:08:28,599 DEBUG    vsutillib.pyqt.classes.QOutputTextWidget OTW0003: Command looks ok. 
2021-01-07 17:08:31,038 DEBUG    vsutillib.pyqt.classes.QOutputTextWidget OTW0003: Command looks ok. 
2021-01-07 17:08:31,248 DEBUG    vsutillib.pyqt.classes.QOutputTextWidget OTW0003: Checking files... 
2021-01-07 17:08:31,251 DEBUG    vsutillib.pyqt.classes.QOutputTextWidget OTW0003: Generating Commands... 
2021-01-07 17:08:31,358 DEBUG    vsutillib.media.classes.MediaFileInfo MFI0001: Structure equality test between [G:\_torrent\_HEVC-Conv\DanMachi - Sword Oratoria\DanMachi - Sword Oratoria 01.mkv] and [G:\_torrent\_HEVC-Conv\DanMachi - Sword Oratoria\DanMachi - Sword Oratoria 01.mkv]
2021-01-07 17:08:31,359 DEBUG    vsutillib.media.classes.MediaFileInfo MFI0002: FORMAT: Matroska
2021-01-07 17:08:31,359 DEBUG    vsutillib.media.classes.MediaFileInfo MFI0012: Structure found ok.
2021-01-07 17:08:31,359 DEBUG    vsutillib.mkv.classes.verifystructure VFS0005: Structure seems ok. Source: G:\_torrent\_HEVC-Conv\DanMachi - Sword Oratoria\DanMachi - Sword Oratoria 01.mkv Base Source: G:\_torrent\_HEVC-Conv\DanMachi - Sword Oratoria\DanMachi - Sword Oratoria 01.mkv
2021-01-07 17:08:31,409 DEBUG    vsutillib.media.classes.MediaFileInfo MFI0001: Structure equality test between [Z:\Sottotitoli Backup\Netflix\Sword Oratoria\ass\Sword.Oratoria_.Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon_.On.the.Side.S01E01.WEBRip.Netflix.it.ass] and [Z:\Sottotitoli Backup\Netflix\Sword Oratoria\ass\Sword.Oratoria_.Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon_.On.the.Side.S01E01.WEBRip.Netflix.it.ass]
2021-01-07 17:08:31,409 DEBUG    vsutillib.media.classes.MediaFileInfo MFI0002: FORMAT: None
2021-01-07 17:08:31,410 DEBUG    vsutillib.media.classes.MediaFileInfo MFI0012: Structure found ok.
2021-01-07 17:08:31,410 DEBUG    vsutillib.mkv.classes.verifystructure VFS0005: Structure seems ok. Source: Z:\Sottotitoli Backup\Netflix\Sword Oratoria\ass\Sword.Oratoria_.Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon_.On.the.Side.S01E01.WEBRip.Netflix.it.ass Base Source: Z:\Sottotitoli Backup\Netflix\Sword Oratoria\ass\Sword.Oratoria_.Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon_.On.the.Side.S01E01.WEBRip.Netflix.it.ass
2021-01-07 17:08:31,411 DEBUG    vsutillib.pyqt.classes.QOutputTextWidget OTW0003: 1. Source: ['G:\\_torrent\\_HEVC-Conv\\DanMachi - Sword Oratoria\\DanMachi - Sword Oratoria 01.mkv', 'Z:\\Sottotitoli Backup\\Netflix\\Sword Oratoria\\ass\\Sword.Oratoria_.Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon_.On.the.Side.S01E01.WEBRip.Netflix.it.ass'] Destination: G:\Backup Anime\Nuova cartella\DanMachi - Sword Oratoria 01.mkv Structure looks Ok. 
2021-01-07 17:08:32,752 DEBUG    vsutillib.media.classes.MediaFileInfo MFI0001: Structure equality test between [G:\_torrent\_HEVC-Conv\DanMachi - Sword Oratoria\DanMachi - Sword Oratoria 01.mkv] and [G:\_torrent\_HEVC-Conv\DanMachi - Sword Oratoria\DanMachi - Sword Oratoria 02.mkv]
2021-01-07 17:08:32,752 DEBUG    vsutillib.media.classes.MediaFileInfo MFI0002: FORMAT: Matroska
2021-01-07 17:08:32,752 DEBUG    vsutillib.media.classes.MediaFileInfo MFI0012: Structure found ok.
2021-01-07 17:08:32,752 DEBUG    vsutillib.mkv.classes.verifystructure VFS0005: Structure seems ok. Source: G:\_torrent\_HEVC-Conv\DanMachi - Sword Oratoria\DanMachi - Sword Oratoria 02.mkv Base Source: G:\_torrent\_HEVC-Conv\DanMachi - Sword Oratoria\DanMachi - Sword Oratoria 01.mkv
2021-01-07 17:08:32,833 DEBUG    vsutillib.media.classes.MediaFileInfo MFI0001: Structure equality test between [Z:\Sottotitoli Backup\Netflix\Sword Oratoria\ass\Sword.Oratoria_.Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon_.On.the.Side.S01E01.WEBRip.Netflix.it.ass] and [Z:\Sottotitoli Backup\Netflix\Sword Oratoria\ass\Sword.Oratoria_.Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon_.On.the.Side.S01E02.WEBRip.Netflix.it.ass]
2021-01-07 17:08:32,834 DEBUG    vsutillib.media.classes.MediaFileInfo MFI0002: FORMAT: None
2021-01-07 17:08:32,834 DEBUG    vsutillib.media.classes.MediaFileInfo MFI0004: Number of tracks mismatched 0 - 1
2021-01-07 17:08:32,834 DEBUG    vsutillib.media.classes.MediaFileInfo MFI0013: Structure not ok.

Windows 10 x64
MKVToolNix GUI 52.0.0 (and 51 / 48).

from mkvbatchmultiplex.

akai10tsuki avatar akai10tsuki commented on May 23, 2024

New developer version:

In the subs provided I found that only the first file is UTF-8 with BOM the others don't have BOM which make them different. When checking the structure the first file generate no track information the others generate one track so the structure check fails. Now the program will check for known suffixes used for the text files that mkvtoolnix supports and will ignore any track information. If the files are not mixed i.e. All with BOM or all without BOM the program worked fine.

The content of the files are not important. I remove the BOM and it works then added a BOM in another set of files it failed the check. (Hope this is not to technical.)

https://github.com/akai10tsuki/mkvbatchmultiplex/releases/download/v2.1.0b1.dev4/MKVBatchMultiplex-2.1.0b1.dev4-iss-AMD64.exe

Please test.

from mkvbatchmultiplex.

VegethB avatar VegethB commented on May 23, 2024

I hadn't thought about the BOM ... I know it (Big Endian, Little Endian).
Probably (nay, definitely) it's due to SubtitleEdit (which I use to convert .vtt to .ass), it will save .ass with UTF8 instead of UTF8-BOM.
Then since the .vtt have no styles (no fonts, nothing at all) I only open the first .ass (ep1) I insert the minimum parameters to make those subs play well with that video track and save the .ass file from Aegisub (aegisub works with UTF8-BOM, so if the file is UTF8 it is converted to UTF8-BOM), then I open the remaining ep's with notepad++ and copy and paste the "new" part of the styles section of the .ass.
The problem is that when I save (notepad++) it leaves UTF8. So from now on I will force BOM saves from Notepad++.

Anyway, I gave it a try. It worked without problems 👍.

The test was done with the files as they were passed (1 with BOM and the rest without BOM). Now I'm finishing another set of .ass (OCR conversion> .srt> .ass) and see what comes out if I try to mux them (this will take me a while). Thanks as usual for the support

from mkvbatchmultiplex.

VegethB avatar VegethB commented on May 23, 2024

Did you test the original files without any changes?

Yes

from mkvbatchmultiplex.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.