AutomationFlowsGeneral › Social Media Video Pipeline (trim → Scale → Burn Text → Mp4)

Social Media Video Pipeline (trim → Scale → Burn Text → Mp4)

Social Media Video Pipeline (Trim → Scale → Burn Text → MP4). Uses n8n-nodes-ffmpeg-studio, writeBinaryFile. Event-driven trigger; 6 nodes.

Event trigger★★★★☆ complexity6 nodesN8N Nodes Ffmpeg StudioWrite Binary File
General Trigger: Event Nodes: 6 Complexity: ★★★★☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Social Media Video Pipeline (Trim \u2192 Scale \u2192 Burn Text \u2192 MP4)",
  "nodes": [
    {
      "parameters": {},
      "id": "trigger-001",
      "name": "Start",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        100,
        300
      ]
    },
    {
      "parameters": {
        "operation": "trim",
        "inputFile": "/path/to/source-video.mp4",
        "startTime": "0",
        "endTime": "30"
      },
      "id": "trim-001",
      "name": "Trim to 30s",
      "type": "n8n-nodes-ffmpeg-studio.ffmpegVideo",
      "typeVersion": 1,
      "position": [
        340,
        300
      ]
    },
    {
      "parameters": {
        "operation": "scale",
        "inputFile": "={{ $json.filePath }}",
        "width": 1080,
        "height": 1920,
        "scalingMode": "fit"
      },
      "id": "scale-001",
      "name": "Scale to 1080x1920 (9:16 Reel)",
      "type": "n8n-nodes-ffmpeg-studio.ffmpegVideo",
      "typeVersion": 1,
      "position": [
        580,
        300
      ]
    },
    {
      "parameters": {
        "operation": "burnSubtitles",
        "inputFile": "={{ $json.filePath }}",
        "text": "Follow for more tips! \ud83d\udd25",
        "fontSize": 60,
        "fontColor": "white",
        "x": "(w-text_w)/2",
        "y": "h-200",
        "startTime": "0",
        "endTime": "30"
      },
      "id": "text-001",
      "name": "Burn Text Overlay",
      "type": "n8n-nodes-ffmpeg-studio.ffmpegVideo",
      "typeVersion": 1,
      "position": [
        820,
        300
      ]
    },
    {
      "parameters": {
        "operation": "convert",
        "inputFile": "={{ $json.filePath }}",
        "outputFormat": "mp4",
        "videoCodec": "libx264",
        "audioCodec": "aac",
        "crf": 23
      },
      "id": "export-001",
      "name": "Export Final MP4",
      "type": "n8n-nodes-ffmpeg-studio.ffmpegVideo",
      "typeVersion": 1,
      "position": [
        1060,
        300
      ]
    },
    {
      "parameters": {
        "fileName": "social-reel.mp4"
      },
      "id": "write-001",
      "name": "Write Binary File",
      "type": "n8n-nodes-base.writeBinaryFile",
      "typeVersion": 1,
      "position": [
        1300,
        300
      ]
    }
  ],
  "connections": {
    "Start": {
      "main": [
        [
          {
            "node": "Trim to 30s",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trim to 30s": {
      "main": [
        [
          {
            "node": "Scale to 1080x1920 (9:16 Reel)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scale to 1080x1920 (9:16 Reel)": {
      "main": [
        [
          {
            "node": "Burn Text Overlay",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Burn Text Overlay": {
      "main": [
        [
          {
            "node": "Export Final MP4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Export Final MP4": {
      "main": [
        [
          {
            "node": "Write Binary File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {},
  "meta": {
    "description": "Converts any video into a social-media-ready 9:16 reel: trim to 30s, scale to 1080x1920, burn a CTA text overlay, and export as optimized MP4.",
    "tags": [
      "video",
      "social-media",
      "reels",
      "tiktok",
      "instagram"
    ]
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Social Media Video Pipeline (Trim → Scale → Burn Text → MP4). Uses n8n-nodes-ffmpeg-studio, writeBinaryFile. Event-driven trigger; 6 nodes.

Source: https://github.com/ArielleTolome/n8n-nodes-ffmpeg/blob/main/examples/social-media-video-pipeline.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Thumbnail Generation (Extract Frame → Add Watermark → PNG). Uses n8n-nodes-ffmpeg-studio, writeBinaryFile. Event-driven trigger; 5 nodes.

N8N Nodes Ffmpeg Studio, Write Binary File
General

Create 2 Xml Files With And Without Xml Attributes. Uses manualTrigger, mySql, itemLists, xml. Event-driven trigger; 13 nodes.

MySQL, Item Lists, XML +2
General

Simple File Based Key Value Store Writekey. Uses manualTrigger, writeBinaryFile, functionItem, readBinaryFiles. Event-driven trigger; 10 nodes.

Write Binary File, Function Item, Read Binary Files +1
General

Standup Bot 1 4 Initialize. Uses manualTrigger, writeBinaryFile, moveBinaryData. Event-driven trigger; 4 nodes.

Write Binary File, Move Binary Data
General

Standup Bot - Initialize. Uses manualTrigger, writeBinaryFile, moveBinaryData. Event-driven trigger; 4 nodes.

Write Binary File, Move Binary Data