[x264-devel] Re: Pause & Resume

Tuukka Toivonen tuukkat at ee.oulu.fi
Wed May 18 10:40:10 CEST 2005


On Wed, 18 May 2005, Guillaume POIRIER wrote:

>> A recent thread on Doom9 got me to wondering how feasible it would be to
>> implement pause & resume for x264's encoder.
> A quick-and-dirty way to make the encode process pause and resume is
> to send the signals SIGSTOP and SIGCONT to the process. That worked
> fine for me.

Works, and I don't think it's dirty at all.

> Unfortunately, that doesn't allow you to resume it if you switch of
> your computer for instance.

For that one could use swsusp (software suspend) in Linux.
Works fine too, except on (my) SMP :(

There are some libraries for checkpointing a running program,
but last time I looked I found nothing that would work
straight out of the box (=without modifying the checkpointed program).

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list