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

chenxiao1990/gomedia

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

Folders and files

NameName
Last commit message
Last commit date
Oct 16, 2022
Jan 6, 2024
Dec 3, 2023
Aug 9, 2023
Dec 4, 2023
Nov 11, 2023
Jul 31, 2022
Jan 2, 2024
Nov 5, 2023
Nov 7, 2021
Nov 7, 2021
Oct 26, 2023
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
    • OPUS

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%