Jump to content

[solved] xdelta audio patch creation help


Recommended Posts

Is there a way to create just an audio patch (v2) for an mkv file? I am wanting to replace only the dub audio track within one of my releases, however when I create a patch file with xdelta (as described excellently here) the file comes to about half the size of the original (~300MB).

 

I am a little concerned at that as the audio track on its own is only about 150MB at its largest (.mka demuxed with mkvmerge). Any help/guidance would be greatly appreciated, thank you.

 

Here is the original file (v1) : http://billionuploads.com/jc1siouompri

And here is the .mka audio file that I want to patch into the original : http://billionuploads.com/hs1qp4agqtdr

 

Solution:

 



Increase source buffer size by adding -B size. Size is in bytes.

My final line:

Welp, I got my patches working right.

PS C:\Users\flower\Desktop\xdelta> ./xdelta3-3.0.8.x86-64.exe -9 -I 0 -W 16777216 -B 134217728 -v2 -e -s ../"[MK] Attack on Titan - 02 That Day, The Fall of Shiganshina, Part 2 [720p] [Hi10] [CCE58B12]_Track00.mkv" ../"[MK] Attack on Titan - 02v2 Th at Day, The Fall of Shiganshina, Part 2 [720p] [Hi10] [8ACECBBA]_Track00.mkv" patch.xdelta

Thank you JohnFlower! I had to change your code a bit to suite CMD in windows but eventually managed to it work and now I understand it!

This is my final code that made the patch.xdelta file:

xdelta.exe -9 -I 0 -W 16777216 -B 134217728 -v2 -e -s "[MK] Attack on Titan - 02 That Day, The Fall of Shiganshina, Part 2 [720p] [Hi10] [CCE58B12].mkv" "[MK] Attack on Titan - 02v2 That Day, The Fall of Shiganshina, Part 2 [720p] [Hi10] [8ACECBBA].mkv" patch.xdelta

And this is the final code that patches it:

xdelta.exe -d -s "[MK] Attack on Titan - 02 That Day, The Fall of Shiganshina, Part 2 [720p] [Hi10] [CCE58B12].mkv" "patch.xdelta" "[MK] Attack on Titan - 02v2 That Day, The Fall of Shiganshina, Part 2 [720p] [Hi10] [8ACECBBA].mkv"

Thank you very much once again  :)

 

http://forums.kametsu.com/index.php?/topic/41399-xdelta-audio-patch-creation-help/?p=366372

Edited by Moodkiller
Link to comment
Share on other sites

 

Welp, I got my patches working right.



Increase source buffer size by adding -B size. Size is in bytes.

My final line:

PS C:\Users\flower\Desktop\xdelta> ./xdelta3-3.0.8.x86-64.exe -9 -I 0 -W 16777216 -B 134217728 -v2 -e -s ../"[MK] Attack on Titan  - 02 That Day, The Fall of Shiganshina, Part 2 [720p] [Hi10] [CCE58B12]_Track00.mkv" ../"[MK] Attack on Titan - 02v2 Th at Day, The Fall of Shiganshina, Part 2  [720p] [Hi10] [8ACECBBA]_Track00.mkv" patch.xdelta

Thank you JohnFlower! I had to change your code a bit to suite CMD in windows but eventually managed to it work and now I understand it!

This is my final code that made the patch.xdelta file:

xdelta.exe -9 -I 0 -W 16777216 -B 134217728 -v2 -e -s "[MK] Attack on Titan - 02 That Day, The Fall of Shiganshina, Part 2 [720p] [Hi10] [CCE58B12].mkv" "[MK] Attack on Titan - 02v2 That Day, The Fall of Shiganshina, Part 2 [720p] [Hi10] [8ACECBBA].mkv" patch.xdelta

And this is the final code that patches it:

xdelta.exe -d -s "[MK] Attack on Titan - 02 That Day, The Fall of Shiganshina, Part 2 [720p] [Hi10] [CCE58B12].mkv" "patch.xdelta" "[MK] Attack on Titan - 02v2 That Day, The Fall of Shiganshina, Part 2 [720p] [Hi10] [8ACECBBA].mkv"

Thank you very much once again :)

 

Random thing, would the patch creator Doki released help? It's basically a GUI for all this if IIRC.

Thank you for the suggestion JimDaddy, sorry it didnt work though in the end :)

 

 

  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...
Please Sign In or Sign Up