https://github.com/yapingcat/gomedia
golang library for rtmp, mpeg-ts,mpeg-ps,flv,mp4,ogg,rtsp
https://github.com/yapingcat/gomedia
aac flv fmp4 h264 h265 mp3 mp4 mpeg-ps mpeg-ts ogg ogg-opus opus rtmp rtsp
Last synced: 11 months ago
JSON representation
golang library for rtmp, mpeg-ts,mpeg-ps,flv,mp4,ogg,rtsp
- Host: GitHub
- URL: https://github.com/yapingcat/gomedia
- Owner: yapingcat
- License: mit
- Created: 2021-11-07T06:08:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-06T16:27:32.000Z (almost 2 years ago)
- Last Synced: 2024-09-07T00:06:03.342Z (almost 2 years ago)
- Topics: aac, flv, fmp4, h264, h265, mp3, mp4, mpeg-ps, mpeg-ts, ogg, ogg-opus, opus, rtmp, rtsp
- Language: Go
- Homepage:
- Size: 16.6 MB
- Stars: 383
- Watchers: 13
- Forks: 66
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gomedia
mpeg-ts,mpeg-ps,flv,mp4,rtmp muxer/demuxer
## Installation
```
go get github.com/yapingcat/gomedia
```
## H264/H265/AAC/VP8/OPUS/MP3
[USAGE](https://github.com/yapingcat/gomedia/blob/main/go-codec/README.md)
- decode sps/pps/vps/slice header
- decode HEVCDecoderConfigurationRecord/AVCDecoderConfigurationRecord/AAC-ADTS/AudioSpecificConfiguration
- encode HEVCDecoderConfigurationRecord/AVCDecoderConfigurationRecord/AAC-ADTS/AudioSpecificConfiguration
- decode OPUS Extradata(ID Head "OpusHead") /OPUS Packet(TOC...)
- encode OPUS Extradata
- decode VP8 Frame Tag/Key Frame Head
- decode MP3 Frame head
## mpeg-ts
- mux
- H264
- H265
- AAC
- MP3
- demux
- H264
- H265
- AAC
- MP3
## mpeg-ps
- mux
- H264
- H265
- AAC
- G711A
- G711U
- demux
- H264
- H265
- AAC
- G711A
- G711U
## flv
- mux
- H264
- H265
- AAC
- G711A
- G711U
- MP3
- demux
- H264
- H265
- AAC
- G711A
- G711U
- MP3
## mp4
- demux
- H264
- H265
- AAC
- G711A
- G711U
- MP3
- mux
- H264
- H265
- AAC
- G711A
- G711U
- MP3
- OPUS
## fmp4
- demux
- H264
- H265
- AAC
- G711A
- G711U
- mux
- H264
- H265
- AAC
- G711A
- G711U
## ogg
- demux
- OPUS
- VP8
## rtmp
[USAGE](https://github.com/yapingcat/gomedia/blob/main/go-rtmp/README.md)
- support client/server
- support play/publish
- support h264/h265/aac/g711a/g711u/mp3
## rtsp
- support client/server(rfc2326)
- support basic/digest
- support rtp(rfc3550)
- support g711/aac/h264/h265