Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

gohlslib

> 开发工具
Open source

HLS client and muxer library for the Go programming language

187 stars0 likes0 views
WebsiteGitHub

About

HLS client and muxer library for the Go programming language

gohlslib

HLS client and muxer library for the Go programming language, written for MediaMTX.

Go ≥ 1.26 is required.

Features:

  • Client

    • Read streams in MPEG-TS, fMP4 or Low-latency format
    • Read a single video track and/or multiple audio tracks
    • Read tracks encoded with AV1, VP9, H265, H264, Opus, FLAC, MPEG-4 Audio (AAC)
    • Get absolute timestamp of incoming data
  • Muxer

    • Generate streams in MPEG-TS, fMP4 or Low-latency format
    • Write a single video track and/or multiple audio tracks
    • Write tracks encoded with AV1, VP9, H265, H264, Opus, FLAC, MPEG-4 audio (AAC), KLV
    • Save generated segments on disk
  • General

    • Parse and produce M3U8 playlists
    • Examples

Table of contents

  • Examples
  • API Documentation
  • Specifications
  • Related projects

Examples

  • playlist-parser
  • client
  • client-absolute-timestamp
  • client-codec-h264-save-to-disk
  • client-codec-h264-convert-to-jpeg
  • client-codec-mpeg4audio-save-to-disk
  • muxer

API Documentation

Click to open the API Documentation

Specifications

name area
RFC2616, HTTP 1.1 protocol
RFC8216, HLS protocol
HLS v2 protocol
HTTP Live Streaming by Apple protocol
Codec specifications codecs
Golang project layout project layout

Related projects

  • MediaMTX
  • gortsplib
  • gortmplib
  • mediacommon

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Goav1gogolangh264

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具