Lada|JavPlayer 中文交流论坛

 找回密码
 立即注册
查看: 68|回复: 0

[模型分享] lada、lada-ex、jasna 速度比较

[复制链接]

6

主题

48

帖子

1224

积分

中级会员

Rank: 3Rank: 3

积分
1224
发表于 3 小时前 | 显示全部楼层 |阅读模式
本帖最后由 hodalahiruma 于 2026-4-28 18:43 编辑

视频讯息:
bobb-466 切片
1920x1080
格式: H.264
位元率: 5754kbps
影格: 29.97fps
片长: 04:54

使用 lada、lada-ex 及 jasna 来比较处理速度
配置:
Intel Xeon E3-1240 v5
内存: 16Gx2 2133
显卡: RTX 4060 8G

1.Lada(ladaapp)
命令:
"lada-cli.exe" --input "f:\Ftemp\BOBB-446-01.mp4" --output "g:\gtemp" --temporary-directory "d:\dtemp" --output-file-pattern "{orig_file_name}-U.mp4" --mosaic-detection-model "v4-fast" --encoding-preset "hevc-nvidia-gpu-uhq" --max-clip-length 180 --no-detect-face-mosaics --fp16 --device cuda:0
处理中影片: 100%|████████████████████████████████████████████|已处理: 05:26 (8840f) | 剩余的: 0:00 (1f) | 速度: 31.6fps

2.lada-ex(comman)
命令:
lada-cli.exe --input f:\ftemp\BOBB-446-01.mp4 --output g:\gtemp\bobb-446-U.mp4 --temporary-directory "d:\dtemp" --mosaic-detection-model v4-fast --encoding-preset hevc-nvidia-gpu-hq --max-clip-length 180 --fp16  --device cuda:0
Processing video: 100%|███████████████████████████████|Processed: 06:27 (8841f) | Remaining: 0:00 (0f) | Speed: 30.8fps

3.lada-ex(comman),打开 torchcodec
命令:
lada-cli.exe --input f:\ftemp\BOBB-446-01.mp4 --output g:\gtemp\bobb-446-U.mp4 --temporary-directory "d:\dtemp" --mosaic-detection-model v4-fast --encoding-preset hevc-nvidia-gpu-hq --max-clip-length 180 --fp16  --device cuda:0 --fast-pipeline --torchcodec-encoder
Processing video: 100%|███████████████████████████████|Processed: 05:05 (8841f) | Remaining: 0:00 (0f) | Speed: 37.8fps

4.Jasna(cq 26 接近原视频位元率;片段90已经吃满显存不能再高了)
命令:
jasna-cli.exe --input f:\ftemp\BOBB-446-01.mp4 --output g:\gtemp\bobb-446-U.mp4 --max-clip-size 90  --detection-model rfdetr-v5 --encoder-settings cq=26  --working-directory d:\dtemp --fp16 --device cuda:0
Processing video: 100%|███████████████████████████████|Processed: 03:52 (8840f) | Remaining: 0:00 (4f) | Speed: 38.6fps

心得: jasna 有充分利用到显卡 TensorRT 和 cuda,因此速度最快;比 lada 快約 30%、比lada-ex(torchcodec)快約 25%
而 lada-ex 这个分支有支援 torchcodec 比不开快约 20% 、比 lada 快约 8%

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Lada|Jasna|JavPlayer 中文交流论坛 |网站地图

GMT+8, 2026-4-28 21:48 , Processed in 0.024921 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表