[PyQt] Pause QProcess

Nahuel Defossé nahueldefosse at yahoo.com.ar
Sun Jan 18 19:18:59 GMT 2009


El Tuesday 13 January 2009 06:17:36 Sergio Jovani escribió:
> Hi list!
>
> In my application I've created a process with QProcess and 'ffmpeg'
> program. I offer to user cancelling process calling kill() method, but
> I don't know if pausing it would be possible.
>
> Is there any way to pause QProcess in a safe-way?
>
> Thanks!
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

In POSIX operating systems there's a SIGSTOP and SIGCONT, I've belive that's 
what you've used with kill(). I've used some windows video converters which 
use ffmpeg.dll and at least one of those had a pause button if I remember 
well, maybe there's a cross platform way. Have you asked in ffmpeg user 
mailing list?
If you find something related to ffmpeg or a more general cross-platform 
approach I'd be glad to know.
Nahuel



More information about the PyQt mailing list