Skip to content

Privacy and preparation

Egocentric video task segmentation: how to define a task in a shift of footage

By SourceX Editorial · Reviewed by Noah Loul ·

10 sections

Short answer

To define a training task within a shift of workplace video, write the task first: its goal, a visible start trigger, an end condition and the evidence of outcome. Then cut the shift into episodes, one attempt each, recording boundaries, outcome, corrections, interventions, conditions and who is visible. Travel, waiting and idle time stay in the shift timeline, and failed or abandoned attempts are coded, not discarded.

Video and sensors

Egocentric video task

This page covers egocentric video task segmentation: how to define a task in a shift of footage.Illustrative

Key takeaways

  • A shift is a container; the training unit is an episode, one attempt at one defined task from start trigger to verified outcome or abandonment.
  • Write the task definition and boundary rules before reviewing footage, and version them when an exception forces a new rule.
  • Record outcome, corrections and interventions in every episode, because failures and recoveries are the scarce part of the footage.
  • Measure clock offsets and capture camera metadata first; boundaries are only as precise as the timestamps behind them.
  • Make visibility and consent a field per episode, and get counsel to review audio, bystanders and site rules before footage leaves the business.

How do you define a training task within a shift of workplace video?

Define the task before you touch the footage. A training task is one named piece of work with a goal, a visible start trigger, an end condition and evidence of the outcome, such as replacing a filter, terminating a cable or torquing a set of bolts. An episode is one attempt at that task, from trigger to verified outcome or to abandonment, and a shift is only the container that holds many episodes plus everything between them.

Writing the definition first changes what you cut. Without it, teams slice video by time or by camera file, and the resulting clips mix half a task with travel, paperwork and a coffee break. With it, every clip can be checked against the same four questions: what was the goal, what started the attempt, how did it end, and what proves the outcome.

The segmentation guide below turns that definition into fields a business can fill while reviewing its own recordings, so that a buyer or an annotation team receives episodes rather than hours.

Why is a recorded shift not yet a training dataset?

Research datasets that teams already train on are delivered as labeled segments, not as raw days. The EPIC-KITCHENS-100 annotation files give each action segment a start timestamp, a stop timestamp, the participant's narration and parsed verb and noun classes. The Ego4D paper describes thousands of hours of first-person video, but its value comes from the benchmarks and annotations layered on top, from episodic memory queries to hand-object interaction.

Procedural datasets go further and nest the segments. Assembly101 annotates its assembly and disassembly recordings with both coarse and fine-grained action segments and records mistakes and corrections, because participants worked without fixed instructions. Ego4D Goal-Step organizes procedural video into goals, steps and substeps, each with a time interval, a label and a description, and also marks step completion and relevance to the goal.

Robot learning formats make the episode explicit. The RLDS format stores data as episodes made of steps, with flags for the first step, the last step and a terminal state. LeRobotDataset v3 concatenates many episodes into shared Parquet and MP4 files and reconstructs each episode from metadata that records its start and end offsets and its task. A shift of footage that has no task boundaries cannot be loaded into either structure without someone deciding where every episode begins and ends.

Where should an episode start and end?

Start an episode at the first observable action taken toward the goal and end it at the first moment the outcome can be verified, or at the moment the worker abandons or hands off the attempt. Travel to the job, waiting for parts and filling in a paper form belong to the shift record, not to the episode, unless the task definition says they are part of the skill.

Each boundary needs a rule that two reviewers would apply the same way. The table lists the boundary events that come up most often in manual work and how to treat each one.

Where should an episode start and end?
Boundary eventRuleEvidence to citeIllustrative case
Start triggerEpisode starts at the first hand or tool contact aimed at the task goalFrame time of first contactTechnician grips the access panel latch
Verified successEpisode ends when the outcome check is visible or loggedTest reading, inspection view or system status changeUnit restarts and the airflow reading appears on the gauge
AbandonmentEpisode ends at the last task action; outcome coded as abandonedWorker leaves the work area or switches tools to another jobWrong filter size; technician closes the panel and leaves
Interruption and resumeOne episode with a pause interval recorded, if the same worker resumes within the agreed gapPause start and end timesPhone call of a few minutes, then work continues
HandoffEnd the episode for the first worker and start a linked episode for the secondVisible handoff or a second camera wearerApprentice starts; senior technician finishes the fit
ReworkKeep inside the episode as a labeled correction step, not a new episodeUndo action followed by a repeat of the stepBolt removed and re-torqued after a gauge check
Idle and transitionExclude from episodes; keep as background in the shift timelineGaps with no task-directed actionWalking between rooftop units

What should the episode segmentation guide for manual work include?

