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-868320

miguelmorin's questions

Martin Hope
emonigma
Asked: 2024-08-30 22:05:05 +0800 CST

遇到 IO 错误——跳过文件删除

  • 5

我使用此rsync命令通过互联网同步驱动器,从远程 Linux 机器到本地 macOS 机器:

sudo rsync -e 'ssh -p 8023 -i /path/to/key' -avxW --progress --delete \
         --exclude folders/to/exclude \
[email protected]:/mnt/RemoteDriveName/ /Volumes/LocalDriveName

该命令复制了我需要的文件,但无法删除目标上的某些文件。它显示错误,但没有详细信息:

IO error encountered -- skipping file deletion

我已经包含了-v增加详细程度的选项;我该如何追踪错误或以其他方式修复命令以删除文件?

linux
  • 1 个回答
  • 25 Views
Martin Hope
emonigma
Asked: 2024-04-12 03:01:51 +0800 CST

如何从源安装 Azure 认知服务语音

  • 6

我想在 Python 中安装 Azure 认知服务语音 SDK。在 Macbook 上,我可以运行:

python3 -m pip install azure-cognitiveservices-speech

它有效。

在 iMac 上,相同的命令会抛出:

Could not find a version that satisfies the requirement azure-cognitiveservices-speech (from versions: )
No matching distribution found for azure-cognitiveservices-speech

按照https://stackoverflow.com/questions/54425580/cant-pip-microsoft-azure-cognitiveservices-speech,我确认硬件是 64 位:

$ getconf LONG_BIT
64

Python 也是 64 位的:

$ python -c "import struct; print(struct.calcsize('P') * 8)"
64

在这个 Microsoft 学习线程之后,我升级pip并尝试安装--pre:

python3 -m pip install --upgrade pip
python3 -m pip install --pre azure-cognitiveservices-speech

我得到同样的错误。

下一步是从源安装:

  1. 如果上述步骤不起作用,您可以尝试从源代码安装包。克隆 azure-cognitiveservices-speech 包的 GitHub 存储库,然后运行命令 python3 setup.py install 来安装该包。

PyPI 页面未链接到 Github。在 Microsoft 的 Github 存储库上,我只能找到 JS 和 Go 的 SDK。我通过在线搜索这个仓库也找不到它。

最后一步是使用 DockerHub:

  1. 如果上述步骤均不起作用,您可以尝试使用预安装了 azure-cognitiveservices-speech 包的 Docker 容器。您可以在 Docker Hub 上找到该包的 Docker 映像。

但当我搜索 时,我在 DockerHub 上找不到任何内容azure-cognitiveservices-speech。

该软件包的源代码在哪里,或者我还可以如何安装 Microsoft 认知服务?

installation
  • 2 个回答
  • 68 Views
Martin Hope
miguelmorin
Asked: 2022-12-17 09:40:21 +0800 CST

在没有 OpenGL 或 CUDA GPU 的 HP Proliant 服务器上运行达芬奇

  • 7

我有一台运行 Windows 10 的旧 HP ProLiant 服务器,我想在其中安装和运行 DaVinci Resolve。我安装了最新版本 18,然后查看

CRITICAL_QUIT: GPU initialization failed could not initialize OpenGL

按照这些提示,我下载并安装了版本 16,我看到:

DaVinci Resolve could not find any OpenCL capable GPUs.

我几乎找不到关于显卡的信息。这是来自的屏幕截图System Information:

显卡详情截图

以前的所有者试图更换显卡,但由于 HP 的保护措施变得非常困难。

如何在此计算机上运行 DaVinci Resolve?我可以安装程序来模拟 GPU 吗?

drivers
  • 1 个回答
  • 42 Views
Martin Hope
miguelmorin
Asked: 2020-11-22 07:33:11 +0800 CST

将 MTS 文件压缩为 MP4 会导致 QuickTime 出错

  • 5

我有一个长视频文件,我想用 H264 修剪、调整大小和压缩:

ffmpeg -y -ss 1.2 -to 2:03.800 -i long.MTS -vcodec libx264 -vf scale=320:-1 -vb 500k short.mp4

该文件在 VLC 中播放,而不是在 QuickTime 中播放,但出现以下错误:

The document could not be opened. An unknown error occurred (-50).

.mov容器也会发生同样的事情。问题是基本用户看不到压缩后的电影,原始电影太重无法分享。

