The swiss army knife of lossless video/audio editing
Merge remote-tracking branch 'origin/master' into claude/faq-docs Co-authored-by: Mikael Finstad <[email protected]>
Claudefd47a69f0bce
diff --cc docs/troubleshooting.mdindex 8d0d96dd,56e15a2d..57009ba8--- a/docs/troubleshooting.md+++ b/docs/troubleshooting.md@@@ -58,9 -47,9 +58,9 @@@ If you are trying to cut a FLAC file bu## Merge / concat results in corrupt or broken parts-This can happen when trying to merge files that are not compatible. Make sure they have the exact same codec parameters before merging. If you are sure they are the same, you can try to first running each of the files separately through LosslessCut before merging the outputs:+Typical symptoms: the merged file plays only the first part, later parts have only audio (no video), or are corrupt/glitchy. This can happen when trying to merge files that are not compatible. Make sure they have the exact same codec parameters (codec, resolution, pixel format, profile, frame rate, audio format, sample rate, channels etc.) before merging. Enable *Check compatibility* in the *Merge/concatenate files* dialog to have LosslessCut warn you about many (but not all) mismatches. Files from the same camera/app with the same settings usually work. If you are sure they are the same, you can try to first running each of the files separately through LosslessCut before merging the outputs:1. First open each file separately and just export without cutting anything, but before exporting- - change the format to `mp4` is [known to fix certain issues like `Non-monotonous DTS in output stream`](https://github.com/mifi/lossless-cut/issues/1713#issuecomment-1726325218)+ - change the format to `mp4`, which can fix certain issues like `Non-monotonous DTS in output stream`- change the format to TS (`mpegts`) is [known to give the files a common timebase](https://github.com/mifi/lossless-cut/issues/455), which sometimes makes it possible to merge them, or fixes incorrect output duration, sped up or slowed down segments.3. Then merge the resulting exported files.