Some various points in post order ...
...
Tried a manual decrypt using the web interface. This runs smoothly to about 85% and then suddenly jumps to 100% but watching the files via samba I could see that the decryption file was still growing smoothly long after after the web interface said 100%.
When the decrypt file was the same size as the source original it stopped growing but the files did not swap in any way as I would have expected it left both as they were in the directory.
...
The inaccurate progress completion report is caused by a bug in the WebIf where the progress monitoring JS function is timed out by the web server (IIRC default is s/t like 6 or 10 minutes). It affects any long-running command launched by the WebIf client code (eg, media conversion/extraction). As far as the script logic is concerned the operation was aborted, and the output file doesn't get renamed, but it's actually still running.
...
BTW Qudos for finding a way to archive restricted HD content!
The modulator breaks the protected HDMI chain, at the cost of re-encoding the digital AV stream in MPEG2. A DVB-T USB receiver would allow the Q content to be saved to disk with no encryption.
...
What I don't understand more than anything is why a manual decrypt works and all else fails. Yes, there are issues with the gui saying 100% far too early and the files not swapping at the end the the .decryption file is decrypted?
...
The manual decryption makes you select either DLNA or direct decryption, whereas the queue-based decryption has different logic and tries to select the best method automatically.
Code:
...
set key [$ts getkey $mode]
if {$key eq ""} {
return {"FAILED" "No matching key for decryption"}
}
...
As I previously pointed out, this means that no key known to the
getkey()
method matched the encrypted .ts. If the file isn't corrupt, the testing method must be wrong, but I ran some examples and I still believe it. It does this sort of thing (
-q\
just reports 1 or 0 for match or 0,
-/
prints a detailed report):
Code:
# stripts -q/ 00000000000000000000000000000000 The\ Taming\ Of\ The\ Shrew_20210718_0909
1
# echo $?
0
#
So this test command either reported an error or its output was not
1
, for all the keys tested.