AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-140794

Paul's questions

Martin Hope
Paul
Asked: 2024-10-03 17:17:32 +0800 CST

使用 FFMPEG 截断音频文件而不进行复制

  • 5

我使用 RAM 磁盘来编辑音频,并且更喜欢 WAV PCM 格式。

现在我有一个很大的 WAV 文件,它几乎占据了整个 RAM 磁盘(2.5 GB)。

FFMPEG 是否可以截断文件(正确重建相应的 RIFF 结构)而不将结果写入另一个文件?

ffmpeg
  • 1 个回答
  • 22 Views
Martin Hope
Paul
Asked: 2023-04-17 23:50:27 +0800 CST

在 Windows Server 2012 R2 上打开 Bitlocker 后可能出现的问题

  • 5

我想在我没有物理访问权限的远程计算机上打开 BitLocker 加密。我害怕的是:

  • 启用 BitLocker 后操作系统将无法启动(例如,将卡在某些屏幕上要求输入密码、密钥或类似内容,并且需要物理访问)
  • 操作系统将加密所有驱动器,而不仅仅是我选择的几个驱动器
  • 操作系统将自动加密未来插入的每个驱动器

这些恐惧有多合理?

encryption
  • 1 个回答
  • 17 Views
Martin Hope
Paul
Asked: 2022-11-01 23:38:20 +0800 CST

Windows Server 2012 R2 上的 SMART

  • 5

我的 Windows Server 2012 R2 上的一个硬盘驱动器开始出现故障,我检测到这一点为时已晚 - 只有当我无法读取一个文件并在读取时遇到一些奇怪的错误时。

使用 GUI 工具检查驱动器后,它显示一切正常。

然后我检查了它chkdsk:

chkdsk d: /f /r
.................................
Stage 4: Looking for bad clusters in user file data ...
A disk read error occurredc0000010
The disk does not have enough space to replace bad clusters
detected in file 191666 of name \RECEIV~1\Langs\E141~1\New\202004~1.mp4.
  235248 files processed.
File data verification completed

因此,我得出结论,硬盘驱动器正在默默地重新定位扇区,直到没有更多的备用扇区。

我认为是时候使用一些在服务器后台运行的 SMART 报告工具了。你会拿哪个?或者也许在 Windows Server 2012 R2 中有一些内置功能?

更新

这是驱动器的 SMART 信息

*** DiskCheckup V3.5 Build: 1002 Report ***

SysInfo DLL Version:                                                  SysInfo v2.3 Build: 1000
Time of export:                                                       15:27:38 03-Nov-2022

Device information:                                                   
   Device ID:                                                         1
   Interface:                                                         USB
   Device Capacity:                                                   3815445 MB
   Serial Number:                                                     XXXXXXXXX
   Model Number:                                                      TOSHIBA MQ04UBB400
   Firmware Revision:                                                 JS000U
   Partitions:                                                        
      D:         3815317 MB

ATA information:                                                      

   Disk geometry:                                                     
      Cylinders:                                                      486401
      Tracks/Cylinder:                                                255
      Sectors/Track:                                                  63
      Bytes/Sector:                                                   512
      Total disk sectors:                                             7814037168
      Logical sector size:                                            512
      Physical sector size:                                           4096
      Media rotation rate:                                            5400 RPM
      Buffer size:                                                    N/A
      ECC size:                                                       N/A

   Standards compliance:                                              
      ATA8-ACS Supported:                                             Yes
      ATA/ATAPI-7 Supported:                                          Yes
      ATA/ATAPI-6 Supported:                                          Yes
      ATA/ATAPI-5 Supported:                                          Yes
      ATA/ATAPI-4 Supported:                                          Yes
      SATA Compliance:                                                Yes
         SATA Gen3 Signaling Speed (6.0Gb/s) Supported:               No
         SATA Gen2 Signaling Speed (3.0Gb/s) supported:               Yes
         SATA Gen1 Signaling Speed (1.5Gb/s) supported:               Yes
      Transport Type:                                                 Serial
         SATA 3.0 Transport Compilance:                               Yes
         SATA 2.6 Transport Compilance:                               Yes
         SATA 2.5 Transport Compilance:                               Yes
         SATA II: Ext Transport Compilance:                           Yes
         SATA 1.0a Transport Compilance:                              Yes
         ATA8-AST Transport Compilance:                               Yes
   World Wide ID:                                                     0000000000000000

   Feature support:                                                   
      SMART supported:                                                Yes
         SMART enabled:                                               Yes
      SMART self-test supported:                                      Yes
      SMART error log supported:                                      Yes
      LBA supported:                                                  Yes
      IORDY supported:                                                Yes
      CFast supported:                                                No
      DMA supported:                                                  Yes
         Maximum Multiword DMA mode supported:                        2
         Multiword DMA selected:                                      None
         Maximum UltraDMA mode supported:                             5
         UltraDMA selected:                                           5
      Maximum PIO mode supported:                                     4
      SATA Compliance:                                                Yes
         NCQ priority information supported:                          No
         Unload while NCQ commands are outstanding supported:         Yes
         Phy Event Counters supported:                                Yes
         Receipt of power management requests supported:              Yes
         NCQ feature set supported:                                   Yes
         Software Settings Preservation:                              Supported, Enabled
         In-order data delivery:                                      Not supported
         Initiating power management:                                 Supported, Disabled
         DMA Setup auto-activation:                                   Supported, Disabled
         Non-zero buffer offsets:                                     Not supported
      Trusted Computing supported:                                    No
      Host Protected Area (HPA) supported:                            Yes
      Read look-ahead supported:                                      Yes
         Read look-ahead enabled:                                     Yes
      Write cache supported:                                          Yes
         Write cache enabled:                                         Yes
      Power management supported:                                     Yes
      Security mode supported:                                        Yes
         Security mode enabled:                                       No
      Device Configuration Overlay (DCO) supported:                   Yes
      48bit Addressing supported:                                     Yes
      Auto Acoustic Managment (AAM) supported:                        No
      Power-up in Standby (PUIS) supported:                           No
      Advanced Power Management (APM) supported:                      Yes
         Advanced Power Management (APM) enabled:                     Yes
         Current APM level:                                           Minimum power consumption without Standby
      CompactFlash Association (CFA) supported:                       No
      General Purpose Logging (GPL) supported:                        Yes
      Streaming supported:                                            No
      Media card pass through supported:                              No
      Extended power conditions supported:                            No
      Extended status reporting supported:                            Yes
         Extended status reporting enabled:                           No
      Write-read-verify supported:                                    Yes
         Write-read-verify enabled:                                   No
      Free-fall control supported:                                    No
      TRIM command supported:                                         No
      SCT command transport supported:                                Yes
      NV Cache enabled:                                               No
      NV Cache Power Management supported:                            No