的版本ffmpeg是4.3.1,macOS的版本是10.14.6,都是最新的。ffprobe在.mov文件上返回:

输入#0,mov,mp4,m4a,3gp,3g2,mj2,来自“short.mov”:
  元数据:
    主要品牌:qt  
    次要版本:512
    兼容品牌:qt  
    编码器:Lavf58.45.100
  时长:00:02:02.92,开始:0.000000,比特率:902 kb/s
    流 #0:0:视频:h264(高)(avc1 / 0x31637661)、yuv420p、320x180 [SAR 1:1 DAR 16:9]、501 kb/s、25 fps、25 tbr、12800 tbn、50 tbc(默认)
    元数据:
      handler_name : 视频处理程序
      编码器:Lavc58.91.100 libx264
    流 #0:1:音频:aac (LC) (mp4a / 0x6134706D),48000 Hz,5.1(侧),fltp,394 kb/s(默认)
    元数据:
      handler_name : SoundHandler

如何压缩、缩放和修剪来自 MTS 的视频?

更新:这是新命令和日志:

$ ffmpeg -y -ac 2 -ss 1.5 -to 2:07.500 -i /Volumes/NO\ NAME/PRIVATE/AVCHD/BDMV/STREAM/00147.MTS -vcodec libx264 -vf scale=540:-1 -vb 500k ~ /下载/message.mp4
ffmpeg 版本 4.3.1 版权所有 (c) 2000-2020 FFmpeg 开发者
  使用 Apple clang 版本 11.0.0 (clang-1100.0.33.17) 构建
  配置: --prefix=/usr/local/Cellar/ffmpeg/4.3.1_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= - -host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable -libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
  libavutil 56. 51.100 / 56. 51.100
  libavcodec 58. 91.100 / 58. 91.100
  libavformat 58. 45.100 / 58. 45.100
  libav 设备 58. 10.100 / 58. 10.100
  libavfilter 7. 85.100 / 7. 85.100
  libavresample 4. 0. 0 / 4. 0. 0
  libswscale 5. 7.100 / 5. 7.100
  libswresample 3. 7.100 / 3. 7.100
  libpostproc 55. 7.100 / 55. 7.100
输入 #0,mpegts,来自“/Volumes/NO NAME/PRIVATE/AVCHD/BDMV/STREAM/00147.MTS”:
  时长:00:02:10.11,开始:0.374400,比特率:5368 kb/s
  程序 1
    流 #0:0[0x1011]:视频:h264(高)(HDMV / 0x564D4448)、yuv420p(顶部优先)、1920x1080 [SAR 1:1 DAR 16:9]、25 fps、50 tbr、90k tbn、50 tbc
    流 #0:1[0x1100]:音频:ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
    流 #0:2[0x1200]:字幕:hdmv_pgs_subtitle ([144][0][0][0] / 0x0090),1920x1080
流映射:
  流 #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  流 #0:1 -> #0:1 (ac3 (native) -> aac (native))
按 [q] 停止,按 [?] 寻求帮助
[aac @ 0x7f81d7000800] 使用 PCE 对通道布局“5.1(side)”进行编码
[libx264 @ 0x7f81d7820400] 使用 SAR=1216/1215
[libx264 @ 0x7f81d7820400] 使用 cpu 功能:MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7f81d7820400] 配置文件高,2.1 级,4:2:0,8 位
[libx264 @ 0x7f81d7820400] 264 - 核心 160 r3011 cde9a93 - H.264/MPEG-4 AVC 编解码器 - Copyleft 2003-2020 - http://www.videolan.org/x264.html - 选项:cabac=1 ref=3 deblock =1:0:0 分析=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 格子=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip= 1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 Bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
输出#0,mp4,到“/Users/mmorin/Downloads/message.mp4”:
  元数据:
    编码器:Lavf58.45.100
    流 #0:0:视频:h264 (libx264) (avc1 / 0x31637661), yuv420p, 540x304 [SAR 1216:1215 DAR 16:9], q=-1--1, 500 kb/s, 25 fps, 12800 tbn , 25 待定
    元数据:
      编码器:Lavc58.91.100 libx264
    侧面数据:
      cpb:比特率最大/最小/平均:0/0/500000 缓冲区大小:0 vbv_delay:不适用
    流 #0:1:音频:aac (LC) (mp4a / 0x6134706D),48000 Hz,5.1(侧),fltp,394 kb/s
    元数据:
      编码器:Lavc58.91.100 aac

