I have mp3 files and need to convert them to webm(or ogg) on the fly. Usually this conversion takes about ~10 seconds but i need to send the first 100Kb so that the sound can start immediately but ffmpeg writes the whole file in one go.
Is there any way that ffmpeg can write chunks of converted file or are there any tricks to start the playback earlier?
(The client uses MediaSourceExtensions for audio playback)