SMART ATTRIBUTES:
 ID    Description                             Status        Value         Worst         Threshold     Raw Value     TEC                 
---------------------------------------------------------------------------------------------------------------------------------------------
  1    Raw Read Error Rate                     OK            100           100           50            0             N/A                 
  2    Throughput Performance                  OK            100           100           50            0             N/A                 
  3    Spin Up Time                            OK            100           100           1             5359          N/A                 
  4    Start/Stop Count                        OK            100           100           0             7453          N/A                 
  5    Reallocated Sector Count                OK            100           100           50            0             N/A                 
  7    Seek Error Rate                         OK            100           100           50            0             N/A                 
  8    Seek Time Performance                   OK            100           100           50            0             N/A                 
  9    Power On Time                           OK            71            71            0             11938         N/A                 
 10    Spin Retry Count                        OK            249           100           30            0             N/A                 
 12    Power Cycle Count                       OK            100           100           0             14            N/A                 
191    G-sense Error Rate                      OK            100           100           0             0             N/A                 
192    Power off Retract Count                 OK            100           100           0             1             N/A                 
193    Load Cycle Count                        OK            97            97            0             30040         N/A                 
194    Temperature                             OK            100           100           0             31 C          N/A                 
196    Reallocation Event Count                OK            100           100           0             0             N/A                 
197    Current Pending Sector Count            OK            100           100           0             0             N/A                 
198    Uncorrectable Sector Count              OK            100           100           0             0             N/A                 
199    UltraDMA CRC Error Count                OK            200           253           0             0             N/A                 
220    Disk shift                              OK            100           100           0             0             N/A                 
222    Loaded hours                            OK            99            99            0             701           N/A                 
223    Load/Unload retry count                 OK            100           100           0             0             N/A                 
224    Load friction                           OK            100           100           0             0             N/A                 
226    Load-in Time                            OK            100           100           0             275           N/A                 
240    Head flying hours                       OK            100           100           1             0             N/A                 
hard-drive
  • 1 个回答
  • 41 Views
Martin Hope
Paul
Asked: 2022-10-23 15:32:58 +0800 CST

使用 FFMPEG 处理 MKV 中的所有音频流

  • 6

我想在包含两种语言的音频流的 MKV 文件中进行动态音频规范化

ffmpeg -i "Source.mkv" -vcodec copy -af "dynaudnorm=f=50:p=0.9" "Target.mkv"

在此命令之后,结果仅包含第一个音频流。

如何使 FFMPEG 保持视频原样并处理所有音频流,无论它们有多少?

更新

-map 0以错误“为输出流 0:1 缓冲的数据包过多”结束。

-map 0:a以错误“为输出流 0:0 缓冲的数据包过多”结束。

-map 0:2导致 FFMPEG 在目标文件中只留下一个流,这个流是第二个音频。(而且我需要一个通用命令,它能够在不更改命令行中的任何内容的情况下处理所有流)

ffmpeg
  • 1 个回答
  • 29 Views
Martin Hope
Paul
Asked: 2022-05-06 04:21:09 +0800 CST

BIOS可以被UEFI覆盖吗

  • 5

我看到互联网上有一些解决方法,允许具有 BIOS 的旧 PC 从 USB 闪存启动 UEFI 映像,然后从 NVMe SSD 启动。