帧= 30 fps=0.0 q=0.0 大小= 0kB 时间=00:00:00.81 比特率= 0.5kbits/s
帧= 62 fps= 61 q=25.0 大小= 0kB 时间=00:00:02.09 比特率= 0.2kbits/
帧= 91 fps= 60 q=24.0 大小= 0kB 时间=00:00:03.30 比特率= 0.1kbits/
帧= 117 fps= 58 q=23.0 大小= 256kB 时间=00:00:04.30 比特率= 486.7kbits/
帧= 145 fps= 57 q=22.0 大小= 256kB 时间=00:00:05.39 比特率= 388.6kbits/
帧= 170 fps= 56 q=23.0 大小= 512kB 时间=00:00:06.42 比特率= 653.2kbits/
帧= 197 fps= 56 q=23.0 大小= 512kB 时间=00:00:07.53 比特率= 557.0kbits/
帧= 223 fps= 55 q=23.0 大小= 512kB 时间=00:00:08.59 比特率= 487.9kbits/
帧= 251 fps= 55 q=22.0 大小= 768kB 时间=00:00:09.64 比特率= 652.5kbits/
帧= 276 fps= 55 q=23.0 大小= 768kB 时间=00:00:10.64 比特率= 591.0kbits/
帧= 304 fps= 55 q=22.0 大小= 1024kB 时间=00:00:11.79 比特率= 711.1kbits/
帧= 330 fps= 55 q=23.0 大小= 1024kB 时间=00:00:12.82 比特率= 654.3kbits/
帧= 352 fps= 54 q=23.0 大小= 1280kB 时间=00:00:13.67 比特率= 766.8kbits/
帧= 379 fps= 54 q=23.0 大小= 1280kB 时间=00:00:14.82 比特率= 707.2kbits/
帧= 403 fps= 53 q=23.0 大小= 1280kB 时间=00:00:15.72 比特率= 666.9kbits/
帧= 430 fps= 53 q=23.0 大小= 1536kB 时间=00:00:16.81 比特率= 748.5kbits/
帧= 451 fps= 53 q=22.0 大小= 1536kB 时间=00:00:17.64 比特率= 713.2kbits/
帧= 473 fps= 52 q=22.0 大小= 1792kB 时间=00:00:18.53 比特率= 791.9kbits/
帧= 499 fps= 52 q=22.0 大小= 1792kB 时间=00:00:19.62 比特率= 748.0kbits/
帧= 527 fps= 52 q=23.0 大小= 2048kB 时间=00:00:20.69 比特率= 810.8kbits/
帧= 556 fps= 52 q=22.0 大小= 2048kB 时间=00:00:21.84 比特率= 768.0kbits/
帧= 583 fps= 52 q=23.0 大小= 2304kB 时间=00:00:22.93 比特率= 823.0kbits/
帧= 612 fps= 53 q=23.0 大小= 2304kB 时间=00:00:24.08 比特率= 783.7kbits/
帧= 640 fps= 53 q=22.0 大小= 2304kB 时间=00:00:25.19 比特率= 749.2kbits/
帧= 667 fps= 53 q=22.0 大小= 2560kB 时间=00:00:26.28 比特率= 797.9kbits/
帧= 691 fps= 53 q=22.0 大小= 2560kB 时间=00:00:27.30 比特率= 768.0kbits/
帧= 719 fps= 53 q=22.0 大小= 2816kB 时间=00:00:28.37 比特率= 813.1kbits/
帧= 739 fps= 52 q=23.0 大小= 2816kB 时间=00:00:29.22 比特率= 789.3kbits/
帧= 765 fps= 52 q=23.0 大小= 3072kB 时间=00:00:30.25 比特率= 831.9kbits/
帧= 794 fps= 52 q=23.0 大小= 3072kB 时间=00:00:31.38 比特率= 801.9kbits/
帧= 823 fps= 53 q=23.0 大小= 3328kB 时间=00:00:32.59 比特率= 836.4kbits/
帧= 850 fps= 53 q=23.0 大小= 3328kB 时间=00:00:33.64 比特率= 810.4kbits/
帧= 872 fps= 52 q=22.0 大小= 3328kB 时间=00:00:34.51 比特率= 789.8kbits/
帧= 887 fps= 52 q=22.0 大小= 3584kB 时间=00:00:35.09 比特率= 836.6kbits/
帧= 910 fps= 52 q=22.0 大小= 3584kB 时间=00:00:36.01 比特率= 815.3kbits/
帧= 936 fps= 52 q=22.0 大小= 3840kB 时间=00:00:37.03 比特率= 849.4kbits/
帧= 965 fps= 52 q=22.0 大小= 3840kB 时间=00:00:38.18 比特率= 823.8kbits/
帧= 994 fps= 52 q=22.0 大小= 4096kB 时间=00:00:39.38 比特率= 852.0kbits/
帧= 1024 fps= 52 q=22.0 大小= 4096kB 时间=00:00:40.55 比特率= 827.4kbits/
帧= 1041 fps= 51 q=22.0 大小= 4096kB 时间=00:00:41.23 比特率= 813.7kbits/
帧= 1063 fps= 51 q=22.0 大小= 4352kB 时间=00:00:42.15 比特率= 845.7kbits/
帧= 1092 fps= 51 q=22.0 大小= 4352kB 时间=00:00:43.28 比特率= 823.7kbits/
帧= 1118 fps= 51 q=22.0 大小= 4608kB 时间=00:00:44.33 比特率= 851.5kbits/
帧= 1143 fps= 51 q=22.0 大小= 4608kB 时间=00:00:45.33 比特率= 832.7kbits/
帧= 1165 fps= 51 q=22.0 大小= 4608kB 时间=00:00:46.18 比特率= 817.3kbits/
帧= 1192 fps= 51 q=23.0 大小= 4864kB 时间=00:00:47.27 比特率= 842.9kbits/
帧= 1221 fps= 51 q=22.0 大小= 4864kB 时间=00:00:48.46 比特率= 822.1kbits/
帧= 1248 fps= 51 q=22.0 大小= 5120kB 时间=00:00:49.51 比特率= 847.1kbits/
帧= 1274 fps= 51 q=22.0 大小= 5120kB 时间=00:00:50.58 比特率= 829.2kbits/
帧= 1303 fps= 51 q=22.0 大小= 5376kB 时间=00:00:51.73 比特率= 851.3kbits/
帧= 1330 fps= 52 q=22.0 大小= 5376kB 时间=00:00:52.82 比特率= 833.8kbits/
帧= 1357 fps= 52 q=22.0 大小= 5632kB 时间=00:00:53.93 比特率= 855.5kbits/
帧= 1386 fps= 52 q=22.0 大小= 5632kB 时间=00:00:55.06 比特率= 837.9kbits/
帧= 1416 fps= 52 q=22.0 大小= 5888kB 时间=00:00:56.23 比特率= 857.7kbits/
帧= 1446 fps= 52 q=22.0 大小= 5888kB 时间=00:00:57.45 比特率= 839.6kbits/
帧= 1475 fps= 52 q=22.0 大小= 6144kB 时间=00:00:58.60 比特率= 858.9kbits/
帧= 1504 fps= 52 q=22.0 大小= 6144kB 时间=00:00:59.75 比特率= 842.3kbits/
帧= 1532 fps= 52 q=22.0 大小= 6400kB 时间=00:01:00.90 比特率= 860.8kbits/
帧= 1562 fps= 52 q=22.0 大小= 6400kB 时间=00:01:02.10 比特率= 844.3kbits/
帧= 1591 fps= 52 q=22.0 大小= 6656kB 时间=00:01:03.25 比特率= 862.0kbits/
帧= 1617 fps= 52 q=19.0 大小= 6656kB 时间=00:01:04.27 比特率= 848.3kbits/
帧= 1645 fps= 52 q=22.0 大小= 6912kB 时间=00:01:05.42 比特率= 865.4kbits/
帧= 1672 fps= 52 q=22.0 大小= 6912kB 时间=00:01:06.47 比特率= 851.8kbits/
帧= 1701 fps= 52 q=22.0 大小= 7168kB 时间=00:01:07.62 比特率= 868.3kbits/
帧= 1729 fps= 52 q=22.0 大小= 7168kB 时间=00:01:08.77 比特率= 853.8kbits/
帧= 1758 fps= 52 q=22.0 大小= 7424kB 时间=00:01:09.93 比特率= 869.7kbits/
帧= 1785 fps= 52 q=22.0 大小= 7424kB 时间=00:01:10.99 比特率= 856.6kbits/
帧= 1813 fps= 53 q=22.0 大小= 7680kB 时间=00:01:12.14 比特率= 872.0kbits/
帧= 1841 fps= 53 q=22.0 大小= 7680kB 时间=00:01:13.30 比特率= 858.3kbits/
帧= 1870 fps= 53 q=22.0 大小= 7936kB 时间=00:01:14.41 比特率= 873.7kbits/
帧= 1898 fps= 53 q=22.0 大小= 7936kB 时间=00:01:15.54 比特率= 860.6kbits/
帧= 1925 fps= 53 q=22.0 大小= 7936kB 时间=00:01:16.65 比特率= 848.2kbits/
帧= 1953 fps= 53 q=22.0 大小= 8192kB 时间=00:01:17.78 比特率= 862.8kbits/
帧= 1980 fps= 53 q=22.0 大小= 8192kB 时间=00:01:18.80 比特率= 851.6kbits/
帧= 2008 fps= 53 q=22.0 大小= 8448kB 时间=00:01:19.91 比特率= 866.0kbits/
帧= 2036 fps= 53 q=22.0 大小= 8448kB 时间=00:01:21.06 比特率= 853.7kbits/
帧= 2062 fps= 53 q=22.0 大小= 8704kB 时间=00:01:22.09 比特率= 868.6kbits/
帧= 2089 fps= 53 q=22.0 大小= 8704kB 时间=00:01:23.17 比特率= 857.2kbits/
帧= 2117 fps= 53 q=22.0 大小= 8960kB 时间=00:01:24.30 比特率= 870.6kbits/
帧= 2144 fps= 53 q=22.0 大小= 8960kB 时间=00:01:25.39 比特率= 859.5kbits/
帧= 2172 fps= 53 q=22.0 大小= 9216kB 时间=00:01:26.48 比特率= 873.0kbits/
帧= 2198 fps= 53 q=22.0 大小= 9216kB 时间=00:01:27.53 比特率= 862.5kbits/
帧= 2225 fps= 53 q=22.0 大小= 9472kB 时间=00:01:28.61 比特率= 875.6kbits/
帧= 2252 fps= 53 q=22.0 大小= 9472kB 时间=00:01:29.70 比特率= 865.0kbits/
帧= 2278 fps= 53 q=22.0 大小= 9472kB 时间=00:01:30.73 比特率= 855.2kbits/
帧= 2296 fps= 53 q=22.0 大小= 9728kB 时间=00:01:31.49 比特率= 871.0kbits/
帧= 2324 fps= 53 q=22.0 大小= 9728kB 时间=00:01:32.58 比特率= 860.7kbits/
帧= 2349 fps= 53 q=22.0 大小= 9984kB 时间=00:01:33.58 比特率= 873.9kbits/
帧= 2374 fps= 53 q=22.0 大小= 9984kB 时间=00:01:34.57 比特率= 864.8kbits/
帧= 2400 fps= 53 q=23.0 大小= 10240kB 时间=00:01:35.59 比特率= 877.5kbits/
帧= 2425 fps= 53 q=23.0 大小= 10240kB 时间=00:01:36.61 比特率= 868.2kbits/
帧= 2450 fps= 53 q=23.0 大小= 10496kB 时间=00:01:37.62 比特率= 880.8kbits/
帧= 2475 fps= 53 q=23.0 大小= 10496kB 时间=00:01:38.60 比特率= 872.0kbits/
帧= 2501 fps= 53 q=23.0 大小= 10496kB 时间=00:01:39.66 比特率= 862.7kbits/
帧= 2528 fps= 53 q=23.0 大小= 10752kB 时间=00:01:40.75 比特率= 874.2kbits/
帧= 2553 fps= 52 q=23.0 大小= 10752kB 时间=00:01:41.73 比特率= 865.8kbits/
帧= 2581 fps= 53 q=23.0 大小= 11008kB 时间=00:01:42.82 比特率= 877.0kbits/
帧= 2607 fps= 53 q=23.0 大小= 11008kB 时间=00:01:43.89 比特率= 868.0kbits/
帧= 2630 fps= 52 q=23.0 大小= 11264kB 时间=00:01:44.81 比特率= 880.4kbits/
帧= 2655 fps= 52 q=23.0 大小= 11264kB 时间=00:01:45.81 比特率= 872.1kbits/
帧= 2681 fps= 52 q=23.0 大小= 11264kB 时间=00:01:46.83 比特率= 863.7kbits/
帧= 2707 fps= 52 q=23.0 大小= 11520kB 时间=00:01:47.88 比特率= 874.8kbits/
帧= 2733 fps= 52 q=23.0 大小= 11520kB 时间=00:01:48.94 比特率= 866.2kbits/
帧= 2755 fps= 52 q=23.0 大小= 11776kB 时间=00:01:49.80 比特率= 878.6kbits/
帧= 2781 fps= 52 q=23.0 大小= 11776kB 时间=00:01:50.82 比特率= 870.5kbits/
帧= 2807 fps= 52 q=23.0 大小= 12032kB 时间=00:01:51.89 比特率= 880.9kbits/
帧= 2835 fps= 52 q=23.0 大小= 12032kB 时间=00:01:53.00 比特率= 872.2kbits/
帧= 2862 fps= 52 q=23.0 大小= 12288kB 时间=00:01:54.09 比特率= 882.3kbits/
帧= 2889 fps= 52 q=23.0 大小= 12288kB 时间=00:01:55.15 比特率= 874.1kbits/
帧= 2916 fps= 52 q=23.0 大小= 12544kB 时间=00:01:56.30 比特率= 883.5kbits/
帧= 2943 fps= 52 q=23.0 大小= 12544kB 时间=00:01:57.33 比特率= 875.8kbits/
帧= 2969 fps= 52 q=23.0 大小= 12800kB 时间=00:01:58.37 比特率= 885.8kbits/
帧= 2995 fps= 52 q=23.0 大小= 12800kB 时间=00:01:59.40 比特率= 878.2kbits/
帧= 3023 fps= 52 q=23.0 大小= 13056kB 时间=00:02:00.53 比特率= 887.3kbits/
帧= 3052 fps= 52 q=23.0 大小= 13056kB 时间=00:02:01.68 比特率= 878.9kbits/
帧= 3081 fps= 52 q=23.0 大小= 13056kB 时间=00:02:02.83 比特率= 870.7kbits/
帧= 3109 fps= 52 q=23.0 大小= 13312kB 时间=00:02:03.98 比特率= 879.5kbits/
帧= 3133 fps= 52 q=23.0 大小= 13312kB 时间=00:02:04.97 比特率= 872.6kbits/
帧= 3151 fps= 52 q=-1.0 Lsize= 13918kB 时间=00:02:06.01 比特率= 904.8kbits/s dup=1 drop=0 速度=2.08x    
视频:7750kB 音频:6073kB 字幕:0kB 其他流:0kB 全局标题:0kB 复用开销:0.688174%
[libx264 @ 0x7f81d7820400] 帧 I:19 平均 QP:14.14 大小:10147
[libx264 @ 0x7f81d7820400] 帧 P:804 平均 QP:16.08 大小:4710
[libx264 @ 0x7f81d7820400] 帧 B:2328 平均 QP:18.47 大小:1699
[libx264 @ 0x7f81d7820400] 连续 B 帧:1.0% 1.0% 1.5% 96.5%
[libx264 @ 0x7f81d7820400] mb I I16..4:17.6% 70.4% 12.0%
[libx264 @ 0x7f81d7820400] mb P I16..4:1.9% 7.2% 1.0% P16..4:46.6% 24.3% 10.4% 0.0% 0.0% 跳过:8.6%
[libx264 @ 0x7f81d7820400] mb B I16..4: 0.2% 0.7% 0.1% B16..8: 41.2% 8.8% 1.4% 直接: 4.5% 跳过:43.1% L0:45.0% L1:45.8% BI: 9.2%
[libx264 @ 0x7f81d7820400] 最终比率因子:17.18
[libx264 @ 0x7f81d7820400] 8x8 变换内部:71.3% 内部:81.9%
[libx264 @ 0x7f81d7820400] 编码 y、uvDC、uvAC 内部:72.7% 86.5% 67.7% 内部:22.0% 28.2% 3.0%
[libx264 @ 0x7f81d7820400] i16 v、h、dc、p:5% 7% 3% 85%
[libx264 @ 0x7f81d7820400] i8 v、h、dc、ddl、ddr、vr、hd、vl、hu:15% 17% 16% 9% 7% 8% 8% 9% 10%
[libx264 @ 0x7f81d7820400] i4 v、h、dc、ddl、ddr、vr、hd、vl、hu:21% 21% 13% 7% 10% 8% 10% 6% 5%
[libx264 @ 0x7f81d7820400] i8c dc、h、v、p:38% 20% 16% 26%
[libx264 @ 0x7f81d7820400] 加权 P 帧:Y:8.7% UV:2.7%
[libx264 @ 0x7f81d7820400] 参考 P L0:48.0% 6.0% 25.7% 19.2% 1.1%
[libx264 @ 0x7f81d7820400] 参考 B L0:80.5% 12.4% 7.0%
[libx264 @ 0x7f81d7820400] 参考 B L1:93.1% 6.9%
[libx264 @ 0x7f81d7820400] kb/s:503.64
[aac @ 0x7f81d7000800] Qavg:188.932
video ffmpeg
  • 1 个回答
  • 99 Views
