Skip to content
Discussion options

You must be logged in to vote

Hi the issue is that set_profile_parameter doesn’t actually change the recording format in OBS, so it keeps saving as .mkv.

The correct way is to use SetRecordSettings, for example:

await ws.set_record_settings({
"rec_format": "mp4"
})

(or the sync version with obswebsocket.requests.SetRecordSettings).

⚠️ Just note: OBS defaults to MKV because it’s safer — if OBS crashes, MKV files can be recovered, while MP4 files may be lost completely. A common solution is to record in MKV and let OBS or FFmpeg automatically remux to MP4 after recording.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Fenrirthviti

This comment was marked as spam.

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