Let $f\in L^1([a,b])$, and extend $f$ to be $0$ outside $[a,b]$. Let $$ \phi(x)=\frac{1}{2h}\int_{x-h}^{x+h}f $$
How to prove $$ \int_a^b\left | \phi\right | \leqslant\int_a^b\left|f\right| $$
To @martini:
I asked this question because I find something strange: if we let $f(x)=x^2$, then $\phi(x)=x^2+\frac{1}{3}h^2$, so the inequality doesn't hold apparently.
Clearly, the problem is I do not extend $f$ to be $0$ outside $[a,b]$, so $\phi$ should be smaller near $a$ and $b$. However, when I put this example into your proof, I cannot figure out what goes wrong. It seems you have proved $$ \int_a^b(x^2+\frac{1}{3}h^2) \leqslant\int_a^b x^2 $$
I think the problem lies in your exchange of $\chi$, but still not clear.