Martin Hope
miguelmorin
Asked: 2020-11-05 00:57:59 +0800 CST

Cron 作业无法运行 NodeJS 脚本

  • 5

我有一个要记录输出的 cron 作业。cron 文件 ( crontab -e) 是:

0 7 * * * node $HOME/server/task.js >> $HOME/server/log.txt

cron 任务被称为:

$ grep CRON /var/log/syslog
Nov  4 07:00:01 ip-... CRON[0000]: (bitnami) CMD (node $HOME/server/task.js >> $HOME/server/task.txt)
Nov  4 07:00:01 ip-... CRON[0000]: (CRON) info (No MTA installed, discarding output)

带有错误的行意味着我没有安装电子邮件,但我也不想。

当 NodeJS 任务的第一行使用console.log().

我确认 cron 作业没有运行。

如何调试问题、让 cron 运行并将结果保存到文件中?

linux ubuntu
  • 1 个回答
  • 335 Views
Martin Hope
miguelmorin
Asked: 2020-01-02 11:41:13 +0800 CST

为什么不同的设备有不同的wifi接收范围?

  • 6

我的macOS设备检测并连接到 20 m 外路由器的 wifi 信号。我的带有 USB 加密狗的 Windows 计算机和我的 Raspberry Pi 可以看到信号但无法连接到它。

