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
Click to show internal directories.
Click to hide internal directories.