Best way to record all 10 POVs and match them to input commands #1253
-
|
I need to get a ton of POV recording + command input pairs. I already know how to get the tick level command inputs using https://github.com/LaihoE/demoparser and i know i can get recordings via the csdm, but i am not sure what the best way is to get full recordings for all 10 POVs in a demo and also how to time/match them against the tick level inputs. Does anyone have a good idea here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
I think a good way is to probably just get individual sequences for each round/player, there i would always have a start/end tick which i can match against what i get from the demo parser. Then id just need to also match each clip/sequence to the relevant player and the transforation from tick to second should be trivial just /64. THe main question then would be if there is a trivial CLI script or something that i can write that just generates all 10 POV videos without me having to manually click through all of them |
Beta Was this translation helpful? Give feedback.
-
|
I think the fastest way right now is to use the GUI. An other way will be write a script that retrieve ticks and steamids from the database (SQL queries) and then invoke the CLI with the |
Beta Was this translation helpful? Give feedback.
I guess for your use case you need the rounds start/end ticks and all players steamids.
The script would loop through all demos, parse it to retrieve inputs, steamids and ticks.
Then for each steamid, loop through all rounds and run the cli with
csdm video "C:\path\to\demo.dem" startTick endTick --focus-player steamID.You could also use the above query to retrieve information (but still need to parse the demo to get inputs):