DatasetVideoChunker User Guide

Turn long videos into short clips for a video dataset — each one described, tagged and, if you want, cropped — and export them with a JSON and CSV manifest that says exactly what every file is. Four steps take you from your first video to your first dataset.

ExpSoft DatasetVideoChunker v1.2.1.0 4 steps · about 10 minutes Complexity: Easy

Before you start

Building a video dataset by hand means cutting clips one by one, writing their captions in a separate spreadsheet, and keeping file names, times and crops in line with each other. DatasetVideoChunker does all of it in one window: you mark the part you want, describe it, and the export writes the clips and the manifest for you.

  • Windows 10 or 11, 64-bit.
  • The free .NET 8 Desktop Runtime. If it is missing, Windows offers to download it the first time you start the app.
  • No graphics card needed. An NVIDIA card can speed up re-encoding (see Settings).
  • Unzip it anywhere. Projects, exports, cache, logs and settings all stay in the app's folder: move or copy the folder and it keeps working.
  • Videos in mp4, mkv, mov, avi, webm, m4v, mpg, mpeg, ts or flv.
Everything stays on your PC. No account, no upload, no telemetry. The app only goes online to check for a new version (you can turn it off) and to show the More Tools ? tab. Your source videos are only read, never modified: every cut and crop is applied to the exported copies.

The window at a glance

The EDITOR tab is where the work happens.

The EDITOR tab of ExpSoft DatasetVideoChunker: project buttons, the video player, the timeline with thumbnails and sound waveform, the playback bar, the list of source videos and the list of chunks
A project with two videos and three chunks. Click the image to enlarge it. (Captured on version 1.2.0.0: version 1.2.1.0 adds the playhead strip above the timeline.)
  1. 1
    Project — New, Open Project…, Save, Save as…. A project is a small .dvcproj file that lists your videos and your chunks.
  2. 2
    Import video(s)… — adds one or more videos. You can also drop them onto the window — on the toolbar, the lists or the timeline, not on the video picture.
  3. 3
    Export… — writes the chunks and the manifest (Step 4).
  4. 4
    The player — the active video, frame by frame.
  5. 5
    The timeline — a strip at the top for the playhead (drag the blue marker there to move through the video), then the thumbnails and the sound waveform (L+R shows the two channels), kept for selecting chunks, and, underneath, an orange band for each chunk of this video. Fit, − and + zoom; Snap keeps cuts on whole frames; Auto-scroll follows the playhead.
  6. 6
    Playback — Play, Pause, Play selection, and the time code.
  7. 7
    Sources — your videos with their size and frame rate. Click one to load it.
  8. 8
    Chunks — every chunk with its title, its description, a crop badge when it is cropped, and its length. Click one to jump to it: the app switches video if needed and restores its In and Out.
  9. 9
    The selection — the In and Out points you have set.

Every button has a tooltip: hover it to read exactly what it does. The WELCOME tab repeats the Quick start and lists every keyboard shortcut.

Step 1

Import your videos

Click Import video(s)… (Ctrl + I) and pick one or several videos, or drop them from Windows Explorer onto the window — anywhere except the video picture itself, which does not take drops. You do not need to create a project first: one is created for you, named default_ followed by six characters.

  • Each video appears in Sources with its size and frame rate; the timeline gets its thumbnails and waveform after a few seconds.
  • A video that is already in the project is skipped, and the status bar says so.
  • Save as… gives the project a name: the project takes the file's name, and the export folder and the manifest follow it.
  • The next time you start the app, your last project opens by itself (you can turn that off in Settings).
Step 2

Mark In and Out

Find the moment you want, then press I where it starts and O where it ends — or drag across the body of the timeline (the thumbnails and the waveform). To move the playhead with the mouse, drag the blue marker in the strip above the timeline: the body is kept for selecting, so a click there never moves the playhead.

A three-second selection on the timeline, from 13 to 16 seconds, with the Play selection button, the Chunk it button and the In and Out times in the status bar
A three-second selection, from 0:13 to 0:16. (Captured on version 1.2.0.0, before the playhead strip.)
  1. 1
    In and Out on the timeline — the highlighted zone. Drag its handles to adjust it.
  2. 2
    Play selection (Shift + Space) — plays only that part, then pauses. The quickest way to check your cut.
  3. 3
    + Chunk it — lights up as soon as a selection exists (Step 3).
  4. 4
    The selection — In and Out, to the second.

To land on the exact frame: ← → move one frame, Shift + arrow one second, Ctrl + arrow five seconds, Home and End jump to the start and the end. Zoom in with + or Ctrl + wheel for frame-exact cuts. Esc clears the selection.

