Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [SOLVED]Can't record my game  (Read 1773 times)

0 Members and 1 Guest are viewing this topic.

bumblecorn

  • Newbie
  • *
  • Posts: 18
    • View Profile
[SOLVED]Can't record my game
« on: March 07, 2013, 06:04:56 pm »
I've tried 3 different screen recorders and none can record the game, so I am assuming that's not the problem. I can either only see the console window and the actual SFML window is invisible (even though you can see my mouse cursor moving around, the only indication of me playing the game) or I can see like the first frame of the game and then it's frozen. Why can't screen recorders pick up the SFML windows?

Here's my window if that's the issue:

sf::RenderWindow window;
window.create(sf::VideoMode::getDesktopMode(), "game", sf::Style::None);
window.setVerticalSyncEnabled(true);

I also tried setting the style to Fullscreen - nothing.
« Last Edit: March 07, 2013, 07:08:40 pm by bumblecorn »

bumblecorn

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Can't record my game
« Reply #1 on: March 07, 2013, 07:08:19 pm »
Well it works with the style set to Default, only wish the frame-rate didn't drop. I guess this means case closed, even with the borders it will do the job.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: [SOLVED]Can't record my game
« Reply #2 on: March 07, 2013, 10:15:14 pm »
I'm not sure what type of recording software you've tested, but the best way to capture OpenGL or DirectX action is with a recorder, that injects itself directly into the game.
For my Let's Play and other in-game recordings, I've been using PlayClaw and it's working quite well, even with sf::Style::None.

Well it works with the style set to Default, only wish the frame-rate didn't drop.
The frame-rate will always drop, since you'll have to interfere with the graphics output. But by injecting itself into the game, the recording software puts itself between the game and output and thus reducing the frame drops to a minimum.

There are of course also other applications (unfortunately none of them are free nor open source and also Windows only):
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/