Datasets:
|
Download README.md from joemaddalone/ffmpeg-nl2cmd-clean: direct link, hf CLI and curl.
- Browser
- Download file 3.07 kB
-
https://huggingface.co/datasets/joemaddalone/ffmpeg-nl2cmd-clean/resolve/main/README.md
- Command line
-
hf download hf://datasets/joemaddalone/ffmpeg-nl2cmd-clean/README.md
-
curl -L -o README.md https://huggingface.co/datasets/joemaddalone/ffmpeg-nl2cmd-clean/resolve/main/README.md
3.07 kB
metadata
license: mit
task_categories:
- text-generation
language:
- en
tags:
- ffmpeg
- natural-language-to-command
- synthetic
size_categories:
- 1K<n<10K
ffmpeg-nl2cmd-clean: audited and split NL -> ffmpeg commands
A cleaned, audited and split version of burak29/Natural_Language_to_Ffmpeg_Commands (MIT license, by burak29) for training small models that translate a plain-English description into one executable ffmpeg command.
What was done
- Audit (see
scripts/audit.py): every command was executed against tiny synthetic media (lavfi testsrc/sine/color, 12s 640x480 video with audio and subtitle streams; image sequences; glob dirs). Commands needing hardware (nvenc/qsv), network (rtsp/srt/udp/rtp) or uncreatable inputs (.vob, .h264, .ac3, ...) were static-validated instead (filter/encoder/muxer existence). - Dedup: 6 exact + 6 near-duplicate pairs removed (1,030 -> 1,024 rows).
- Labels:
runs(804, exit 0),static-only(80, passed static validation),fails(140, genuine failures - e.g. unescaped commas in filter args, unquoted parentheses, removed options like-map_channel, wrong filter usage likeavectorscopeas a transform filter). - Fixes (logged in
edits): 2 rows with a second-afoverriding the first were merged into one filter chain. - Splits: 80/10/10 train/val/test grouped by main filter or codec family
(151 families). A deliberate subset of rare families (<=2 rows) is assigned
to test so the test set contains filter families absent from train
(
unseen_families_in_test).failsrows keepsplit=""and are excluded from training and evaluation. - Robustness slice (201 rows,
split="test-robust"): test prompts rewritten with different filenames (applied consistently to prompt AND command) and rule-based rephrasing. Never applied to train/val.
Columns
natural_language,ffmpeg_command: original pair (command possibly fixed, seeedits)label:runs|static-only|fails|dupsplit:train|val|test|test-robust| empty for fails/dupscategory: video filter / audio filter / conversion / trim / concat / streamingfilter_family: main filter or codec of the commandreason: audit failure reason (fails rows)robustness_notes,source_id: provenance of robustness variants
License and attribution
Source dataset: burak29/Natural_Language_to_Ffmpeg_Commands,
MIT license. The source is synthetically generated and its author warns it
contains inaccuracies; the audit labels here quantify - but do not fully
resolve - that. Some reference commands that execute are still semantically
wrong, and static-only commands were never executed. Review before use.