videoconverter-worker 1.0.4__tar.gz → 1.0.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {videoconverter_worker-1.0.4 → videoconverter_worker-1.0.5}/PKG-INFO +1 -1
- {videoconverter_worker-1.0.4 → videoconverter_worker-1.0.5}/pyproject.toml +1 -1
- {videoconverter_worker-1.0.4 → videoconverter_worker-1.0.5}/videoconverter_worker.egg-info/PKG-INFO +1 -1
- {videoconverter_worker-1.0.4 → videoconverter_worker-1.0.5}/worker.py +2 -2
- {videoconverter_worker-1.0.4 → videoconverter_worker-1.0.5}/README.txt +0 -0
- {videoconverter_worker-1.0.4 → videoconverter_worker-1.0.5}/ffmpeg_runner.py +0 -0
- {videoconverter_worker-1.0.4 → videoconverter_worker-1.0.5}/metadata.py +0 -0
- {videoconverter_worker-1.0.4 → videoconverter_worker-1.0.5}/schema.py +0 -0
- {videoconverter_worker-1.0.4 → videoconverter_worker-1.0.5}/setup.cfg +0 -0
- {videoconverter_worker-1.0.4 → videoconverter_worker-1.0.5}/task_queue.py +0 -0
- {videoconverter_worker-1.0.4 → videoconverter_worker-1.0.5}/videoconverter_worker.egg-info/SOURCES.txt +0 -0
- {videoconverter_worker-1.0.4 → videoconverter_worker-1.0.5}/videoconverter_worker.egg-info/dependency_links.txt +0 -0
- {videoconverter_worker-1.0.4 → videoconverter_worker-1.0.5}/videoconverter_worker.egg-info/entry_points.txt +0 -0
- {videoconverter_worker-1.0.4 → videoconverter_worker-1.0.5}/videoconverter_worker.egg-info/top_level.txt +0 -0
|
@@ -198,7 +198,7 @@ def _log_split_to_merge_duration(data: dict, task_id: str, store: QueueStore) ->
|
|
|
198
198
|
if processed and duration_sec > 0:
|
|
199
199
|
src_duration_sec = processed[-1]["endTime"] - processed[0]["startTime"]
|
|
200
200
|
capacity = (src_duration_sec / 3600.0) / (duration_sec / 3600.0)
|
|
201
|
-
msg += f",产能预估:
|
|
201
|
+
msg += f",产能预估: {capacity:.2f}(HV/h)"
|
|
202
202
|
logger.info("videoId=%s %s", data.get("videoId", ""), msg)
|
|
203
203
|
store.add_log(task_id, "INFO", msg)
|
|
204
204
|
except Exception:
|
|
@@ -398,7 +398,7 @@ def run_simple_compose(
|
|
|
398
398
|
src_duration_sec = end_sec - start_sec
|
|
399
399
|
capacity = (src_duration_sec / 3600.0) / (elapsed / 3600.0) if elapsed > 0 else 0
|
|
400
400
|
logger.info(
|
|
401
|
-
"简易模式完成: %s,从切分到合成结束总时长: %s,产能预估:
|
|
401
|
+
"简易模式完成: %s,从切分到合成结束总时长: %s,产能预估: %.2f(HV/h)",
|
|
402
402
|
out_file, _format_duration(elapsed), capacity,
|
|
403
403
|
)
|
|
404
404
|
return str(out_file)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|