为什么不同设备的范围不同?

与此同时,我设置了一个旧调制解调器作为范围扩展器。

networking wireless-networking
  • 1 个回答
  • 700 Views
Martin Hope
miguelmorin
Asked: 2019-12-01 11:40:08 +0800 CST

如何在 macOS Mojave 上安装 ViewNX-i?

  • 5

我想在 macOS Mojave 10.14.6 上安装 Nikon 的 ViewNX-i 以将照片从 NEF 转换为 JPEG。我按照此处的安装步骤操作,但看不到该应用程序:两个应用程序文件夹(/Applications和~/Applications)中没有任何内容列为 Nikon 或 ViewNX 。通常位置会是/Applications/Nikon Software,但我没有。这些文件夹中最后修改的文件不是从今天开始的。我试了三遍,安装人员说

安装完成。可以退出安装中心吗?

安装应用程序的所有步骤都不会超过 1-2 秒,这似乎很可疑。下面是安装步骤的截图。

如何安装尼康的 ViewNX-i?

安装中的第一个屏幕截图

安装中的第二个屏幕截图

安装中的第三个屏幕截图

安装中的第四个屏幕截图

installation photos
  • 1 个回答
  • 277 Views
Martin Hope
miguelmorin
Asked: 2019-11-02 06:33:48 +0800 CST

