Archived flashes:
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P1988 · P3976

<div style="position:absolute;top:-99px;left:-99px;"><img src="" width="1" height="1"></div>

The Swiff Army Knife

— A small program written in Java that you can do things with (see features below).

DOWNLOAD (21.6 MiB) — Extracts to 50.9 MiB.

Includes all dependencies. Designed to run on Windows. Requires Java 8 or higher.


If the program doesn't start: Right-click "! Run TheSwiffArmyKnife.bat" and select Edit to open it in Notepad.
Then replace "javaw" with the complete path to javaw.exe on your machine so the line reads like this:

start "TheSwiffArmyKnife" "C:\<your java path>\jre<version>\bin\javaw.exe" -Xmx999m -jar programJar


Video Slicer
+ Crop videos (inwards).
+ Resize videos (ensures that the optimal divisible dimensions are used).
+ Cut videos (remove selection or keep selection).
+ Change framerate of videos (can go both lower and higher than the input video's FPS in case it's needed to match clips in the Video Merger).
+ Mute videos (or don't).
+ Preview your cut (encodes two small videos right next to your cut and extracts the frames from them).
+ The preview also reflects cropping/resize and framerate.
+ Can press F5 at any time to refresh the preview instead of clicking the button.

Video Merger
+ Put together several smaller videos into one big video.
+ Extremely fast, uses stream copy.
+ However, stream copy means that video cuts must be compatible with each other. They must have the same width/height/FPS and should use the same video/audio codecs.
+ Cuts created with the Video Slicer always works in the Video Merger as long as you match the width/height/FPS.

Video Encoder
+ Make a usable video file at exactly the right file size.
+ Can change final framerate (lowering it here allows for more bitrate per frame, meaning that it won't affect the file size but instead will increase the quality per frame).
+ Several audio options that works well with all containers, including mute.
+ Output: MP4 container (H.264/AAC) for general use.
+ Output: FLV container (H.264/AAC) for streaming or SwfH264.
+ Output: FLV container (On2VP6/MP3) for SWF timeline embedding.
+ Output: WEBM (VP8/Vorbis) for imageboards.
+ Correct metadata will be injected into created FLV files.
+ Two pass encoding is used to ensure that the bitrate goes where it's needed.

+ Using the program should be straightforward, there's not too many buttons/options.
+ Spawn new tabs at any time by pressing Ctrl + T.
+ Text field values can be modified using * / + - (works on time values as well).
+ A console that tells you exactly what's going on, including any error messages. Every single argument used with ffmpeg is shown.
+ Fake tabs working as a shortcut to the working directory and for cleaning up (deleting) temporary throwaway files.
+ Pretty much everything has mouse-over tooltips that explains how stuff works.
+ An actual "check for updates"-button on the Welcome-tab!


This is the Video Slicer tab.

The preview button has been pressed so ten frames from the would-be resulting video are displayed. Those marked with blue are the ones right next to the cut defined by the start/end times.

A "reverse cut" means that the cut will be removed from the resulting video instead of being kept.

This is the Video Encoder tab.

The arbitrary starting video bitrate (1237 kbps) created a video file that was larger than desired. The program automatically lowered the bitrate four times and increased it once before finally generating an output close enough to the target 1.75 MiB.

ANY can be specified as target if you wish to manually set the video bitrate.


+ I want to incorporate all features of my previous programs into The Swiff Army Knife so everything's in one place. Then I only need to update one program from now on and can add new tabs to it whenever I feel like it.

+ That includes some audio stuff and actual .swf stuff, hopefully improved. But I jumped over to a different project for now, only finishing the video part of The Swiff Army Knife. Head on over to the discussion thread if you feel like motivating me!


Release 1 (26may2016) Quad Damage Edition

+ Initial release.

Questions or comments? Want an update?

Please post about The Swiff Army Knife in its discussion thread.
Created: 26/5 -2016 11:00:00 Last modified: 26/5 -2016 12:30:06 Server time: 5/12 -2016 01:24:31