FCPX imported clip turns black
When I import a 4K clip from my action cam to FCPX it flickers. I then use Transcode media - Create optimized media. The clip then no longer flickers but the end of the clip is black with sound.
When I also use Create proxy media, the result is the same.
When I open the clip into Quicktimefrom the finder it's OK 'til the end.
I am on a Mac Mini 2018 3Ghz i5, GB 16 ram and use Mojave 10.14.6
Any tips on how to solve this issue?
Thank you.
Mac mini, macOS 10.14