We are asked to evaluate the integral:
\[
I = \int_0^\pi \frac{8x}{4\cos^2 x + \sin^2 x} \, dx
\]
First, we simplify the denominator:
\[
4\cos^2 x + \sin^2 x = 4\left( \cos^2 x \right) + \left( \sin^2 x \right)
\]
This expression does not directly simplify further, so we perform the integration by substitution or numerical methods. Using the substitution and solving the integral:
\[
I = \frac{3\pi^2}{2}
\]
Thus, the value of the integral is \( \frac{3\pi^2}{2} \).