Rsync 没有删除文件并抱怨“设备上没有剩余空间 (28)”

  • 5

我rsync在 macOS 10.14.6 (Mojave) 上使用(2.6.9,协议版本 29)来备份包含视频的磁盘。源有 999GB 容量,75GB 可用,备份有 1TB 容量。命令是:

$ rsync -avxW --progress /Volumes/Video/ /Volumes/Video\ backup/
building file list ... 
40989 files to consider
.DS_Store
       26628 100%    0.00kB/s    0:00:00 (xfer#1, to-check=40987/40989)
.DocumentRevisions-V100/
.Spotlight-V100/
rsync: failed to set times on "/Volumes/Video backup/.Spotlight-V100": Operation not permitted (1)
.fseventsd/
iMovie Library.imovielibrary/movie/Original Media/
iMovie Library.imovielibrary/movie/Original Media/DSC_0004.mov
rsync: writefd_unbuffered failed to write 32768 bytes [sender]: Broken pipe (32)
rsync: write failed on "/Volumes/Video backup/iMovie Library.imovielibrary/movie/Original Media/DSC_0004.mov": No space left on device (28)
rsync error: error in file IO (code 11) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-52.200.1/rsync/receiver.c(268) [receiver=2.6.9]
rsync: connection unexpectedly closed (76 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-52.200.1/rsync/io.c(453) [sender=2.6.9]

备份磁盘已满,因为rsync没有删除几个现在从原始文件中丢失的文件。我检查了该选项--delete-before是否为默认选项,并且我还尝试--delete删除无关文件,但使用同一文件时遇到了相同的错误。

如何制作完美的磁盘克隆rsync?

video mac
  • 1 个回答
  • 489 Views
Martin Hope
miguelmorin
Asked: 2019-09-28 02:28:35 +0800 CST

如何将 youtube-dl 文件的修改日期更改为下载日期?

  • 8

如果我使用 下载此剪辑,youtube-dl则最后修改日期为15 November 2018 03:55,而 YouTube 显示的发布日期为 2013 年 4 月 23 日。此页面提到无法替换视频:

您无法替换视频,因为任何新的视频上传都会获得一个新的 URL

我想将该日期更改为下载日期,即今天,而不是其他日期。下载器异步启动,因此我无法轻松地将文件路径通过管道传输到touch. 我在文档中没有找到任何选项。如果我找不到任何好的解决方案,我会查看 Python 源代码并提交拉取请求。

那是什么日期,我可以轻松地将修改日期设置为今天吗?

youtube-dl
  • 2 个回答
  • 2955 Views
Martin Hope
miguelmorin
Asked: 2019-07-14 03:35:44 +0800 CST

Firefox MacOS 版本 68 和 69 不再使用地址栏进行搜索,仅使用导航

  • 7

我将 Firefox 设置为自动安装更新并最近安装了一个。这个新版本不再使用地址栏进行搜索,即如果我输入“some random search”,它会被修剪为“some”并重定向到“www.some.com”,这是导航行为而不是搜索行为.

关键字搜索仍然有效,即“d some random search”,其中“d”是 DuckDuckGo 网络搜索的关键字。没有搜索关键字,我希望 Firefox 使用默认搜索引擎,而不是我有上面的行为。

我检查了设置,搜索栏位于“使用地址栏进行搜索和导航”:

Firefox 搜索栏行为

如果我将其更改为“在工具栏中添加搜索”,地址栏的行为是相同的,但搜索栏也不起作用。

我的系统是macOS 10.14.5;Firefox 版本历史显示:

Firefox 68.0 (20190705220548)
Details
Installed on: 12 July 2019, 11:03:07
Status: The Update was successfully installed

我没有安装附加组件或扩展。我相信这是一个错误,应该会影响很多人。有没有人找到解决方法?

firefox
  • 1 个回答
  • 98 Views
Martin Hope
miguelmorin
Asked: 2019-06-03 13:39:46 +0800 CST

无法创建 AV 捕获输入设备:无法使用内置麦克风

  • 6

我想用 FFMPEG 在 macOS 上录制麦克风。我跑:

ffmpeg -f avfoundation -i ":1" -acodec libmp3lame -ab 32k -ac 1 output.mp3

并得到这个错误:

[avfoundation @ 0x7fcf2b000800] Failed to create AV capture input device: Cannot use Built-in Microphone

错误消息之前的输出是:

ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
  built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.3_1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.2.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.2.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100

如何在 macOS 上使用 FFMPEG 录制麦克风声音?

ffmpeg microphone
  • 1 个回答
  • 1181 Views
Martin Hope
miguelmorin
Asked: 2019-05-30 08:57:12 +0800 CST

通过 SSH 激活 conda 环境

  • 10

我在 Azure 上有一个虚拟机,在 ssh 之后我可以运行 Conda 和 python:

conda activate py36
python some_script.py

要通过 SSH 从我的机器运行这些命令,我​​需要提供 Conda 的完整路径:

ssh ${USER}@${IP} "/data/anaconda/envs/py35/bin/conda activate py36; python some_script.py"

但我收到此错误:

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run

    $ conda init <SHELL_NAME>

Currently supported shells are:
  - bash
  - fish
  - tcsh
  - xonsh
  - zsh
  - powershell

See 'conda init --help' for more information and options.

IMPORTANT: You may need to close and restart your shell after running 'conda init'.

然而,运行的 shell 是bash:

$ sshb ${USER}@${IP} echo $SHELL
/bin/bash

如何通过 SSH 远程激活 conda 环境?

ssh shell
  • 4 个回答
  • 14242 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