examples

command
Version: v0.0.0-...-6bf952d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

In this example, we show a very simplistic way of transcoding the frames of the first video stream of an input file. Please note that transcoding is a difficult subject and full of corner cases. This sample is far from perfect, and it will easily break/crash depending on the specified input and output files.

Tested with

go run transcoder.go --input=https://bintray.com/imkira/go-libav/download_file?file_path=sample_iPod.m4v --output=output.mp4 go run transcoder.go --input=https://bintray.com/imkira/go-libav/download_file?file_path=sample_iPod.m4v --output=output.avi

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL