I did some searching here and couldn't find a solution, but I found my own, so I figured it might be useful to post my solution in here for others.
I'm using the Windows version of OBS (0.637b) to record my screen to an MP4 file. Everything was working great when I played the recorded files in VLC and Windows Media Player, but QuickTime Player on both Windows and Mac was having trouble with the files. It was correctly loading the file and sizing the playback window, but the video was all black.
I did some experimenting with MediaInfo to see if I could find the difference between the OBS files and other working MP4 files. There were a lot of differences but I finally found the difference that mattered: on OBS files, the Transfer Characteristics are sYCC. On the files that are working, the Transfer Characteristics are BT.709. I put the following option into the Custom x264 Encoder Settings:
transfer=bt709
Now QuickTime Player is able to view the MP4 files created by OBS and I can import them into iMovie. Hope this helps someone out there!
I'm using the Windows version of OBS (0.637b) to record my screen to an MP4 file. Everything was working great when I played the recorded files in VLC and Windows Media Player, but QuickTime Player on both Windows and Mac was having trouble with the files. It was correctly loading the file and sizing the playback window, but the video was all black.
I did some experimenting with MediaInfo to see if I could find the difference between the OBS files and other working MP4 files. There were a lot of differences but I finally found the difference that mattered: on OBS files, the Transfer Characteristics are sYCC. On the files that are working, the Transfer Characteristics are BT.709. I put the following option into the Custom x264 Encoder Settings:
transfer=bt709
Now QuickTime Player is able to view the MP4 files created by OBS and I can import them into iMovie. Hope this helps someone out there!