主板上的 BIOS EEPROM 是否可以被 UEFI 覆盖,从而无需使用额外的 USB 闪存?

有没有一些陷阱?

bios uefi
  • 1 个回答
  • 79 Views
Martin Hope
Paul
Asked: 2022-05-03 07:44:37 +0800 CST

Toshiba Satellite U500 笔记本电脑每天 8:50 开机,尽管 BIOS 没有任何设置

  • 5

Toshiba Satellite U500 笔记本电脑没有处于睡眠状态,而是完全关闭,并且在每天 8 点 50 分仍会自行开机,尽管 BIOS 没有任何关于定时开机的设置。

除“关键电池唤醒”设置外,“局域网唤醒”等所有“唤醒”设置均已关闭。如果就是这个设置,那为什么要定时开机呢?

这怎么可能是真的?

如何禁用此行为?

是否有可能某些外部设备(WiFi 或蓝牙)能够将其唤醒?

我用它做的唯一一件事就是用 4GB 替换了两个 2GB RAM 模块中的一个。现在它有 6 GB RAM。然后我用 SSD 三星 870 EVO 2TB 替换它的 HDD 以 1:1 克隆系统。不幸的是,我不记得它是否曾经在这些变化之前醒来。

laptop bios
  • 1 个回答
  • 35 Views
Martin Hope
Paul
Asked: 2021-06-09 14:24:12 +0800 CST

通过 POST 请求触发 shell 脚本执行

  • 6

里面有一台 CentOS 7 机器和一个 BASH 脚本。

当我通过 SSH 登录服务器时,该脚本由 Cron 调度程序或手动执行。

我还想通过向同一台机器上的 Web 服务器发送 POST 请求来触发脚本执行(无需登录)。如何以正确的方式做到这一点?

bash webserver
  • 1 个回答
  • 434 Views
Martin Hope
Paul
Asked: 2021-01-08 13:55:09 +0800 CST

MP3 - 将一个 ID3 标签复制到另一个

  • 5

如何将PURL标签复制到URL使用 ffmpeg 或其他命令行工具?

操作系统:Windows 7 或 CentOS 7。理想情况下,两者都可以运行。

我看到“URL”命名字段的程序是 Windows 的 Tag&Rename 或 ffmpeg 或 MPC HC。在原始十六进制视图中,它没有任何字符串标识符。

我看到“PURL”命名字段的程序是 ffmpeg 或任何原始十六进制查看器。

ffmpeg mp3
  • 1 个回答
  • 315 Views
Martin Hope
Paul
Asked: 2020-09-22 22:05:01 +0800 CST

youtube-dl + ffmpeg:将原始视频的描述和 URL 导入 ID3 标签

  • 5

以下捆绑包用于下载和编码音频:

/usr/local/bin/youtube-dl --playlist-reverse -o "%(upload_date)s %(title)s.%(ext)s" --write-annotations --download-archive ".archive" --add-metadata --write-sub --sub-lang en --write-auto-sub -f "bestaudio[ext=m4a]" -i "https://www.youtube.com/channel/CHANNEL_ID"
for name in *.m4a; do
  /usr/bin/ffmpeg -y -hide_banner -loglevel info -i "$name" -metadata artist="ArtistName" -metadata album="AlbumName" -acodec libmp3lame -ar 44100 -ac 1 -ab 192k "${name%.*}_192.mp3"
done

在十六进制查看器中查看生成的文件时,可以以二进制形式查看原始视频的描述,但在 Tag&Rename 3.5.5 中加载文件时,标准的“描述”ID3 标记中没有任何内容。

此外,标准的“URL”ID3 标签既不显示在 Tag&Rename 中,也不以二进制形式出现。

如何将描述和 URL 都导入到正确的位置?

ffmpeg youtube-dl
  • 1 个回答
  • 687 Views
Martin Hope
Paul
Asked: 2020-04-23 07:08:24 +0800 CST

浏览器不接受有效的加密证书

  • 5

我曾经将我生成的自签名证书导入到 Windows 的根 CA 存储中。它总是成功的。

现在我遇到了我们公司作为产品的一部分生成的自签名证书。它与产品一起安装。

当我访问应用程序的网站时,所有浏览器(MS Edge、Vivaldi、Chrome)都显示证书无效,但当我使用同一浏览器查看证书属性时,一切都有效。

怎么可能,有什么问题?将此证书导入根 CA 存储没有帮助。

ssl encryption
  • 1 个回答
  • 86 Views
Martin Hope
Paul
Asked: 2019-09-05 02:54:23 +0800 CST

带有字节顺序标记的 sh 脚本

  • 6

Linux“sh”是否能够在开头运行带有 BOM(字节顺序标记)的 Unicode 文本脚本文件?

我真的需要这个并且不想删除 BOM。

linux sh
  • 1 个回答
  • 212 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Vickel Firefox 不再允许粘贴到 WhatsApp 网页中? 2023-08-18 05:04:35 +0800 CST
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve