visualize_atari icon indicating copy to clipboard operation
visualize_atari copied to clipboard

ffmpeg requirements

Open rafafelixphd opened this issue 7 years ago • 2 comments

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.

rafafelixphd avatar Dec 17 '18 01:12 rafafelixphd

I have the same issue with matplotlib.animation and ffmpeg and got the error which is: ValueError: Invalid file object: <_io.BufferedReader name=9>

ruifengma avatar Jan 07 '19 15:01 ruifengma

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.

akanksha-atrey avatar Mar 15 '19 00:03 akanksha-atrey