Not entirely sure if it's related to being compiled for M1 or possible differences in the M1's VT H264 encoder but has anyone noticed issues streaming with bitrate limiter enabled?
These settings work just fine and I did a 4 hour long stream to Twitch without issues:
Code:
20:10:53.644: [VideoToolbox streaming_h264: 'h264']: session created with hardware encoding
20:10:53.660: [VideoToolbox streaming_h264: 'h264']: settings:
20:10:53.660: vt_encoder_id com.apple.videotoolbox.videoencoder.ave.avc
20:10:53.660: bitrate: 5000 (kbps)
20:10:53.660: fps_num: 60
20:10:53.660: fps_den: 1
20:10:53.660: width: 1920
20:10:53.660: height: 1080
20:10:53.660: keyint: 2 (s)
20:10:53.660: limit_bitrate: off
20:10:53.660: rc_max_bitrate: 5000 (kbps)
20:10:53.660: rc_max_bitrate_window: 1.500000 (s)
20:10:53.660: hw_enc: on
20:10:53.660: profile: default
20:10:53.660:
20:10:53.662: [CoreAudio AAC: 'adv_stream_aac']: settings:
20:10:53.662: mode: AAC
20:10:53.662: bitrate: 128
20:10:53.662: sample rate: 48000
20:10:53.662: cbr: on
20:10:53.662: output buffer: 1536
20:10:53.663: [CoreAudio AAC: 'adv_archive_aac']: settings:
20:10:53.663: mode: AAC
20:10:53.663: bitrate: 128
20:10:53.663: sample rate: 48000
20:10:53.663: cbr: on
20:10:53.663: output buffer: 1536
However VT H264 being a VBR encoder I do get the rare output spike up to 10.000kbit - twitch didn't complain with an overall stream bitrate of 4.800 for 1080p@60 however IMO that's where the 'limit bitrate' setting comes into play. Enabling it however causes streams with "0kbs" to arrive at twitch - e.G. nothing.
I tried various combinations of encoder settings but the gist is that this won't produce any stream output to arrive at twitch while the same without "limit bitrate" works:
Code:
10:05:06.255: [VideoToolbox streaming_h264: 'h264']: session created with hardware encoding
10:05:06.271: [VideoToolbox streaming_h264: 'h264']: settings:
10:05:06.271: vt_encoder_id com.apple.videotoolbox.videoencoder.ave.avc
10:05:06.271: bitrate: 5000 (kbps)
10:05:06.271: fps_num: 60
10:05:06.271: fps_den: 1
10:05:06.271: width: 1920
10:05:06.271: height: 1080
10:05:06.271: keyint: 2 (s)
10:05:06.271: limit_bitrate: on
10:05:06.271: rc_max_bitrate: 5000 (kbps)
10:05:06.271: rc_max_bitrate_window: 1.500000 (s)
10:05:06.271: hw_enc: on
10:05:06.271: profile: default
10:05:06.271:
10:05:06.272: [CoreAudio AAC: 'adv_stream_aac']: settings:
10:05:06.272: mode: AAC
10:05:06.272: bitrate: 128
10:05:06.272: sample rate: 48000
10:05:06.272: cbr: on
10:05:06.272: output buffer: 1536
10:05:06.273: [CoreAudio AAC: 'adv_archive_aac']: settings:
10:05:06.273: mode: AAC
10:05:06.273: bitrate: 128
10:05:06.273: sample rate: 48000
10:05:06.273: cbr: on
(Happy to make a new thread for this if it doesn't belong here but since this is "OBS on Apple Silicon" it seems like a good starting point to ask)