Command Reference

Arena provides 11 commands for flexible video clip generation workflows.process, transcribe, and extract-audio accept supported URLs. process and transcribe also accept audio files. Commands that generate or inspect video artifacts use local files.

CommandPurpose
arena initInteractive setup wizard
arena processAll-in-one clip generation
arena transcribeTranscription only
arena analyzeFind moments without generating clips
arena generateGenerate clips from analysis
arena formatFormat clips for social platforms
arena detect-scenesDetect visual scene changes
arena configManage configuration
arena extract-audioExtract audio from video
arena setupCreate, check, or repair the managed runtime
arena diagnoseSystem diagnostics

arena init

Run the interactive setup wizard to configure Arena for the first time or update your preferences.

Terminal
arena init

arena process

The all-in-one command. Transcribes, analyzes, and generates clips in a single pipeline.

Terminal
arena process <video-or-url> [options]

Options

OptionDescriptionDefault
-o, --output <dir>Output directoryoutput
-n, --num-clips <number>Target number of clips8
--min <seconds>Minimum clip duration30
--max <seconds>Maximum clip duration90
--fastStream copy mode (10x faster, no re-encoding)false
--captionsBurn subtitles into clipsfalse
-p, --platform <platform>Format generated clips for a supported platformNot set
--editorial-model <model>gpt-4o or gpt-4o-minigpt-4o
--no-cacheIgnore cached transcriptfalse
--padding <seconds>Padding before/after clips0.1
--export-layersExport intermediate layer resultsfalse
--scene-detectionUse scene changes to improve clip boundariesfalse
--crop <strategy>center, smart, top, or bottomcenter
--pad <strategy>blur, black, white, or colorblur
--pad-color <color>Hex padding color used with --pad color#000000
--cookies-from-browser <browser>Use Chrome, Firefox, Safari, or Edge cookies for URL downloadsNot set
--caption-font-size <size>Caption font sizeEngine default
--caption-color <color>Caption colorEngine default
--caption-position <position>bottom, top, or middleEngine default
--debugShow diagnostic details on failurefalse

Examples

Terminal
# Local video file
arena process video.mp4

# YouTube URL
arena process "https://www.youtube.com/watch?v=VIDEO_ID" -n 5

# With captions for TikTok
arena process video.mp4 --captions -p tiktok

# Cost-optimized
arena process video.mp4 --editorial-model gpt-4o-mini -n 5

# Fast mode (stream copy)
arena process video.mp4 --fast

# Audio file
arena process podcast.mp3 -n 5

# YouTube with browser cookies
arena process "https://www.youtube.com/watch?v=VIDEO_ID" --cookies-from-browser chrome

arena transcribe

Transcribe video or audio without analysis or clip generation. Supports local files and URLs.

Terminal
arena transcribe <video-or-url> [options]

Options

OptionDescriptionDefault
-o, --output <file>Output transcript path<input>_transcript.json
--no-cacheForce re-transcriptionfalse
--cookies-from-browser <browser>Use browser cookies for URL downloadsNot set
--debugShow diagnostic details on failurefalse

Examples

Terminal
# Transcribe local video
arena transcribe video.mp4

# Transcribe YouTube URL
arena transcribe "https://www.youtube.com/watch?v=VIDEO_ID" -o transcript.json

# Transcribe audio file
arena transcribe podcast.mp3 -o transcript.json

# Force re-transcription
arena transcribe video.mp4 --no-cache

arena analyze

Analyze video and identify clips without generating video files. Useful for reviewing moments before committing to generation.

Terminal
arena analyze <video> [options]

Options

OptionDescriptionDefault
-o, --output <file>Output analysis path<video>_analysis.json
-n, --num-clipsNumber of clips to analyzeEngine default
--min / --maxDuration constraints30 / 90
--editorial-modelModel for analysisgpt-4o
--transcript <file>Use existing transcript-
--scene-detectionUse scene changes to improve boundariesfalse
--debugShow diagnostic details on failurefalse

Examples

Terminal
# Analyze and find 10 potential clips
arena analyze video.mp4 -n 10 -o moments.json

