berrinam
13th May 2005, 07:11
Since I have been doing my x264 encodes on a _slow_ P3, I think it would be useful to be able to stop and restart my encodes later, because often one night is not long enough for the encode. I imagine that this could not be *too* hard to implement in x264 (CLI), if you break your encode at the end of a GOP, thereby not needing to keep any historical information.
I have briefly looked at the x264 code and there is a Ctrl+C catcher which ends the encode. What I imagine is that this section of code would close the GOP, flush all the buffers, tell you which frame it has finished on and then exit. Later, you could just specify that you want to continue the encode from that frame number.
This question seems to be partly similar to the many threads I have seen about parallelism of encoding, yet it is an easier thing to implement because the encode would still be sequential, and there would be no worry about catching I(DR) frames.
Am I on to something, or is there some other factor that I have completely missed?
Would anyone other than me find this feature useful?
I have briefly looked at the x264 code and there is a Ctrl+C catcher which ends the encode. What I imagine is that this section of code would close the GOP, flush all the buffers, tell you which frame it has finished on and then exit. Later, you could just specify that you want to continue the encode from that frame number.
This question seems to be partly similar to the many threads I have seen about parallelism of encoding, yet it is an easier thing to implement because the encode would still be sequential, and there would be no worry about catching I(DR) frames.
Am I on to something, or is there some other factor that I have completely missed?
Would anyone other than me find this feature useful?