View Single Post
  #341  
Old 17-02-2023, 09:34
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,404 Times in 637 Posts
Masquerade is on a distinguished road
Bink Video
  • XTool plugin adding support for Bink Video compression.
  • This plugin uses Bink Pack library by ProFrager.
  • Thanks to Razor12911 for the little help.
Advantages of using this plugin versus vanilla Bink Pack
  • Multithreading support.
  • No CRC check fail since XTool will patch the videos as they are unpacked.
  • Incompatible Bink 2 videos (KB2n) are automatically ignored.
Special Notes
  • For Bink 2 videos, you may need to make use of the --diff=* parameter as some patches between CRC imperfect videos to the original state can be larger than XTool's default threshold for patches.
  • You may need to use a large chunk size to ensure all videos are processed. See example below.
Example Usage
  • Extract the attached archive to the XTool folder and use -mbik or -mbk2 depending on your data set.
Test
  • Test on the videos from Assassin's Creed 2 (27x Bink 1 videos).
    Code:
    xtool precomp -mbik "AC2Videos\"
    XTool is created by Razor12911
    
    Streams: 13/13
    Time: 00:00:09 (00:00:01)
    Memory: 148 MB (148 MB)
    
    Results: 937 MB >> 928 MB
    Code:
    xtool precomp -c128mb -mbik "AC2Videos\"
    XTool is created by Razor12911
    
    Streams: 26/26
    Time: 00:02:12 (00:00:04)
    Memory: 391 MB (391 MB)
    
    Results: 937 MB >> 776 MB
    Code:
    xtool precomp -c256mb -mbik "AC2Videos\"
    XTool is created by Razor12911
    
    Streams: 27/27
    Time: 00:02:25 (00:00:06)
    Memory: 677 MB (677 MB)
    
    Results: 937 MB >> 725 MB
  • Test on 05_DAM folder from Shadow Warrior 3 Defintive Edition (6x Bink 2 videos).
    Code:
    xtool precomp -c256mb -mbk2 "SW3\Content\Movies\Cutscenes\05_DAM"
    XTool is created by Razor12911
    
    Streams: 6/6
    Time: 00:01:06 (00:00:03)
    Memory: 406 MB (406 MB)
    
    Results: 214 MB >> 187 MB
Attached Files
File Type: 7z XTool_Bink.7z (199.8 KB, 135 views)
File Type: 7z XTool_Bink_STDIO.7z (256.1 KB, 120 views)

Last edited by Masquerade; 06-03-2023 at 01:34.
Reply With Quote
The Following 10 Users Say Thank You to Masquerade For This Useful Post:
Cesar82 (17-02-2023), dixen (17-02-2023), Gehrman (18-02-2023), hdneo (17-02-2023), KaktoR (17-02-2023), kj911 (17-02-2023), L0v3craft (14-03-2023), Razor12911 (17-02-2023), ScOOt3r (14-05-2023), shazzla (17-02-2023)