The guide is one record per episode plus a short header per shift. Keep it in a spreadsheet or a JSON file next to the video, and refer to the source file and time offsets rather than exporting new clips until the buyer agrees on the format.

At a glance

What should the episode segmentation guide for manual work include

Every field below is there because an annotation team or a training pipeline will otherwise ask for it later. The illustrative entries are invented to show the level of detail expected.

What should the episode segmentation guide for manual work include?
FieldWhat to recordWhere it comes fromIllustrative entry
Task definition IDThe named task, its goal, start trigger and end condition, versionedTask definition sheet written before reviewT-07 replace pleated filter, version 2
Episode and shift IDsUnique episode ID, the shift it came from and the worker's pseudonymous IDReview logE-0314 in shift S-22, wearer W-05
Source and offsetsVideo file name, camera, start and end offsets in secondsCamera export and reviewer marksHead camera file 3, offsets 1,412 to 1,868
Time baseClock used for offsets and the measured offset to other streamsRecorder settings, sync clap or shared eventHead camera about 1 second behind wrist sensor
OutcomeSuccess, partial, failed, abandoned or handed off, with the evidence citedVisible check, test reading or work order statusSuccess; gauge reading in frame at the end
Steps and correctionsOrdered steps with any rework, skipped or out-of-order step markedReviewer annotationSteps 1 to 5; step 4 repeated after check
InterventionsHelp from another person, a supervisor instruction or a tool swapVideo, radio log or reviewer noteCoworker holds panel during step 2
ConditionsLighting, space, weather, equipment model and any unusual site factorSite notes and asset recordsRooftop, low sun glare, older unit model
Visibility and consentWho appears, whether consent covers them and what needs maskingConsent register and reviewer checkWearer consented; customer visible at 1,500 to 1,520, mask
Quality flagsOcclusion, motion blur, dropped frames or audio issuesReviewer checkHands out of frame for 9 seconds in step 3

Which clock and camera metadata keep segments aligned?

Record which clock each stream uses and measure the offset between them before segmenting, because a boundary rule is only as precise as the timestamps it is written against. A one-second disagreement between a head camera and a wrist sensor is enough to put a grasp in the wrong step.

Existing robotics formats show what to keep. The MCAP file specification gives every message a log time, when it was recorded, and a publish time, when it was published, and lets attachments carry calibration data. The ROS CameraInfo message says its header timestamp should be the acquisition time of the image and that an uncalibrated camera should leave its calibration matrices zeroed, so a missing calibration is explicit rather than silently wrong.

For consumer or industrial body cameras that do not write these fields, add them in the shift header: device model, firmware, resolution and frame rate, mount position, the clock source, a sync event at the start and end of the shift, and whether calibration was done. RLDS draws a further distinction worth copying in the outcome field: an episode that reaches a terminal state is different from one that was truncated, and the two should never be coded the same way.

What operating variation or recovery behavior is missing from the footage?

Usually the hard cases are missing. A shift of a skilled worker on a normal day shows the routine path many times and the recoveries that make the skill valuable only rarely, so count what the segmented episodes cover before deciding the footage is enough.

At a glance

What operating variation or recovery behavior is missing from the footage

Build a small coverage grid from the episode records. For each task definition, count episodes by outcome and by condition, then look for empty cells. Assembly101 is a useful reference here: its authors chose unscripted procedures precisely so that ordering variation, mistakes and corrections would appear naturally.

  • Outcome mix: are there failed, partial and abandoned episodes, or only successes?
  • Recovery behavior: do any episodes show a dropped part, a stripped fastener, a wrong part or a re-check that fails?
  • Operator variation: does more than one worker perform each task, and do novices and experienced staff both appear?
  • Equipment variation: are older and newer models, different tool brands and worn tools represented?
  • Site conditions: low light, confined space, weather, noise and clutter that change how the task is done.
  • Interventions: help from a coworker, a supervisor instruction or a remote expert call, each labeled rather than cut out.
  • Interleaving: tasks performed in parallel or paused for another job, which the boundary rules must handle explicitly.

Worked example: segmenting one maintenance technician's shift

The shift below is a made-up illustration, and every count in it is hypothetical. A building services company reviews one eight-hour head-camera shift of a maintenance technician against three task definitions: replace a pleated filter, clean a condensate drain and replace a belt.

Reviewers find 14 candidate episodes. Nine are filter replacements, eight of them successful and one abandoned because the wrong size was delivered. Three are drain cleanings, one with a rework step after a leak test failed. Two are belt replacements, one of them handed off to a second technician whose own camera was not recording, so it is logged as a handoff with an unverified outcome. Travel, a parts pickup and lunch make up about half the shift and are kept only in the shift timeline.

