Skip to content

OpenTimelineIO/otio-burnins-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenTimelineIO Burnins Adapter

Build Status Dynamic YAML Badge Dynamic YAML Badge

The burnins adapter is part of OpenTimelineIO's adapter plugins. Uses FFmpeg to burn text overlays into video media.

Usage

Add your own variation of the following setup to the Timeline's metadata

"metadata": {
    "burnins": {
        "overwrite": true,
        "burnins": [
            {
                "text": "Top Center",
                "align": "top_centered",
                "font": "/System/Library/Fonts/Menlo.ttc",
                "font_size": 48,
                "function": "text"
            },
            {
                "align": "top_left",
                "x_offset": 75,
                "font": "/System/Library/Fonts/Menlo.ttc",
                "frame_offset": 101,
                "font_size": 48,
                "function": "frame_number"
            }
        ],
        "streams": [
            {
                "codec_type": "video",
                "codec_name": "h264",
                "width": 1920,
                "height": 1080,
                "r_frame_rate": "30/1",
                "start_time": "0.000000",
                "duration": "20.000000"
            }
        ]
    }

License

OpenTimelineIO and the "burnins" adapter are open source software. Please see the LICENSE for details.

Nothing in the license file or this project grants any right to use Pixar or any other contributor’s trade names, trademarks, service marks, or product names.

Contributions

If you want to contribute to the project, please see: https://opentimelineio.readthedocs.io/en/latest/tutorials/contributing.html
Please also read up on testing your code in the "getting started" section of the OpenTimelineIO plugin template repository.

Contact

For more information, please visit http://opentimeline.io/ or https://github.com/AcademySoftwareFoundation/OpenTimelineIO or join our discussion forum: https://lists.aswf.io/g/otio-discussion