- Add HEAD request handler to serve video metadata without body - Replace fluent-ffmpeg with direct spawn for FFmpeg process execution - Implement active request tracking to prevent duplicate transcoding streams - Enhance process management by avoiding killing similar seek processes (within 2s) - Preserve original metadata and apply duration overrides for accurate streaming - Return full duration metadata and seek time in custom response headers - Add DELETE endpoint to clean up all transcoding processes for a video - Update client video player to detect transcoding need and switch source accordingly - Implement retry logic with capped attempts for both direct and transcoding streams - Add user-visible transcoding error display with retry button in video viewer - Optimize transcoding seek requests to avoid duplicate or unnecessary restarts - Enhance useStableProgress hook to support seek offset from streaming URL - Adjust progress updates to consider seek time offset for smooth playback progress - Initialize progress state at seek offset instead of zero on reset to prevent jitter |
||
|---|---|---|
| .cursor/rules | ||
| data | ||
| docker | ||
| docs | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| CLAUDE.md | ||
| Dockerfile | ||
| GEMINI.md | ||
| PRD.md | ||
| README.md | ||
| TRANSCODING_FIXES.md | ||
| components.json | ||
| docker-compose.yml | ||
| media.db | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.mjs | ||
| tailwind.config.ts | ||
| test-progress-bar.mjs | ||
| test-transcoding.mjs | ||
| tsconfig.json | ||
README.md
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.