Skip to content

golang library for rtmp, mpeg-ts,mpeg-ps,flv,mp4,ogg,rtsp

License

Notifications You must be signed in to change notification settings

zfg88287508/gomedia

This branch is 64 commits behind yapingcat/gomedia:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bc994fe · Jun 23, 2023
Oct 16, 2022
Jan 8, 2023
May 9, 2023
Apr 19, 2023
Jun 23, 2023
May 16, 2023
Jul 31, 2022
Mar 14, 2023
Jun 5, 2023
Nov 7, 2021
Nov 7, 2021
Dec 31, 2022
Jun 18, 2022

Repository files navigation

gomedia

mpeg-ts,mpeg-ps,flv,mp4,rtmp muxer/demuxer

Installation

go get github.com/yapingcat/gomedia

H264/H265/AAC/VP8/OPUS/MP3

USAGE

  • 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

fmp4

  • demux
    • H264
    • H265
    • AAC
    • G711A
    • G711U
  • mux
    • H264
    • H265
    • AAC
    • G711A
    • G711U

ogg

  • demux
    • OPUS
    • VP8

rtmp

USAGE

  • 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

About

golang library for rtmp, mpeg-ts,mpeg-ps,flv,mp4,ogg,rtsp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%