OpenArena Message Boards

OpenArena => General => Topic started by: dash9 on September 28, 2008, 09:37:00 AM



Title: Cutting a demo
Post by: dash9 on September 28, 2008, 09:37:00 AM
Hi, How can I extract just a small part from a demo I recorded? (Right now I'm thinking I could play it and, during that time, /record only the part I want. I just tried, does not work - when I run the record command it stops the demo.)


Title: Re: Cutting a demo
Post by: qubodup on September 28, 2008, 11:00:49 AM
depending on the format I would use avidemux (http://fixounet.free.fr/avidemux/)


Title: Re: Cutting a demo
Post by: dash9 on September 28, 2008, 12:17:30 PM
depending on the format I would use avidemux (http://fixounet.free.fr/avidemux/)
I guess this is one way to do it, encode the entire demo to avi then edit the avi. But I want to edit the dm_68 demo file and get a dm_68 file out of it, not an avi. Is it possible?


Title: Re: Cutting a demo
Post by: Cacatoes on September 28, 2008, 12:32:32 PM
Some did modify demo files, but I doubt it's an easy task ...
Demo format file has been documented, but IIRC Q3 hasn't been documented as much.
Such tools exist for Quake 2 as you can see on such oldschool pages : http://cineplex.planetquake.gamespy.com/movfiles.html

I don't know if you can do it by hand ... you may give it a try :P


Title: Re: Cutting a demo
Post by: fufinha on September 28, 2008, 12:49:33 PM
It's a pain in the arse :D If your recording a game then the best thing to to do is record it in sections.. I play freeze tag so it's not an issue to hit the arrow keys as I'm usually frozen most the game. I don't know how many times I've hit a key by mistake on a long demo.

If you have a long demo I will use /timescale 1 to 4 or whatever is appropriate which will play it in faster motion. If you play it too fast and skip by it then you can always look at the time and note where you want to start/stop recording.

I just practice on Kick52's demo :D

ps. I dont think you can record playback of a demo


Title: Re: Cutting a demo
Post by: damocles on September 28, 2008, 12:57:26 PM
At least as far as viewing, I think you can use Defrag to jump to a specific time (see defrag/docs/readme-[Demos-Seeking].txt for this).