obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

after the encoder has been initialized warnings when using stream encoder for recording

Open exeldro opened this issue 1 year ago • 1 comments

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

30.2.0-rc1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/IzjRZUMB8cqzbjpC

OBS Studio Crash Log URL

No response

Expected Behavior

No warnings in the log file and initialize the encoder once.

Current Behavior

These warning log lines are generated

10:00:34.328: encoder 'advanced_video_stream': Cannot apply a new video_t object after the encoder has been initialized 10:00:34.328: encoder 'advanced_video_stream': Cannot set the scaled resolution after the encoder has been initialized 10:00:34.328: encoder 'advanced_video_stream': Cannot enable GPU scaling after the encoder has been initialized`

Steps to Reproduce

  1. Have replay buffer and recording start when the stream starts image
  2. use the same encoder for recording and streaming image
  3. start streaming

Anything else we should know?

It looks like OBSBasic::StartStreaming calls AdvancedOutput::SetupOutputs twice, once via AdvancedOutput::SetupStreaming and once via AdvancedOutput::StartRecording

exeldro avatar Jul 07 '24 08:07 exeldro

hmmn...just bumped into this error myself .....stopped me right in my tracks

phillypro avatar Aug 18 '24 03:08 phillypro