GStreamer 源码编译

meson setup --prefix /usr/gstreamer --libdir lib --buildtype release --strip -Dgpl=enabled -Drs=enabled -Dgst-examples=disabled -Dtests=disabled -Dexamples=disabled -Dlibnice=enabled -Dwebrtc=enabled -Dlibav=enabled -Drtsp_server=enabled -Dvaapi=enabled -Dgst-plugins-bad:opencv=enabled -Dgst-plugins-bad:srt=enabled -Dgst-plugins-base:theora=enabled -Dglib:tests=false -Djson-glib:tests=false -Dorc:benchmarks=disabled -Dgst-plugins-good:adaptivedemux2=disabled -Dopus:tests=disabled builddir 更新 configure options meson configure -Doption=new_value builddir # 仅 reconfigure meson setup --reconfigure builddir # 或者 清除依赖缓存,重新查找依赖 meson setup --reconfigure --clearcache builddir 开始编译 meson compile -C builddir 安装 ...

八月 26, 2024 · 1 分钟 · HeeVanu

Qt 4.8.7 交叉编译

手里有块 AnyCloud37D 平台的 armv5 开发板,想在上面展示浏览器控件。开发板自带 Qt 4.8.7 版本,但是缺少 QtWebkit 库。本文记录在 Ubuntu 20.04 LTS 主机上交叉编译 Qt 4.8.7 的步骤及遇到的问题的解决方案。 ...

二月 28, 2024 · 2 分钟 · HeeVanu

Linux 常用工具指定代理

APT 配置文件 /etc/apt/apt.conf.d/proxy.conf Acquire { http::Proxy "http://<ip>:<port>"; https::Proxy "http://<ip>:<port>"; } 命令行临时指定 -o Acquire::http::Proxy="http://<ip>:<port>" -o Acquire::https::Proxy="http://<ip>:<port>" WGET 环境变量 export HTTP_PROXY="http://<ip>:<port>" export HTTPS_PROXY="http://<ip>:<port>" 配置文件 /etc/wgetrc 或者 ~/.wgetrc # You can set the default proxies for Wget to use for http, https, and ftp. # They will override the value in the environment. #https_proxy = http://proxy.yoyodyne.com:18023/ #http_proxy = http://proxy.yoyodyne.com:18023/ #ftp_proxy = http://proxy.yoyodyne.com:18023/ # If you do not want to use proxy at all, set this to off. #use_proxy = on 命令行临时指定 -e "http_proxy=http://<ip>:<port>" -e "https_proxy=http://<ip>:<port>"

二月 21, 2024 · 1 分钟 · HeeVanu

X11 Forwarding

1 简介 X11 是经典的 C/​S 架构,分为 Server 和 Client,并定义了一系列协议用于 C-S 间通信。X Server 负责图形界面的显示和用户的输入,而 X Client 需要连接到 X Server,请求 X Server 绘制图形界面,同时从 X Server 接受用户的输入并做出响应。 ...

十一月 17, 2023 · 2 分钟 · HeeVanu

GTA Online 卡乳贴教程

1 准备工具 - BincoHaXUI 下载链接: https://www.unknowncheats.me/forum/grand-theft-auto-v/250308-bincohax-1-67-external.html 2 操作流程 随便进入一个服装店,去柜台与柜员对话,随便选择一套套装穿上。 后台切到 BincoHaXUI 工具,点击左侧下部的 Update current 以获取当前角色套装信息。 ...

十月 5, 2023 · 1 分钟 · HeeVanu

泛域名 SSL 证书与 HTTPS

https://github.com/acmesh-official/acme.sh 文档在 Wiki 与 README 中 默认使用 ZeroSSL.com CA 证书 本文以 Cloudflare 为 DNS 服务商。 若 DNS 注册商不提供 API,也可以在不转移域名的情况下使用 Cloudflare 作为服务商(在 DNS 注册商处自定义域名服务器为 Cloudflare 提供的域名服务器) ...

二月 14, 2023 · 2 分钟 · HeeVanu

Linux 服务器开启 BBR

本文所有指令请以 root 用户执行 使用 sysctl net.ipv4.tcp_available_congestion_control 命令查看目前内核启用的 TCP 拥塞控制算法 使用 sysctl net.ipv4.tcp_congestion_control 查看当前的配置 自动加载 tcp_bbr 内核模块 生成内核模块自动加载配置文件 ...

二月 8, 2023 · 1 分钟 · HeeVanu

TigerVNC 编译与使用

本文环境为 Arch Linux 环境依赖 编译环境 官方编译文档 cmake (v3.10 or later) zlib pixman FLTK (v1.3.3 or later) GnuTLS (v3.x or later) Nettle (v3.0 or later) gettext (Gnu v0.14.4 or later) libjpeg-turbo PAM ffmpeg 额外补充 xorg-server-devel xorg-xauth xorg-xinit xorg-xkbcomp xorg-xrandr xorg-xrdb xorg-iceauth xorg-font-util xtrans 图形环境 桌面环境 (xfce) 安装 xfce4 软件组 新建/编辑 ~/.xinitrc,加入 exec startxfce4 References: ...

十二月 9, 2022 · 2 分钟 · HeeVanu

MSYS2 配置记录

MSYS2 在 Windows 上提供了一个精简轻便的 Linux 环境,并集成了 Arch Linux 的包管理器 Pacman。 本文以 C:/env/msys64 为 MSYS2 的安装路径作为参考。 目录 用户目录为 MSYS2 安装目录下的 /home/xxx(即 C:/env/msys64/home/xxx),在 shell 中为 /home/xxx/。 ...

十一月 18, 2022 · 1 分钟 · HeeVanu

云服务器全新安装 ArchLinux 指南

准备工作 下载 ArchLinux ISO 镜像 官网:https://archlinux.org/download 本文以 archlinux-2022.10.01-x86_64.iso 为例 校验: sha256sum ~/download/aria2/archlinux-2022.10.01-x86_64.iso 与官网于 Checksums 处提供的 SHA256 值比较,完全一致即可 修改 GRUB 配置 使用 grub 于重启系统时启动 ArchLinux ISO 镜像 grub 配置文件:/boot/grub/grub.cfg,于适当位置添加如下内容: ...

十月 8, 2022 · 2 分钟 · HeeVanu