{"id":75587,"library":"hraban-opus-v2","title":"Opus Audio Codec Bindings","description":"Package opus provides Go bindings for the Opus audio codec, enabling encoding and decoding of Opus audio streams.","status":"active","version":"2.0.0-20230925203106-0188a62cb302","language":"go","source_language":null,"source_url":"https://github.com/hraban/opus","tags":["audio","codec","opus","encoding","decoding"],"install":[{"cmd":"go get gopkg.in/hraban/opus.v2","lang":"bash","label":"Install gopkg.in/hraban/opus.v2"}],"dependencies":[],"imports":[{"symbol":"opus","correct":"gopkg.in/hraban/opus.v2"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"gopkg.in/hraban/opus.v2\"\n)\n\nfunc main() {\n\tenc, err := opus.NewEncoder(48000, 2, opus.AppAudio)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(enc)\n}","lang":"go","description":"Create a new Opus encoder for 48kHz stereo audio"},"warnings":[{"fix":"Install libopus-dev (Linux) or equivalent on your OS before building","message":"Requires libopus development headers to be installed on the system","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'audio':2,13,21,23 'bind':4,9 'codec':3,14,24 'decod':18,27 'enabl':15 'encod':16,26 'go':8 'opus':1,6,12,20,25 'packag':5 'provid':7 'stream':22","created_at":"2026-06-17T19:18:42.286101+00:00","updated_at":"2026-06-17T19:18:42.286101+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/hraban/opus","github":"https://github.com/hraban/opus","docs":"https://pkg.go.dev/gopkg.in/hraban/opus.v2#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}