Step 3

Chunk it

Click + Chunk it, press Ctrl + B, or right-click the timeline. The New chunk window opens on the first frame of your selection.

The New chunk window: the selection summary, the title, a description, tags, the crop formats with 1:1 selected, a square crop box on the picture and the square output sizes with 512 selected
A 1:1 crop, scaled to 512 × 512 at export.
  1. 1
    What you selected — In, Out, length, source video and its size.
  2. 2
    Title — numbered for you (chunk_003_RBE175); it becomes the file name. The six characters at the end keep names unique.
  3. 3
    Description — free text, your caption. It goes into the manifest.
  4. 4
    Tags — separated by commas, to sort and filter your dataset later.
  5. 5
    Crop format — Free, 16:9, 1:1, 9:16, 4:3 or 21:9. A format recomputes a centred crop.
  6. 6
    The crop box — drag it to move it, drag a corner to resize it. The line under the picture gives the exact pixels.
  7. 7
    Square output size — from 480 to 2048: locks 1:1 and scales the clip to that size. No square scale keeps the size of the crop.
  8. 8
    Create chunk (Enter) — or Cancel (Esc).

The chunk appears in the list and as an orange band on the timeline. F2 renames the selected chunk, Del removes it. Save (Ctrl + S) often.

Step 4

Export the dataset

Click Export… (Ctrl + E), check the settings, and click Export Selected Chunks.

The Export project window after an export: output folder, format mp4, frame rate same as source, both manifests ticked, Accurate mode, quality CRF 18, three chunks ticked and the summary Done in 0:01, 3/3 OK
Three chunks exported in Accurate mode.
  1. 1
    Output folder — by default exports\<project name>, next to the program.
  2. 2
    Format — mp4, mkv or mov (H.264 video, AAC sound), or webm (VP9 video, Opus sound — always re-encoded).
  3. 3
    Output FPS — the source's frame rate, a preset (60, 50, 30, 25, 24, 16, 15, 9) or any value you type. By default the clip keeps its real duration. Tick Stretch duration to keep every frame instead: fewer frames per second gives slow motion, more gives a time-lapse, and the sound follows.
  4. 4
    Manifests — dataset_manifest.json and dataset_manifest.csv.
  5. 5
    Cut mode — Fast or Accurate; see Fast or Accurate? below.
  6. 6
    Quality — CRF 18 by default, visually lossless. Lower means better and bigger files.
  7. 7
    Chunks to export — untick the ones to leave out; Select all and None do it in one click.
  8. 8
    Progress and summary — each chunk gets a tick, then the summary line.
  9. 9
    Open output folder — opens the result in Windows Explorer.
It is quick. On our test PC, these three chunks (13 seconds in all, two of them cropped) were re-encoded on the processor in about two seconds, manifests included.

What you get

The output folder holds one video per chunk, named after its title, and the manifests:

chunk_001_55REK3.mp4 chunk_002_DOCKEQ.mp4 chunk_003_RBE175.mp4 dataset_manifest.json dataset_manifest.csv
On the left, a frame of the 896 by 512 source video with the square crop box drawn on it; on the right, the same frame in the exported 512 by 512 file
The crop of Step 3: the box on the source, and the exported file.

Each chunk has an entry in dataset_manifest.json. This is the one for the chunk above, as the app wrote it:

{ "file": "chunk_003_RBE175.mp4", "title": "chunk_003_RBE175", "description": "Close-up of a host in white armour and a headset, looking at the camera.", "tags": [ "host", "close-up", "headset", "animation" ], "source": "music-clip-sync-896x512.mp4", "start_seconds": 13, "end_seconds": 16, "duration_seconds": 3, "crop": { "x": 0.242857, "y": 0.05, "width": 0.514286, "height": 0.9, "aspect_preset": "1:1", "target_pixel_size": 512 }, "cut_mode": "reencode", "output_width": 512, "output_height": 512, "output_fps": 24, "output_duration_seconds": 3 }
  • start_seconds / end_seconds / duration_seconds — the part of the source that the file really covers.
  • crop — the crop box as fractions of the source frame (0 to 1), whatever the video's size.
  • cut_mode — reencode (Accurate) or fast_copy (Fast). A Fast cut also gets requested_start_seconds, the In point you asked for.
  • output_width / output_height / output_fps / output_duration_seconds — what the file is, read from the file itself after the export.
  • stretch_factor — only when Stretch duration was used: 1.5 means the clip plays one and a half times slower.

The CSV has the same information, one row per chunk, and opens in any spreadsheet.

Fast or Accurate?

