|
@@ -242,7 +242,14 @@ def sample(source, source_type, multiplier=1):
|
|
|
|
|
|
def video2_extractor(q, q2):
|
|
def video2_extractor(q, q2):
|
|
while True:
|
|
while True:
|
|
- data = extract_lsbs(q2.get())
|
|
|
|
|
|
+ data = q2.get()
|
|
|
|
+ data = chunks(data, 8)
|
|
|
|
+
|
|
|
|
+ newdata = b""
|
|
|
|
+ for chunk in data:
|
|
|
|
+ newdata += chunk[:4]
|
|
|
|
+
|
|
|
|
+ data = extract_lsbs(newdata)
|
|
data = whiten(data)
|
|
data = whiten(data)
|
|
|
|
|
|
logger.info(f"Sample ready: {len(data)}b.")
|
|
logger.info(f"Sample ready: {len(data)}b.")
|