ffmpeg_player: only register the audio/video formats once