GithubHelp home page GithubHelp logo

dolbyio-samples / media-sample-python-transcode-youtube-settings Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 20.87 MB

Python sample application to transcode media to YouTube recommended settings

Home Page: https://dolby.io/blog/transcode-video-to-youtube-recommendations/

License: Creative Commons Zero v1.0 Universal

Python 100.00%
blog dolbyio-media transcode transcodes audio video

media-sample-python-transcode-youtube-settings's Introduction

License

Blog Picture

Transcode for YouTube

Python sample application to transcode media to YouTube recommended settings. This repo goes along with the Transcode Video to YouTube Recommendations blog.

Overview

Videos uploaded that don't follow the stipulated guidelines by YouTube will undergo an automatic re-configuration causing it not to match your specific preferences and longer upload times. With Dolby.io Media APIs, you can programmatically reconfigure your videos and deliver great media at scale. Learn how to leverage Dolby.io's API to diagnose and correctly format your videos.

Requirements

  • Install Python 3.8+
  • Sign up for a free Dolby.io account here.
  • Create a new application and save the Media API key.

How to Create Dolby.io App and Get API Key

Getting Started

  1. Clone this repo and change directory.

    git clone https://github.com/dolbyio-samples/media-sample-python-transcode-youtube-settings
    
    cd blog-transcode-for-youtube
  2. Install required packages.

    pip3 install -r requirements.txt 
  3. Create environment variable to store your Dolby.io Media API key (Replace $DOLBYIO_API_KEY with your API key).

    export DOLBYIO_API_KEY=$DOLBYIO_API_KEY

    OR

    echo "DOLBYIO_API_KEY=$DOLBYIO_API_KEY" > .env
    
  4. Run the code to transcode the video file in /videos/input/.

    python3 ./src/main.py

Report a Bug

In the case any bugs occur, report it using Github issues, and we will see to it.

Forking

We welcome your interest in trying to experiment with our repos.

Feedback

If there are any suggestions or if you would like to deliver any positive notes, feel free to open an issue and let us know!

Learn More

For a deeper dive, we welcome you to review the following:

About Dolby.io

Using decades of Dolby's research in sight and sound technology, Dolby.io provides APIs to integrate real-time streaming, voice & video communications, and file-based media processing into your applications. Sign up for a free account to get started building the next generation of immersive, interactive, and social apps.

           
      Dolby.io on YouTube       Dolby.io on Twitter       Dolby.io on LinkedIn

media-sample-python-transcode-youtube-settings's People

Contributors

alaboy3 avatar j12y avatar ndubuisx avatar

Watchers

 avatar  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.