goav
pixel-video
goav | pixel-video | |
---|---|---|
2 | 1 | |
2,057 | 4 | |
- | - | |
0.0 | 0.0 | |
almost 2 years ago | over 3 years ago | |
Go | Go | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
goav
-
How to add RTP timestamp to MP4 container for self-made RTSP client in Go?
For the MP4 container, I used to work with https://github.com/giorgisio/goav, but I visited now and saw that it had a deprecation notice, but should still work I guess.
-
Playing video in a Golang game
Now we need to obtain frames from the video stream of the file. goav provides an example code on how to do that. To make it work with Pixel game library, we need to set the frame decoding format to avcodec.AV_PIX_FMT_RGBA which is used by Pixel.
pixel-video
-
Playing video in a Golang game
Enjoy the full source code.
What are some alternatives?
go-libav - Go language bindings for ffmpeg libraries
Ebiten - Ebitengine - A dead simple 2D game engine for Go
gmf - Go Media Framework
Pixel - A hand-crafted 2D game library in Go
Vnc2Video - A fully featured VNC client written in golang
Pion WebRTC - Pure Go implementation of the WebRTC API
M3U8 - Parser and generator of M3U8-playlists for Apple HLS. Library for Go language. :cinema:
v4l - Facade to the Video4Linux video capture interface.
gst - Go bindings for GStreamer (retired: currently I don't use/develop this package)
go-m3u8 - Parse and generate m3u8 playlists for Apple HTTP Live Streaming (HLS) in Golang (ported from gem https://github.com/sethdeckard/m3u8)
libvlc-go - Go bindings for libVLC and high-level media player interface
go-astisub - Manipulate subtitles in GO (.srt, .ssa/.ass, .stl, .ttml, .vtt (webvtt), teletext, etc.)