CLI and API reference
Python CLI
python -m basefwx cryptin <method> <paths...> [flags]
Methods (aliases in parentheses):
fwxaes(file mode)b512(512,fwx512)aes-light(aes,256,light)aes-heavy(pb512,aes512,heavy)aes512is a legacy alias; the cipher remains AES-256-GCM.
Current b512/pb512 text writers emit authenticated payload v3 as canonical
standard base64. Use BASEFWX_ALLOW_LEGACY_TEXT_V2=1 only to recover trusted
v2 text. b512file writers always use the outer AES-256-GCM container; raw
historical input requires BASEFWX_ALLOW_LEGACY_B512FILE_RAW=1 for trusted
recovery. The former C++ --no-aead writer option is no longer available.
Common flags:
-p,--passwordliteral password text,file://<path>, or empty only with--use-masterand a configured master public key--use-masterenable master key wrapping and recovery (off by default)--no-masterexplicitly disable master key wrapping and recovery--use-master-pub <path>ML-KEM-768 or ML-KEM-1024 public key to use with--use-master--stripor--trimremove internal metadata from payload--no-obfdisable size-preserving obfuscation--compresspack folders/files to tar before encrypting (auto-unpack on decrypt)--keep-inputdo not delete the input after encrypting
fwxAES-only flags:
--normalizewrap output in a zero-width cover text (small files only)--normalize-threshold <bytes>max plaintext bytes for normalize--cover-phrase <text>cover phrase for normalize
--ignore-media, --keep-meta, --archive, and --no-archive belong to the
retired media path. A default build has no media auto-detection, so
--ignore-media does nothing and the other three fail with an error naming the
compatibility switch. See Retired media commands.
Examples:
python -m basefwx cryptin aes-light secret.bin -p "correct-horse-battery" --strip
python -m basefwx cryptin aes-light secret.bin.fwx -p "correct-horse-battery"
python -m basefwx cryptin fwxaes photo.jpg -p "correct-horse-battery"
python -m basefwx cryptin fwxaes track.m4a -p "correct-horse-battery"
--strip is rejected outright for AES-heavy file encryption at any size,
because the heavy KDF costs are recorded only in the metadata block and a
stripped container could never be reopened. For b512 it is rejected when
master recovery is requested or the file selects the streaming container, whose
marker is required for unambiguous decode dispatch. Either way the encoder
refuses before creating output.
C++ and Python unpack authenticated --compress output. Java implements no
tar/gzip/xz unpacking and refuses every container carrying an ENC-P pack
marker on both b512file and pb512file decode paths. Use C++ or Python for those
containers. If packing was combined with metadata stripping, no marker remains;
decode that combination with C++ or Python as well.
n10 helpers:
python -m basefwx n10-enc "hello"
python -m basefwx n10-dec "<digits>"
python -m basefwx n10file-enc in.bin out.n10
python -m basefwx n10file-dec out.n10 restored.bin
Master key usage (master-only payloads):
export BASEFWX_MASTER_PQ_PUB=/secure/mlkem768.pub
python -m basefwx cryptin aes-heavy payload.bin -p "" --use-master
Requesting master recovery requires a provisioned public key. Maintained writers fail if key loading or wrapping fails; they never silently drop the requested recovery path. B512/PB512 and AES-light/heavy file writers refuse container metadata stripping combined with that request. Explicitly disable master recovery for password-only authoring.
Use --use-master to request recovery and --no-master for password-only
authoring. Python spells the metadata-stripping flag --strip (or --trim);
the native CLI uses --strip-meta.
Use --no-master to select password recovery when the configured private key
belongs to a different recipient. Enabled master recovery is tried first; a
payload authentication failure is terminal and does not retry the password.
New streaming B512 output uses B512STR2 and requires an updated reader.
Legacy STRMOBF1 B512 streams require their correct password even with a
matching master private key; wrong or missing passwords refuse publication.
See streaming B512 recovery.
Notes:
- Passwords are literal by default in C++, Java, and Python. To load a
password from a file, use an explicit
file://<path>URI (~/expands). Usepassword://<literal>to force a literal string that happens to contain://. Bare strings are never interpreted as file paths. - Resolution is idempotent: the resolved secret is never itself a
password://orfile://reference. Apassword://value naming another reference, or a password file whose contents begin with one, is refused rather than resolved a second time. Some entry points resolve at the public boundary and again further in, so without this rule the same input could derive two different keys depending on which path was taken. - PQ private key lookup uses
BASEFWX_MASTER_PQ_SKwhen set, otherwise~/master_pq.sk. - Set
BASEFWX_PQ_STRICT(orBASEFWX_PQ_ONLY) to1,true,yes, oron(case-insensitive) to disable EC fallback and require ML-KEM for a requested master wrap. On decrypt, an intact independent password wrap remains usable even if master recovery is unavailable or rejected by strict policy. - Set
BASEFWX_MASTER_PQ_ALG=ml-kem-1024(orBASEFWX_PQ_MAX=1) to opt key generation and default capability reporting into the larger ML-KEM parameter set. A provisioned public key’s actual size selects 768 versus 1024 for wrapping and authenticatedENC-KEMmetadata; recovery selects by private-key/ciphertext size. Default generation remainsml-kem-768. Upstream ships with no baked master public key. Provision one throughBASEFWX_MASTER_PQ_PUBor a build-time-DBASEFWX_MASTER_PQ_PUB_B64=…/-Dbasefwx.master.pq.public.b64=…opt-in. - Explicit-salt HKDF and X25519 helpers are public multi-lang APIs
(C++
HkdfSha256/x25519, JavaCrypto.hkdfSha256/X25519, Pythonbasefwx.hkdf_sha256(salt=…)/basefwx.x25519). They are not wired into fwxAES file formats. - C++
info/identify/proberecognize length-prefixed containers andFWX1headers. A compatibility build also recognizes kFM PNG/WAV carriers, including legacykFAeoutput. - When a file is not recognized as BaseFWX, the C++ CLI reports a heuristic guess (
unknown, random-like, or a simple format hint) instead of only saying “corrupted container”. - New encrypt operations reject passwords shorter than 10 UTF-8 bytes unless
BASEFWX_ALLOW_WEAK_PASSWORD=1is set. - Default user KDF targets are hardened to
PBKDF2=600000/Argon2id=4 x 64 MiB, and heavy-mode payloads advertisePBKDF2=2000000/Argon2id=6 x 256 MiB. - Support policy is single-version: only the latest release is maintained; all older releases are immediately unsupported.
- Python
n10is optimized for large payloads, but C++/Java remain faster in heavy benchmark runs. - CLI progress includes live system telemetry (CPU/GPU/RAM/I/O/TEMP when available).
Set
BASEFWX_PROGRESS_TELEMETRY=0to disable.
Python API
Streaming (fwxAES):
from basefwx import fwxAES_encrypt_stream, fwxAES_decrypt_stream
with open("input.bin", "rb") as src, open("output.fwx", "wb") as dst:
fwxAES_encrypt_stream(src, dst, "password", use_master=False)
with open("output.fwx", "rb") as src, open("decoded.bin", "wb") as dst:
fwxAES_decrypt_stream(src, dst, "password", use_master=False)
Live packetized streaming (transport-agnostic):
from basefwx import LiveEncryptor, LiveDecryptor
from basefwx import fwxAES_live_encrypt_stream, fwxAES_live_decrypt_stream
enc = LiveEncryptor("password", use_master=False)
dec = LiveDecryptor("password", use_master=False)
packets = [enc.start(), enc.update(b"frame-1"), enc.update(b"frame-2"), enc.finalize()]
restored = []
for packet in packets:
restored.extend(dec.update(packet))
dec.finalize()
with open("input.bin", "rb") as src, open("live.enc", "wb") as dst:
fwxAES_live_encrypt_stream(src, dst, "password", use_master=False)
with open("live.enc", "rb") as src, open("live.out", "wb") as dst:
fwxAES_live_decrypt_stream(src, dst, "password", use_master=False)
Live ffmpeg bridge helpers:
from basefwx import fwxAES_live_encrypt_ffmpeg, fwxAES_live_decrypt_ffmpeg
fwxAES_live_encrypt_ffmpeg(
["ffmpeg", "-hide_banner", "-loglevel", "error", "-i", "input.mp4", "-f", "matroska", "-c", "copy", "-"],
"stream.live.fwx",
"password",
use_master=False,
)
fwxAES_live_decrypt_ffmpeg(
"stream.live.fwx",
["ffmpeg", "-hide_banner", "-loglevel", "error", "-y", "-f", "matroska", "-i", "-", "-c", "copy", "restored.mkv"],
"password",
use_master=False,
)
Bytes helpers for b512/pb512 file containers:
from basefwx import b512file_encode_bytes, b512file_decode_bytes
from basefwx import pb512file_encode_bytes, pb512file_decode_bytes
blob = b512file_encode_bytes(data, ".bin", "password", use_master=False)
plain, ext = b512file_decode_bytes(blob, "password", use_master=False)
blob = pb512file_encode_bytes(data, ".bin", "password", use_master=False)
plain, ext = pb512file_decode_bytes(blob, "password", use_master=False)
n10 helpers:
from basefwx import n10encode, n10decode, n10encode_bytes, n10decode_bytes
digits = n10encode("hello")
text = n10decode(digits)
blob_digits = n10encode_bytes(b"\x00\x01\x02")
blob = n10decode_bytes(blob_digits)
Use an empty password to rely on the master key only (requires the private key to be available).
C++ CLI
Build:
cmake -S cpp -B cpp/build
cmake --build cpp/build
Usage:
cpp/build/basefwx [global flags] <command> ...
global flags: --verbose|-v --no-log --no-color
cpp/build/basefwx fwxaes-enc <file> -p <password> [--out <path>]
cpp/build/basefwx fwxaes-dec <file> -p <password> [--out <path>]
cpp/build/basefwx fwxaes-stream-enc <file> -p <password> [--out <path>]
cpp/build/basefwx fwxaes-stream-dec <file> -p <password> [--out <path>]
cpp/build/basefwx fwxaes-live-enc <file> -p <password> [--out <path>]
cpp/build/basefwx fwxaes-live-dec <file> -p <password> [--out <path>]
cpp/build/basefwx an7 <file.fwx> -p <password> [--out <path>] [--keep-input] [--force-any]
cpp/build/basefwx dean7 <file> -p <password> [--out <path>] [--keep-input]
cpp/build/basefwx n10-enc <text>
cpp/build/basefwx n10-dec <digits>
cpp/build/basefwx n10file-enc <in-file> <out-file>
cpp/build/basefwx n10file-dec <in-file> <out-file>
cpp/build/basefwx b64-enc <text>
cpp/build/basefwx b64-dec <text>
cpp/build/basefwx hash512 <text>
cpp/build/basefwx b512-enc <text> -p <password>
cpp/build/basefwx b512-dec <text> -p <password>
cpp/build/basefwx pb512-enc <text> -p <password>
cpp/build/basefwx pb512-dec <text> -p <password>
cpp/build/basefwx b512file-enc <file> -p <password>
cpp/build/basefwx b512file-dec <file.fwx> -p <password>
cpp/build/basefwx pb512file-enc <file> -p <password>
cpp/build/basefwx pb512file-dec <file.fwx> -p <password>
Notes:
--no-logsuppresses telemetry/progress/warnings and keeps primary outputs/errors only.--verboseadds detailed hardware routing reason lines.fwxaes-live-*implements the packetizedLIVEv1 stream format used by Python/Java.fwxaes-live-*supports-for stdin/stdout, so you can pipe media streams (for example withffmpeg).an7applies the reversible AN7 stealth transform to a file that is already encrypted, anddean7reverses it and prints the restored path. Keys come from Argon2id over a fresh 16-byte salt at time cost 5, 128 MiB, and parallelism 4. The payload is rewritten in 1 MiB chunks, then an encrypted trailer and a 64-byte footer are appended.an7anddean7take their arguments in a different shape from the other commands. The input path comes first and everything after it must be a flag, so the password is always-p/--passwordand never a positional argument. In the Java CLI they are the only commands whose password is a flag, and a second positional there is read as the output path.an7requires a.fwxinput unless--force-anyis given. Without--outit writes beside the input asdatafollowed by ten random digits, and an--outpath naming an existing directory receives that generated name.dean7recovers the original name, extension, and SHA-256 digest from the encrypted trailer and verifies the digest before reporting success. Both delete the input on success unless--keep-inputis given.b64-enc,b64-dec, andhash512are single-argument text helpers that print to stdout.hash512prints a lowercase hex SHA-512 digest.
Example live audio pipe (C++):
ffmpeg -hide_banner -loglevel error -i input.m4a -vn -ac 1 -ar 16000 -f wav pipe:1 \
| cpp/build/basefwx fwxaes-live-enc - -p correct-horse-battery --no-master --out - \
| cpp/build/basefwx fwxaes-live-dec - -p correct-horse-battery --no-master --out - > restored.wav
Benchmark commands
cpp/build/basefwx bench-text <method> <text-file> [-p <password>]
cpp/build/basefwx bench-hash <method> <text-file>
cpp/build/basefwx bench-fwxaes <file> <password>
cpp/build/basefwx bench-fwxaes-par <file> <password>
cpp/build/basefwx bench-an7 <file> <password>
cpp/build/basefwx bench-dean7 <file> <password>
cpp/build/basefwx bench-live <file> <password>
cpp/build/basefwx bench-b512file <file> <password>
cpp/build/basefwx bench-pb512file <file> <password>
| Command | What it times |
|---|---|
bench-text |
One encode plus decode round trip of the file’s text. <method> is b64, n10, b512, or pb512, and the last two take a password. |
bench-hash |
Hashing of the file’s text. <method> is hash512. |
bench-fwxaes |
One in-memory fwxAES encrypt plus decrypt round trip over the file bytes. Single-threaded. |
bench-fwxaes-par |
The same fwxAES round trip spread across worker threads. |
bench-an7 |
an7 over a per-worker fwxAES-encrypted seed built from the input. |
bench-dean7 |
dean7 over a per-worker AN7 seed built the same way. |
bench-live |
A packetized live encrypt plus decrypt round trip in memory, with the restored length verified. |
bench-b512file |
A b512 file encode plus decode round trip on a per-worker copy of the input. |
bench-pb512file |
The same round trip through the pb512 file codec. |
Notes:
- These are measurement helpers, not data-processing commands. Each prints a
BENCH_NS=<n>line holding the median wall-clock nanoseconds of one timed iteration. C++ and Javabench-fwxaes-paralso printTHROUGHPUT_GiBps=<value> WORKERS=<n>when usable; Javabench-liveaddsBENCH_VERIFIED_BYTES=<n>. - All leave the named input in place.
bench-an7,bench-dean7,bench-b512file, andbench-pb512filebuild per-worker inputs under owner-only temporary directories. The fwxAES commands read the named input into memory;bench-livereads it directly and uses temporary storage only for its ciphertext where the runtime needs it. - Iteration and thread counts come from the environment:
BASEFWX_BENCH_WARMUP(default2),BASEFWX_BENCH_ITERS(default50),BASEFWX_BENCH_WORKERS(default the detected hardware concurrency), andBASEFWX_BENCH_PARALLELset to0,false,off, ornoto force a single worker. - C++
bench-livecaps the worker count to fit the input size and available memory and warns when it lowers the count.BASEFWX_BENCH_MEMORY_LIMIT_BYTESoverrides the detected C++ budget. Javabench-livecurrently uses the configured worker count without that cap. - Every bench command except
bench-hashalso accepts the master-key flags, andbench-textadditionally accepts--kdfand--pbkdf2-iters. - The Java CLI carries the same nine bench commands. The Python CLI has none.
C++ API
Streaming (fwxAES):
#include "basefwx/fwxaes.hpp"
std::ifstream in("input.bin", std::ios::binary);
std::ofstream out("output.fwx", std::ios::binary);
basefwx::fwxaes::Options opts;
opts.use_master = false;
basefwx::fwxaes::EncryptStream(in, out, "password", opts);
Live packet stream:
#include "basefwx/basefwx.hpp"
std::ifstream src("input.bin", std::ios::binary);
std::ofstream live("output.live", std::ios::binary);
basefwx::FwxAesLiveEncryptStream(src, live, "password", false);
std::ifstream live_in("output.live", std::ios::binary);
std::ofstream plain("restored.bin", std::ios::binary);
basefwx::FwxAesLiveDecryptStream(live_in, plain, "password", false);
Bytes helpers for b512/pb512 file containers:
#include "basefwx/filecodec.hpp"
basefwx::filecodec::FileOptions file_opts;
file_opts.use_master = false;
auto blob = basefwx::filecodec::B512EncodeBytes(data, ".bin", "password", file_opts);
auto decoded = basefwx::filecodec::B512DecodeBytes(blob, "password", file_opts);
auto blob2 = basefwx::filecodec::Pb512EncodeBytes(data, ".bin", "password", file_opts);
auto decoded2 = basefwx::filecodec::Pb512DecodeBytes(blob2, "password", file_opts);
n10 helpers:
#include "basefwx/basefwx.hpp"
std::string digits = basefwx::N10Encode("hello");
std::string text = basefwx::N10Decode(digits);
Java CLI
java -jar build/libs/basefwx-java.jar fwxaes-enc <in> <out> <password>
java -jar build/libs/basefwx-java.jar fwxaes-dec <in> <out> <password>
java -jar build/libs/basefwx-java.jar fwxaes-stream-enc <in> <out> <password>
java -jar build/libs/basefwx-java.jar fwxaes-stream-dec <in> <out> <password>
java -jar build/libs/basefwx-java.jar fwxaes-live-enc <in> <out> <password>
java -jar build/libs/basefwx-java.jar fwxaes-live-dec <in> <out> <password>
java -jar build/libs/basefwx-java.jar n10-enc <text>
java -jar build/libs/basefwx-java.jar n10-dec <digits>
java -jar build/libs/basefwx-java.jar n10file-enc <in> <out>
java -jar build/libs/basefwx-java.jar n10file-dec <in> <out>
java -jar build/libs/basefwx-java.jar b512-enc <text> <password>
java -jar build/libs/basefwx-java.jar b512-dec <text> <password>
java -jar build/libs/basefwx-java.jar pb512-enc <text> <password>
java -jar build/libs/basefwx-java.jar pb512-dec <text> <password>
java -jar build/libs/basefwx-java.jar b512file-enc <in> <out> <password>
java -jar build/libs/basefwx-java.jar b512file-dec <in> <out> <password>
java -jar build/libs/basefwx-java.jar pb512file-enc <in> <out> <password>
java -jar build/libs/basefwx-java.jar pb512file-dec <in> <out> <password>
Notes:
- Java CLI global flags:
--verbose|-v,--no-log. --no-logsuppresses telemetry/warnings while preserving primary outputs/errors.- The Java module includes Argon2id (BouncyCastle, optional libargon2 JNI) and ML-KEM-768/1024 master wrap (BouncyCastle PQC). LZMA is not available. See
COMPATIBILITY.md. - C++ CLI plugin flags:
--plugin <path>,--plugin-id <hex>,--plugin-pos pre|post,--plugin-config <file>(Profile A PRE/POST). Keyed/POS_RAWhost wiring is incomplete. Seeexamples/plugins/THREAT_MODEL.md.
Java API
import com.fixcraft.basefwx.BaseFwx;
try (InputStream in = new FileInputStream("input.bin");
OutputStream out = new FileOutputStream("output.fwx")) {
BaseFwx.fwxAesEncryptStream(in, out, "password", false);
}
byte[] blob = BaseFwx.b512FileEncodeBytes(data, ".bin", "password", false);
BaseFwx.DecodedFile decoded = BaseFwx.b512FileDecodeBytes(blob, "password", false);
try (InputStream in = new FileInputStream("input.bin");
OutputStream out = new FileOutputStream("output.live")) {
BaseFwx.fwxAesLiveEncryptStream(in, out, "password", false);
}
try (InputStream in = new FileInputStream("output.live");
OutputStream out = new FileOutputStream("restored.bin")) {
BaseFwx.fwxAesLiveDecryptStream(in, out, "password", false);
}
String digits = BaseFwx.n10Encode("hello");
String text = BaseFwx.n10Decode(digits);
Retired media commands
The kFM and kFA carriers and the jMG media cipher were retired in 3.8.0. A default CLI, JAR, or wheel does not contain them, and none of the commands below appear in its help output.
They ship only in a compatibility artifact, and their job there is to read
media files you already have. The formats, flags, and bytes are unchanged; the
profile gets security, correctness, and existing-data compatibility fixes only.
Encrypt new media with fwxaes, which treats it as bytes and gives it the same
AEAD guarantees as any other file.
Selecting the compatibility profile happens at build time, so the switch cannot restore these commands in an artifact that shipped without them. Use a compatibility artifact of the same BaseFWX version that wrote the file.
| Runtime | How to select |
|---|---|
| C++ | Configure with -DBASEFWX_ENABLE_RETIRED_MEDIA=ON. |
| Java | BASEFWX_ENABLE_RETIRED_MEDIA=1, or Gradle -PbasefwxEnableRetiredMedia=true (the property wins). |
| Python | Build from source with BASEFWX_ENABLE_RETIRED_MEDIA=1 and the retired-media extra, then set the same variable before importing BaseFWX. |
The same compatibility profile contains b256, A512, Bi512, and Uhash513. The historical environment-variable name remains unchanged so existing build automation does not break. None of these retired commands or their benchmarks ship in a default artifact.
🫡 b256 has been retired since BaseFWX 3.7.0. It was the first BaseFWX encoding method, born in V1 back when this was a proof of concept and not yet a project. Existing data still decodes through the compatibility profile, but for new work, it’s time to go. ❤️
Python
BASEFWX_ENABLE_RETIRED_MEDIA=1 python -m pip install './python[retired-media]'
BASEFWX_ENABLE_RETIRED_MEDIA=1 python -m basefwx kFMe input.png -o input.wav
BASEFWX_ENABLE_RETIRED_MEDIA=1 python -m basefwx kFMe input.mp3 -o input.png --bw
BASEFWX_ENABLE_RETIRED_MEDIA=1 python -m basefwx kFMd input.wav -o restored.png
from basefwx import kFMe, kFMd, jMGe, jMGd
carrier = kFMe("input.mp3", output="input.png", bw_mode=True)
restored = kFMd("input.png", output="restored.mp3")
jMGe("input.m4a", "password", output="out-small.m4a") # default no-archive
jMGe("cover.png", "password", output="out.png", archive_original=True)
jMGd("out-small.m4a", "password", output="plain.m4a") # may not be byte-identical
The fwxaes media flags belong here too: --keep-meta preserves and encrypts
media metadata, --archive embeds the full payload for exact restore, and
--no-archive (the Python default) skips it. On a default build these raise an
error naming the switch rather than silently writing a different format.
C++
cpp/build/basefwx kFMe <in-file> [--out <path>] [--bw]
cpp/build/basefwx kFMd <carrier-file> [--out <path>] [--bw]
cpp/build/basefwx jmge <media> [-p <password>] [--master-pub <path>] [--out <path>] [--archive]
cpp/build/basefwx jmgd <media> [-p <password>] [--out <path>]
Master-only media encryption:
cpp/build/basefwx jmge input.mp4 --master-pub /secure/mlkem768.pub --out out.mp4
std::string carrier = basefwx::Kfme("input.mp3", "input.png", true);
std::string restored = basefwx::Kfmd("input.png", "restored.mp3");
Java
java -jar build/libs/basefwx-java.jar kFMe <in> [--out <out>] [--bw]
java -jar build/libs/basefwx-java.jar kFMd <carrier> [--out <out>] [--bw]
java -jar build/libs/basefwx-java.jar kFAe <in> [--out <out>] [--bw] # deprecated alias
java -jar build/libs/basefwx-java.jar kFAd <carrier> [--out <out>] # deprecated alias
java -jar build/libs/basefwx-java.jar jmge <in> <out> <password> [--no-archive]
java -jar build/libs/basefwx-java.jar jmgd <in> <out> <password>
BaseFwxImage.jmgEncryptFile(new File("input.mp4"), new File("out.mp4"), "password", true, false, true);
BaseFwxImage.jmgDecryptFile(new File("out.mp4"), new File("plain.mp4"), "password", true);
File carrier = BaseFwxImage.kFMe(new File("input.mp3"), new File("input.png"), true);
File restored = BaseFwxImage.kFMd(new File("input.png"), new File("restored.mp3"));
Behaviour notes
kFMepicks the carrier from the source type: audio becomes PNG, everything else becomes WAV. It writes only.pngor.wav, and rejects a mismatched output extension.kFMddecodes BaseFWX carriers strictly and refuses plain media files.- C++ kFM carriers are block-coded into PNG/WAV at near full carrier capacity rather than copying container bytes straight into pixels or samples. Legacy raw carriers still decode.
- C++
jmgedefaults to a key-onlyJMG1trailer: smaller output, concealment-first, and decode may not be byte-identical.--archiveappends the encrypted original for exact restore. - Java
jmgeaccepts--keep-meta,--keep-input, and--no-archive. - jMG media needs
ffmpegandffprobeonPATH. - jMG video stays disabled unless
BASEFWX_ENABLE_JMG_VIDEO=1, on top of the compatibility profile. - kFM/kFA acceleration:
BASEFWX_KFM_ACCEL=auto|cuda|cpu(defaultauto) andBASEFWX_KFM_ACCEL_MIN_BYTES=<bytes>(default1048576). - Python jMG hardware acceleration order is NVIDIA (
nvenc), Intel (qsv), VAAPI, then CPU.BASEFWX_HWACCEL_STRICT=1fails instead of falling back to CPU; C++ selectsnvencwithBASEFWX_HWACCEL=nvenc. - Retired methods have no benchmark commands or rows. Compatibility qualification checks exact bytes and existing-data decoding instead.