Jump to content

Home

.bik Movie Subtitles


Aliryn

Recommended Posts

The .bik movies in both KotOR I and TSL have subtitles that are apparently irremovable. At least there's no setting for it; I assume the movie file is one whole entity and you can't tell it to remove bits like that.

 

In any case, does anyone know of a way to edit the .bik movies? I've run a Google search for .bik movie editors and came up with nothing. I would really really really like to get rid of those dumb distracting subtitles! It's not cinematic like that either . . .

 

I guess you might have to convert them to a different file type, edit them, then convert them back . . . but I wouldn't know where to start . . .

 

Please help if you possibly can~

Link to comment
Share on other sites

If the subtitles aren't over the actual movie itself (so they're in the black at the bottom of the screen), then you can remove them by just doing what Tonttu said.

 

I'd also recommend modifying the high quality movies if you can; they really are much better.

Link to comment
Share on other sites

If the subtitles aren't over the actual movie itself (so they're in the black at the bottom of the screen)
The hardcoded subs in 31a.bik in K1, the Revan reveal, and KreMov01.bik in TSL, Kreia's recounting of her exile, both look to be this way. For these you could crop it and re-letterbox it to remove the subs as suggested above. There's also the Visas reveal video, but there's a mod that replaces that with an in-game cutscene which is a better option.

 

I actually thought the subs were overlaid on the image itself, hence my previous comment. Guess I was mistaken.

 

I'd also recommend modifying the high quality movies if you can; they really are much better.
That only applies for TSL. You're stuck with the dodgy Xbox-sized originals for K1.
Link to comment
Share on other sites

WAAAAAAAAAAAAAAA! THANK YOU!

 

For both the method and the link, Tonttu!

 

Well I guess we'll see how my video editing skills are; I've never done it before. But if I have a basic idea on how to do it, I'll likely figure out all the details myself. That's how I customarily learn things~ For some reason I've become the expert on plumbing and vacuum repair at my house but I only messed with them without looking at instructions or anything~

 

AAAAAAAAAAAAAAH, I'm so excited.

 

This had bothered me for both KotOR and TSL, by the way. But this should work for both~ Thanks for reminding me about using the high quality movies for TSL, Robespierre. I might have forgotten. My brain is really . . .

 

I'm glad there is a way to do it. When I first started reading DarthParametric's first post, I started having a heart attack.

 

When something bothers me, I go insane.

 

If I manage this, I guess I'll release it as a mod in case this bothers anybody else.

 

Wish me luck . . .

 

 

__________________________

 

Later:

 

Okay, never mind. I am having problems after all. For some stupid reason I'm not understanding "convert to lossless". As far as I can tell, lossless has to do with sound conversion or compression quality, and isn't a video file type . . . the RAD Help files didn't help either . . .

 

There's probably a stupidly easy answer to this, but . . .

Link to comment
Share on other sites

Thanks, DarthParametric. Got that down.

 

But . . . I'm having problems again :cry6: I don't get it, usually I find it easy to do new stuff, on the computer or off it . . .

 

In any case, after converting to an uncompressed avi, I am now having trouble figuring out how to edit it. I can't find a program that would work . . . the tools list here on Holowan Laboratories suggests Camtasia (free trial) for editing the movies, but it doesn't seem to do the right thing. I tried to run a search for a program, but these days, it seems like 99% of the links that show up on Google get redirected to a different pathetic search thing of one kind or another or an ad . . .

 

Sounds like you guys might have already edited avi or other files before; do you know a program I could use?

 

Thank you for any help you can give! (And the help you have already given!)

Link to comment
Share on other sites

VirtualDub and the resize filter should do the trick.

 

I was going to leave it at that, but I decided to take a look at the captioned videos. I noticed two things. One, the caption inserts are not equal in height: the top is 43 pixels, while the bottom is 46 pixels. Two, apparently one pixel line of the original video was lost to an insert job. As a result the captioned pictures are 271 pixels in height, whereas the non-captioned pictures are 272 pixels tall.

 

From what I saw the vdub resizer plugin does a centered crop -- you can't specify the absolute crop dimensions. So to work around that you would need to set up a filter chain like the following: (1) flip vertical; (2) resize 640x359; (3) resize 640x358; (4) resize 640x357; (5) resize 640x271; (6) flip vertical.

Link to comment
Share on other sites

Lossless just means no compression. Something like a raw AVI.

