It said a stream with no commentary 'gives the picker nothing to score' and that no amount of tuning fixes it. That is not what the code does. main.py switches to a vision pass by itself in two cases: NoAudioError, and speech_is_sparse() coming back true (under MIN_SPEECH_WORDS=8 total or MIN_SPEECH_WORDS_PER_MIN=5). Gemini then watches the footage and returns the same 3 to 15 moments in the same duration band, and every stage after it, layouts and inset detection included, is identical. So the section becomes a differentiator rather than a disclaimer, since a transcript-only clipper simply cannot do this. The real constraint is moved with it and stated plainly: the vision pass is the one stage that uploads the footage instead of sampling frames, Gemini bills video at ~300 tokens/second, and nothing guards the length, so a silent multi-hour VOD fails at the model. Clips from that path have no captions, which is correct and now said out loud. |
||
|---|---|---|
| .. | ||
| public | ||
| seo | ||
| src | ||
| .gitignore | ||
| Dockerfile | ||
| eslint.config.js | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| vite-plugin-seo.js | ||
| vite.config.js | ||
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.