Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[开源项目] Shotnix:原生 Swift 写的 Mac 截图、录屏和视频编辑工具

Abierto
#5,449 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
35/100
Tipo de issue
Documentación
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
macos, swift

Línea de trabajo

Review the Shotnix submission and the surrounding iOS Weekly issue context first; no repository file or test is named. Confirm whether this repository accepts project recommendations of this kind, then determine whether the Shotnix details and links are suitable for inclusion. Done means the submission is either accepted for the weekly content or given a clear reason for rejection.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

GitHub: https://github.com/OMARVII/Shotnix

自荐一个开源 Mac 应用。Shotnix 是菜单栏里的截图和录屏工具:截图可以滚动长截图、标注、钉在屏幕上,历史记录能用文字识别搜索;录屏可以录区域、窗口或整个显示器,同时录麦克风和摄像头,录完直接进视频编辑器,在点击处自动放大,重绘平滑的光标,并在本机生成字幕。原生 Swift(AppKit + SwiftUI),macOS 13 及以上,MIT 协议。

推荐理由,主要是最近几次修复里踩到的坑:

  • 导出长视频时内存一路涨到 70 GB 以上,最后被系统杀掉。原因是在 AVAssetWriterInput.requestMediaDataWhenReady 的回调里用 while isReadyForMoreMediaData 连续写帧:编码器跟得上时这个回调几乎不返回,每一帧解码出来的像素缓冲都被 autorelease 留到回调结束才释放。每帧外面包一层 autoreleasepool 之后,5 分钟的 4K 导出峰值在 1.5 GB 左右。
  • AVVideoQualityKey 设成 1.0 时,Apple 的 H.264 硬件编码器会进入接近无损的模式,写出 High 4:4:4 Predictive profile:不少播放器和网站打不开,码率还会超出设定好几倍。现在三档画质分别用 0.7、0.8、0.88,同样的画面,Retina 屏上一分钟滚动的文字从 392 MB 降到 48 MB。
  • 预览和导出用同一个 Core Image 渲染器(Metal),编辑时看到的就是导出的样子。
  • 录制时每 2 秒写一个 movie fragment,崩溃或断电后,文件依然能播放到最后一个片段。

Shotnix 免费,不需要账号,也不上传任何东西。官网:https://shotnix.com

Lenguaje dominante
JavaScript
Estrellas
5k
Forks
431
Merge medio
2 min
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de SwiftOldDriver/iOS-Weekly

Todos los issues de SwiftOldDriver/iOS-Weekly

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.