A relation between existence of minima for non convex integrals and uniqueness for non strictly convex integrals of the calculus of variations