...or lossless compression (huffyuv, ffv1, lagarith, x264 (lossless mode), snow (lossless mode), ut, ...)

 

So to work around that you would need to set up a filter chain like the following: (1) flip vertical; (2) resize 640x359; (3) resize 640x358; (4) resize 640x357; (5) resize 640x271; (6) flip vertical.

just add "null transform" and then click "cropping"

 

 

for post-processing nothing beats AviSynth which is controlled by simple, easy to learn scripting language

 

cropping the borders and subtitles from KreMov01.bik

AviSource("KreMov01.avi")
Crop(0, 260, -0, -260)

open in VirtualDub and save as lossless or feed to encoder that accepts *.avs input (or raw yuv input and reading from stdin, and pipe with avs2yuv)

 

 

 

KreMov01.bik is a "good" example of "high quality" video which looks horrible

I'm guessing they didn't bother to render it again, instead they took low quality interlaced source, upscaled it and thought it's good. Then later realised it's interlaced and tried to deinterlace it creating a lot of aliasing in the process

 

Here's something I tried on it, fixes most of the aliasing but also destroys a lot of detail near the edges

Frame 500

Source: http://a.imagehost.org/view/0101/KreMov1_1

Result: http://a.imagehost.org/view/0313/KreMov1_1

 

Frame 1100

Source: http://a.imagehost.org/view/0191/KreMov1_2

Result: http://a.imagehost.org/view/0891/KreMov1_2

 

Frame 2525

Source: http://a.imagehost.org/view/0300/KreMov1_3

Result: http://a.imagehost.org/view/0498/KreMov1_3

avisource("KreMov01.avi", audio=false)
crop(0, 260, -0 , -260)
a=last
b=a.turnleft().sangnom().turnright().sangnom().spline64resize(width, height/2).tisophote(12, 0.7, 0).eedi2()
edgemask1 = mt_edge("prewitt", 14, 14).mt_inpand()
edgemask2 = mt_edge("prewitt").mt_expand().mt_deflate()
mask = mt_hysteresis(edgemask1, edgemask2)
mt_merge(a, b, mask)
lsfmod(defaults="fast", smode=5)
fastlinedarkenmod(80)

the script requires these plugins:

mt_masktools

SangNom

EEDI2

RemoveGrain 1.0pre

WarpSharp

TIsophote

LSFmod

FastLineDarkenMOD

Link to comment
Share on other sites

Awesome! This looks like great fun, doesn't it? (<--not being sarcastic at all)

 

I had noticed that the actual video was 271, but I didn't realize how unequal it was. (I don't know why.) I tried to do a crop with RAD, but I didn't seem to be able to specify which parts to crop, so it just chopped off the bottom . . . I hate reading directions, so it's probably my fault . . . But I can usually figure things out . . .

 

Thanks a lot for all the help (with both tool resources and method), guys! We'll see how I do now . . .

 

 

 

_______________________

 

I managed to crop the movie! Yay!

 

Except when I convert back to bik the file size has grown almost exponentially. (Well, not quite. That's an exaggeration.)

 

Here are the file sizes:

 

 

Original KotORI file [09.bik] = 22.7MB

Converted to lossless avi =1.19GB

Cropped avi = 921MB

Converted back to bik (try 1) = 197MB

Converted back to bik (try 2) = 101MB

Converted back to bik (try 3) = 197MB again (though I tried different settings)

 

 

The different converting back to bik tries were different in what Bink Compressor settings I used. I tried to convert with as little compression as possible to preserve quality, but the file size really is ridiculous. Not that it doesn't work; IT DOES! (HALLELUJAH!) But I have a lot of disk space on my computer. Not everyone does. My brother is constantly trying to delete things to make room.

 

Well, I can do these for my own use now, but if anyone thinks other people might like this, it would be great if you can help me figure out how to compress to the original size, or near it, without losing any picture or sound quality.

 

Thanks very much for all your help! I keep pestering everyone . . .

Link to comment
Share on other sites

Well, I can do these for my own use now, but if anyone thinks other people might like this, it would be great if you can help me figure out how to compress to the original size, or near it, without losing any picture or sound quality.

lower the data rate and peak data rate multiplier

use higher value for audio compression

 

when re-encoding you always lose image/sound quality unless you're using lossless codec

whether you can distinguish re-encoded from original is another matter (visual transparency)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...