Go to file
tigeren fef8f57e9b feat(hls): implement dynamic FFmpeg segmentation for merged .ts files
- Add tsSegmentationService to detect and re-segment merged .ts files using FFmpeg
- Create HLSSessionManager to manage segmentation sessions with heartbeat and TTL
- Enhance HLS playlist route to serve either virtual or FFmpeg-segmented playlists
- Update segment route to serve FFmpeg-generated segments with proper caching headers
- Add manual cleanup API for forced session cleanup and status inspection
- Implement global HLS status endpoint with session and segmentation metrics
- Introduce session lifecycle management with auto cleanup and error handling
- Provide detailed logging for session creation, heartbeat, cleanup, and errors
- Configure segment duration, temp directory, concurrency limits, and cleanup intervals
- Ensure fallback to virtual segmentation on errors or unsupported cases
- Document MPEG-TS protocol issues with naive merging and correct segmentation approach
- Plan phased migration for scalable production readiness and monitoring integration
2025-10-01 15:40:23 +00:00
.cursor/rules feat: enhance UI and functionality for media library management 2025-08-25 16:04:03 +00:00
data feat(streaming): add .ts file HLS streaming and container conversion support 2025-09-29 19:21:46 +00:00
docker refactor: update Dockerfile and docker-compose.yml for improved media handling 2025-09-01 18:08:17 +00:00
docs feat(hls): implement dynamic FFmpeg segmentation for merged .ts files 2025-10-01 15:40:23 +00:00
public refactor: update Dockerfile and docker-compose.yml for improved media handling 2025-09-01 18:08:17 +00:00
scripts refactor(player): switch to ArtPlayer-only architecture 2025-09-20 17:57:44 +00:00
src feat(hls): implement dynamic FFmpeg segmentation for merged .ts files 2025-10-01 15:40:23 +00:00
.dockerignore [!!]refactor: optimize Docker configuration and update .dockerignore 2025-08-30 20:12:15 +00:00
.gitignore feat: add thumbnail API and update Docker configuration 2025-08-30 19:39:51 +00:00
CLAUDE.md feat: add text file support and viewer enhancements 2025-08-31 08:42:30 +00:00
Dockerfile refactor: update Dockerfile and docker-compose.yml for improved media handling 2025-09-01 18:08:17 +00:00
GEMINI.md feat: implement performance optimization plan and pagination for media APIs 2025-08-28 09:10:38 +00:00
PRD.md feat: implement performance optimization plan and pagination for media APIs 2025-08-28 09:10:38 +00:00
README.md Initial commit from Create Next App 2025-08-25 02:22:42 +00:00
TRANSCODING_FIXES.md fix: improve transcoding progress bar and duration handling 2025-08-31 16:36:54 +00:00
components.json feat: Implement file system API and folder viewer 2025-08-25 06:15:49 +00:00
docker-compose.yml feat: add Docker configuration and database initialization 2025-08-30 17:42:26 +00:00
media.db feat: enhance video streaming and transcoding capabilities 2025-08-31 14:56:23 +00:00
next.config.ts feat: enhance video streaming and transcoding capabilities 2025-08-31 14:56:23 +00:00
package-lock.json feat(streaming): disable transcoding and add local player guidance 2025-09-29 17:07:05 +00:00
package.json feat(streaming): disable transcoding and add local player guidance 2025-09-29 17:07:05 +00:00
postcss.config.mjs feat: enhance UI and functionality for media library management 2025-08-25 16:04:03 +00:00
tailwind.config.ts feat: enhance UI and functionality for media library management 2025-08-25 16:04:03 +00:00
test-artplayer.html feat: native用artplayer取代 2025-09-16 15:03:56 +00:00
test-hls.html feat(streaming): integrate hls.js with ArtPlayer and implement fallback chain 2025-09-18 15:52:39 +00:00
test-progress-bar.mjs fix: improve transcoding progress bar and duration handling 2025-08-31 16:36:54 +00:00
test-transcoding.mjs feat: enhance video streaming and transcoding capabilities 2025-08-31 14:56:23 +00:00
test-ts-streaming.mjs feat(streaming): add .ts file HLS streaming and container conversion support 2025-09-29 19:21:46 +00:00
tsconfig.json Initial commit from Create Next App 2025-08-25 02:22:42 +00:00
verify-hls.js feat(streaming): integrate hls.js with ArtPlayer and implement fallback chain 2025-09-18 15:52:39 +00:00

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:

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.