x265 2.3版本更新

Date: Wed, 15 Feb 2017 12:34:40 +0530

x265 version 2.3 has been released. This release contains new algorithms
that improveto visual quality, encoding efficiency, and performance.

The latest version can be downloaded from here
https://bitbucket.org/multicoreware/x265/downloads/x265_2.3.tar.gz (MD5
sum = 18716a7e0c6f6ebd2a1035b82cec30de). Full documentation is available at
http://x265.readthedocs.io/en/stable/.

Release Notes for 2.3

Encoder enhancements

  1. New SSIM-based RD-cost computation for improved visual quality, and
    efficiency; use –ssim-rd to exercise.
  2. Multi-pass encoding can now share analysis information from prior passes
    (in addition to rate-control information) to improve performance and
    quality of subsequent passes; to your multi-pass command-lines that use the
    –pass option, add –multi-pass-opt-distortion to share distortion
    information, and –multi-pass-opt-analysis to share other analysis
    information.
  3. A dedicated thread pool for lookahead can now be specified with
    –lookahead-threads.
  4. –dynamic-rd dynamically increase analysis in areas where the bitrate is
    being capped by VBV; works for both CRF and ABR encodes with VBV settings.
  5. The number of bits used to signal the delta-QP can be optimized with the
    –opt-cu-delta-qp option; found to be useful in some scenarios for lower
    bitrate targets.
  6. Experimental feature option:–aq-motion adds new QP offsets based on
    relative motion of a block with respect to the movement of the frame.

API changes

  1. Reconfigure API now supports signalling new scaling lists.
  2. x265 application’s csv functionality now reports time (in milliseconds)
    taken to encode each frame.
  3. –strict-cbr enables stricter bitrate adherence by adding filler bits
    when achieved bitrate is lower than the target; earlier, it was only
    reacting when the achieved rate was higher.
  4. –hdr can be used to ensure that max-cll and max-fall values are always
    signaled (even if 0,0).

Bug fixes

  1. Fixed incorrect HW thread counting on MacOS platform.
  2. Fixed scaling lists support for 4:4:4 videos.
  3. Inconsistent output fix for –opt-qp-pss by removing last slice’s QP
    from cost calculation.
  4. VTune profiling (enabled using ENABLE_VTUNE CMake option) now also works
    with 2017 VTune builds.

Happy compressing!
Pradeep.
————– next part ————–
An HTML attachment was scrubbed…
URL: http://mailman.videolan.org/pipermail/x265-devel/attachments/20170215/021c2289/attachment-0001.html

