Radiation transfer in the fluid frame: A covariant formulation: Part I: Radiation hydrodynamics