-
Notifications
You must be signed in to change notification settings - Fork 12
Wishlist: Resumption of hung cooks, using RAWcooked output files as source info #288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have difficulties to understand the workflow. For encoding: I don't think it is doable to append content to an already started file, so it would be later (when I have my own encoder & muser) For decoding: I don't see what I could do with content of |
It's encoding of a MKV, including the --check stage. We see hung cooks regularly, maybe caused by network timeout or other factors. (We don't yet do much decoding of MKV to DPX other than in the --check function while cooking). My suggestion was to find a programatic way of resuming any hung cooks, appending to the partial MKV by parsing an output txt from the previous cook attempt, and resuming at correct frame. But I guess resuming at correct frame could be achieved by examining the partially encoded Matroska and the source DPX, without need for the txt file. |
So still 2 parts: For encoding: we need to have our own encoder/muxer first, not a small thing, then we "just" check the end of the MKV file, no need to have the log. For checking: here we have no clue about where check stopped so we need the log. for simplicity here I suggest to have an option e.g. Generally speaking, resuming a job is not an easy task if we take all cases in mind. I'll implement each case step by step. |
Additional thought: I could also add a "watchdog" internal thread, and report when there is an hung (and say if it is a network time out and so on, I hope), also I could kill the worker thread and resume (I have all in RAM so easy). For encoding, it would be still same issue (I first need to implement my encoder/muxer). |
This! |
Related to / derived from Issue #287
Would be great to pass rawcooked a set of RAWcooked output files - eg piped from find, or in a watched folder, not sure of best implementation - and have RAWcooked resume cooking on stalled / killed cases, based on logic such as modification time of the output txt file is greater than 6 hours, or similar.
Alternative implementation: pass RAWcooked a folder path to DPX folders, and a path to output txt files, and it resumes cooking as above.
The text was updated successfully, but these errors were encountered: