Dovrebbe essere facile da risolvere, basta aggiungere def flush che non fa nulla al demuxer.
@david ti dispiace aggiungerlo?