Install latest FFmpeg to the Google Colab runtime.
- Click on the "Open in Colab" button to open this notebook in google colab
- FFmpeg in Google Colaboratory
- Mount your google drive to access it's files in colab
- Install FFmpeg
- REMUX video files without RE-ENCODING.
- Make sure that
outputFormatthat you have selected is supported for all tracks in theinputFile. WebMonly supportVP9,VP8,AV1video andVorbis,Opusaudio andWebVTTsubtitles.
- TRIM video files without RE-ENCODING.
inputFile: video file's path and setstartTimeandendTimeto trim.- Trimed video will be saved as same as the source's format.
- EXTRACT audio tracks from video files.
DTS,DTS-HD,DTS-MA,TrueHDtracks will be muxed as a.mkafile.
- For
H.264/AVCtracks run first cell. - For
H.265/HEVCtracks run second cell.
CRFand2-Passencoding available.- This cell only encodes the first video track from the input file.
- Convert
HDRvideo toSDRvideo. toneMap: Select tone mapping method.
- Only
x265/HEVCtracks are supported. extractColors: View the color information of the footage.- When encoding, make sure
extractColorsis deselected.