You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Core Fix: Interlaced (1080i) Video Hangs in Browser
Tightened direct-play rule: a video must be H.264 AND progressive (non-interlaced), with browser-decodable audio (AAC/MP3...) to play directly.
Auto-detects interlacing via ffprobe field_order (tt/bb/tb/bt) with a 2000-entry LRU cache.
Interlaced H.264 is no longer played raw (previously froze the whole file in memory); it now goes through yadif deinterlacing re-encode (GPU pipeline preferred, auto-fallback to libx264). The result overwrites the original file, so next time it plays directly.
New Feature: Play-While-Transcoding (Rule C)
When no queued song is "ready" and the front item has genuinely entered transcoding, the app streams the in-progress fragmented MP4 (moov at head, progressively playable) to the player in real time.
On transcode completion it seamlessly switches to the final file; the front-end no longer waits the full conversion.
Safe queuing: other waiting items keep their own per-page queue positions, no conflicts across on-demand pages.
Server pushes the growing file with no fixed Content-Length; after the temp file overwrites the original, the already-open handle still reads to the end.
Improvement
Removed the unreliable faststart (moov front-loading) approach; transcoded output is now a progressively-playable fragmented MP4, finally fixing the 1080i hang.
Notes
Built with -ldflags="-s -w" to reduce size; 64-bit and 32-bit builds ship together.
Play-while-transcoding applies only to fragmented MP4 (unfinished mkv is not progressively playable in browsers).