View Single Post
  #7  
Old 29-09-2022, 18:14
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 138
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Quote:
Originally Posted by panker1992 View Post
i have an idea, use hex editor to check the header of video bink2 used on the original bink video,

then use the encoder and after it's done use the header of the original video on the encoded video.

maybe this will work, will test my theory

(again this is an idea and a theory)!!!!
Unfortunately the current encoder (with the identifier of the "n" revision of the Bink 2 codec) revision has fundamental changes in both video and audio decoding in the codec which makes this unfortunately not possible. The best we can do is for any files using the "j" revision (the immediate revision predating the current "n" revision, and succeeding the commonly used "i" revision), however this comes with the caveat that the original "j" revision audio be extracted, re-encoded and then mixed as Bink 1 audio. However this revision was rarely used, with the "n" revision being used throughout the majority of Bink 2's lifespan. If anyone is able to port the audio/video changes over to older DLL libraries we might have a chance at getting this to work but currently the only publicly available source code is for Bink 1 functions (I posted this in an earlier post on the topic).
Reply With Quote