

I haven't come across any issues with it skipping edl sections or failing yet, I've tried it on 3 different OTA broadcast types so far. The option is actually -edl (two hyphens) or -e rather than -edl with a single hyphen like the mencoder option, sorry for the confusion. (ffmpeg should not have continued on by itself.) If so, sounds I've got two things to fix one to reset that timer on each phase during non-simultaneous encoding, and two to actually cancel background tasks when we cancel the subtask within ctivo. So, one workaround is to write "1.00 %" to the output stream immediately upon the start of your script.Īnother to increase the MaxProgressDelay preference to a much bigger number than the default 120.ĭefaults write MaxProgressDelay 1200 start of commercial-ing), then it would immediately fail even though there has been progress since then. If the prior progress check also happened to be in a period where progress was zero (e.g.

So, if your script takes a little while to run, it would keep the encoding progress at zero for a little while. Specifically, we reset progress to zero at the launch of each phase, but we don't reset that timer. That works great if the encoding is simultaneous with the downloading, but I think it has a chance of failing if not.
#Ctivo skip commercials update#
Because of occasionally crashy/flaker sub-binaries, cTiVo notices if it doesn't get a progress update every two minutes. Then I tried a different video and it failed. awk says "can't open file dl"Ĭ) At least my copy of ffmpeg complained that " experimental aac requires -strict -2"įinally got it to launch, and then it seemed to run fine (although it only seemed to clip the first EDL line), with progress reporting just fine. Trickiest one to figure out was apparently -edl option doesn't work has to be -e.
#Ctivo skip commercials how to#
Just reading took a while.ī) It then took me quite a while to create a matching Format, and then figure how to debug, where the output was going etc. serious script-fu some nice tricks in there. So, I've spent a lot of time on this, and I think I've figured it out.įirst a few notes on the script ( I worked with the archive_tivo_one_ffmpeg.sh one)Ī) wow.
