...
Solution: in OBS settings switch recording format from flv (by default) to mp4
3. If RTMP stream is published from OBS using QuickSync GPU encoding, P-frames contain SPS or PPS and considered to be keyframes
Symptoms: Error messages in client log like
Code Block | ||
---|---|---|
| ||
11:29:56,151 ERROR H264AccessUnit - RTMP-pool-12-thread-23 Failed to get config, H264 can't generate AVC Config without sps/pps
11:29:56,151 ERROR H264AccessUnit - RTMP-pool-12-thread-23 Can't generate extradata, H264 can't generate extra data without sps/pps
11:29:56,151 INFO BitstreamNormalizer - RTMP-pool-12-thread-23 Add config in key frame
11:29:56,151 WARN BitstreamNormalizer - RTMP-pool-12-thread-23 Timing problem: Last received frame time 30758940; syncTime - 341766.
Current frame time - 30758940; syncTime - 341766; frame type - videoFrameKey |
stream FPS is detected twice as much FPS defined in settings (for example, VIDEO_FPS: 60
while setting is 30)
Solution:
a) since build 5.2.627. set the following parameter
Code Block | ||
---|---|---|
| ||
h264_strict_kframe_detect=true |
b) for previous builds, disable QuickSync in OBS