This Integral Will Take Some Trickery To Solve

Calculus Level 2

$\large \int_{0}^{\infty} \dfrac{|\cos(\pi x)|}{4x^2 - 1} \, dx$

Find the value of the closed form of the above integral.