Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.
Take QA: a take without a library video passes as unchecked, Chinese lines match by character...
Bowen Xue9e63a91105cd
diff --git a/freevideo_engine/agent/productions.py b/freevideo_engine/agent/productions.pyindex 9722bda..3c9f7d2 100644--- a/freevideo_engine/agent/productions.py+++ b/freevideo_engine/agent/productions.py@@ -517,11 +517,17 @@ class Productions:return 1.value = (self.jobs.progress(row) or {}).get('fraction') if row and status == 'running' else Nonereturn min(1., max(0., value)) if type(value) in (int, float) and math.isfinite(value) else 0.+ waiting = set() # built-in shots whose first live take is still going: the others are withdrawn once it is chosenfor shot, take in self._takes(state):child = children.get(take['job'])status = child['status'] if child and take['state'] != 'paused' else take['state']if take['stale'] or status == 'cancelled' or (take['cancel_requested'] and status != 'succeeded'):continue+ if state['director'] == 'builtin':+ if shot['id'] in waiting:+ continue+ if status not in ('succeeded', 'failed', 'interrupted'):+ waiting.add(shot['id'])part = fraction(child, status)completed += status in ('succeeded', 'failed', 'interrupted')fractions.append(part)@@ -901,9 +907,16 @@ class Productions:for shot in record['state']['shots']:for take in shot['takes']:job = take['job']- if (take['state'] != 'succeeded' or take['stale'] or not take['library_id']+ if (take['state'] != 'succeeded' or take['stale']or job in record.get('qa', {}) or (identity, job) in self._inspecting):continue+ if not take['library_id']:+ # Nothing to open: pass it as unchecked, or the judge would wait on it forever.+ draft = deepcopy(self._record(identity))+ draft.setdefault('qa', {})[job] = dict(error='NoVideo', problems=[], notes=[], ok=True)+ self._bump(draft)+ self._save(draft)+ continueself._inspecting.add((identity, job))lines = [row['line'] for row in shot.get('lines') or [] if row.get('line')]threading.Thread(target=self._inspect, daemon=True, args=(diff --git a/freevideo_engine/agent/take_qa.py b/freevideo_engine/agent/take_qa.pyindex 0e2f7e2..57a420d 100644--- a/freevideo_engine/agent/take_qa.py+++ b/freevideo_engine/agent/take_qa.py@@ -28,8 +28,13 @@ SAMPLE_RATE = 16000WINDOW = 0.05+_CJK = '\u3040-\u30ff\u3400-\u9fff\uac00-\ud7af'+_WORD = re.compile("[%s]|(?:(?![%s])[\\w'])+" % (_CJK, _CJK))++def _words(text):- return re.findall(r"[\w']+", str(text).lower())+ """Words of a line; Chinese, Japanese and Korean have no spaces, so each of their characters is one."""+ return _WORD.findall(str(text).lower())def _pictures(path):