<commit_before># go-libav

[![License](http://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://github.com/imkira/go-libav/blob/master/LICENSE.txt)
[![GoDoc](https://godoc.org/github.com/imkira/go-libav?status.svg)](https://godoc.org/github.com/imkira/go-libav)
[![Build
Status](http://img.shields.io/travis/imkira/go-libav.svg?style=flat)](https://travis-ci.org/imkira/go-libav)
[![Coverage](http://img.shields.io/codecov/c/github/imkira/go-libav.svg?style=flat)](https://codecov.io/github/imkira/go-libav)

[Go](https://golang.org) language bindings for [ffmpeg](https://ffmpeg.org)
libraries.

This is still a work in progress. This package still lacks a lot of the libav's
functionality. Please expect many additions/changes in the future.

# Why

I am aware of other Go language bindings for ffmpeg.
The reason I decided to build go-libav was because I wanted to have:

- A more Object-Oriented Programming approach.
- A more Go-like approach to error handling.
- Easier garbage collection.

# Installation

First, install ffmpeg 3.x libraries on your system.

If you need ffmpeg2.x support, use
[ffmpeg2](https://github.com/imkira/go-libav/tree/ffmpeg2) branch (deprecated).

Then, open the terminal and install the following packages:

```
go get -u github.com/imkira/go-libav/avcodec
go get -u github.com/imkira/go-libav/avfilter
go get -u github.com/imkira/go-libav/avformat
go get -u github.com/imkira/go-libav/avutil
```

# Documentation

For advanced usage, make sure to check the following documentation:

- [avcodec](http://godoc.org/github.com/imkira/go-libav/avcodec)
- [avfilter](http://godoc.org/github.com/imkira/go-libav/avfilter)
- [avformat](http://godoc.org/github.com/imkira/go-libav/avformat)
- [avutil](http://godoc.org/github.com/imkira/go-libav/avutil)

# Examples

Coming soon.
<commit_msg>added: link to examples<commit_after># go-libav

[![License](http://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://github.com/imkira/go-libav/blob/master/LICENSE.txt)
[![GoDoc](https://godoc.org/github.com/imkira/go-libav?status.svg)](https://godoc.org/github.com/imkira/go-libav)
[![Build
Status](http://img.shields.io/travis/imkira/go-libav.svg?style=flat)](https://travis-ci.org/imkira/go-libav)
[![Coverage](http://img.shields.io/codecov/c/github/imkira/go-libav.svg?style=flat)](https://codecov.io/github/imkira/go-libav)

[Go](https://golang.org) language bindings for [ffmpeg](https://ffmpeg.org)
libraries.

This is still a work in progress. This package still lacks a lot of the libav's
functionality. Please expect many additions/changes in the future.

# Why

I am aware of other Go language bindings for ffmpeg.
The reason I decided to build go-libav was because I wanted to have:

- A more Object-Oriented Programming approach.
- A more Go-like approach to error handling.
- Easier garbage collection.

# Installation

First, install ffmpeg 3.x libraries on your system.

If you need ffmpeg2.x support, use
[ffmpeg2](https://github.com/imkira/go-libav/tree/ffmpeg2) branch (deprecated).

Then, open the terminal and install the following packages:

```
go get -u github.com/imkira/go-libav/avcodec
go get -u github.com/imkira/go-libav/avfilter
go get -u github.com/imkira/go-libav/avformat
go get -u github.com/imkira/go-libav/avutil
```

# Documentation

For advanced usage, make sure to check the following documentation:

- [avcodec](http://godoc.org/github.com/imkira/go-libav/avcodec)
- [avfilter](http://godoc.org/github.com/imkira/go-libav/avfilter)
- [avformat](http://godoc.org/github.com/imkira/go-libav/avformat)
- [avutil](http://godoc.org/github.com/imkira/go-libav/avutil)

# Examples

Please check [here for examples](https://github.com/imkira/go-libav/tree/master/examples).

{'fraction_non_alphanumeric': 0.1528, 'fraction_numerical': 0.0021333333333333334, 'mean_word_length': 4.467930029154519, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 17, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5336998', 'n_tokens_mistral': 1420, 'n_tokens_neox': 1377, 'n_words': 280}