<think> 我们正在讨论在Linux系统上安装高版本的scrcpy工具。根据引用[1],我们可以通过多种方式安装scrcpy,包括使用包管理器(如apt)、从源代码编译或者使用Snap包。但是,由于用户要求安装高版本,而Ubuntu官方仓库中的版本可能不是最新的,因此我们需要考虑其他方法。 方法一:使用Snap安装(简单,但版本可能受限于Snap仓库) 引用[1]提到可以使用Snap安装:`sudo snap install scrcpy` Snap仓库通常提供较新的版本,因此这种方法可能能够安装到较高版本。 方法二:从源代码编译安装(可以获取最新版本) 引用[1]和[2]都提到可以从源代码安装。我们可以从scrcpy的GitHub仓库获取最新源代码并编译。 方法三:使用第三方PPA(仅适用于Debian/Ubuntu) 对于Debian/Ubuntu系统,可能会有第三方PPA提供较新的版本。 由于用户要求高版本,我们重点介绍从源代码编译安装,因为这样可以安装到最新版本(包括预发布版本)。 下面详细介绍从源代码编译安装scrcpy的步骤: 1. 安装依赖项 首先,确保系统已安装必要的依赖库和工具。对于Ubuntu/Debian,可以使用以下命令: ```bash sudo apt update sudo apt install -y ffmpeg libsdl2-2.0-0 adb wget \ gcc git pkg-config meson ninja-build \ libsdl2-dev libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev \ libusb-1.0-0 libusb-1.0-0-dev ``` 2. 下载源代码 我们可以从scrcpy的GitHub仓库克隆最新代码: ```bash git clone https://github.com/Genymobile/scrcpy cd scrcpy ``` 如果想要安装特定版本(如最新发布的版本),可以切换到该版本的标签。例如,要安装v2.0(请替换为最新版本号): ```bash git checkout v2.0 ``` 或者直接使用最新开发分支(可能包含新特性,但不太稳定): ```bash git checkout master ``` 3. 编译和安装 使用meson和ninja进行编译安装: ```bash meson setup x --buildtype release --strip -Db_lto=true cd x ninja sudo ninja install ``` 上述命令将在系统范围内安装scrcpy。 4. 验证安装 安装完成后,运行以下命令检查版本: ```bash scrcpy --version ``` 方法四:使用预先编译的二进制文件 从scrcpy的GitHub发布页面下载预编译的二进制文件。访问[scrcpy发布页面](https://github.com/Genymobile/scrcpy/releases),下载对应架构的压缩包(例如:scrcpy-server-vX.X和scrcpy-vX.X.tar.gz),然后按照其中的说明进行安装。 对于其他Linux发行版,安装依赖项的命令会有所不同,例如对于Fedora: ```bash sudo dnf install SDL2-devel ffmpeg-devel meson gcc git ninja-build libusb1-devel android-tools ``` 注意:无论采用哪种方法,都需要确保adb(Android Debug Bridge)已安装并可用。可以通过`adb version`检查。 另外,引用[3]和[4]提供了scrcpy的一些使用技巧和背景信息,用户安装后可以参考。 由于安装高版本的需求,我们推荐方法二(从源代码编译)或方法四(下载预编译的二进制文件),这样能获得比系统仓库更新版本。 安装完成后,可以使用引用[3]中提供的各种参数来使用scrcpy,例如: - 关闭手机屏幕:`scrcpy -S` - 限制分辨率:`scrcpy -m 1024` - 屏幕录像:`scrcpy -r 文件名.mp4` §§ 相关问题 §§ 1. 如何更新通过源代码编译安装的scrcpy? 2. 如何解决scrcpy运行时出现的依赖问题? 3. 在Linux上使用scrcpy连接USB设备需要哪些权限设置? 4. scrcpy支持通过Wi-Fi连接吗?如何设置? </think> ### Linux 系统安装高版本 scrcpy 的详细指南 以下是三种主流安装方法,优先推荐**源码编译安装**以获取最新版本: #### 方法一:源码编译安装(推荐) ```bash # 1. 安装依赖 sudo apt update sudo apt install -y ffmpeg libsdl2-2.0-0 adb wget gcc git pkg-config \ meson ninja-build libssl-dev libavcodec-dev libavformat-dev \ libavutil-dev libsdl2-dev # 2. 获取最新源码 git clone https://github.com/Genymobile/scrcpy cd scrcpy # 3. 编译安装(启用优化) meson setup build --buildtype=release -Db_lto=true cd build ninja sudo ninja install # 4. 验证版本(显示v2.2+) scrcpy --version ``` **优势**: - 可安装最新开发版(如v2.3) - 支持定制编译参数(如`-Dprebuilt_server=false`编译新版server) #### 方法二:Snap安装(受限版本) ```bash sudo snap install scrcpy --channel=edge ``` > 📌 注意:Snap仓库版本通常滞后于源码1-2版本[^1],但自动处理依赖关系 #### 方法三:第三方PPA(Ubuntu专属) ```bash sudo add-apt-repository ppa:hnakamur/scrcpy sudo apt update sudo apt install scrcpy ``` > ⚠️ 需确认PPA维护状态,部分PPA可能包含较旧版本 --- ### 版本验证与升级 ```bash # 查看当前版本 scrcpy -v # 源码安装更新方式 cd /path/to/scrcpy git pull ninja -C build sudo ninja -C build install ``` --- ### 高版本特性亮点(v2.2+) 1. **音频转发**(实验性功能) ```bash scrcpy --audio ``` 2. **H.265 编码支持** ```bash scrcpy --video-codec=h265 ``` 3. **多设备同步控制** ```bash scrcpy --serial=设备ID --control=192.168.1.2:8000 ``` --- ### 权限配置(USB设备访问) ```bash # 创建USB规则文件 echo &#39;SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666"&#39; | sudo tee /etc/udev/rules.d/51-android.rules # 重载规则 sudo udevadm control --reload-rules ``` > 连接设备后执行:`adb kill-server && adb devices` ---
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值