Realtime encoding is within the reach of some schemes on some processors.
Can you elaborate on that?
What sort of setup (hw/sw) would one need to make this viable (realtime encoding from the stream)?
P.S. See also https://trac.ffmpeg.org/wiki/HWAccelIntro
Realtime encoding is within the reach of some schemes on some processors.