Stream-Timestamper β is a third-party script for OBS Studio that allows you to record timestamps to a file during a live stream. The script was developed for personal use, as one of my methods for learning English is through video games. This tool is extremely helpful for that: I mark timestamps, rewatch the stream, and use those marks to review moments I didnβt understand β such as words or sentence structures.
Other streamers might use it, for example, to review highlights in CS: like when you got killed even though you were already behind a wall, or to rewatch how you pulled off an ace.
- Save timestamps to a file during the livestream.
- Retrieve the stream title from Twitch or YouTube via API.
- Support for a hotkey to instantly add a timestamp.
- Option to manually set a custom title.
- Download
timestamp.py. - In OBS Studio open Tools β Scripts.
- Click
+, add filetimestamp.py.
To retrieve the stream title from Twitch, you need to have 2FA enabled!
- Go to the Twitch Developer site and log in with the account that will be used for the stream.
- Click
Register Your Application.
- Fill in the information as shown in the image below. Click
Create.
-
New parameter has appeared at the bottom β Client ID, you will need to paste it in the script settings later.
-
Copy the following link:
https://id.twitch.tv/oauth2/authorize?response_type=token&client_id=YOUR_CLIENT_ID&redirect_uri=https://localhost
Replace
YOUR_CLIENT_IDwith your actual Client ID from the previous step. -
After you open the link, you will be redirected to another URL.
From this new URL, copy the characters as shown in the image below β this is your OAuth token, which you will also need to paste into the script settings.
Now you can use the script with Twitch.
- Go to Google Cloud Console.
- Click
APIs & Services.
-
Select Library, type
youtube v3in the search bar, then clickEnable. -
Go to the Credentials tab on the left.
-
Click
Create Credentials. SelectAPI key.
- A window with your API key will appear. You will need to paste it into the script settings.
- Go to YouTube Account Settings, authorize with your streaming account.
- Copy Channel ID, you will need to paste it into the script settings.
- If you stream to both YouTube and Twitch simultaneously, check the appopriate box in the settings where you want to get the stream title from.
- The maximum number of YouTube requests per day is about 50, maybe more, so don't overdo it!
- For the stream title to be pulled up, you need to wait:
- Twitch β about 15 seconds;
- YouTube β about a minute.







