Closed lsj8924 closed 3 years ago
Which video writer were you using in this example? In memory PIL?
My workspace is Jupyter. video writer is PIL. But actually I have installed both PIL and ffmpeg. I make my effort to grapple the problem. As you say something wrong with PIL, so I uninstall the PIL. but it does not work again—“Python3.x No module named 'PIL”. So I have to reinstall the Pillow.
Could you please provide:
I solved the problem. The pciture made out from Jupyter is blurred. The command line is OK. What's mroe, the size of Gif format is way larger than MP4. It's better use the MP4 format. Sometimes Gif have to employed, It's better covert MP4 format to gif with ffmpeg, but grnerate directly with pandas_alive. with a transform, the size almost compress to 1/7.
Fantastic to hear that you solved the problem
pandas_alive
supports multiple writers for this very reason, the default of using PIL for in memory GIF writing is a matter of convenience.
the font in my picture is blurred,just like this. It's from the example.