go-mp4
goav
Our great sponsors
go-mp4 | goav | |
---|---|---|
2 | 2 | |
430 | 2,057 | |
5.1% | - | |
7.8 | 0.0 | |
23 days ago | almost 2 years ago | |
Go | Go | |
MIT License | 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.
go-mp4
-
Go library to validate MPEG-4 file?
You could use go-mp4 to just validate the mp4 structure.
-
How to add RTP timestamp to MP4 container for self-made RTSP client in Go?
I have looked at libraries such as go-mp4 (https://github.com/abema/go-mp4) and go-astits (https://github.com/asticode/go-astits), but without the proper explanation/documentation it is difficult to grasp these libraries.
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.
What are some alternatives?
file-type - Detect the file type of a Buffer/Uint8Array/ArrayBuffer
go-libav - Go language bindings for ffmpeg libraries
go-astits - Demux and mux MPEG Transport Streams (.ts) natively in GO
gmf - Go Media Framework
mp4ff - Library and tools for parsing and writing MP4 files including video, audio and subtitles. The focus is on fragmented files. Includes mp4ff-info, mp4ff-encrypt, mp4ff-decrypt and other tools.
Vnc2Video - A fully featured VNC client written in golang
tag - ID3, MP4 and OGG/FLAC metadata parsing in Go
Pion WebRTC - Pure Go implementation of the WebRTC API
file-type-stream-go - Detect file types–extensions and mime–using magic numbers
M3U8 - Parser and generator of M3U8-playlists for Apple HLS. Library for Go language. :cinema:
Vidio - FFmpeg wrapper providing simple, cross-platform Video I/O, GIF Creation, and Webcam Streaming in Go.
v4l - Facade to the Video4Linux video capture interface.