The Wayback Machine - https://web.archive.org/web/20200625150321/https://github.com/obsproject/obs-studio/issues/2416
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

Replay buffer ignores slashes in filename formatting pattern #2416

Open
UserNaem opened this issue Feb 20, 2020 · 5 comments · May be fixed by #2858
Open

Replay buffer ignores slashes in filename formatting pattern #2416

UserNaem opened this issue Feb 20, 2020 · 5 comments · May be fixed by #2858

Comments

@UserNaem
Copy link

@UserNaem UserNaem commented Feb 20, 2020

Steps to Reproduce

  1. In Settings > Advanced, change filename pattern to %CCYY-%MM-%DD/%hh-%mm-%ss
  2. Enable Replay buffer and set a hotkey for it.
  3. Start and stop recording.
  4. Start Replay buffer, save it, stop replay buffer
  5. Open recordings folder.

Expected Behavior

A subfolder called 2020-02-21 (current calendar day), with both recordings formatted as hh-mm-ss.

Current Behavior

The recording will follow the file name pattern properly and go into the subfolder, but the replay buffer will be saved in the root recordings folder. All forward slash and back slash characters are silently replaced with underscores.

@dodgepong
Copy link
Collaborator

@dodgepong dodgepong commented Feb 20, 2020

Does this actually create a folder with the %CCYY-%MM-%DD name in the recordings folder? I wouldn't have expected it to create a folder at all.

@UserNaem
Copy link
Author

@UserNaem UserNaem commented Feb 20, 2020

image
Yep, it does.

@WizardCM
Copy link
Collaborator

@WizardCM WizardCM commented Feb 20, 2020

What if you use a slash in the other direction (backslash)?

@UserNaem
Copy link
Author

@UserNaem UserNaem commented Feb 20, 2020

To quote my first post,

All forward slash and back slash characters are silently replaced with underscores.

@Fenrirthviti
Copy link
Member

@Fenrirthviti Fenrirthviti commented Apr 26, 2020

Tested and confirmed this, and as an aside if you set the recording filename similarly:

%YY/%MM/Video %H-%M

Resulted in the folders being created and the video file properly name (in this test case, it was successfully written to F:\Video\20\04\Video 23-46.mkv), and it would make sense that Replay Buffer should do the same.

@NikhilNarayana NikhilNarayana linked a pull request that will close this issue May 3, 2020
5 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants
You can’t perform that action at this time.