OrbiSubs: live WebVTT subtitles for an HLS channel (whisper.cpp HTTP or faster-whisper)
Video -c:v copy, audio AAC re-encode, VTT por segmento alineado por PTS, video sostenido hasta tener subtítulo. Prueba tarea 076 en pve7 CT 176.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
server {
|
||||
listen 80 default_server;
|
||||
root /var/www;
|
||||
location /hls/ {
|
||||
add_header Access-Control-Allow-Origin * always;
|
||||
add_header Cache-Control "no-cache" always;
|
||||
types { application/vnd.apple.mpegurl m3u8; video/mp2t ts; text/vtt vtt; }
|
||||
}
|
||||
# Las listas internas de ffmpeg no se publican: el player tiene que ir por
|
||||
# video.m3u8, que va sostenido hasta tener subtítulo.
|
||||
location ~ ^/hls/[^/]+/src/index\.m3u8$ { return 404; }
|
||||
location = / { return 302 /player.html; }
|
||||
}
|
||||
Reference in New Issue
Block a user