ubuntu下编译obs-studio遇到的问题记录

参考的是这篇文档:Build Instructions For Linux · obsproject/obs-studio Wiki · GitHub

在安装OBS dependencies时,

sudo apt install libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev libx264-dev libcurl4-openssl-dev libmbedtls-dev libgl1-mesa-dev libjansson-dev libluajit-5.1-dev python3-dev libx11-dev libxcb-randr0-dev libxcb-shm0-dev libxcb-xinerama0-dev libxcb-composite0-dev libxcomposite-dev libxinerama-dev libxcb1-dev libx11-xcb-dev libxcb-xfixes0-dev swig libcmocka-dev libxss-dev libglvnd-dev libgles2-mesa libgles2-mesa-dev libwayland-dev librist-dev libsrt-openssl-dev libpci-dev libpipewire-0.3-dev libqrcodegencpp-dev

遇到报错:

E: 无法定位软件包 librist-dev
E: 无法定位软件包 libsrt-openssl-dev
E: 无法定位软件包 libpipewire-0.3-dev
E: 无法按照 glob 'libpipewire-0.3-dev' 找到任何软件包

这个是由于我的ubuntu系统版本是20.04(代号为focal),包管理器里找不到这三个包。

可以通过下面这个网站搜索,比如要搜素librist-dev

https://packages.ubuntu.com/search?keywords=librist-dev

也就是说,不支持focal版本,得升级ubuntu版本了。

补充:

1、rist全称Reliable Internet Stream Transport,srt全称Secure Reliable Transport UDP streaming library,这两个都是流媒体传输相关的。

2、

PipeWire is a new low-level multimedia framework. It aims to offer capture and playback for both audio and video with minimal latency and support for PulseAudio, JACK, ALSA and GStreamer-based applications.

The daemon based on the framework can be configured to be both an audio server (with PulseAudio and JACK features) and a video capture server.

相关推荐
DogDaoDao3 天前
音视频开发常见的开源项目汇总
ffmpeg·开源·音视频·webrtc·x264·live555·obs
山水阳泉曲12 天前
ffmpeg安装测试(支持cuda支持SRT)
ffmpeg·可用性测试·cuda·新版本·srt
Hello_wshuo13 天前
解决obs在ubuntu22.04上无法打开
linux·ubuntu·obs
灵猫小西3 个月前
推流工具OBS的下载使用
obs·推流工具
linkedbyte4 个月前
OBS插件--音频采集
音视频·obs·obs直播·obs直播助手·obs插件
黑泽明Coding6 个月前
obs直播推流 + ffmpeg参数
obs
夜猫逐梦6 个月前
【OBS】stream-labs-desktop 编译运行采坑全攻略
obs·影音
AlaGeek8 个月前
记一次SPI机制导致的BUG定位【不支持:http://javax.xml.XMLConstants/property/accessExternalDTD】
xml·java·spring·spi·obs