How to use
Android browsers cannot reveal real filesystem paths. Pick files to get their names, then set base directories that Termux can access. The helper combines your base dirs with file names to form paths.
- Typical input base dir:
/storage/emulated/0/Download - Typical output base dir:
/storage/emulated/0/Movies - Termux home:
/data/data/com.termux/files/home
Placeholders like {inputPath} and {outputPath} are expanded per selected file.
Copy commands and paste them into Termux bash.
FFmpeg tips
-isets the input. Most commands start withffmpeg -i {inputPath}.-c copy(or-c:v copy -c:a copy) rewraps without re‑encoding.-map 0keeps all streams (extra audio tracks, subtitles).-
Trimming:
-ssstart time,-tduration, or-toend time. Use-c copyfor fast cuts when possible. -
Quality:
-crfcontrols size/quality (x264 typical 18–23, x265 typical 24–30). Lower is better quality and larger files.-presettrades speed for compression. -
Filtergraphs often need quotes:
-vf "fieldmatch,yadif,decimate". Use straight quotes. -
In bash loops, add
-nostdinbefore-ito avoid interactive stdin issues.
Settings
Used directly in commands. Must match a real Termux‑visible path.
Used directly in commands. Must match a real Termux‑visible path.
Generates
{outputFileName}. Example: —
If templates start with
ffmpeg, this value is used instead.Affects placeholders like
{inputPath} and {outputPath}.Data import/export
Source files
No files selected.
Input path preview
—
Output path preview
—