You asked
Canon eos 5d mark iv vs pentax k 1?
The two cameras are close. Both are 2016 full-frame DSLRs with the same 36 x 24mm sensor size, so in dim light and with moving subjects they start level. The differences are mount and stabilisation. The Canon EOS 5D Mark IV has 30.4 megapixels, the Canon EF mount and no stabilisation in the body, so you rely on stabilised lenses for slow shutter speeds. The Pentax K-1 has 36.4 megapixels and stabilisation built into the body, which helps every lens you attach, including old manual K lenses that fit directly.
The guide leans towards the 5D Mark IV, mainly for lens choice. Canon EF has a much longer list for this camera, including the Canon EF 85mm f/1.2L II USM for low-light portraits and the Canon EF 70-200mm f/2.8L IS III USM for sport. If you prefer the K-1, pair it with the Pentax HD D FA* 85mm f/1.4 ED SDM AW or the Pentax HD D FA* 70-200mm f/2.8 ED DC AW. Its native lens range is shorter, and the guide notes it was later replaced by the K-1 Mark II.
For birds and sport, freezing motion means fast shutter speeds and high ISO, so a fast lens and a body that stays clean at high ISO count for more than stabilisation. See wildlife and sport. For the basics of a first kit, see lenses.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.