After some amount of time the caption extractor stops generating captions. At first I thought this was due to #111 (and indeed that may cause some problems), but I noticed it happen even when the position is still incrementing.
My current theory is that the ccextractor process is spawned in a way that does NOT mark stderr as ignore, and that stream is not actually consumed by anything. This happened before with ffmpeg in #53 and simply passing a stdio config during the spawn solved that nicely.
We can do that here, though It might also be valuable to pipe stderr to the logger with a DEBUG log level (this actually might be true for ffmpeg appliances as well), since I could imagine that output would be useful in debug situations.
I'm going to run another overnight test and see what happens.
Bug
Current Behavior
After some amount of time the caption extractor stops generating captions. At first I thought this was due to #111 (and indeed that may cause some problems), but I noticed it happen even when the position is still incrementing.
My current theory is that the
ccextractor
process is spawned in a way that does NOT markstderr
as ignore, and that stream is not actually consumed by anything. This happened before with ffmpeg in #53 and simply passing astdio
config during the spawn solved that nicely.We can do that here, though It might also be valuable to pipe stderr to the logger with a DEBUG log level (this actually might be true for ffmpeg appliances as well), since I could imagine that output would be useful in debug situations.
I'm going to run another overnight test and see what happens.