Oscam cannot know if a request for an ECM is for recording or offline decoding.
The offline decoding delay is measured in milliseconds, so a value of 10000 would be a good starting point.
I think you have a flaw in your reasoning, you think that the decrypting is done by the softcam. That is not the case.
This is how DVB decryption works:
- provider sends (encrypted) EMM packets to subscriber cards to specify what programs should be decrypted and during which period
- provider scrambles (note the use of this word instead of "encrypts") the streams using a control word (actually 2 of them, but let's keep it simple here)
- provider encrypts the control word and probably adds some metadata to it, into an ECM
- provider sends the ECM frequently, about once a second, that's why it takes some time after zapping before you actually have a picture
- enigma builds and sends a caPMT structure from the PMT to inform the CI and/or softcam of the new service + ECM pid(s)
- with the caPMT the CI can start descrambling the service, enigma doesn't do anything to it, it just instructs the SoC to pass the CI output to the demuxer -> audio/video decoders
- with the caPMT the softcam can start fetching the ECMs, hand them to the subscriber card, the card returns a control word and the control word is sent to the descrambler (in the demuxer); also enigma does nothing here
- both a CI and a descrambler in the demuxer (from SoC) will only descramble packets that have one of the "scrambled" bits active. So that's no problem.
- the problem is that for this to work, the current control word always needs to be in the descrambler, because the softcam can never know which parts of the file are still scrambled and even it would, there would be too much delay having the ECM converted into a control words and setup the descrambler.
So, offline decryption of a file that only has parts still scrambled, will only ever work if all ECMs present in the file are handed to the softcam and resolved into control words.
I believe I explained that earlier on, but apparently not good enough.