[Matplotlib-users] errors when mp4 files played in browser

gml gml at garymlewis.com
Wed Apr 27 09:54:32 EDT 2016


Ryan May-3 wrote
> So I'd try passing these to save:
> 
> anim.save('file.mp4', extra_args=['-pix_fmt', 'yuv420p'])

Thanks very much, Ryan. That works! 
The full extra_args I used are:
anim.save('file.mp4', extra_args=['-vcodec', 'libx264', '-pix_fmt',
'yuv420p'])

Please consider this problem solved.

Gary



--
View this message in context: http://matplotlib.1069221.n5.nabble.com/errors-when-mp4-files-played-in-browser-tp46988p47031.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


More information about the Matplotlib-users mailing list