Skip to content

go-mediainfo:an mediainfo command-line parameter builder

Notifications You must be signed in to change notification settings

debasish-mihup/go-mediainfo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

mediainfo

Golang binding for mediainfo

Duration, Bitrate, Codec, Streams and a lot of other meta-information about media files can be extracted through it.

Your advices and suggestions are welcome!

Example

package main

import (
	"encoding/json"
	"fmt"
	"github.com/dreamCodeMan/go_mediainfo"
)

func main() {
	mediainfo, _ := mediainfo.GetMediaInfo("/Users/Fang/Movies/11.flv")
	info, _ := json.Marshal(mediainfo)
	fmt.Println(string(info), err)
}

About

go-mediainfo:an mediainfo command-line parameter builder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%