hello, everyone,

Does anyone knows how to save animation? Appreciate so much.

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?

Xiaoxue



On Friday, June 21, 2019 at 6:44:52 PM UTC+8, Xiaoxue Zhang wrote:
>
> 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
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/f5d9ab34-6af2-44ec-861b-0bacfa5c3f09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to