20250214在ubuntu20.04下使用obs studio录制外挂的1080p的USB摄像头【下载安装】
20250214在ubuntu20.04下使用obs studio录制外挂的1080p的USB摄像头
2025/2/14 9:10
缘起:笔记本电脑在ubuntu20.04下使用Guvcview录制自带的摄像头,各种问题。
1、降帧率。WIN10/11自带的相机应用可以满速30fps,马上重启到ubuntu20.04,使用Guvcview就只有15fps(13-16)。【同等条件下】
2、绿色屏幕。海康威视的一款摄像头E12出现过。
3、guvcview新版本的录像/录音有更多的编码格式可供选择。但是输出默认MKV格式。录音默认mp2。兼容性差。
4、问DeepSeek,建议我用ubuntu自带的cheese或者obs studio。cheese感觉是和Guvcview一样的轻量级应用,就算了。
电脑使用X99主板+NVIDIA的M6000的专业显卡。安装好显卡驱动【不装M6000的驱动,估计是不能硬件压缩的!^_】。
https://item.jd.com/10023348748826.html
海康威视(HIKVISION) 考研复试电脑台式机外置usb视频高清广角会议主播直播网课研究生面试 1080P 推荐降噪麦克线长1.5米 E12 摄像头
使用obs studio配置的显卡硬件压缩,偶尔会出现USB死机的现象。
由于加了USB3.0的延长线,不清楚问题出在摄像头还是延长线/问题还需要定位!
[ 13.612076] rfkill: input handler disabled
[ 185.172233] nvidia_uvm: module uses symbols from proprietary module nvidia, inheriting taint.
[ 185.179933] nvidia-uvm: Loaded the UVM driver, major device number 508.
[15686.345236] perf: interrupt took too long (2539 > 2500), lowering kernel.perf_event_max_sample_rate to 78750
[16708.913483] usb 3-2: USB disconnect, device number 2
[16713.694411] usb 3-2: new high-speed USB device number 5 using xhci_hcd
[16713.843354] usb 3-2: New USB device found, idVendor=2bdf, idProduct=0289, bcdDevice=33.00
[16713.843364] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[16713.843369] usb 3-2: Product: 1080P USB Camera
[16713.843372] usb 3-2: Manufacturer: SN0002
[16713.843375] usb 3-2: SerialNumber: 44434000_P030102_SN0002
[16713.857004] usb 3-2: Found UVC 1.00 device 1080P USB Camera (2bdf:0289)
[16713.898452] usb 3-2: Failed to query (GET_INFO) UVC control 12 on unit 2: -32 (exp. 1).
[16713.961911] input: 1080P USB Camera: 1080P USB Cam as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/input/input25
[16713.963971] cdc_acm 3-2:1.4: ttyACM0: USB ACM device
[16713.975257] hid-generic 0003:2BDF:0289.0005: hiddev0,hidraw0: USB HID v1.01 Device [SN0002 1080P USB Camera] on usb-0000:00:14.0-2/input6
[16714.105852] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.121423] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.136939] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.152506] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.168058] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.183657] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.199196] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.214739] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.230428] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.253615] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.270139] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.289332] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.308734] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.324777] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.345075] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.369054] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.391443] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.430738] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.451857] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.523263] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.538740] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.575226] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.627491] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.643060] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.679577] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[16714.695229] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18504.433402] usb 3-2: USB disconnect, device number 5
[18510.053310] usb 3-2: new high-speed USB device number 6 using xhci_hcd
[18510.202270] usb 3-2: New USB device found, idVendor=2bdf, idProduct=0289, bcdDevice=33.00
[18510.202278] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[18510.202282] usb 3-2: Product: 1080P USB Camera
[18510.202285] usb 3-2: Manufacturer: SN0002
[18510.202288] usb 3-2: SerialNumber: 44434000_P030102_SN0002
[18510.215750] usb 3-2: Found UVC 1.00 device 1080P USB Camera (2bdf:0289)
[18510.257335] usb 3-2: Failed to query (GET_INFO) UVC control 12 on unit 2: -32 (exp. 1).
[18510.320698] input: 1080P USB Camera: 1080P USB Cam as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/input/input26
[18510.322801] cdc_acm 3-2:1.4: ttyACM0: USB ACM device
[18510.334079] hid-generic 0003:2BDF:0289.0006: hiddev0,hidraw0: USB HID v1.01 Device [SN0002 1080P USB Camera] on usb-0000:00:14.0-2/input6
[18510.469816] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.485374] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.500888] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.516415] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.531962] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.547543] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.563132] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.578639] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.594787] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.612321] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.632100] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.651166] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.670798] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.686617] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.708247] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.731213] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.762469] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.780433] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.796132] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.832864] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.852016] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.912885] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.949327] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18510.964864] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18511.017148] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[18511.053654] usb 3-2: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).
[23130.653963] perf: interrupt took too long (3189 > 3173), lowering kernel.perf_event_max_sample_rate to 62500
[28824.050672] kauditd_printk_skb: 28 callbacks suppressed
[28824.050678] audit: type=1400 audit(1739523575.372:40): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=285123 comm="cups-browsed" capability=23 capname="sys_nice"
root@rootroot-X99-Turbo:/home/rootroot#
安装obs studio的步骤:
百度:obs studio
https://obsproject.com/
OBS Studio
Latest Release 31.0.1 - January 18th
WindowsSupports Windows 10 and Windows 11 macOSSupports macOS 11.0 or newer Linux
Free and open source software for video recording and live streaming.
Download and start streaming quickly and easily on Windows, Mac or Linux.
https://obsproject.com/download#linux
Download OBS Studio
Select Your Operating System
Windows Mac Linux
The Windows release of OBS Studio supports Windows 10 and 11.
Version: 31.0.1
Released: January 18th
Download Installer Download via Bittorrent Download Zip View on GitHub Previous Releases
Downloads powered by
Fastly
The macOS release of OBS Studio supports macOS 11.0 and newer.
Version: 31.0.1
Released: January 18th
Download Installer (x86_64/Intel) Download Installer (arm64/Apple Silicon) Download via Bittorrent (x86_64/Intel) Download via Bittorrent (arm64/Apple Silicon) View on GitHubPrevious Releases
Downloads powered by
Fastly
OBS Studio is officially distributed as a Flatpak on Flathub and a PPA for Ubuntu 24.04 and newer. For other installation methods, including unofficial packages, click here.
Flatpak Instructions
You can install OBS Studio from Flathub here.
If your distro is not already set up to install Flatpaks, you can follow the instructions here.
Ubuntu Instructions (24.04+)
Run these commands to install OBS Studio on Ubuntu via the official PPA:
sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt update
sudo apt install obs-studio
rootroot@rootroot-X99-Turbo:~$ sudo add-apt-repository ppa:obsproject/obs-studio
[sudo] password for rootroot:
Latest stable release of OBS Studio
More info: https://launchpad.net/~obsproject/+archive/ubuntu/obs-studio
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
Get:3 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal InRelease [18.1 kB]
Get:4 https://dl.google.com/linux/chrome/deb stable InRelease [1,825 B]
Get:6 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,209 B]
Hit:8 http://th.archive.ubuntu.com/ubuntu jammy InRelease
Get:9 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal/main amd64 Packages [1,088 B]
Get:10 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal/main Translation-en [160 B]
Get:11 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [851 kB]
Get:12 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3,396 kB]
Get:13 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [65.3 kB]
Get:14 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 DEP-11 Metadata [212 B]
Get:15 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [160 kB]
Get:16 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [940 B]
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal InRelease
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRelease [128 kB]
Get:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InRelease [128 kB]
Get:17 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 DEP-11 Metadata [276 kB]
Get:18 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/restricted amd64 DEP-11 Metadata [212 B]
Get:19 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 DEP-11 Metadata [446 kB]
Get:20 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [940 B]
Get:21 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/main amd64 DEP-11 Metadata [7,976 B]
Get:22 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/restricted amd64 DEP-11 Metadata [216 B]
Get:23 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30.5 kB]
Get:24 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/multiverse amd64 DEP-11 Metadata [212 B]
Err:25 https://nuts.vysor.io/apt ./ InRelease
Connection failed [IP: 50.219.188.186 443]
Fetched 5,640 kB in 1min 13s (77.6 kB/s)
Reading package lists... Done
W: Failed to fetch https://nuts.vysor.io/apt/./InRelease Connection failed [IP: 50.219.188.186 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
rootroot@rootroot-X99-Turbo:~$
rootroot@rootroot-X99-Turbo:~$
rootroot@rootroot-X99-Turbo:~$ sudo apt update
Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://th.archive.ubuntu.com/ubuntu jammy InRelease
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:5 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal InRelease
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal InRelease
Hit:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRelease
Hit:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InRelease
Err:8 https://nuts.vysor.io/apt ./ InRelease
Connection failed [IP: 50.219.188.186 443]
Reading package lists... Done
Building dependency tree
Reading state information... Done
1568 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch https://nuts.vysor.io/apt/./InRelease Connection failed [IP: 50.219.188.186 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
rootroot@rootroot-X99-Turbo:~$
rootroot@rootroot-X99-Turbo:~$
rootroot@rootroot-X99-Turbo:~$
rootroot@rootroot-X99-Turbo:~$
rootroot@rootroot-X99-Turbo:~$ sudo apt install obs-studio
^Citing for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 117075 (unattended-upgr)... 72s
rootroot@rootroot-X99-Turbo:~$
rootroot@rootroot-X99-Turbo:~$ sudo apt install obs-studio
[sudo] password for rootroot:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libjs-underscore linux-headers-5.15.0-125-generic linux-hwe-5.15-headers-5.15.0-125 linux-image-5.15.0-125-generic linux-modules-5.15.0-125-generic linux-modules-extra-5.15.0-125-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libfdk-aac1 libluajit-5.1-2 libluajit-5.1-common libmbedcrypto3 libmbedtls12 libmbedx509-0 libqt5qml5 libqt5quick5 libqt5waylandclient5 libqt5waylandcompositor5 libxcb-composite0 qtwayland5
Suggested packages:
qt5-qmltooling-plugins
The following NEW packages will be installed:
libfdk-aac1 libluajit-5.1-2 libluajit-5.1-common libmbedcrypto3 libmbedtls12 libmbedx509-0 libqt5qml5 libqt5quick5 libqt5waylandclient5 libqt5waylandcompositor5 libxcb-composite0 obs-studio
qtwayland5
0 upgraded, 13 newly installed, 0 to remove and 1567 not upgraded.
Need to get 89.3 MB of archives.
After this operation, 314 MB of additional disk space will be used.
N: Ignoring file '20auto-upgrades.bak1' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
Do you want to continue? [Y/n] y
Get:2 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal/main amd64 obs-studio amd64 29.1.3-0obsproject1~focal [84.9 MB]
Get:12 http://th.archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-composite0 amd64 1.14-3ubuntu3 [5,354 B]
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/multiverse amd64 libfdk-aac1 amd64 0.1.6-1 [366 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libluajit-5.1-common all 2.1.0~beta3+dfsg-5.1build1 [44.3 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libluajit-5.1-2 amd64 2.1.0~beta3+dfsg-5.1build1 [228 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libmbedcrypto3 amd64 2.16.4-1ubuntu2 [150 kB]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libmbedx509-0 amd64 2.16.4-1ubuntu2 [42.3 kB]
Get:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libmbedtls12 amd64 2.16.4-1ubuntu2 [71.8 kB]
Get:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libqt5qml5 amd64 5.12.8-0ubuntu1 [1,438 kB]
Get:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libqt5quick5 amd64 5.12.8-0ubuntu1 [1,335 kB]
Get:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libqt5waylandclient5 amd64 5.12.8-0ubuntu1 [270 kB]
Get:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 libqt5waylandcompositor5 amd64 5.12.8-0ubuntu1 [300 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal/universe amd64 qtwayland5 amd64 5.12.8-0ubuntu1 [166 kB]
Fetched 89.3 MB in 22min 25s (66.4 kB/s)
Selecting previously unselected package libfdk-aac1:amd64.
(Reading database ... 249764 files and directories currently installed.)
Preparing to unpack .../00-libfdk-aac1_0.1.6-1_amd64.deb ...
Unpacking libfdk-aac1:amd64 (0.1.6-1) ...
Selecting previously unselected package libluajit-5.1-common.
Preparing to unpack .../01-libluajit-5.1-common_2.1.0~beta3+dfsg-5.1build1_all.deb ...
Unpacking libluajit-5.1-common (2.1.0~beta3+dfsg-5.1build1) ...
Selecting previously unselected package libluajit-5.1-2:amd64.
Preparing to unpack .../02-libluajit-5.1-2_2.1.0~beta3+dfsg-5.1build1_amd64.deb ...
Unpacking libluajit-5.1-2:amd64 (2.1.0~beta3+dfsg-5.1build1) ...
Selecting previously unselected package libmbedcrypto3:amd64.
Preparing to unpack .../03-libmbedcrypto3_2.16.4-1ubuntu2_amd64.deb ...
Unpacking libmbedcrypto3:amd64 (2.16.4-1ubuntu2) ...
Selecting previously unselected package libmbedx509-0:amd64.
Preparing to unpack .../04-libmbedx509-0_2.16.4-1ubuntu2_amd64.deb ...
Unpacking libmbedx509-0:amd64 (2.16.4-1ubuntu2) ...
Selecting previously unselected package libmbedtls12:amd64.
Preparing to unpack .../05-libmbedtls12_2.16.4-1ubuntu2_amd64.deb ...
Unpacking libmbedtls12:amd64 (2.16.4-1ubuntu2) ...
Selecting previously unselected package libqt5qml5:amd64.
Preparing to unpack .../06-libqt5qml5_5.12.8-0ubuntu1_amd64.deb ...
Unpacking libqt5qml5:amd64 (5.12.8-0ubuntu1) ...
Selecting previously unselected package libqt5quick5:amd64.
Preparing to unpack .../07-libqt5quick5_5.12.8-0ubuntu1_amd64.deb ...
Unpacking libqt5quick5:amd64 (5.12.8-0ubuntu1) ...
Selecting previously unselected package libqt5waylandclient5:amd64.
Preparing to unpack .../08-libqt5waylandclient5_5.12.8-0ubuntu1_amd64.deb ...
Unpacking libqt5waylandclient5:amd64 (5.12.8-0ubuntu1) ...
Selecting previously unselected package libqt5waylandcompositor5:amd64.
Preparing to unpack .../09-libqt5waylandcompositor5_5.12.8-0ubuntu1_amd64.deb ...
Unpacking libqt5waylandcompositor5:amd64 (5.12.8-0ubuntu1) ...
Selecting previously unselected package libxcb-composite0:amd64.
Preparing to unpack .../10-libxcb-composite0_1.14-3ubuntu3_amd64.deb ...
Unpacking libxcb-composite0:amd64 (1.14-3ubuntu3) ...
Selecting previously unselected package qtwayland5:amd64.
Preparing to unpack .../11-qtwayland5_5.12.8-0ubuntu1_amd64.deb ...
Unpacking qtwayland5:amd64 (5.12.8-0ubuntu1) ...
Selecting previously unselected package obs-studio.
Preparing to unpack .../12-obs-studio_29.1.3-0obsproject1~focal_amd64.deb ...
Unpacking obs-studio (29.1.3-0obsproject1~focal) ...
Setting up libqt5waylandclient5:amd64 (5.12.8-0ubuntu1) ...
Setting up libqt5qml5:amd64 (5.12.8-0ubuntu1) ...
Setting up libluajit-5.1-common (2.1.0~beta3+dfsg-5.1build1) ...
Setting up libxcb-composite0:amd64 (1.14-3ubuntu3) ...
Setting up libmbedcrypto3:amd64 (2.16.4-1ubuntu2) ...
Setting up libfdk-aac1:amd64 (0.1.6-1) ...
Setting up libqt5quick5:amd64 (5.12.8-0ubuntu1) ...
Setting up libmbedx509-0:amd64 (2.16.4-1ubuntu2) ...
Setting up libmbedtls12:amd64 (2.16.4-1ubuntu2) ...
Setting up libluajit-5.1-2:amd64 (2.1.0~beta3+dfsg-5.1build1) ...
Setting up libqt5waylandcompositor5:amd64 (5.12.8-0ubuntu1) ...
Setting up qtwayland5:amd64 (5.12.8-0ubuntu1) ...
Setting up obs-studio (29.1.3-0obsproject1~focal) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
rootroot@rootroot-X99-Turbo:~$
相关文章:
20250214在ubuntu20.04下使用obs studio录制外挂的1080p的USB摄像头【下载安装】
20250214在ubuntu20.04下使用obs studio录制外挂的1080p的USB摄像头 2025/2/14 9:10 缘起:笔记本电脑在ubuntu20.04下使用Guvcview录制自带的摄像头,各种问题。 1、降帧率。WIN10/11自带的相机应用可以满速30fps,马上重启到ubuntu20.04&#…...
OpenEuler学习笔记(三十):在OpenEuler上搭建3D建模环境
在OpenEuler上搭建3D建模环境,通常可以选择一些常见的3D建模软件,如Blender、FreeCAD等。以下以搭建Blender和FreeCAD这两款软件的使用环境为例,为你详细介绍搭建步骤。 搭建Blender 3D建模环境 1. 更新系统软件包 首先,确保系…...
Deepseek R1模型本地化部署+API接口调用详细教程:释放AI生产力
文章目录 前言一、deepseek R1模型与chatGPT o1系列模型对比二、本地部署步骤1.安装ollama2部署DeepSeek R1模型删除已存在模型,以7b模型为例 三、DeepSeek API接口调用Cline配置 前言 随着最近人工智能 DeepSeek 的爆火,越来越多的技术大佬们开始关注如…...
Ubuntu添加桌面快捷方式
以idea为例 一. 背景 在ubuntu中,很多时候是自己解压的文件并没有桌面快捷方式,需要自己找到对应的目录的执行文件手动打开,很麻烦 而只需要在 /usr/share/applications 中创建自定义的desktop文件就能自动复制到桌面 二. 添加方法 创建desk…...
教程:使用 Vue 3 和 arco 实现表格合并
1. 功能概述 本教程将介绍如何使用 Vue 3 和 arco 组件库实现表格合并功能。具体来说,我们会根据表格数据中的某个字段(如 type)对表格的某一列(如入库类型列)进行合并,同时将质检说明列合并为一列。 2. …...
【MySQL数据库】Ubuntu下的mysql
目录 1,安装mysql数据库 2,mysql默认安装路径 3,my.cnf配置文件? 4,mysql运用的相关指令及说明 5,数据库、表的备份和恢复 mysql是一套给我们提供数据存取的,更加有利于管理数据的服务的网络程序。下…...
Java实现MinIO上传PDF文件并配置浏览器在线打开而非下载
在Minio中上传PDF文件后,通常文件的访问方式(即URL)是配置为允许下载文件的,因为大多数Web服务器和存储服务默认将PDF文件视为应下载的内容类型(Content-Type: application/pdf)。但是,如果你想…...
CSV格式和普通EXCEL格式文件的区别
CSV 文件(.csv) 普通的 Excel 文件(.xlsx 或 .xls) 主要体现在 文件格式、数据存储、功能支持 等方面: 文件格式 比较项CSV 文件 (.csv)Excel 文件 (.xlsx/.xls)文件类型纯文本文件二进制或 XML 格式数据分隔逗号(,)…...
安卓基础(持续更新的笔记)
为什么要这样: // 创建请求体RequestBody body RequestBody.create(MediaType.parse("application/json; charsetutf-8"),jsonObject.toString()); jsonObject 就包含了一个 JSON 数据,它其实就是: {"name": "张…...
大模型Deepseek的使用_基于阿里云百炼和Chatbox
目录 前言1. 云服务商2. ChatBox参考 前言 上篇博文中探索了(本地)部署大语言模型,适合微调、数据高隐私性等场景。随着Deepseek-R1的发布,大语言模型的可及性得到极大提升,应用场景不断增加,对高可用的方…...
数学建模基础训练-1:概念解析
文章目录 数学建模基础训练-1:概念解析问题一:如何找到“概念”?问题二:如何全面理解概念的基础含义?问题三:如何深刻理解概念并作出创新点发掘?实际举例问题一 :研究并给出寒假开学某大学返校交…...
【mybatis】基本操作:详解Spring通过注解和XML的方式来操作mybatis
mybatis 的常用配置 配置数据库连接 #驱动类名称 spring.datasource.driver-class-namecom.mysql.cj.jdbc.Driver #数据库连接的url spring.datasource.urljdbc:mysql://127.0.0.1:3306/mybatis_test characterEncodingutf8&useSSLfalse #连接数据库的名 spring.datasourc…...
联邦学习中的“参数聚合“机制详解:医疗数据隐私保护的技术实现路径
一、技术原理:参数聚合的数学本质 1.1 核心数学公式 联邦平均算法(FedAvg): \theta_{global}^{t1} \sum_{k1}^K \frac{n_k}{N} \theta_k^t其中: K K K:参与本轮训练的客户端数量 n k n_k nkÿ…...
LVS 负载均衡集群(NAT模式)
一、环境准备 四台主机(一台 LVS、两台 RS、一台客户端) 注意每个虚拟机都需要关闭防火墙和 selinux 1.1.LVS 主机 LVS 主机(两块网卡) 第一块:NAT模式(内网) 第二块:添加网卡&am…...
Rocky Linux系统修改网卡全攻略
Rocky Linux系统修改网卡全攻略 Rocky Linux系统修改网卡全攻略一、了解网卡相关知识二、查看当前网卡配置(一)使用ip命令(二)使用ifconfig命令(需安装)三、修改网卡配置文件(一)修改IP地址(二)修改网关和DNS服务器(三)保存并退出配置文件四、重启网络服务使配置生…...
常用查找算法整理(顺序查找、二分查找、哈希查找、二叉排序树查找、平衡二叉树查找、红黑树查找、B树和B+树查找、分块查找)
常用的查找算法: 顺序查找:最简单的查找算法,适用于无序或数据量小的情况,逐个元素比较查找目标值。二分查找:要求数据有序,通过不断比较中间元素与目标值,将查找范围缩小一半,效率…...
自动化办公|xlwings 数据类型和转换
xlwings 数据类型和转换:Python 与 Excel 的桥梁 在使用 xlwings 进行 Python 和 Excel 数据交互时,理解两者之间的数据类型对应关系至关重要。本篇将详细介绍 Python 数据类型与 Excel 数据类型的对应关系,以及如何进行数据类型转换。 一、…...
Edge浏览器清理主页
我们都知道,Microsoft Edge浏览器是微软创造的搜索浏览器,Windows10、11自带。但是你可以看到,每次你打开Edge浏览器的时候都可以看到许多的广告,如图: 导致打开Edge浏览器的时候会遭受卡顿,广告骚扰&#…...
RedHat8安装postgresql15和 postgis3.4.4记录及遇到的问题总结
安装包对照版本参考 UsersWikiPostgreSQLPostGIS – PostGIS 如果Red Hat系统上有旧版本的PostgreSQL需要卸载 在较新的Red Hat版本,使用dnf包管理器卸载:sudo dnf remove postgresql-server postgresql 旧版本,使用yum包管理器卸载 sudo y…...
Java 大视界 -- 绿色大数据:Java 技术在节能减排中的应用与实践(90)
💖亲爱的朋友们,热烈欢迎来到 青云交的博客!能与诸位在此相逢,我倍感荣幸。在这飞速更迭的时代,我们都渴望一方心灵净土,而 我的博客 正是这样温暖的所在。这里为你呈上趣味与实用兼具的知识,也…...
Python 文本探秘:正则表达式的易错迷宫穿越 -- 7. 正则表达式
正则表达式是 Python 中处理文本的强大武器,但它复杂的语法和规则构成了一个易错迷宫。本文深入剖析了正则表达式模式编写的错误、匹配规则的误解、性能优化的忽视等问题。通过大量的文本处理实例,展示了错误的正则表达式使用方式以及正确的解决方案。帮…...
Ubuntu22.04通过Docker部署Jeecgboot
程序发布环境包括docker、mysql、redis、maven、nodejs、npm等。 一、安装docker 1、用如下命令卸载旧Docker: for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done 2、安装APT环境依赖包…...
数据结构 二叉树
一、⼆叉树的定义 ⼆叉树是⼀种特殊的树型结构,它的特点是每个结点⾄多只有2棵⼦树(即⼆叉树中不存在度⼤于2的结点),并且⼆叉树的⼦树有左右之分,其次序不能任意颠倒。 ⼆叉的意思是这种树的每⼀个结点最多只有两个孩…...
基于python sanic框架,使用Nacos进行微服务管理
微服务软件系统构建方式,已经很普及了,通过开源的sanic进行微服务管理,便捷,技术也比较成熟,而在项目实际应用过程中,微服务类型不仅有java的,还有nodejs、python等,尤其是结合算法模型构建的python接口,需要在Nacos进行注册管理。本文内容耗时2天踏坑,亲测一切ok。 …...
hbase合并队列超长问题分析
问题现象 hbase集群合并队列超长,有节点上合并任务已经运行超过1天未结束,合并队列总长不断增加。 问题分析 参数配置: 配置参数默认值含义hbase.hregion.memstore.flush.size128MMemStore达到该值会Flush成StoreFilehbase.hregion.memstore.block.multiplier4当region中…...
【设计模式】【行为型模式】解释器模式(Interpreter)
👋hi,我不是一名外包公司的员工,也不会偷吃茶水间的零食,我的梦想是能写高端CRUD 🔥 2025本人正在沉淀中… 博客更新速度 👍 欢迎点赞、收藏、关注,跟上我的更新节奏 🎵 当你的天空突…...
DeepSeek-R1 蒸馏 Qwen 和 Llama 架构 企业级RAG知识库
“DeepSeek-R1的输出,蒸馏了6个小模型”意思是利用DeepSeek-R1这个大模型的输出结果,通过知识蒸馏技术训练出6个参数规模较小的模型,以下是具体解释: - **知识蒸馏技术原理**:知识蒸馏是一种模型压缩技术,核…...
无人机航迹规划:互联银行系统优化(Connected Banking System Optimizer,CBSO)求解无人机路径规划MATLAB
一、互联银行系统优化算法 互联银行系统优化(Connected Banking System Optimizer,CBSO)算法是2024年由Mehrdad Nemati等人提出的一种智能优化算法,其灵感来源于银行系统之间的连接和交易过程。在银行系统中,核心银行…...
学习web数据埋点
什么是埋点,以及为什么需要埋点 通过代码主动收集用户行为数据(如点击、浏览、停留时长等),用于数据分析驱动产品优化。 一、前端埋点 在客户端(浏览器、移动端应用)直接采集用户行为数据,通…...
Windows 11 安装 Docker
1.以管理员身份打开 Windows PowerShell 2.执行下面三行命令来启动WSL和虚拟机平台 dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestartdism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norest…...
深度学习框架探秘|Keras:深度学习的魔法钥匙
一、引言:深度学习浪潮中的 Keras 前面的文章我们探秘了深度学习框架中的两大明星框架 —— TensorFlow 和 PyTorch 以及 两大框架的对比 在深度学习的众多框架中,还有一款框架备受开发者们的喜爱 —— Keras 。它就像是一位贴心的助手,为我…...
HTML【详解】input 标签
input 标签主要用于接收用户的输入,随 type 属性值的不同,变换其具体功能。 通用属性 属性属性值功能name字符串定义输入字段的名称,在表单提交时,服务器通过该名称来获取对应的值disabled布尔值禁用输入框,使其无法被…...
在vscode中拉取gitee里的项目并运行
拉取项目: 方法一:vscode点击查看--->终端(或者直接通过快捷键ctrol+ `打开) 在终端内通过cd命令定位到你想存放项目的文件夹 例如:cd h: 通过命令:git clone 地址 例如:git clone newbee-mall-vue-app: 前端代码 等待拉取完成即可在对应文件夹下看到项目啦 方…...
Spring Cloud微服务
一、定义 微服务,又叫微服务架构,也就是分布式架构,是软件架构的一种方式。它将一个大的单体架构应用拆分成一系列按业务领域划分模块的、小的自治服务。 如开发部有很多任务,如果把任务给了一个组的话,效率肯定会降低…...
打破AI黑盒,拥抱开源力量:基于openGauss+DeepSeek的本地知识库,打造你的专属AI助手!
引言:什么是RAG和LLM? LLM (Large Language Model,大语言模型): 就像 ChatGPT 这样的 AI 模型,拥有强大的语言理解和生成能力,但它们的知识局限于训练数据,且可能产生“幻觉”(即生成不准确的信…...
如何在 IntelliJ IDEA 中使用 Bito AI 插件
如何在 IntelliJ IDEA 中使用 Bito AI 插件 Bito: On-Demand AI Code Reviews Bito AI 插件是一个智能开发工具,能够帮助开发者提升编码效率,自动化生成代码、注释、单元测试等。本文将详细介绍 Bito AI 插件在 IntelliJ IDEA 中的使用方法,…...
用xml配置spring, bean标签有哪些属性?
用xml配置spring, bean标签有哪些属性? 在Spring框架中,使用XML配置文件时,<bean>标签用于定义一个Bean。以下是一些常用的<bean>标签属性: 1. class 描述:指定Bean的类名。示例:<bean id"myBe…...
微信小程序中缓存数据全方位解惑
微信小程序中缓存数据全方位解惑 微信小程序中的数据缓存是提升用户体验和优化性能的重要手段,跟电脑浏览器中的Local Storage的性质一样。以下是关于微信小程序数据缓存的相关知识点和示例的详细介绍: 1. 数据缓存的类型 微信小程序提供了两种数据缓…...
物联网平台-分布式的设备接入与管理系统
乐吾乐物联网平台是由乐吾乐自主研发的一款分布式的设备接入与管理系统,专为满足不断增长的设备接入和数据处理需求而设计。平台集数据采集、分析、监控、告警和通知等功能于一体,并融合了乐吾乐大屏可视化和乐吾乐3D数字孪生技术,帮助用户快…...
ABP - 事件总线之分布式事件总线
ABP - 事件总线之分布式事件总线 1. 分布式事件总线的集成1.2 基于 RabbitMQ 的分布式事件总线 2. 分布式事件总线的使用2.1 发布2.2 订阅2.3 事务和异常处理 3. 自己扩展的分布式事件总线实现 事件总线可以实现代码逻辑的解耦,使代码模块之间功能职责更清晰。而分布…...
ComfyUI流程图生图原理详解
一、引言 ComfyUI 是一款功能强大的工具,在图像生成等领域有着广泛应用。本文补充一点ComfyUI 的安装与配置过程遇到的问题,并深入剖析图生图过程及相关参数,帮助读者快速入门并深入理解其原理。 二、ComfyUI 的安装与配置中遇到的问题 &a…...
洛谷 P3660 USACO17FEB Why Did the Cow Cross the Road III 题解
题意 有一个圆,圆周上按顺时针方向给出 2 n 2n 2n个点。第 i i i个点的颜色是 c o l o r i color_i colori,其中数据保证 1 ≤ c o l o r i ≤ n 1\le color_i\le n 1≤colori≤n,而且每种不同的颜色有且只有两个点。不存在位置重叠的点…...
kubekey一键部署k8s高可用与kubesphere
kubekey一键安装k8s与kubesphere还是蛮方便的,kubesphere官网上面也提到了高可用安装的一些事宜,但是没有涉及到kubesphere资深的redis的系统的部署问题,本文简单给出对应配置,其实这个配置在kubephere的cluster-configuration.ya…...
SwiftUI 5.0 中宝藏视图修改器 containerRelativeFrame 趣谈(下)
概览 小伙伴们都知道,为了将 SwiftUI 中多如牛毛的视图井然有序、有条不紊的组织起来,我们必须借助容器(Container)伏虎降龙般地威力。而如何最大限度的让容器中的子视图能根据容器尺寸安排自己的空间,则需要一些技术手段来洞幽察微。 在过去,我们往往使用 GeometryRead…...
ElasticSearch基础和使用
ElasticSearch基础 1 初识ES相关组件 (1)Elasticsearch是一款非常强大的开源搜索引擎,可以帮助我们从海量数据中快速找到需要的内容。Elasticsearch结合kibana、Logstash、Beats组件 也就是elastic stack(ELK) 广泛应…...
我用 Cursor 开发了一款个人小记系统
https://note.iiter.cn 项目背景 在日常工作和学习中,我们经常需要快速记录一些想法、收藏一些有用的链接或者保存一些重要的文本、图片内容。虽然市面上已经有很多笔记软件,但我想要一个更轻量、更简单的工具,专注于快速记录和智能检索。于是我开发了这款个人小记系统。 系统…...
如何使用Three.js制作3D月球与星空效果
目录 1. 基本设置2. 创建星空效果3. 创建月球模型4. 添加中文3D文字5. 光照与相机配置6. 动画与控制7. 响应式布局8. 结语 在本文中,我们将一起学习如何利用Three.js实现一个3D月球与星空的效果,并添加一些有趣的元素,比如中文3D文字和互动功…...
DeepSeek接入网络安全领域,AI高效驱动,重新定义网络防御边界!
DeepSeek新一代模型的发布,标志着AI大模型的应用将逐步走向普及,并加速AI技术在各行业的赋能与全面落地。在科技日新月异的今天,AI技术凭借其强大的数据处理与分析能力,已成为推动社会进步的核心动力。 在网络安全领域࿰…...
【动态规划】斐波那契数列模型
目录 动态规划 动态规划的基本步骤 1137. 第 N 个泰波那契数 - 力扣(LeetCode) 算法分析 算法代码 算法代码 面试题 08.01. 三步问题 - 力扣(LeetCode) 算法分析 算法代码 优化 746. 使用最小花费爬楼梯 - 力扣&#x…...
Spring中的IOC详解
文章目录 IOC IOC容器的工作原理Bean的生命周期Bean的自动装配 AutowiredResourceInject 使用Spring底层组件 IOC Spring的核心之一是IOC,IOC全称为Inversion of Control,中文译为控制反转,是面向对象编程中的一种设计原则,可…...