The swiss army knife of lossless video/audio editing
Update the features list to what the app can do now
Claude3bd9fdfcf16f
diff --git a/README.md b/README.mdindex 3bfe2ca8..d72ff298 100644--- a/README.md+++ b/README.md@@ -33,14 +33,14 @@ The main feature is lossless trimming and cutting of video and audio files, whic<!-- Highlights only, the full list is docs/features.md. Keep in sync with the homepage's (website/src/components/Home.tsx) -->- Cut and trim video and audio losslessly, in seconds-- Merge files with identical codecs, for example from the same camera+- Merge cut segments, or whole files with identical codecs, losslessly- Add, remove, replace or extract tracks: audio, subtitles and more- Change the format (remux), for example from MKV to MP4, without re-encoding-- Segments with labels and tags, and import/export of chapters, CSV, EDL, YouTube timestamps and more+- Segments, markers and tags, with import/export of chapters, CSV, EDL and more- Detect scenes, black frames and silence, and split by them-- Edit metadata, rotation and chapter marks-- Export snapshots and video frames as images-- Keyboard shortcut workflow, a [CLI](https://losslesscut.app/docs/cli) and an [HTTP API](https://losslesscut.app/docs/api)+- Edit metadata and rotation, and create chapters+- Opens almost any format, even ones your player can't play+- Snapshots and frame export, keyboard shortcuts, a [CLI](https://losslesscut.app/docs/cli) and an [HTTP API](https://losslesscut.app/docs/api)**[All features and example use cases →](https://losslesscut.app/docs/features)**@@ -74,7 +74,7 @@ LosslessCut is maintained by me alone and will always remain free and open sourc## Supported formats-LosslessCut uses the Chromium browser's HTML5 video player, and not all formats/codecs are [natively supported](https://www.chromium.org/audio-video). Generally, the following file formats work: `MP4`, `MOV`, `WebM`, `Matroska`, `OGG` and `WAV`. Audio codecs: `FLAC`, `MP3`, `Opus`, `PCM`, `Vorbis` and `AAC`. Video codecs: `H264`, `AV1`, `Theora`, `VP8`, `VP9` and `H265` (with hardware decoder). Learn the [difference between a codec and a format](https://losslesscut.app/docs#primer-videoaudio-codecs-vs-formats). Codecs and formats not listed above can still be converted to a supported format/codec from the `File` menu (try the option *Fastest: FFmpeg-assisted playback* first). A low quality version of the file will then be created and opened in the player. Note that the actual cut/export operation will still be performed on the original file, so it will be lossless. This allows for potentially opening any file that FFmpeg is able to decode.+LosslessCut uses the Chromium browser's HTML5 video player, and not all formats/codecs are [natively supported](https://www.chromium.org/audio-video). Generally, the following file formats work: `MP4`, `MOV`, `WebM`, `Matroska`, `OGG` and `WAV`. Audio codecs: `FLAC`, `MP3`, `Opus`, `PCM`, `Vorbis` and `AAC`. Video codecs: `H264`, `AV1`, `Theora`, `VP8`, `VP9` and `H265` (with hardware decoder). Learn the [difference between a codec and a format](https://losslesscut.app/docs#primer-videoaudio-codecs-vs-formats). Files with other codecs and formats are played through FFmpeg instead (*FFmpeg-assisted playback*), automatically when LosslessCut knows they're unsupported, or from `File` → *Convert to supported format*. The export is still done from the original file, so it's still lossless. This means you can open almost any file that FFmpeg can decode.## Documentationdiff --git a/docs/features.md b/docs/features.mdindex 0d444046..a5ab6bcb 100644--- a/docs/features.md+++ b/docs/features.md@@ -8,38 +8,48 @@ Here's everything it can do, and what people use it for. Which functions are ava- Lossless cutting of most video and audio formats- Cut away parts of a file (for example commercials), or keep only the parts you want+- Export each segment as its own file, merge them into one file, or both- Rearrange the order of the segments- Type in cut point times- Timeline with zoom and frame/keyframe jumping, for cutting around keyframes- Video thumbnails and audio waveform on the timeline+- Play or loop the current segment, or all selected segments in order- [Smart cut](https://github.com/mifi/lossless-cut/issues/126) (experimental), to allow cutting between keyframes. It doesn't work for all files.-- Extremely fast removal of all non-keyframes (for example for a timelapse)-- Speed up or slow down a video or audio file ([by changing the FPS](https://github.com/mifi/lossless-cut/issues/1712))-- Lossless crop and aspect ratio change+- Choose between keyframe cut and normal cut, and fine-tune other export options+- Extremely fast removal of all non-keyframes, "Decimate video" (for example for a timelapse)+- Speed up or slow down a video or audio file ([by changing the FPS](https://github.com/mifi/lossless-cut/issues/1712)). Do this as a separate step, not while cutting.+- Lossless crop and aspect ratio change of H.264/H.265 video (not all players respect it)Lossless cuts can only start at a keyframe, so a cut starts at the keyframe before your cut point, a fraction of a second up to several seconds earlier depending on the encoding. See [Troubleshooting](troubleshooting.md) for more.## Segments+- Segments, and markers (segments without an end)- Divide the timeline into segments of a length, a file size (X MB) or a number of segments, or randomized segments- Detect black scenes, silent audio and scene changes, and create segments from them+- Create segments from keyframes, and from the file's chapters+- Invert, split, duplicate, shift, shuffle and combine segments, fill the gaps between them, and align them to keyframes- Give segments labels and tags- Select and change segments with a JavaScript-based [expression language](expressions.md)-- [Import and export](index.md#importexport-projects) segments: MP4/MKV chapter marks, text files, YouTube, CSV, CUE, XML (DaVinci Resolve, Final Cut Pro) and more-- Edit the embedded chapter marks of MKV/MP4 files-- Segments are saved per file in a project file-- Undo/redo+- [Import](index.md#importexport-projects) segments from MP4/MKV chapters, CSV, EDL (MPlayer, CMX 3600), YouTube chapters, Cutlist, CUE, DaVinci Resolve/Final Cut Pro XML, FCPXML, PotPlayer bookmarks, SRT subtitles, OpenTimelineIO and DV Analyzer+- Export segments as CSV, TSV/TXT, SRT subtitles or YouTube chapter timestamps+- Turn segments into chapters in an otherwise unmodified file ("Segments to chapters" export mode)+- Segments are saved per file in a project file (`.llc`)+- Undo/redo of segment changes## Merging- Lossless merge/concatenation of files with identical codec parameters (for example from the same camera)+- Checks that the files are compatible before merging+- Optionally create chapters from the merged files## Tracks- Combine tracks from multiple files (for example add a music or subtitle track to a video)- Remove tracks you don't need-- Replace or re-encode only some of the tracks+- Shift a track in time, for example to sync audio from another recording- Extract all tracks from a file into separate files: video, audio, subtitles, attachments and others+- Keep data tracks, like GoPro telemetry (GPMF)- Choose the video and audio tracks for playback, and play several audio tracks at once- View subtitles@@ -51,47 +61,64 @@ Lossless cuts can only start at a keyframe, so a cut starts at the keyframe befo- Copy metadata from another track or file, or apply a value to all tracks of the same type- See which tracks have changed, and reset the changes- Change the rotation/orientation metadata of videos+- Set the codec tag, for example `hvc1` so H.265 plays on Apple devices, and apply bitstream filters+- Set the cover art from a frame on the timeline- Apply a per-file timecode offset (and load the timecode from the file)+- Set the output files' modification date, for example to the original's- Show the embedded GPS track (for example from DJI drones) on a map## Formats and export+- Opens almost any format FFmpeg can read. Files that the built-in player can't play are played through FFmpeg automatically, while the export is still lossless from the original file.- Losslessly remux video/audio into a different container (file) format-- Take full-resolution snapshots from videos as JPEG/PNG (low or high quality)-- Export ranges of video frames to images: every nth frame or second, at scene changes, or the best thumbnails+- Fix an incorrect file duration+- Output file names from a customizable template+- Take full-resolution snapshots from videos as JPEG/PNG (low or high quality), or copy them to the clipboard+- Export ranges of video frames to images: every frame, every nth frame or second, at scene changes, or the best image every nth second- Only from a selected time range (segment)- Optionally with the original timestamps in the image file names-- Losslessly download videos over HTTP (for example HLS `.m3u8`)+- Losslessly download videos over HTTP (for example HLS `.m3u8`), saved as MKV## Workflow-- Fast workflow for many files, one at a time (there's no batch export, see [Batch processing](batch.md))+- Open many files as a batch list, and go through them one at a time (there's no batch export, but see [Batch processing](batch.md))+- Convert a whole batch of files to a supported format- Keyboard shortcut workflow, with customizable shortcuts- See the FFmpeg commands that were run, so you can change and re-run them on the command line- Basic [CLI](cli.md) and [HTTP API](api.md)+- Simple and advanced mode, dark and light themes, and 26 languages## Example use casesEverything here is lossless unless noted.- Cut out commercials from a recorded TV show (and change it from TS to MP4)+- Join clips from the same camera or phone into one file+- Rough-cut long recordings, keeping only the good parts, to save disk space- Remove an audio track from a file- Extract the music track from a video and cut it to your needs- Add music to a video, or replace its audio track-- Combine audio and video tracks from separate recordings+- Combine audio and video tracks from separate recordings, and shift the audio to sync it- Add an external subtitle file to a video- Copy track titles and languages from one file to another when combining tracks- Change the language of a file's audio or subtitle tracks-- Change an H264/H265 MKV video to MOV or MP4, for example for playback on an iPhone+- Change an H264/H265 MKV video to MOV or MP4, for example for playback on an iPhone (set the `hvc1` codec tag for H.265)- Cut a file by its MP4/MKV chapters+- Add chapters to a video, or remove them+- Make chapter timestamps for a YouTube video description- Cut a YouTube video (downloaded with [yt-dlp](https://github.com/yt-dlp/yt-dlp)) by its chapters, or by a list of times from a comment- Import a list of cut times from another tool as an EDL (edit decision list, CSV) and make those cuts, or export your cut times as a CSV EDL for another tool+- Save an HLS (`.m3u8`) live stream or video to a file- Attach cover art or a thumbnail to a video or audio file, from a JPEG file or a frame on the timeline- Change the author, title, GPS position or recording time of a video- Fix the rotation of a video that has the wrong orientation flag+- Crop away black bars (H.264/H.265)+- Make a timelapse by keeping only the keyframes+- Fix a file that shows the wrong duration- Loop a video or audio clip X times without re-encoding (see [#284](https://github.com/mifi/lossless-cut/issues/284))- Split a video into one file per scene (you'll probably have to shift the segments, see [#330](https://github.com/mifi/lossless-cut/issues/330))- Cut away the silent parts of an audio or video file- Split a video into parts of a maximum length, for example for a social media platform's limit- Tag segments, then use the tags to organize them, or to create an output folder structure for them+- Mark moments with markers and take a screenshot of each (not lossless)- Convert a video, or parts of it, into image files (not lossless)diff --git a/website/src/components/Home.tsx b/website/src/components/Home.tsxindex 315c39e2..c07e0445 100644--- a/website/src/components/Home.tsx+++ b/website/src/components/Home.tsx@@ -1,7 +1,7 @@// The homepage content. Rendered to static HTML at build time (no client-side JavaScript).import type { CSSProperties, ReactNode } from 'react';import type { LucideIcon } from 'lucide-react';-import { Camera, CodeXml, Combine, Layers, ListOrdered, Monitor, RefreshCw, ScanSearch, Scissors, SquarePen, Star, Terminal } from 'lucide-react';+import { CodeXml, Combine, Film, Languages, Layers, ListOrdered, Monitor, RefreshCw, ScanSearch, Scissors, SquarePen, Star, Terminal } from 'lucide-react';import macAppStoreBadge from '../../../mac-app-store-badge.svg?url';import msStoreBadge from '../../../ms-store-badge.svg?url';@@ -36,14 +36,14 @@ const quotes = [// Highlights only, the full list is docs/features.md (https://losslesscut.app/docs/features). Keep in sync with the README's.const features: { text: string, Icon: LucideIcon }[] = [{ text: 'Cut and trim video and audio losslessly, in seconds', Icon: Scissors },- { text: 'Merge files with identical codecs, for example from the same camera', Icon: Combine },+ { text: 'Merge cut segments, or whole files with identical codecs, losslessly', Icon: Combine },{ text: 'Add, remove, replace or extract tracks: audio, subtitles and more', Icon: Layers },{ text: 'Change the format (remux), for example from MKV to MP4, without re-encoding', Icon: RefreshCw },- { text: 'Segments with labels and tags, and import/export of chapters, CSV, EDL, YouTube timestamps and more', Icon: ListOrdered },+ { text: 'Segments, markers and tags, with import/export of chapters, CSV, EDL and more', Icon: ListOrdered },{ text: 'Detect scenes, black frames and silence, and split by them', Icon: ScanSearch },- { text: 'Edit metadata, rotation and chapter marks', Icon: SquarePen },- { text: 'Export snapshots and video frames as images', Icon: Camera },- { text: 'Keyboard shortcut workflow, a CLI and an HTTP API', Icon: Terminal },+ { text: 'Edit metadata and rotation, and create chapters', Icon: SquarePen },+ { text: "Opens almost any format, even ones your player can't play", Icon: Film },+ { text: 'Snapshots and frame export, keyboard shortcuts, a CLI and an HTTP API', Icon: Terminal },];// a few common ones, the full list is in docs/features.md@@ -51,7 +51,7 @@ const usageScenarios = ['Cut out commercials from a recorded TV show (and change it from TS to MP4)','Extract the music track from a video and cut it to your needs','Add music to a video, or replace its audio track',- 'Change an H264/H265 MKV video to MOV or MP4, for example for playback on an iPhone',+ 'Join clips from the same camera or phone into one file','Cut a file by its MP4/MKV chapters',];@@ -146,6 +146,8 @@ export default function Home({ stars }: { stars: number }) {<li><Star aria-hidden size={16} className="star" /> {formatStars(stars)} stars on <a href={githubUrl}>GitHub</a></li><li><CodeXml aria-hidden size={16} /> Free and open source</li><li><Monitor aria-hidden size={16} /> Windows, macOS, Linux</li>+ {/* the number of langNames in src/common/i18n.ts, also in docs/features.md */}+ <li><Languages aria-hidden size={16} /> 26 languages</li></ul><div className="hero-author">Official app by <a href={authorUrl}>Mikael Finstad</a></div></div>