VideoEncoder.encode() silently drops frames once its internal queue saturates; the previous loop only polled encodeQueueSize every 10 frames, so a lagging hardware encoder lost frames in bursts (the "few frames every beat" bug). Gate every encode on the dequeue event instead, keeping the queue small but non-empty. Also resample PCM to 48 kHz when encoding opus so the muxer timescale, chunk timestamps and bitstream all agree (opus is natively 48k; a 44.1k source previously produced a file claiming 44100 while the stream was 48k). |
||
|---|---|---|
| .claude | ||
| flow-state | ||
| magic-mirror | ||
| party-cathedral | ||
| party-stage | ||
| sparkles | ||
| tv-player | ||
| README.md | ||
Music Video Generator
After I'm done producing a music track, I still need to create a music video for it. Otherwise, I can't upload it to a video sharing site.
This is a library of music video "generators", anything that can be recorded along with a music file to produce a music video. Usually, this means a dynamic HTML page with some kind of dynamic visuals.