FastAccurate
HowCopies the video as it is, no re-encodingRe-encodes the clip
Where the clip startsAt the keyframe before In — can be several seconds earlyExactly at In
SpeedNear-instantFast; depends on your processor
PictureUntouchedCRF 18 by default, visually lossless
ManifestThe real start, and the In you asked forStart = In

A real example from our demo project: a chunk asked to start at 35.000 s. In Fast mode the file starts at the previous keyframe, 32.833 s, and lasts 7.336 s — and the manifest says exactly that, so no clip is mislabelled. The summary also counts the Fast cuts that start early.

For a dataset, use Accurate. Fast is fine for a quick look; the first seconds of a Fast clip may belong to another shot. A cropped chunk, a different frame rate or the webm format always use Accurate.

Keyboard shortcuts

The WELCOME tab with the Quick start and the full list of keyboard shortcuts
The WELCOME tab keeps the full list at hand.
  1. 1
    The tabs — Welcome, Editor, Settings, and More Tools ? with the other ExpSoft tools.
  2. 2
    Version — the version you are running.
  3. 3
    Quick start — this guide in four lines.
  4. 4
    Keyboard shortcuts — the table below.
KeysAction
I / OMark In / Out
EscClear the selection
Ctrl + BCreate a chunk from the selection
F2 / DelRename / delete the selected chunk (Del also removes a selected video)
SpacePlay / pause
Shift + SpacePlay the selection
K / L / JPause (back to 1×) / play, then 2×, 4×, 8× / jump back 5 seconds
← / →Previous / next frame
Shift + ← / →Jump 1 second
Ctrl + ← / →Jump 5 seconds
Home / EndStart / end of the video
+ / − / 0Zoom in / out / fit the whole video
SSnap to frames on or off
Ctrl + wheelZoom around the mouse pointer
Ctrl + N / O / SNew / open / save the project (Ctrl + Shift + S: save as)
Ctrl + I / EImport videos / export

Settings

The Settings tab with the default export format, the NVENC option, the reopen and update options, the Save button and the paths of the app's folders
Settings.
  1. 1
    Default export format — the format the Export window starts with (mp4, mkv, webm, mov).
  2. 2
    Enable NVENC for export — re-encodes on an NVIDIA card: faster, slightly lower quality at the same bitrate. If the card cannot do it, the export switches back to the processor by itself. On our test PC the first GPU export after starting the app took about 14 seconds (the encoder starting up); the next ones took under half a second per clip. webm always uses the processor.
  3. 3
    Reopen the last project on startup — on by default.
  4. 4
    Check for updates on startup — compares your version with the latest one on the ExpSoft website.
  5. 5
    Save — writes the settings to config.json; Reload discards unsaved changes.
  6. 6
    Paths — where the app keeps its files (next section).

Files the app writes

Everything stays in the app's folder.

  • projects\ — your .dvcproj projects (the default place offered by Save and Open).
  • exports\ — one folder per project with the clips and the manifests (unless you pick another output folder).
  • cache\ — thumbnails, preview frames and waveforms, so a video opens faster the next time. You can delete it while the app is closed: it is rebuilt when needed.
  • logs\ — startup.log and player.log.
  • config.json — your settings and the list of recent projects.
  • ExpSoft_DatasetVideoChunker.exe.WebView2\ — the browser data of the More Tools ? tab.

Troubleshooting

Windows asks me to install .NET when I start the app

The app needs the free .NET 8 Desktop Runtime. Accept the download Windows offers, install it, then start the app again.

My clip starts a few seconds before my In point

It was exported in Fast mode, which can only start on a keyframe. The manifest gives the real start. Export it again in Accurate mode for an exact cut.

A cropped chunk ignores Fast mode

That is expected: a crop, a new frame rate or the webm format change the picture, so the clip has to be re-encoded. The Export window says so.

Can I change a chunk after creating it?

You can rename it (F2) or delete it (Del). To change its times, description, tags or crop, create it again: click it to see its In and Out, mark the part you want, press Ctrl + B, then delete the old one.

The New chunk window does not show all the options

On a small screen, scroll the right-hand panel, or enlarge the window: the square output sizes are under the crop formats.

I deleted a video from Sources and my chunks went with it

A chunk cannot exist without its video, so the app asks before deleting a video that has chunks. If you did not save, reopen the project to get them back.

Dropping a video on the window does nothing

Drop it on the toolbar, the lists or the timeline: the video picture does not take drops. If the app was started as administrator, Windows blocks drops from a normal Explorer window — start the app normally, or use Import video(s)….

Something went wrong. What should I send?

logs\player.log and logs\startup.log, next to the program, tell the whole story. Send them to ExpSoft with a word on what you did.