avformat/avio: notify with duration