Is there a way to extract in-game voice from a .dem file?
20 replies, posted
So, I've recorded a demo but I only want the in-game voice from it. I'm guessing that the voice is recorded as audio and the rest of the audio is generated on playback, so is there any way to get only the voice?
what do u mean by in-game voice? and you cant exract any audio files from demo files imo
Yeah but that's your opinion. MAYBE it's possible.
Fraps. Re-record using fraps, and then convert the avi to a mp3 file. That or audacity.
But there'd still be the in-game sounds in it.
I think you can mute SFX in settings.
[QUOTE=Ezhik;28008202]I think you can mute SFX in settings.[/QUOTE]
That mutes voices as well.
[QUOTE=Antary;28008427]That mutes voices as well.[/QUOTE]
Exactly...It is impossible to use audacity to mute the sfx manually. If so is done, the voice can be heard, but its a very long, boring and hard procedure.
Is it audio from over a microphone?
Run the demo in TF2, and in console do voice_recordtofile 1
What do you mean the voices, like the phrases that the characters say when you use the 'Incoming!' or 'MEDIC!' commands?
[QUOTE=The Chef;28009581]Is it audio from over a microphone?
Run the demo in TF2, and in console do voice_recordtofile 1[/QUOTE]
Thanks. Unfortunately, the demo keeps crashing at the same point during playback. Anyone know how to fix it?
While we're talking about .dem files, is there a program that can convert them to any normal video (like .avi)?
[QUOTE=DatWut?;28024513]While we're talking about .dem files, is there a program that can convert them to any normal video (like .avi)?[/QUOTE]
Yes, it's called the game you recorded it in.
Open it up in windowed mode with the resolution you want and type "startmovie moviename avi" in console without the quotation marks.
A window should come up telling you to choose a codec. Choose DivX (if it doesn't show up, you need to install it) and then configure it to fit your needs.
Then, type "playdemo demoname" in console and your demo should start playing.
Once it's finished, type "endmovie" in console.
The .avi file should be in your team fortress or tf folder.
[QUOTE=DatWut?;28024513]While we're talking about .dem files, is there a program that can convert them to any normal video (like .avi)?[/QUOTE]
if you've ever played brawl, you'd realize that it's just a bunch of commands, like a text file. The game just simulates those commands again.
[QUOTE=DatWut?;28024513]While we're talking about .dem files, is there a program that can convert them to any normal video (like .avi)?[/QUOTE]
Dem files are simply commands that play when opened in the game recorded in. So no.
[QUOTE=HyperTails;28025764]Dem files are simply commands that play when opened in the game recorded in. So no.[/QUOTE]
Wrong, the game can render it again, and record the output to a video file.
I use this commands in-game to render my videos:
[quote]
startmovie mahMovie avi (notice the space between mahMovie and avi)
playdemo mahDemo
[/quote]
After the demo finishes:
[quote]
endmovie
[/quote]
Then the video file should be in
[quote]C:\Program Files\Steam\steamapps\<your username>\team fortress 2[/quote]
[QUOTE=M28;28027208]Wrong, the game can render it again, and record the output to a video file.
I use this commands in-game to render my videos:
After the demo finishes:
Then the video file should be in[/QUOTE]
That's not "converting", that's recording.
[QUOTE=Ond kaja;28027419]That's not "converting", that's recording.[/QUOTE]
That's not recording, that's rendering.
[QUOTE=teletext;28027432]That's not recording, that's rendering.[/QUOTE]
Does it really matter? Whatever it really does, it takes the .dem and makes it a .avi. For all I care, it could be making a Giraffe eat the .dem and shit out a .avi.
[QUOTE=teletext;28027432]That's not recording, that's rendering.[/QUOTE]
Rendering and recording are not mutually exclusive.
[QUOTE=Ond kaja;28028146]Rendering and recording are not mutually exclusive.[/QUOTE]
so?
what he described was rendering, it displays the frames on screen and dumps the frames at a fixed framerate to an .avi file at the same time
also who would record something rendering anyway
Sorry, you need to Log In to post a reply to this thread.