Giter Club home page Giter Club logo

ffmpeg-in-google-colab's Introduction

FFmpeg-for-Google-Colab

Install latest FFmpeg to the Google Colab runtime.

Open in Colab

  • Click on the "Open in Colab" button to open this notebook in google colab

Table of Contents

  • FFmpeg in Google Colaboratory

Google-Drive-Logo Mount Google Drive

  • Mount your google drive to access it's files in colab

FFmpeg-Logo FFmpeg

  • Install FFmpeg

Remux Video Files

  • REMUX video files without RE-ENCODING.
  • Make sure that outputFormat that you have selected is supported for all tracks in the inputFile.
  • WebM only support VP9, VP8, AV1 video and Vorbis, Opus audio and WebVTT subtitles.

Trim Video Files

  • TRIM video files without RE-ENCODING.
  • inputFile: video file's path and set startTime and endTime to trim.
  • Trimed video will be saved as same as the source's format.

Extract Audio

  • EXTRACT audio tracks from video files.
  • DTS, DTS-HD, DTS-MA, TrueHD tracks will be muxed as a .mka file.

Remove Bitstream Metadata

  • For H.264/AVC tracks run first cell.
  • For H.265/HEVC tracks run second cell.

Encode H.264

  • CRF and 2-Pass encoding available.
  • This cell only encodes the first video track from the input file.

HDR to SDR

  • Convert HDR video to SDR video.
  • toneMap: Select tone mapping method.

HDR10 Encoding

  • Only x265/HEVC tracks are supported.
  • extractColors: View the color information of the footage.
  • When encoding, make sure extractColors is deselected.

ffmpeg-in-google-colab's People

Contributors

dropcreations avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ffmpeg-in-google-colab's Issues

image directory to video

This a clean and useful notebook. Something I think that would be nice to add is a section for assembling a directory of image files into video with output/download.

Thanks for sharing.

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.