示例#1
0
func main() {

	// Register all formats and codecs
	avformat.Av_register_all()

	log.Printf("AVFilter Version:\t%v", avfilter.Avfilter_version())
	log.Printf("AVDevice Version:\t%v", avdevice.Avdevice_version())
	log.Printf("SWScale Version:\t%v", swscale.Swscale_version())
	log.Printf("AVUtil Version:\t%v", avutil.AvutilVersion())
	log.Printf("AVCodec Version:\t%v", avcodec.Avcodec_version())
	log.Printf("Resample Version:\t%v", swresample.Swresample_license())

}
示例#2
0
文件: versions.go 项目: gale320/goav
func main() {

	// Register all formats and codecs
	avformat.AvRegisterAll()
	avcodec.AvcodecRegisterAll()

	log.Printf("AvFilter Version:\t%v", avfilter.AvfilterVersion())
	log.Printf("AvDevice Version:\t%v", avdevice.AvdeviceVersion())
	log.Printf("SWScale Version:\t%v", swscale.SwscaleVersion())
	log.Printf("AvUtil Version:\t%v", avutil.AvutilVersion())
	log.Printf("AvCodec Version:\t%v", avcodec.AvcodecVersion())
	log.Printf("Resample Version:\t%v", swresample.SwresampleLicense())

}