Urban Terror Forums: create movie directly from command line - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

create movie directly from command line Rate Topic: -----

#1 User is offline   lukav Icon

  • Account: lukav
  • Joined: 13-February 13
  • Posts: 0

Posted 13 February 2013 - 11:08 PM

Hi everyone, I did some searching and couldn't find if this was a possibility...

I was wondering if there was a command-line argument to directly invoke running a demo and converting to a movie without opening the UrT GUI.

I'm envisioning a workflow like:

urbanterror --command-only < run_demo.cfg > demo.avi


I'd basically like to dump all my demos to avi and then work on them later. I was hoping for a command-only way of running urt so I run it on a single core and potentially render multiple movies at once.

----

Alternatively, is there a standalone tool to convert UrT demos to .avi (or better yet .mp4)?

Thanks for your help, and sorry if this is posted elsewhere please drop a link for a newbie.

#2 User is offline   don Icon

  • Account: don
  • Main tag: GlaD-
  • Joined: 28-February 10
  • Posts: 2,640

Posted 14 February 2013 - 10:31 AM

you could automate it with a macro or shell script, but you'll need the renderer running to capture video, and that requires a window to open.

"H:\Urban Terror\ioUrbanTerror.exe" +demo demoname +video

here's an example that works, but UrT opens. as far as I know, there's no way to capture video without the gui open. you can certainly remove the renderer, which will run urt from the command window, and you can play back demos, but there's no graphics being rendered to record. it doesn't seem technically impossible to not spawn a window but still have the game being rendered and recorded (/video is an integral part of the game, not a screen recorder like fraps), but you're probably on your own there. Luckily, the engine source code is available, so you could monkey around with this.

your best bet in terms of effort is to automate this with a script or macro (shouldn't be too complex to conceptualize). if you run it when you're afk, who cares if the gui loads? You won't want to record multiple instances either, unless you have multiple disk drives.
Then you would load multiple copies of urt, with each using an fs_homepath on a different drive. Be aware that, even if you restrict each instance to 1 core, the disk controllers still require CPU resources. /video dumps a lot of data, so they'll be working hard.
GlaD-don
Past teams:
Partners in Terror | The Dark | Team Terror | Noobs Gone Wild | Xor | Blight Gaming | Area 51 Gaming | Team Lzuruha | Besserman6 | Console | No Care Bears | Zing | Pro5 | American Idols | Team Canada | No Defiance | Unlimited Gaming
<3 to the people who built and sustained the North American competitive community over the years. xil, r, vex, icu, bos, .e, '`|v|~, iF, -x-, ill, un, xor, glad & all the rest. thanks for the games

#3 User is offline   Dark-knight Icon

  • Account: darkknight
  • Country:
  • Joined: 28-February 10
  • Posts: 1,753

Posted 21 March 2014 - 05:50 AM

Necrobump.

Could somebody pick this project up?

View PostbeautifulNihilist, on 09 September 2015 - 08:50 PM, said:

there are no flaws in Urban Terror, only features.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942