工具与资源github.com
LosslessCut:无损音视频剪辑的瑞士军刀
LosslessCut: The Swiss army knife of lossless video/audio editing
2016 — 2024,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
LosslessCut 是一款基于 ffmpeg 的开源跨平台视频/音频工具,主打不重新编码的快速无损剪切,常被称为此类需求中的“瑞士军刀”。它用 Electron 打包(自带 Chromium),装上即用,代价是体积偏大、长任务缺少反馈——这些正是 2016 年首次登上首页时评论区的争论焦点。
为什么经久不衰:无损剪切是长期刚需,而它把 ffmpeg 的命令行能力包装成点几下就能用的界面;关于打包体积与替代方案的讨论,今天读来仍是对 Electron 时代工具取舍的经典样本。
HN 评论精选
批评 Electron 式打包的臃肿,并用 QtAV 的体积作对比。
我从标题就猜到它要用 ffmpeg,因为我自己也多次用 ffmpeg 的 -ss、-t/-to 和 -codec copy 做同样的事。然后我发现它自带一份 Chromium 和 ffmpeg,体积约 70MB。系统里明明已经有 Chromium 和 ffmpeg 了,还要 70MB,今天的应用开发生态肯定哪里出了问题。(补充:另一端的 QtAV 只花了我 1MB 下载量,它用系统已有的 Qt 和 ffmpeg;即便在没有包仓库的 OS X 和 Windows 上也只有约 20MB——所以就算拿“跨平台成本”说事,为这么简单的功能打包整个浏览器也说不通。)
pritambaral查看英文原文
I guessed from the title it was going to be using ffmpeg, because I myself have used ffmpeg's `-ss`, `-t`/`-to`, and `-codec copy` numerous times for this exact purpose. Then I saw that this bundles its own piece of Chromium and ffmpeg and is ~70 MB in size. Something is seriously wrong with today's app development ecosystem if it takes 70 MB, even when I already have both Chromium and ffmpeg on my system. EDIT: On the other end is QtAV, a cross-platform multimedia player and SDK which took me only 1 MB of network download. It uses Qt and ffmpeg, both of which I already have on my system, so it doesn't have to redundantly bundle anything. On OSes without Qt and ffmpeg in their package repos (OS X and Windows), the players are ~ 20 MBs in size. So even if one argues "cost of cross-platform compatibility", it still doesn't make sense to bundle the entirety of a web browser for something as simple as this.
推荐同类替代品 AviDemux。
可以试试 AviDemux,界面简单,同样支持无损剪切。
tckr查看英文原文
Check out AviDemux, http://fixounet.free.fr/avidemux/ it offers a simple UI and also lossless cutting.
担心自带 ffmpeg 与系统版本不一致会出问题。
你用 X 版本的 ffmpeg 播放,却用 Y 版本剪切,X+Y 等于灾难。
revelation查看英文原文
So you're playing with version X of ffmpeg and cutting with version Y. It seems that X+Y equals disaster.
安装体验好,但长任务缺少进度反馈。
我觉得全部打包进去很酷,因为我装完不到 10 秒就把它跑起来了。不酷的是,我想把一段 15 秒的视频剪到第一秒,除了转个不停的齿轮没有任何反馈,等了 5 分钟。
arjie查看英文原文
I think including everything is super cool because I had the app installed and running in under 10 seconds. What wasn't cool was that I asked to cut a short 15 s video to the first second, and there was no feedback but the spinning gear for 5 minutes.
历次讨论
同类还值得读
直接在浏览器中启动 Linux 内核
Boot a linux kernel right inside your browser.
Fabrice Bellard 的 JSLinux 页面,用 JavaScript 在浏览器里启动一个 Linux 内核,并提供一个可交互的终端环境。
工具与资源上首页 5 次 · 2011–2025bellard.orgHacker News 未公开功能与行为清单(2018)
A List of Hacker News's Undocumented Features and Behaviors (2018)
数据科学家 Max Woolf 整理的 Hacker News 未公开功能与行为清单,涵盖投票机制、排名算法、账号惩罚等社区运作细节。
工具与资源上首页 5 次 · 2019–2025github.comMapSCII:在终端中用盲文和 ASCII 渲染地图
MapSCII – Braille and ASCII map renderer for the console
MapSCII 是一个在命令行终端里渲染地图的开源工具,用盲文字符和 ASCII 字符把地理数据画成可交互浏览的字符地图。
工具与资源上首页 5 次 · 2017–2025github.com顶尖大学的免费在线课程
Free Online Courses from Top Universities
Open Culture 整理的一份免费在线课程合集,汇集了全球顶尖大学(如 MIT、斯坦福、耶鲁等)向公众开放的网络课程资源,涵盖音频、视频等多种形式。
工具与资源上首页 5 次 · 2010–2022openculture.com淘气字符串:容易引发用户输入问题的字符串清单
Naughty Strings: A list of strings likely to cause issues as user-input data
一个 GitHub 仓库,收录了大量容易让程序出问题的用户输入字符串,如特殊字符、emoji、SQL 注入片段、系统命令等,供开发者用于测试输入处理逻辑。
工具与资源上首页 4 次 · 2015–2020github.com