I have not updated yet but will try to troubleshoot the template with you,
Please check if these entities still exist in your updated version of frigate
based on your specific 2nd error the likely edit should be as simple as:
{{ fps_value|int(5) }}
Edit: In fact i believe these two lines could be replaced
fps_value: "{{ states('sensor.' + camera + '_camera_fps') }}"
fps: "{{ fps_value|int if is_number(fps_value) or 5 }}"
with
fps: "{{ states('sensor.' + camera + '_camera_fps')|int(5) }}"
