6c56306873
Full-featured video conversion platform with: - FFmpeg-based pipeline system with composable stages (transcode, scale, filter, audio, bitrate, framerate, trim, deinterlace, denoise, stabilize) - Live stream management with real-time format switching (RTMP/RTSP/HTTP) - Industrial/nuclear power plant control room themed UI with gauges, switches, LED indicators - Format switchboard for instant conversion between 16+ video/audio formats - Pipeline designer with visual flow editor and drag-and-drop stage composition - Job queue with priority scheduling and batch conversion - WebSocket server for real-time progress broadcasting - REST API for all operations (upload, convert, streams, pipelines, queue) - System monitoring (CPU, memory, disk) with animated gauge displays - Docker Compose setup with web, websocket, and worker services https://claude.ai/code/session_01WxmHGnVFXGm2bwbFREHkHb
16 lines
336 B
PHP
16 lines
336 B
PHP
<?php
|
|
|
|
/**
|
|
* Video Converter Suite - Front Controller / Router
|
|
*
|
|
* Usage: php -S 0.0.0.0:8080 -t public public/router.php
|
|
*/
|
|
|
|
// Serve static files directly
|
|
$uri = urldecode(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
|
|
if ($uri !== '/' && file_exists(__DIR__ . $uri)) {
|
|
return false;
|
|
}
|
|
|
|
require_once __DIR__ . '/api.php';
|