mirror of
https://github.com/spoopyghosty0/frameport.git
synced 2026-10-23 09:01:44 +02:00
- fp_venc: accept the source's buffer count (the Frame's v4l2loopback has max_buffers=2; asking for 3 failed the probe); OUTPUT buffers remember which picture they hold, so repeats (standby, still scenes) skip the conversion (720p: 35% -> 2.5% of a core with the headset asleep). - Pipeline: raw H.264 stamped on arrival (-use_wallclock_as_timestamps, same clock as pulse) with a 32-byte probe: -framerate was ignored, -fflags nobuffer lost the first seconds, frames numbered from 0 held all output ~7 s next to the sound. frag_keyframe so a requested keyframe starts a fragment (a joining viewer starts there). Verified on the Frame (headset asleep): selftest ok (104 cases), probe at 360p-1080p, end to end through livestream.start: 720p36 + AAC in 0.1 s fragments, audio and video spans match, a second viewer starts on its requested keyframe at once, nothing left running after stop; FP_VENC_DISABLE=1 falls back to x264.