FFmpeg.wasm icon

FFmpeg.wasm

Process audio and video files using FFmpeg.wasm

Trim/Cut Video

AI-generated

Summary

Trim video from start time to end time or specified duration using FFmpeg copy codec for fast, re-encoding-free processing.

Inputs

  • binaryPropertyName — Name of the binary property containing the input file
  • outputBinaryPropertyName — Name of the binary property to store the output file

Output shape

binary

Output video file binary stored in outputBinaryPropertyName, always MP4 with copy-applied audio/video streams

Examples

Example 1: Trim a 2-minute video from 00:00:10 to 00:01:30

Set startTime to '00:00:10', endTime to '00:01:30', leave binaryPropertyName as 'data', and the node outputs the trimmed clip in the 'data' binary property

Links

Discussion