Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • Compute Services
  • System Modeler
  • Finance Platform
  • Wolfram|Alpha Notebook Edition
  • Application Server
  • Enterprise Private Cloud
  • Wolfram Engine
  • Wolfram Player
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

Wolfram Consulting

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Notebook Assistant + LLM Kit
    • Compute Services
    • System Modeler
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Application Server
    • Enterprise Private Cloud
    • Wolfram Engine
    • Wolfram Player
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
OverlayVideo
  • See Also
    • VideoFrameMap
    • VideoMap
    • GridVideo
    • VideoGenerator
    • ImageCompose
  • Related Guides
    • Video Editing
    • Video Computation: Update History
    • Video Creation
    • See Also
      • VideoFrameMap
      • VideoMap
      • GridVideo
      • VideoGenerator
      • ImageCompose
    • Related Guides
      • Video Editing
      • Video Computation: Update History
      • Video Creation

OverlayVideo[background,o]

gives the result of overlaying o onto a background video or image background.

OverlayVideo[background,{o1,o2,…}]

gives the result of overlaying o1, o2, ….

OverlayVideo[background,{interval1o1,…}]

overlays each oi during the time interval intervali.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Basic Uses  
Time Specification  
Position Specification  
Applications  
See Also
Related Guides
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • VideoFrameMap
    • VideoMap
    • GridVideo
    • VideoGenerator
    • ImageCompose
  • Related Guides
    • Video Editing
    • Video Computation: Update History
    • Video Creation
    • See Also
      • VideoFrameMap
      • VideoMap
      • GridVideo
      • VideoGenerator
      • ImageCompose
    • Related Guides
      • Video Editing
      • Video Computation: Update History
      • Video Creation

OverlayVideo

OverlayVideo[background,o]

gives the result of overlaying o onto a background video or image background.

OverlayVideo[background,{o1,o2,…}]

gives the result of overlaying o1, o2, ….

OverlayVideo[background,{interval1o1,…}]

overlays each oi during the time interval intervali.

Details and Options

  • OverlayVideo is also known as picture in picture.
  • Video overlay is typically used to give a talking head together with a presentation, add logos and other graphics onto a video, or replace a background with another video.
  • The background can be a video or an image.
  • The overlays oi can be any of the following:
  • imagean Image or Graphics placed at the bottom-right corner
    videoa Video object placed at the bottom-right corner
    texta string or styled text
    expran arbitrary expression, rasterized at its normal display size
    Placed[expr,pos]an object placed at pos
    Placed[expr,{pos,opos}]places position opos in expr at position pos
    Placed[expr,{pos,Inherited}]uses specified position pos for opos
    fan arbitrary function generating any valid overlay
  • The position pos in background or the position opos in overlay can be specified in the following ways:
  • {x,y}absolute pixel offset from the bottom-left corner
    Scaled[{sx,sy}]scaled position from 0 to 1 across the object
    posfuncan arbitrary function returning a position
    {posx,posy}named positions Top, Bottom, Left, Right or Center
  • Time intervals intervali can be any of the following:
  • {t1,t2}starting at t1, ending at t2
    t1starting at t1, ending when overlay or background end
  • OverlayVideo always gives a video with the same pixel size as background.
  • By default, OverlayVideo places the new video under the "Video" directory in $WolframDocumentsDirectory.
  • Options to control properties of the output video are:
  • CompressionLevelAutomaticcompression level to use
    FrameRateAutomaticthe frame rate to use
    GeneratedAssetFormatAutomaticthe format of the result
    GeneratedAssetLocation$GeneratedAssetLocationthe location of the result
    OverwriteTargetFalsewhether to overwrite an existing file
    VideoEncodingAutomaticvideo encoding to use
    VideoTransparencyFalsewhether the output video should have a transparency channel
  • Audio and subtitle tracks of all input video objects are copied over to the resulting video.

Examples

open all close all

Basic Examples  (2)

Overlay an image onto a video:

Overlay a video on another video:

Overlay the videos and display the result:

Scope  (8)

Basic Uses  (2)

Overlay a video on top of an Image:

Overlay two images on top of a video:

Time Specification  (1)

Specify the time interval at which an overlay will be displayed:

Position Specification  (5)

By default, the overlay is placed at the bottom-right corner of the background:

Specify a position for the center of the overlay:

Specify a named position for the center of the overlay:

Specify which point of the overlay aligns with the specified background position:

Specify a scaled position for the center of the overlay:

Applications  (1)

Add a logo as a watermark on every frame of a video:

See Also

VideoFrameMap  VideoMap  GridVideo  VideoGenerator  ImageCompose

Related Guides

    ▪
  • Video Editing
  • ▪
  • Video Computation: Update History
  • ▪
  • Video Creation

History

Introduced in 2021 (13.0) | Updated in 2022 (13.2) ▪ 2024 (14.0)

Wolfram Research (2021), OverlayVideo, Wolfram Language function, https://reference.wolfram.com/language/ref/OverlayVideo.html (updated 2024).

Text

Wolfram Research (2021), OverlayVideo, Wolfram Language function, https://reference.wolfram.com/language/ref/OverlayVideo.html (updated 2024).

CMS

Wolfram Language. 2021. "OverlayVideo." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/OverlayVideo.html.

APA

Wolfram Language. (2021). OverlayVideo. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/OverlayVideo.html

BibTeX

@misc{reference.wolfram_2025_overlayvideo, author="Wolfram Research", title="{OverlayVideo}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/OverlayVideo.html}", note=[Accessed: 04-February-2026]}

BibLaTeX

@online{reference.wolfram_2025_overlayvideo, organization={Wolfram Research}, title={OverlayVideo}, year={2024}, url={https://reference.wolfram.com/language/ref/OverlayVideo.html}, note=[Accessed: 04-February-2026]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2026 Wolfram
© 2026 Wolfram | Legal & Privacy Policy |
English