gen2brain / X264 Go
Licence: gpl-2.0
Go bindings for x264
Stars: ✭ 132
Labels
Projects that are alternatives of or similar to X264 Go
Iced
Blazing fast and correct x86/x64 disassembler, assembler, decoder, encoder for .NET, Rust, Python, JavaScript
Stars: ✭ 1,102 (+734.85%)
Mutual labels: encoder
Rtmp Rtsp Stream Client Java
Library to stream in rtmp and rtsp for Android. All code in Java
Stars: ✭ 1,338 (+913.64%)
Mutual labels: encoder
O Gan
O-GAN: Extremely Concise Approach for Auto-Encoding Generative Adversarial Networks
Stars: ✭ 117 (-11.36%)
Mutual labels: encoder
Polar 3gpp Matlab
Matlab simulations of the encoder and SCL decoder for the New Radio polar code from 3GPP Release 15
Stars: ✭ 67 (-49.24%)
Mutual labels: encoder
Wx Voice
Convert audio files between Tencent apps (Weixin / Wechat, QQ) and Silk codec with other general formats such as MP3 and M4A
Stars: ✭ 93 (-29.55%)
Mutual labels: encoder
Screen Recorder Ffmpeg Cpp
*Multimedia project* A screen recording application to capture your desktop and store in a video format. Click here to watch the demo
Stars: ✭ 98 (-25.76%)
Mutual labels: encoder
Bbwebimage
A high performance Swift library for downloading, caching and editing web images asynchronously.
Stars: ✭ 128 (-3.03%)
Mutual labels: encoder
Avideo
Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
Stars: ✭ 1,329 (+906.82%)
Mutual labels: encoder
Alfalfa
Purely functional video codec, used for ExCamera and Salsify
Stars: ✭ 1,164 (+781.82%)
Mutual labels: encoder
Encoder4editing
Official implementation of "Desinging an Encoder for StyleGAN Image Manipulation" https://arxiv.org/abs/2102.02766
Stars: ✭ 91 (-31.06%)
Mutual labels: encoder
Micropython Rotary
MicroPython module to read a rotary encoder.
Stars: ✭ 62 (-53.03%)
Mutual labels: encoder
Avideo Encoder
Encoder Server for AVideo Platform Open-Source
Stars: ✭ 116 (-12.12%)
Mutual labels: encoder
Guetzli Gui
A super simple Mac GUI for Google's JPEG encoder, guetzli
Stars: ✭ 97 (-26.52%)
Mutual labels: encoder
Swift Html Entities
HTML5 spec-compliant character encoder/decoder for Swift
Stars: ✭ 130 (-1.52%)
Mutual labels: encoder
x264-go
x264-go
provides H.264/MPEG-4 AVC codec encoder based on x264 library.
C source code is included in package. If you want to use external shared/static library (i.e. built with asm and/or OpenCL) use -tags extlib
.
Installation
go get -u github.com/gen2brain/x264-go
Examples
See screengrab example.
Usage
package main
import (
"bytes"
"image"
"image/color"
"image/draw"
"github.com/gen2brain/x264-go"
)
func main() {
buf := bytes.NewBuffer(make([]byte, 0))
opts := &x264.Options{
Width: 640,
Height: 480,
FrameRate: 25,
Tune: "zerolatency",
Preset: "veryfast",
Profile: "baseline",
LogLevel: x264.LogDebug,
}
enc, err := x264.NewEncoder(buf, opts)
if err != nil {
panic(err)
}
img := x264.NewYCbCr(image.Rect(0, 0, opts.Width, opts.Height))
draw.Draw(img, img.Bounds(), image.Black, image.ZP, draw.Src)
for i := 0; i < opts.Width/2; i++ {
img.Set(i, opts.Height/2, color.RGBA{255, 0, 0, 255})
err = enc.Encode(img)
if err != nil {
panic(err)
}
}
err = enc.Flush()
if err != nil {
panic(err)
}
err = enc.Close()
if err != nil {
panic(err)
}
}
More
For AAC encoder see aac-go.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].