The exception: for about twenty minutes the technician alternates between a drain cleaning and a filter change on neighboring units while waiting for water to clear. The team writes a boundary rule for interleaved tasks, two episodes with recorded pause intervals rather than one merged clip, and adds it to the task definition sheet as version 2 so later reviewers apply it the same way. The coverage grid shows no failed belt replacements at all, so the next recording week targets older units where belt wear is common.

Settle who may appear before segmenting, because segmentation creates copies, notes and clips that spread the footage to more people. The wearer's agreement to record is the starting point, not the whole answer: coworkers, customers and visitors can walk into frame, screens and documents can be readable, and audio can capture conversations the wearer never meant to share.

Make visibility a field in every episode record and decide masking per episode, not per shift. Rules on workplace monitoring, recording conversations and biometric data vary by state and country, so counsel should review the specific site, the consent language and any audio before footage leaves the business. A rights check also asks a separate question from privacy: whether the business, rather than a customer or equipment vendor, controls the footage and may license it at all.

What if the footage cannot support a clean task definition?

Stop and narrow the scope when two careful reviewers cannot agree where episodes begin and end. That usually means the task definition is too broad, the camera does not show the hands, or the work is mostly invisible decisions rather than physical action.

At a glance

What if the footage cannot support a clean task definition

  • Narrow the task when a definition covers several skills, for example split a full service visit into separate filter, drain and belt tasks.
  • Change the camera setup when hands leave the frame for long stretches; a wrist or chest mount may suit close work better than a head mount.
  • Ask a physical AI researcher to review the task definitions when the buyer's model needs a specific action vocabulary or step granularity.
  • Ask a workplace privacy reviewer when bystanders appear often, when audio is captured, or when the site is unionized or shared with a customer.
  • Pause segmentation if the consent register does not cover a worker who appears in episodes; masking after the fact is a fallback, not a plan.

Preparing segmented footage for a licensing review

Segmented footage with a written task definition, outcome codes and a visibility field is far easier to assess than a folder of shift recordings, and it lets a business see what it actually holds before any data leaves its control.

Recordings of real work are among the operational records SourceX helps businesses license to AI developers, with qualification, rights review, contracting, preparation and delivery handled along the way. Qualification looks first at the company, so no footage is uploaded at that stage, and no episode is delivered until the business has approved the scope and terms and signed the agreement.

Frequently asked questions

What is an episode in egocentric video?

An episode is one attempt at one defined task, from the first action toward the goal until the outcome is verified or the attempt is abandoned or handed off. Robot learning formats such as RLDS and LeRobotDataset are built around episodes, so footage segmented this way loads into them with little rework.

How long should a task segment be?

As long as the task takes, from start trigger to end condition; there is no fixed clip length. If episodes for the same task vary wildly in length, check whether the definition mixes several skills or whether idle time is leaking into the segments.

Should failed or abandoned attempts be kept?

Yes, coded with their outcome rather than deleted. Failures, rework and recoveries are the parts of real work that are hardest to collect, and models that only see successful attempts learn little about what to do when something goes wrong.

Is task segmentation the same as action labeling?

No. Task segmentation decides where each attempt starts and ends and what its outcome was; action labeling then marks the steps and hand-object actions inside each episode. Doing the first well makes the second cheaper and more consistent.

Who should review the task definitions?

Someone who does the work, to confirm the steps and outcome checks are real, and a physical AI researcher when the buyer needs a specific action vocabulary. A workplace privacy reviewer should check the visibility and consent fields before footage is shared.

Sources

  • EPIC-KITCHENS-100 annotations give each action segment start and stop timestamps, the participant's narration and parsed verb and noun classes. Source
  • The Ego4D paper describes thousands of hours of first-person video with benchmarks spanning episodic memory, hand-object manipulation and forecasting. Source
  • Assembly101 records unscripted assembly and disassembly with coarse and fine-grained action segments, including mistakes and corrections. Source
  • Ego4D Goal-Step organizes procedural video into goals, steps and substeps with time intervals, labels and descriptions, plus step completion and relevance. Source
  • RLDS stores episodes of steps with first, last and terminal flags, and treats an episode that ends without a terminal step as truncated. Source
  • LeRobotDataset v3 concatenates episodes into shared files and reconstructs each one from metadata recording its offsets and task. Source
  • The MCAP specification gives each message a log time and a publish time and supports attachments such as calibration data. Source
  • ROS CameraInfo uses the image acquisition time as its header timestamp and leaves calibration matrices zeroed for an uncalibrated camera. Source

See if your company qualifies

A short company assessment. No data uploads are needed.

See if your company qualifies