The setup with the Intel Core i5-8400 wins here. That GT710 is basically a paperweight, and you won't find anything better than a Ryzen 2600 in this price range.
Check out this build featuring the AMD Ryzen 5 2400G
-Integrated graphics actually outperform both the Intel Core i5-8400 and the GT710.
-CPU is a bit weaker than those 6-core chips, but still decent—roughly on par with an older i7.
-Modular PSU comes with a 5-year warranty.
-Great SSD here, also carries a 5-year warranty.
-16 GB of fast RAM.
If you can stretch the budget, grab a Samsung 500 GB SSD; it makes editing much smoother.
A 6-core processor is also a smart move (in that case, I'd go with the Intel Core i5-8400 without a dedicated GPU), but I think the AMD Ryzen 5 2400G is perfectly fine. Plus, that platform gives you plenty of room to upgrade later if you want more power (you could just drop in an 8-core chip from the next generation).
P.S.
It's from futur IT—includes free shipping and assembly.
