ffmpeg requirements
Hello,
I came across ffmpeg problem on matplotlib animation, when I was trying to run your scripts, similar to @8760. ''' python make_movie.py --prefix strong --checkpoint strong.40.tar --first_frame 350 --env Pong-v0 '''
How did you install your ffmpeg/matplotlib properly. Could you please provide all the versions?
Cheers, R.
I have the same issue with matplotlib.animation and ffmpeg and got the error which is: ValueError: Invalid file object: <_io.BufferedReader name=9>
I had the same issue a few months back. I did try a few things but the thing that fixed this (or a part of it) was adding a "movies" folder. In make_movie.py, save_dir='./movies/' which is the folder that all the frames/videos get saved in. Because the directory didn't exist, matplotlib threw a poor error message unrelated to it. Hope this helps.