GithubHelp home page GithubHelp logo

dovi-to-hdr-converter's Introduction

Dolby Vision to HDR10, SDR, and HLG Video Converter

This repository contains a Python script that allows you to convert Dolby Vision (DoVi) video content to the HDR10, SDR (Standard Dynamic Range), or HLG (Hybrid Log-Gamma) formats using the powerful FFmpeg tool.

What is Dolby Vision?

Dolby Vision is a high dynamic range (HDR) format that provides an exceptional visual experience in terms of color, contrast, and brightness. However, not all devices support Dolby Vision, which can limit its playback capabilities. This script enables you to transform Dolby Vision videos into more widely compatible formats such as HDR10, SDR, and HLG.

Key Features:

  • Convert Dolby Vision videos to HDR10, SDR, or HLG with optimal quality.
  • Customize the output bitrate to suit your needs.
  • Utilize FFmpeg for fast and efficient processing.
  • Provide options to configure specific output parameters.

Prerequisites:

  • Python 3 installed on your system.
  • FFmpeg installed on your system.
  • Vulkan (Nvidia) installed on your PC for hardware acceleration (required for some conversions).

Usage:

  1. Clone this repository or download it as a ZIP file.

  2. Run the script from the command line, providing the following arguments:

    python DoVi.py -i [VIDEO_PATH] -hdr [CONVERSION_FORMAT] --bitrate [BITRATE]
    
    • [VIDEO_PATH]: The path to the Dolby Vision video file you wish to convert.
    • [CONVERSION_FORMAT]: The desired conversion format (choose from "hdr10", "sdr", or "hlg").
    • [BITRATE]: The output bitrate in kbps (e.g., 8000k).
  3. The script will perform the conversion and generate a new video file in the specified format.

Example Usage:

To convert a Dolby Vision video to HDR10 with an output bitrate of 8000 kbps:

python DoVi.py -i my_dolby_vision_video.mp4 -hdr hdr10 --bitrate 8000

Enjoy your Dolby Vision videos on a wide range of devices and screens!


Note: This script is designed to create HDR10, SDR, and HLG video files. It does not create hybrid Dolby Vision HDR files. If you want to create hybrid Dolby Vision HDR files, you can use the following tool after creating your initial file: DV-HDR-Hybrid.

Please note that it's not recommended to use this script with SDR files to create a hybrid file. If you encounter any issues or have questions, feel free to open an issue to seek assistance.


dovi-to-hdr-converter's People

Contributors

sasuke-duck 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.