# Use existing transcript
arena analyze video.mp4 --transcript transcript.json

# Cost-optimized analysis
arena analyze video.mp4 --editorial-model gpt-4o-mini

arena generate

Generate video clips from an existing analysis JSON file.

Terminal
arena generate <video> <analysis> [options]

Options

OptionDescriptionDefault
-o, --output <dir>Output directory./clips
-n, --num-clips <number>Limit the number of generated clipsAll
--select <1,3,5>Generate specific clips by indexall
--fastStream copy modefalse
--padding <seconds>Padding before/afterEngine default
--debugShow diagnostic details on failurefalse

Examples

Terminal
# Generate all clips from analysis
arena generate video.mp4 analysis.json

# Generate only clips 1, 3, and 5
arena generate video.mp4 analysis.json --select 1,3,5

# Fast generation with stream copy
arena generate video.mp4 analysis.json --fast

arena format

Format video clips for specific social media platforms. See the Platform Formatting page for full details.

Terminal
arena format <input> -p <platform> [options]

Examples

Terminal
# Format for TikTok
arena format clip.mp4 -p tiktok -o tiktok/

# Batch format directory
arena format clips/ -p instagram-reels --crop smart -o reels/

# With blur background
arena format video.mp4 -p youtube --pad blur -o youtube/

Options

OptionDescriptionDefault
-p, --platform <platform>Required target platformRequired
-o, --output <dir>Output directoryoutput/formatted
--crop <strategy>Crop strategycenter
--pad <strategy>Padding strategyblur
--pad-color <color>Hex padding color#000000
--no-qualityUse faster, lower-quality encodingfalse
--captions <srt>Burn captions from an SRT fileNot set
--caption-font-size <size>Caption font sizeEngine default
--caption-color <color>Caption colorEngine default
--caption-position <position>Caption positionEngine default

arena detect-scenes

Analyze and output visual scene change boundaries.

Terminal
arena detect-scenes <video> [options]

Examples

Terminal
arena detect-scenes video.mp4
arena detect-scenes video.mp4 --threshold 0.35

Options

OptionDescriptionDefault
-o, --output <file>Scenes JSON pathEngine default
--threshold <value>Detection threshold from 0.0 to 1.00.4
--min-duration <seconds>Minimum scene duration2.0
--reportGenerate a detailed reportfalse
--debugShow diagnostic details on failurefalse

arena config

View and manage Arena configuration.

Terminal
arena config                        # View current config
arena config set <key> <value>      # Set a non-sensitive value
arena config get <key>              # Get specific value
arena config reset                  # Reset to defaults

API keys are entered through a private interactive prompt. Do not place a key directly in the command because shell history may retain it.

Terminal
arena config set openai_api_key

Common config keys

KeyDescription
openai_api_keyOpenAI API key
whisper_modeTranscription mode (currently api)
clip_durationDefault duration range
output_formatVideo output format

arena extract-audio

Extract audio from video or URL in various formats.

Terminal
arena extract-audio <video-or-url> [options]

Options

OptionDescriptionDefault
-o, --output <file>Output audio pathauto
--formatmp3, wav, aac, flacmp3
--bitrateAudio bitrate192k
--sample-rateSample rate in Hzauto
--monoConvert to monofalse
--cookies-from-browser <browser>Use browser cookies for URL downloadsNot set
--debugShow diagnostic details on failurefalse

Examples

Terminal
# Extract to MP3
arena extract-audio video.mp4

# High-quality WAV
arena extract-audio video.mp4 --format wav -o audio.wav

# Mono for speech processing
arena extract-audio video.mp4 --mono --bitrate 128k

# Extract audio from an authenticated URL
arena extract-audio "https://www.youtube.com/watch?v=VIDEO_ID" --cookies-from-browser chrome

arena setup

Create, verify, or repair Arena's managed processing runtime.

Terminal
arena setup          # Create or update the managed runtime
arena setup --check  # Check health without changing anything
arena setup --force  # Rebuild the managed runtime
arena setup --yes    # Approve supported dependency installation

arena diagnose

Run system diagnostics to check your environment.

Terminal
arena diagnose