Skip to content

The swiss army knife of lossless video/audio editing

add doc

Mikael Finstad2606038c21ca
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index c4067e3c..6d48806a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -51,7 +51,7 @@ See [package.json](./package.json) "scripts" section.
### Contributing code
-To contribute code, use [pull requests](https://github.com/mifi/lossless-cut/pulls). If you would like to contribute a lot of code, please first create an issue to check the viability of your change.
+To contribute code, use [pull requests](https://github.com/mifi/lossless-cut/pulls). If you would like to contribute a lot of code, please first create an issue to check the viability of your change - the larger the PR you submit, the less likely that it will be merged.
## `mas-dev` (Mac App Store) local build
diff --git a/src/renderer/src/hooks/useFfmpegOperations.ts b/src/renderer/src/hooks/useFfmpegOperations.ts
index 8366d5d2..fe982da7 100644
--- a/src/renderer/src/hooks/useFfmpegOperations.ts
+++ b/src/renderer/src/hooks/useFfmpegOperations.ts
@@ -931,6 +931,8 @@ function useFfmpegOperations({ filePath, treatInputFileModifiedTimeAsStart, trea
const ffmpegArgs = [
'-hide_banner',
+ // https://stackoverflow.com/questions/73710657/remove-all-non-keyframes-from-h-264-avc-video-without-re-encoding
+ // https://stackoverflow.com/questions/67088473/remove-all-non-key-frames-from-video-without-re-encoding
// '-discard', 'nokey', // doesn't seem to work with hevc, so use noise=drop=not(key) instead
// https://chatgpt.com/share/6a1c3be1-1064-83ec-b5c1-fa91ddf3cde8
'-i', filePathArg,