XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Nov 19, 2017 9:04 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: demultiplexing BIK videos
PostPosted: Fri Feb 17, 2012 6:04 pm 
Offline
double-veteran
double-veteran

Joined: Mon Aug 24, 2009 10:55 pm
Posts: 984
Has thanked: 76 times
Have thanks: 598 times

Ok, this is something that is long overdue I think. Since the bik format is supported by no standard programs, I'd like to see a possibility to demultiplex those videos into BIK video and BIK audio. It really bugs me that I only can decode the audio to uncompressed PCM and not leave it in its original format because it takes too much disk space AND I'd like to archive the original audio streams.
How do demux the videos isn't important (QuickBMS, some stand-alone tool etc.).
Does anyone know the specs and is able to program a demuxer?
Thanks for your help!

You can make the ads go away by registering


_________________
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)


Top
 Profile  
 
 Post subject: Re: demultiplexing BIK videos
PostPosted: Fri Feb 17, 2012 7:40 pm 
Offline
veteran
User avatar

Joined: Sun Dec 11, 2011 8:00 am
Posts: 114
Has thanked: 33 times
Have thanks: 17 times
I don't know of tools to completely demultiplex BIKs into audio + video streams, but here's a little info that you might useful.
The latest BIK files tend to have more than 1 audio track in them (dialog, stereo & mono, front left & right audio channels, rear left & right audio channels, etc..). Open up Rad Video Tools and select one of the cutscenes, then click the "File info" button, you'll see how many audio tracks are in there (could be 2, 4 or more). And than to extract them all separately into WAVs we can use the "batch" option with "Convert a file" function.

On how to do it properly, I advise you to look into this: http://infectionist.com/forum/viewtopic.php?t=2547&start=0&postdays=0&postorder=asc&highlight=
It gets to the topic of bik files starting with post #6.
(I hope it's ok to link to another forum here).
The guy over there showed me the way how to extract multiple audio tracks from BIKs.


Top
 Profile  
 
 Post subject: Re: demultiplexing BIK videos
PostPosted: Fri Feb 17, 2012 9:45 pm 
Offline
double-veteran
double-veteran

Joined: Mon Aug 24, 2009 10:55 pm
Posts: 984
Has thanked: 76 times
Have thanks: 598 times
Yep, that doesn't help. Nothing new here...

_________________
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)


Top
 Profile  
 
 Post subject: Re: demultiplexing BIK videos
PostPosted: Fri Jun 29, 2012 7:10 pm 
Offline
advanced

Joined: Tue Jan 27, 2009 5:00 pm
Posts: 45
Has thanked: 12 times
Have thanks: 21 times
VGMToolbox r879 now supports demultiplexing Bink BIK files.

At this time, RAD Video Tools (binkplay.exe) does not seem to support files containing only one audio stream (and no video stream). Also, when no video stream is present, the "last" audio stream does not seem to play (try experimenting with "Advanced play" to observe this behavior). I think these are both symptoms of the same issue.

Use the RAD Video Tools "Convert a file" tool (binkconv.exe) to output the audio to a WAV file. It seems to function properly for all audio streams.

I have begun testing if adding a "dummy" audio stream to work around this behavior will fix binkplay.exe playback, but it will take some time and may not even work.

Many thanks to Timo for testing, etc...


Top
 Profile  
 
 Post subject: Re: demultiplexing BIK videos
PostPosted: Thu Oct 23, 2014 7:16 pm 
Offline
double-veteran
double-veteran

Joined: Mon Aug 24, 2009 10:55 pm
Posts: 984
Has thanked: 76 times
Have thanks: 598 times
Sorry, I must necropost here...
What about the new bk2 format? It's an updated version of bik that isn't supported yet.

_________________
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)


Top
 Profile  
 
 Post subject: Re: demultiplexing BIK videos
PostPosted: Sat May 30, 2015 4:30 am 
Offline
advanced

Joined: Tue Jan 27, 2009 5:00 pm
Posts: 45
Has thanked: 12 times
Have thanks: 21 times
I've added Bink2 support to VGMToolbox r972. I haven't had a big amount of samples to test with, but it seems to work with both single and multi-track audio files. Thanks to AlphaTwentyThree for the initial round of testing.

If anyone discovers files that do not demux correctly, please let me know, as I'd like to make it as compatible as possible with all Bink2 variants.


Top
 Profile  
 
 Post subject: Re: demultiplexing BIK videos
PostPosted: Sat May 30, 2015 6:53 am 
Offline
double-veteran
double-veteran

Joined: Mon Aug 24, 2009 10:55 pm
Posts: 984
Has thanked: 76 times
Have thanks: 598 times
A little impatient, are we? ;)
I'll run some more tests later!

_________________
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)


Top
 Profile  
 
 Post subject: Re: demultiplexing BIK videos
PostPosted: Sat Sep 05, 2015 6:38 pm 
Offline
n00b

Joined: Wed Jun 17, 2015 5:36 pm
Posts: 19
Has thanked: 7 times
Have thanks: 0 time
you can easily convert .bik to png sequence via ffmpeg or convert it


Top
 Profile  
 
 Post subject: Re: demultiplexing BIK videos
PostPosted: Sun Sep 06, 2015 1:14 pm 
Offline
beginner

Joined: Sun Jun 07, 2015 6:12 pm
Posts: 39
Has thanked: 2 times
Have thanks: 0 time
vladik they are trying to seperate audio from the bik stream not convert to video


Top
 Profile  
 
 Post subject: Re: demultiplexing BIK videos
PostPosted: Sun Sep 20, 2015 10:23 am 
Offline
n00b

Joined: Wed Jun 17, 2015 5:36 pm
Posts: 19
Has thanked: 7 times
Have thanks: 0 time
planedec50 wrote:
vladik they are trying to seperate audio from the bik stream not convert to video

ohh kkk



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group