Skip to content

dropcreations/FFmpeg-in-Google-Colab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Install latest FFmpeg to the Google Colab runtime

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published