Code Monkey home page Code Monkey logo

videooverlayer's Introduction

Video Transcoding and Packaging Script

This script transcodes a given video file into multiple resolutions, applies HDR/SDR-specific modifications, and packages the outputs in DASH streamable format.

Requirements

  1. FFmpeg: A complete, cross-platform solution to record, convert and stream audio and video.
  2. Bento4: A C++ class library and tools for dealing with MP4 files.

Setup Instructions

  1. Install FFmpeg:

    • For Windows: Download the executable from FFmpeg website and add it to your system's PATH.
    • For macOS: brew install ffmpeg
    • For Ubuntu: sudo apt-get install ffmpeg ffmpeg-master-latest-win64-gpl-shared
  2. Install Bento4:

    • Download and install Bento4 from Bento4 website.
    • Make sure mp4dash is available in your system's PATH.
  3. Install Python Requirements:

    • Ensure you have Python installed. The script uses standard libraries.

HDR check

ffprobe -v error -select_streams v:0 -show_entries stream=color_space,color_transfer,color_primaries -of default=noprint_wrappers=1:nokey=1 .\output.mp4

Usage

To run the script, use the following command:

python transcode_and_package.py <path_to_video_file>

videooverlayer's People

Contributors

lk33 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.