{"id":60649,"library":"opusfile","title":"Opusfile","description":"Stand-alone decoder library for .opus streams","status":"active","version":"0.12+20221121","language":"cpp","source_language":null,"source_url":null,"tags":["audio","decoder","opus","streaming"],"install":[{"cmd":"vcpkg install opusfile","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(opusfile CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE Opusfile::opusfile)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"opusfile.h","correct":"#include <opusfile.h>"}],"quickstart":{"code":"#include <opusfile.h>\n#include <stdio.h>\n\nint main() {\n    int err;\n    OggOpusFile *of = op_open_file(\"test.opus\", &err);\n    if (of) {\n        printf(\"Opened Opus file successfully\\n\");\n        op_free(of);\n    }\n    return 0;\n}","lang":"cpp","description":"Open and check an Opus audio file"},"warnings":[{"fix":"Ensure opus and ogg are also linked via find_package and target_link_libraries","message":"Requires linking against libopus and libogg","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'alon':4 'audio':10 'decod':5,11 'librari':6 'opus':8,12 'opusfil':1 'stand':3 'stand-alon':2 'stream':9,13","created_at":"2026-06-17T04:23:20.132242+00:00","updated_at":"2026-06-17T04:23:20.132242+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"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}}