def get_ffmpeg_codec_params_string() -> str:
    """Generate command line params for FFMPEG for a widely compatible codec with good compression"""
    codec_params = [
        "-vcodec libx264",
        "-profile:v main",
        "-level 3.1",
        "-preset medium",
        "-crf 23",
        "-x264-params ref=4",
        "-acodec copy",
        "-movflags +faststart",
        "-pix_fmt yuv420p",
        "-vf scale=920:-2",
    ]
    return " ".join(codec_params)