producer_avformat.c: optimize slightly the stream index bugfix and update the video...