4 ms·
> stop and start the encoding all over again, which breaks the stream anyway. It's a common thing I wish encoders could do - if I try to compress a frame and t
by londons_explore 3y ago
> stop and start the encoding all over again, which breaks the stream anyway.
It's a common thing I wish encoders could do - if I try to compress a frame and the result is too large to fit in my packet/window, I wish I could 'undo' and retry compression of the same frame with different options.
Sadly all hardware video compressors mutate internal state when something is compressed, so there is no way to undo.