This paper solves the spectral factorization problem for a class of processes with time-dependent rational spectral density. As a consequence, the prediction problem for these processes is solved based on the integral operator method. In addition, the connection between processes with time-dependent rational spectral density and time-dependent ARMA processes is discussed.