Facepunch / garrysmod-requests

Feature requests for Garry's Mod
84 stars 24 forks source link

Make "startmovie" tga output optional #456

Open klotztech opened 9 years ago

klotztech commented 9 years ago

It would be really nice to have the option to completely turn off tga image file output (via a console variable) when using the startmovie command to render out a demo file. Sometimes you only want to have the audio being output to the wave file and you dont need tons of uncompressed tga files being written to disk. I think it would help movie makers to speed up their process of getting demo recordings, especially slow motion shots, out to their final video format.

Best regards

robotboy655 commented 9 years ago

Why the hell are you using .tgas and not an actual video container?

klotztech commented 9 years ago

I myself don't want to create a video at all, i just want to use it to grab voice chat audio from recorded demos of my server, without creating unnecessary tga files or a whole video file, that needs converting later.

thegrb93 commented 9 years ago

Aren't there programs you can use to record another program's audio stream? Just do that.

klotztech commented 9 years ago

I'm sure there is, but that would require me to play the demo in realtime, which is not the case when using the startmovie command with a low host_framerate setting and it would be even faster if it didn't output any frames at all.

thegrb93 commented 9 years ago

Don't use startmovie and it will run the demo in realtime.

klotztech commented 9 years ago

Sorry, I think you misunderstood. I don't want to play the demo in realtime because it takes longer (in realtime) than if it was to directly only write the audio to a wave file. That would be benefitial, because like that I don't have to wait too long until my demo finishes playing. The startmovie command renders tga files at a constant framerate defined by the convar host_framerate and the total "exporting" only takes as long as it needs to render the frames. If now I could completely turn of the image output, it would only need as long as it takes to write the audio to the wave file. So I need some kind of way to turn off .tga-file image output with some kind of convar.

thegrb93 commented 9 years ago

Oh ok. Well I doubt that is possible. Will have to wait and see.

ottworks commented 9 years ago

You could always set the framerate to something stupid like 0.00001

klotztech commented 9 years ago

anything below 1 is interpreted as 0, so it only goes down to 1 fps :(