producer_avformat.c: close the file at the end of object creation, then re-open the...