save animation made by PyQtGraph

26 views
Skip to first unread message

Xiaoxue Zhang

unread,
Jun 21, 2019, 6:44:52 AM6/21/19
to pyqtgraph
Dear all,

Recently I meet one problem about save the animation made by PyQtGraph. 

I don't know how to save it to the local computer by .mp4 or .avi format.

The animation code is 
# Update Plot
self.w.show()
self.app.processEvents()
time.sleep(0.00000000000000000000000000000000000000000000000000000000000001)
timer = pyqtgraph.Qt.QtCore.QTimer()
timer.timeout.connect(self.update)
timer.start(20)
self.start()

Does anyone know how to save the animation to a mp4 file on local computer?

Thanks you all.

Xiaoxue

Xiaoxue Zhang

unread,
Jun 25, 2019, 8:55:00 AM6/25/19
to pyqtgraph
hello, everyone,

Does anyone knows how to save animation? Appreciate so much.
Xiaoxue
Reply all
Reply to author
Forward
0 new messages