Fixed FFmpeg video remux
Don't mux when we couldn't get the reference frame count