关于hlae+ffmpeg录制高帧素材速度过慢问题
-
我录制300帧的素材,刚输入host。。。300,demo播放瞬间速度低的爆炸,一个tick一个tick地放,一开始录制速度就更低了,我想问问这是正常情况吗?几十秒的视频录了近一个小时,我知道慢,但也太夸张了吧(还是说我的硬件导致的问题)
-
@复古 不清楚(我也是萌新)我300帧同时录人物层,世界层,景深层和普通录制20多移也才半小时(´◑д◐`)
-
用ffmpeg录制不会那么慢的,主要吃的是cpu,可能是你没用对ffmpeg,结果录的是无损图片序列,那样是特别吃硬盘的,硬盘不好会特别慢,如果你录多个层那慢是正常的,如果是一个,应该是你电脑太拉了
-
@Purp1e 什么是没用“对的”ffmpeg?我的硬盘也有一个t了,而且我只录制一个层,按照您的教程来的,排除CPU的烂,用不同的ffmpeg能提升一点速度嘛?
-
@恒02 我“研究”CSGO录制有五天了,从hlae到demosmanager再有ffmpeg,然后又调config预设和cfg文件,一点一点试,看看是为什么这么慢,结果硬件是个卧底大哭.jpg
-
@复古 哈哈
-
最后得到的是mp4吗?
麻烦提供一下你的配置信息和录制整个过程用到的指令和快捷键和控制台反馈,要不然没法帮你 -
@Purp1e
这是我全部指令过程,从开始运行到进行录制指令Parent cvar in client.dll not allowed (weapon_max_before_cleanup)
Parent cvar in client.dll not allowed (weapon_auto_cleanup_time)
Parent cvar in client.dll not allowed (sv_bumpmine_detonate_delay)
Parent cvar in client.dll not allowed (sv_bumpmine_arm_delay)
Parent cvar in client.dll not allowed (sv_breachcharge_arm_delay)
Parent cvar in client.dll not allowed (sv_breachcharge_fuse_max)
Parent cvar in client.dll not allowed (sv_breachcharge_fuse_min)
Parent cvar in client.dll not allowed (sv_breachcharge_delay_max)
Parent cvar in client.dll not allowed (sv_breachcharge_delay_min)
Parent cvar in client.dll not allowed (sv_breachcharge_distance_max)
Parent cvar in client.dll not allowed (sv_breachcharge_distance_min)
Parent cvar in client.dll not allowed (cl_grenadepreview)
Parent cvar in client.dll not allowed (snd_max_pitch_shift_inaccuracy)
Parent cvar in client.dll not allowed (steam_controller_haptics)
Parent cvar in client.dll not allowed (mp_endmatch_votenextleveltime)
Parent cvar in client.dll not allowed (mp_verbose_changelevel_spew)
Parent cvar in client.dll not allowed (cl_remove_old_ugc_downloads)
maxplayers set to 64
V8 Version: 5.8.283
FcConfigAppFontAddDir d:\program files (x86)\steam\steamapps\common\counter-strike global offensive\csgo\panorama\fonts\ took 19.100 ms.
CUiComponent_OptionsMenu::CUiComponent_OptionsMenu
Steam config directory: D:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\platform\config
ChangeGameUIState: CSGO_GAME_UI_STATE_INVALID -> CSGO_GAME_UI_STATE_INTROMOVIEAfxHookSource (Mar 12 2021 18:20:58) http://advancedfx.org/ VClient: VClient018 (CS:GO) VEngineClient: VEngineClient014 (CS:GO) VEngineCvar: VEngineCvar007 (CS:GO) GameDirectory: D:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo |
--- Missing Vgui material vgui/store/store_item_bg
--- Missing Vgui material vgui/store/store_item_bg_highlight
--- Missing Vgui material vgui/store/store_item_sel_bg
--- Missing Vgui material vgui/store/store_item_pickup_bg
--- Missing Vgui material vgui/store/store_preview_bg
--- Missing Vgui material vgui/store/store_bottom_bar_button_bg
--- Missing Vgui material vgui/store/store_bottom_bar_button_highlight_bg
--- Missing Vgui material vgui/store/store_default_dialog
--- Missing Vgui material vgui/store/store_backpack_bg
--- Missing Vgui material vgui/store/store_backpack_bg_highlight
--- Missing Vgui material vgui/store/store_backpack_bg_highlight
--- Missing Vgui material vgui/store/store_discount_corner
--- Missing Vgui material vgui/store/store_preview_bg
--- Missing Vgui material vgui/store/store_tooltip_bg
--- Missing Vgui material vgui/store/store_tab_selected
--- Missing Vgui material vgui/store/store_tab_unselected
--- Missing Vgui material vgui/btn_econ_blue
--- Missing Vgui material vgui/store/button_econ_blue_over
--- Missing Vgui material vgui/store/store_backpack_bg
--- Missing Vgui material vgui/store/store_backpack_bg_highlight
--- Missing Vgui material vgui/store/store_backpack_bg_highlight
bind <key> [command] : attach a command to a key
bind <key> [command] : attach a command to a key
bind <key> [command] : attach a command to a key
bind <key> [command] : attach a command to a key
bind <key> [command] : attach a command to a key
Unknown command "cl_thirdperson"
Unknown command "tr_best_course_time"
Unknown command "tr_completed_training"
Valid options: 1 = Desktop, 2 = Couch, 3 = Classic.
Unknown command "weapon_accuracy_logging"
Elapsed time: 0.00 seconds
**** Unable to localize '#matchdraft_phase_action_wait' on panel 'id-map-draft-phase-wait'
**** Unable to localize '#DemoPlayback_Restart' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Back' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Pause' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Slow' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Play' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Fast' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Next' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#GenericConfirmText_Label' on panel descendant of 'PopupManager'
Unknown command "cl_teamid_min"
Unknown command "cl_teamid_max"
Unknown command "cl_teamid_overhead"
Can't use cheat cvar cl_teamid_overhead_maxdist in multiplayer, unless the server has sv_cheats set to 1.
Deferring playdemo command!
NET_CloseAllSockets
Got SDR network config. Loaded revision 314 OK
Performing ping measurement
**************: avail=Attempting config=OK anyrelay=Attempting (Performing ping measurement)
AuthStatus (steamid:76561198837668299): OK (OK)
bind <key> [command] : attach a command to a key
bind <key> [command] : attach a command to a key
bind <key> [command] : attach a command to a key
bind <key> [command] : attach a command to a key
bind <key> [command] : attach a command to a key
Unknown command "cl_thirdperson"
Unknown command "tr_best_course_time"
Unknown command "tr_completed_training"
Valid options: 1 = Desktop, 2 = Couch, 3 = Classic.
Unknown command "weapon_accuracy_logging"
Resource materials\panorama\images\icons\ui\globe.svg failed to load.
Telling Steam it is safe to update the app
WARN_FILEWRITE - Asked to write to 'd:\program files (x86)\steam\userdata\877402571\730\local\cfg\trustedlaunch.cfg', but we don't own that location. Disallowing...
PNG load error Interlace handling should be turned on when using png_read_image
Host_WriteConfiguration: Wrote cfg/config.cfg
Executing deferred playdemo: d:\program files (x86)\steam\steamapps\common\counter-strike global offensive\csgo\replays\match730_003467879493132091938_1002380143_228.dem
**** Unable to localize '#matchdraft_phase_action_wait' on panel 'id-map-draft-phase-wait'
**** Unable to localize '#DemoPlayback_Restart' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Back' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Pause' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Slow' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Play' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Fast' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Next' on panel descendant of 'HudDemoPlayback'
ChangeGameUIState: CSGO_GAME_UI_STATE_INTROMOVIE -> CSGO_GAME_UI_STATE_LOADINGSCREEN
PNG load error Interlace handling should be turned on when using png_read_image
WARNING: demo network protocol 13783 differs, engine version is 13784
Playing demo from d:\program files (x86)\steam\steamapps\common\counter-strike global offensive\csgo\replays\match730_003467879493132091938_1002380143_228.dem.
WARNING: Server demo version 13783, client version 13784.
Relay ord#230 (162.254.193.100:27030) is going offline in 589 seconds
SignalXWriteOpportunity(3)
Ping measurement completed
Ping location: pww=15+1,pwj=16+1,tsnm=20+2,tsnu=28+2/20+2,tsnt=31+3/20+2,sham=23+2,=24+2/23+2,shau=34+3/23+2,sgp=180+18/140+11,fra=217+21,iad=276+27/241+22,gru=349+34/358+22
******************: avail=OK config=OK anyrelay=OK (OK)
Error reading file resource/overviews/de_dust2_radar_spectate.dds.
ChangeGameUIState: CSGO_GAME_UI_STATE_LOADINGSCREEN -> CSGO_GAME_UI_STATE_INGAME
ChangeGameUIState: CSGO_GAME_UI_STATE_INGAME -> CSGO_GAME_UI_STATE_INGAME
WARNING: demo network protocol 13783 differs, engine version is 13784
CS_App_Lifetime_Gamestats: Recording AutoMutedPlayer
CCSGO_BlurTarget - Unable to find panel with the given id "sliding-panel--TERRORIST"! Panel is possibly created dynamically.
CCSGO_BlurTarget - Unable to find panel with the given id "sliding-panel--CT"! Panel is possibly created dynamically.
Requesting texture value from var "$color" which is not a texture value (material: cs_custom_material_11)
Requesting texture value from var "$color" which is not a texture value (material: cs_custom_material_12)
Requesting texture value from var "$color" which is not a texture value (material: models/weapons/v_models/arms/bare/bare_arm_66)
Requesting texture value from var "$color" which is not a texture value (material: models/player/custom_player/econ/body/ctm_st6/ctm_st6_gen_pant_variantk)
Requesting texture value from var "$color" which is not a texture value (material: models/player/custom_player/econ/head/ctm_st6/ctm_st6_night_vision_helmet_variantk)
Requesting texture value from var "$color" which is not a texture value (material: models/player/custom_player/econ/body/ctm_st6/ctm_st6_fragger_upperbody_variantk)
Requesting texture value from var "$color" which is not a texture value (material: models/player/custom_player/econ/body/ctm_st6/ctm_st6_fragger_upperbody_variantk)
Requesting texture value from var "$color" which is not a texture value (material: models/weapons/v_models/arms/bare/bare_arm_133)
Requesting texture value from var "$color" which is not a texture value (material: cs_custom_material_11)
Requesting texture value from var "$color" which is not a texture value (material: cs_custom_material_12)
ChangeGameUIState: CSGO_GAME_UI_STATE_INGAME -> CSGO_GAME_UI_STATE_PAUSEMENU
ChangeGameUIState: CSGO_GAME_UI_STATE_PAUSEMENU -> CSGO_GAME_UI_STATE_INGAME
Resource materials\panorama\images\icons\equipment.svg failed to load.指令 关闭BGM/MVP等声音 : mute 路径导入导出指令提示 : hint 隐藏/显示击杀信息 : block / disp 一键高亮相关指令 : skip (回退3s) | onred 红边框 | offred 无边框 | assist 开关助攻 一键高亮击杀图标隐藏 : 111 盲狙 | 222 穿烟 | 333 盲杀 | 444 盲狙+穿烟+盲杀 录制帧率300fps(默认0) : host_framerate 300 录制帧率快捷指令 : 0fps 240fps 300fps 480fps等 录屏慢放快捷指令 : 60to240 90to360 120to240等 使用统一准星 : cl_show_observer_crosshair 0; 屏蔽某个/多个玩家语音 显示玩家id : voice_show_mute 替换id处的数字 : mirv_voice block add id 清除屏蔽规则 : mirv_voice block clear 修改玩家名称(第一人称视角时使用) 中文名请在游戏外写好复制进控制台 : mirv_replace_name filter add Trace Purp1e 还原真实名称 : mirv_replace_name filter clear 去除各种声音 1. 去除音乐(最好直接进游戏设置关闭) mirv_snd_filter block +music\\\*; 2. 去除玩家无线电(赏你个麻辣烫~) mirv_snd_filter block +player\\vo\\\*; 3. 去除无线电(Terrorists win!) mirv_snd_filter block +radio\\\*; 4. 去除脚步(部分) mirv_snd_filter block ~player\\footsteps\\\*; 5. 去除几乎所有声音 用来录制解说音轨 exec blocksound.cfg 快捷键 切换常用天空贴图 : Q 镜头摆放模式 [ESC]退出 : T 游戏/玩家/解说声音分离录制 : U 镜头激活开关 : I 镜头轨迹显示 : O demo暂停/继续 : P 或 鼠标中键(mouse3) 解锁Nuke Train Inferno天空 : [ 解锁Dust2天空 : ] 去除天空中所有的云朵 : \ 侧边状态栏(血条、KDA) : G HUD只保留准星和击杀 : H 一键高亮击杀信息 : J 开关语音 : K 时停“砸瓦鲁多”开关 : L 回到时停的最开始0s : ' x光 : X 准心开关 : V 开关HUD : B 开关雷达 : N 静音 : M 上一回合 : , 下一回合 : . 更改FOV至105 : - 恢复FOV为默认 : = 打开demoui : shift+F2 添加镜头 : Capslock 清空镜头 : delete +播放速度 : 前侧键(mouse5) -播放速度 : 后侧键(mouse4) 录屏设置开启 : PgUp 录屏设置关闭 : PgDn HLAE录制开始 : ↑ HLAE录制结束 : ↓ 设置当前Tick开始录制 : F5 设置当前Tick结束录制 : F6 打印mirv_cmd信息echo : F7 清楚所有mirv_cmd指令 : F8 加载自拍杆CFG : F10 加载分层录制CFG : F11 加载FFMPEG录制CFG : F12
HLAE启动状态:
成功√
] host_framerate 300
] exec ffmpeg1.请根据CFG的注释正确安装HLAE和FFMPEG
2.没有设置帧率 host_framerate 时报错
3.重复加载本CFG前使用指令: allclear
4.码率和录制速度的测试环境:1920x1080 300FPS预设指令 | 码率≈ | 录制速度
tga | 104GB/min | 55FPS(SSD)
prores | 27GB/min | 54FPS
p4 | 10GB/min | 43FPS
p3 | 5.4GB/min | 46FPS
p2 | 2.3GB/min | 49FPS
p1 | 1GB/min | 49FPS
p0 | 400MB/min | 50FPS当前录制设置: p0
配置
Intel(R)core(TM)i5-8265U CUP @ 1.60GHZ
磁盘驱动 BC501 NVMe SK hynix 128GB
TOSHIBA MQ04ABF100
显卡 NVIDA GeForce MX130
Intel(R)UHD Graphics 620这是我全部能够给出的信息,不知道大佬能看出来问题吗
-
@复古 在 关于hlae+ffmpeg录制高帧素材速度过慢问题 中说:
的确是你的电脑配置拉了呀,还是轻薄本,那你把ffmpeg.cfg改一下,看到的所有
preset=faster
改成preset=ultrafast
还是太慢建议把电脑砸了这个hlae+ffmpeg目前的确有性能瓶颈,1080p一般50~60fps,分多个层总量不变每个层都要打折扣,但是也不会那么慢
-
@Purp1e 我就是用obs录制卡选择这个方法,起码能录制出高帧素材,结果还是摆不掉烂硬件的后腿,不说了,砸电脑去了
-
@Purp1e emmmm,我在ffmpeg.cfg里没看到preset=fast,倒是有“preset 3 -crf”,是不是这个?如果是又怎么改?
-
@复古 -preset 3 改成 -preset 0
-
@Purp1e Okok