Skip to content

The swiss army knife of lossless video/audio editing

Website: show the scene change detection demo video, and fix a lint error

Claudefbfb0fcadff0
diff --git a/website/src/components/Home.tsx b/website/src/components/Home.tsx
index 74fa2db0..6ca7a2c8 100644
--- a/website/src/components/Home.tsx
+++ b/website/src/components/Home.tsx
@@ -127,7 +127,7 @@ function FramedVideo({ video, label, posterAlt, priority }: { video: Video, labe
<source src={video.src} type="video/mp4" media="(min-width: 701px) and (prefers-reduced-motion: no-preference)" />
<source src={video.smallSrc} type="video/mp4" media="(prefers-reduced-motion: no-preference)" />
</video>
- <img className="framed-video-poster" src={video.poster} alt={posterAlt} width={1024} height={640} {...(priority ? { fetchPriority: 'high' } : { loading: 'lazy' })} />
+ <img className="framed-video-poster" src={video.poster} alt={posterAlt} width={1024} height={640} fetchPriority={priority ? 'high' : undefined} loading={priority ? undefined : 'lazy'} />
</div>
);
}
@@ -252,16 +252,14 @@ export default function Home({ stars }: { stars: number }) {
<a className="button" href="/docs/features">See all features and use cases</a>
</WhiteSection>
- {sceneChangesVideo != null && (
- <div className="padded demo-video">
- <FramedVideo video={sceneChangesVideo} label="LosslessCut detecting the scene changes of a movie and creating a segment for each scene" posterAlt="A movie opened in LosslessCut" />
- <p className="demo-video-credit">
- Tears of Steel (CC) Blender Foundation | <a href="https://mango.blender.org/">mango.blender.org</a>
- </p>
+ <div className="padded demo-video">
+ <FramedVideo video={sceneChangesVideo} label="LosslessCut detecting the scene changes of a movie and creating a segment for each scene" posterAlt="A movie in LosslessCut, with a segment for each scene" />
+ <p className="demo-video-credit">
+ Tears of Steel (CC) Blender Foundation | <a href="https://mango.blender.org/">mango.blender.org</a>
+ </p>
- <h2 style={{ textAlign: 'center', marginTop: '40px', fontWeight: '200' }}>Lightning Fast! It&apos;s like Magic</h2>
- </div>
- )}
+ <h2 style={{ textAlign: 'center', marginTop: '40px', fontWeight: '200' }}>Lightning Fast! It&apos;s like Magic</h2>
+ </div>
<div id="download" className="download">
<div className="download-inner">
diff --git a/website/src/images.ts b/website/src/images.ts
index dc7aa97f..43966b06 100644
--- a/website/src/images.ts
+++ b/website/src/images.ts
@@ -25,8 +25,12 @@ export const heroVideo: Video = {
poster: `${baseUrl}/dist/losslesscut/feature-media/hero-2026-10-22-poster-1000.jpg`,
};
-// Creating segments from the scene changes of a Tears of Steel excerpt (CC BY: the homepage credits it). Not uploaded yet
-export const sceneChangesVideo = undefined as Video | undefined;
+// About 10 s: creating segments from the scene changes of a Tears of Steel excerpt (CC BY: the homepage credits it)
+export const sceneChangesVideo: Video = {
+ src: `${baseUrl}/dist/losslesscut/feature-media/detect-scene-changes-2026-10-22-1000.mp4`,
+ smallSrc: `${baseUrl}/dist/losslesscut/feature-media/detect-scene-changes-2026-10-22.mp4`,
+ poster: `${baseUrl}/dist/losslesscut/feature-media/detect-scene-changes-2026-10-22-poster-1000.jpg`,
+};
// Social preview image (1200x630)
export const ogImage = `${baseUrl}/dist/losslesscut/og-image-1000.jpg`;