You asked
Canon eos 1d x mark ii vs canon eos 5d mark iv?
The two cameras share a lot. Both are Canon full-frame DSLRs from 2016 with the EF mount, so every lens on one list works on the other. Neither has in-body stabilisation, so stabilised lenses matter on both. The main spec difference is resolution: the Canon EOS 5D Mark IV has 30.4 megapixels, against 20.2 for the Canon EOS-1D X Mark II.
The 5D Mark IV is the better choice if you want more detail for large prints or for cropping tightly. The guide calls it a workhorse and a good used buy for anyone who already owns EF lenses, so it is the sensible pick if you want to keep your current gear and spend less. The pages give little beyond the specs for the 1D X Mark II, so the guide can't say what it does better, and its lower resolution is the only clear difference it states.
For dim light and moving subjects, both bodies have the same full-frame sensor, so the lens will matter more than the body. A fast zoom such as the Canon EF 24-70mm f/2.8L II USM suits general use, and the Canon EF 70-200mm f/2.8L IS III USM suits subjects at a distance. Stabilisation steadies the camera, not a moving subject, so it helps less here than the lens's maximum aperture. The sensor sizes guide explains why full frame matters for this.
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}.