Xaymar / Hellextractor

A simple tool to extract things from Helldivers 2 for your 3D printing needs.
BSD 3-Clause "New" or "Revised" License
32 stars 5 forks source link

[Feature]: Bik video to mp4 convertion using ffmpeg #24

Open daervik opened 6 months ago

daervik commented 6 months ago

Describe the Feature

If this is out of scope for the Hellextractor, please remove this request.

I did a very simple test with a bik file (b2b8b34553f957cb.bik) from the extraction using a very basic ffmpeg command line command using ffmpeg essentials build and command ".\ffmpeg.exe -i b2b8b34553f957cb.bik b2b8b34553f957cb.mp4", which resulted in an encoded mp4 with the video and sound from the bik file.

If it is of interest to make the exports from Hellextractor as user friendly as possible it could be interesting to implement ffmpeg into the tool, possibly with a video file format flag (mp4, mkv etc).

Some bik video files are without sound, so not sure if those have sound separated out due to them being played back separately in engine.

Xaymar commented 6 months ago

Yeah, this is a bit out of scope for now. I could implement it, but considering that precalculating the size of the converted file is practically impossible, it'd have to redo the conversion every single export.

daervik commented 6 months ago

Maybe I'm misunderstanding, but what purpose does it serve to precalculate the size of the converted file?

Xaymar commented 6 months ago

Not having to export it again, and being able to rename from old names to new names.