-- frame and not per field, since we deinterlace.
local last_resolution = {}
-local caspar_input = VideoInput.new("unix:///tmp/caspar.sock")
+local caspar_input = VideoInput.new("unix:///tmp/caspar.sock", Nageru.VIDEO_FORMAT_BGRA)
caspar_input:change_rate(2.0)
-- Utility function to help creating many similar chains that can differ