Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record a video from the demo viewer #542

Open
ghost opened this issue Mar 18, 2011 · 7 comments
Open

Record a video from the demo viewer #542

ghost opened this issue Mar 18, 2011 · 7 comments

Comments

@ghost
Copy link

ghost commented Mar 18, 2011

Right now Teeworlds can take screenshots, what about taking it to the next level and put a function to take 25 screenshots per second or to create a .avi?

@JulianAssange
Copy link

this was already posted here?? i thought oy or matricks said no too it

@ghost
Copy link
Author

ghost commented Mar 18, 2011

Then let's see what Oy thinks about it :p

@oy
Copy link
Member

oy commented Mar 27, 2011

This might be done someday but not in the near future.

@ghost
Copy link

ghost commented Sep 3, 2011

this will make slow the game surely, is better to use a program and record from demo playback

@i124q2n8
Copy link

@ghost: "Record a video from the demo viewer" this would not affect the gameplay because it's a demo. ;)
But there are some steps to do.

  1. Slow down/sync playback of the demo to capture every frame. (sync video - demo)
  2. Slow down/sync particle rendering
  3. slow down/sync item rendering (weapons rotation for example)
  4. Sync sound. Fetch n Bytes every frame
  5. Flip the captured rows
  6. Convert the rgb-values to the target format
  7. convert the sound data to the target format
  8. send the converted data to the encoder
  9. fetch the encoded data and merge sound and video
  10. write the output to the disk.

As you can see, this is not that easy

heinrich5991 pushed a commit to heinrich5991/teeworlds that referenced this issue Oct 23, 2016
Fix lost first character when quickly input in chat
@ChillerDragon
Copy link
Contributor

Done in ddnet/ddnet#1928 btw

@Robyt3
Copy link
Contributor

Robyt3 commented Jun 8, 2021

I don't think Teeworlds needs all these dependencies, especially when screen recording is a feature included in any modern operating system and already works with Teeworlds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants