What You’ll Learn
Mute Control
Control background video audio on/off
Loop Settings
Configure video looping behavior
Audio Management
Prevent audio conflicts in scenes
Playback Control
Fine-tune video playback behavior
Before You Begin
Make sure you have:- A Pictory API key (get one here)
- Node.js or Python installed on your machine
- Video files for backgrounds (or using stock library)
- Understanding of when to use mute/loop settings
How Background Video Settings Work
When you configure background video settings:- Settings Definition - You specify mute and/or loop settings for scene
- Background Type Detection - System identifies background type (video/image/color)
- Settings Application - Mute and loop are applied to video backgrounds
- Audio Processing - Video audio is muted if
mute: true - Loop Processing - Video loops or plays once based on
loopsetting - Duration Matching - Video duration is handled according to loop setting
- Scene Rendering - Final scene rendered with configured video behavior
Background video settings only apply to video backgrounds. They are ignored for image backgrounds and color backgrounds, which have no audio or inherent duration.
Complete Example
Understanding the Parameters
Background Video Settings
| Parameter | Type | Default | Description |
|---|---|---|---|
background.settings.mute | boolean | true | When true, mutes background video audio. When false, includes video’s original audio. |
background.settings.loop | boolean | true | When true, loops video if shorter than scene duration. When false, video plays once and freezes on last frame. |
Settings Application by Background Type
| Background Type | Mute Applies? | Loop Applies? | Notes |
|---|---|---|---|
| Video | ✓ Yes | ✓ Yes | Both settings are applied to video playback |
| Image | ✗ No | ✗ No | Images have no audio or duration, settings ignored |
| Color | ✗ No | ✗ No | Color backgrounds have no audio or duration |
Mute Setting Explained
Mute: true (Default - Recommended)
- You have voice-over narration
- Using background music separately
- Want only visual elements from video
- Prevent audio conflicts or distraction
- Most common use case for background videos
Mute: false
- Background video has desired ambient sound
- No voice-over or competing audio
- Video audio adds value to the scene
- Creating atmospheric soundscapes
Loop Setting Explained
Loop: true (Default)
- Background video is shorter than scene duration
- Want continuous motion throughout scene
- Using short clips as repeating backgrounds
- Creating seamless visual atmosphere
Loop: false
- Intro/outro videos that should play once
- Video has specific timeline or narrative
- Video length matches or exceeds scene duration
- Don’t want repetitive motion
Configuration Combinations
Combination 1: Muted Looping (Most Common)
Combination 2: Muted Non-Looping
Combination 3: Audio with Looping
Combination 4: Audio Without Looping
Common Use Cases
Educational Video with Voice-Over
Branded Intro Sequence
Ambient Scene with Natural Sounds
Product Demo Without Audio Distraction
Best Practices
Always Mute When Using Voice-Over
Always Mute When Using Voice-Over
Prevent audio conflicts in narrated videos:
- Default to Mute: Set
mute: truefor all narrated content - Audio Clarity: Ensures voice-over is clearly heard
- No Distraction: Background video audio can distract from message
- Professional Sound: Clean audio mix sounds more professional
- Predictable Output: Eliminates unexpected background audio
- Test Exception: Only use
mute: falseintentionally for specific effect
Use Loop for Short Background Clips
Use Loop for Short Background Clips
Ensure continuous motion in scenes:
- Short Clips: Loop 3-10 second clips for longer scenes
- Seamless Loops: Choose videos designed to loop seamlessly
- Visual Continuity: Maintains motion throughout scene
- Stock Library: Many stock videos are designed for looping
- Test Loops: Preview to ensure loop points don’t jar
- Duration Matching: If video length ≥ scene, loop is automatic
Disable Loop for Narrative Videos
Disable Loop for Narrative Videos
Play specific sequences once:
- Intro/Outro: Set
loop: falsefor branded intro/outro sequences - Specific Timeline: Use for videos with beginning/middle/end
- One-Time Events: Actions that shouldn’t repeat (explosions, reveals)
- Timed Sequences: When video timing is crucial to message
- Duration Match: Ensure video length matches or exceeds scene duration
- Freeze Planning: Consider if final frame makes sense frozen
Combine with Background Music Carefully
Combine with Background Music Carefully
Manage audio layers properly:
- Mute Video: Always
mute: truewhen using background music - One Audio Source: Don’t mix background video audio + music
- Layering: Voice-over + music works; voice-over + video audio + music doesn’t
- Volume Balance: If using video audio, omit background music
- Audio Design: Plan overall audio strategy before settings
- Professional Mix: Fewer audio layers = cleaner sound
Test Different Settings for Scene Type
Test Different Settings for Scene Type
Optimize settings per scene purpose:
- Intro Scenes: Typically
mute: true, loop: false - Content Scenes: Typically
mute: true, loop: true - Outro Scenes: Typically
mute: true, loop: false - Ambient Scenes: May use
mute: falsefor atmosphere - Preview First: Test settings with actual content before finalizing
- Document Patterns: Record which settings work for different scene types
Troubleshooting
Settings not affecting output
Settings not affecting output
Problem: Background video settings don’t seem to apply.Solution:
- Verify you’re using a video background (not image or color)
- Check settings are in
background.settings, not elsewhere - Ensure JSON structure is correct with proper nesting
- Settings only apply to video backgrounds, ignored for images
- Test with known video URL to isolate issue
- Review API response for any validation errors
Video audio still playing when muted
Video audio still playing when muted
Problem: Background video audio plays despite
mute: true.Solution:- Verify
mute: trueis set inbackground.settings - Check audio isn’t from voice-over or background music instead
- Ensure you’re testing the correct video output
- Try explicitly setting
mute: true(don’t rely on default) - Test with different video to rule out video-specific issue
- Check if audio is from a different layer in your composition
Video loops unexpectedly
Video loops unexpectedly
Problem: Video keeps looping when you want it to play once.Solution:
- Set
loop: falseexplicitly inbackground.settings - Default behavior is
loop: true, must override - Verify setting is within the scene’s background configuration
- Check that video length is actually shorter than scene duration
- If video ≥ scene duration, looping won’t be noticeable anyway
- Preview output to confirm loop behavior
Video doesn't loop when expected
Video doesn't loop when expected
Problem: Short video doesn’t loop, plays once and stops/freezes.Solution:
- Check if
loop: falseis accidentally set - Default is
loop: true, so check for overrides - Verify video length is actually shorter than scene
- If video matches scene length, no loop needed
- Check
minimumDurationvs actual video duration - Test with explicitly set
loop: true
Video freezes on last frame
Video freezes on last frame
Problem: Video plays once and freezes, but want different behavior.Solution:
- This happens when
loop: falseand video < scene duration - Set
loop: trueto repeat video instead of freezing - Or adjust scene duration to match video length
- Or use longer video that fills entire scene
- This is expected behavior with
loop: false - Plan scenes knowing non-looping videos will freeze
Cannot control specific audio elements
Cannot control specific audio elements
Problem: Want to control music vs effects in background video.Solution:
mutesetting is all-or-nothing for video audio- Cannot selectively mute parts of video’s audio track
- Options:
- Use video editing software to remove audio before upload
- Choose background videos without audio
- Use
mute: trueand add background music separately
- Cannot isolate or control individual audio elements
- This is a limitation of background video audio control
Settings with Custom Video URLs
When using custom video URLs with background settings:- Ensure video URL is publicly accessible
- Video format should be MP4 for best compatibility
- Test video plays correctly before applying settings
- Settings apply regardless of video source (custom or stock)
Default Behavior
When no settings are specified:mute:true(background video audio is muted by default)loop:true(video loops by default if shorter than scene)
Next Steps
Enhance your background video control with these complementary features:Video Intro and Outro
Add video-based intro and outro sequences
Background Music
Add audio layers to your videos
Custom Visual Filters
Control which videos are selected
Scene Transitions
Add transitions between background videos
API Reference
For complete technical details, see:- Render Storyboard Video - Full API specification including background settings
- Get Job Status - Monitor job status and get video URLs
