FFMPEG input options

The ffmpeg camera integration only allows arguments to be added after the input argument (using EXTRA_ARGUMENTS). Some ffmpeg configurations require options to configure the input format, for example Raspberry Pi camera is optimally configured using

ffmpeg -f video4linux2 -input_format h264 -i /dev/video0

Arguments added using the EXTRA_ARGUMENTS parameter are only passed after the -i argument, which does not allow the input to be configured. Can an extra parameter be added to ffmpeg camera to allow these arguments to be passed?