          if not preview:
              _output_opts = '-y ' + _output_opts + ' -c:v libx264'
          if mux_audio:
              _ref_vid_opts = '-c copy -map 0:0 -map 1:1'
              if preview:
                  raise ValueError("Preview for gen-vid with audio muxing is "
                                   "not supported.")
              _output_opts = _ref_vid_opts + ' ' + _output_opts
              _inputs = OrderedDict([(_input_path, _input_opts), (ref_vid.path, None)])
          else:
              _inputs = {_input_path: _input_opts}
          _outputs = {output.path: _output_opts}
 
</s> remove         _output_opts = _fps_arg
        if not preview:
            _output_opts = '-y ' + _output_opts + ' -c:v libx264'
 </s> add         _output_opts = '-y ' + _fps_arg + ' -c:v libx264' </s> remove         if preview:
            raise ValueError("Preview with audio muxing is not supported.")
        # if not preview:
        #    _output_opts = '-y ' + _output_opts
 </s> add  </s> remove         _output_opts = '-vf scale="' + str(scale) + '"'
        if not preview:
            _output_opts = '-y ' + _output_opts
 </s> add         _output_opts = '-y -vf scale="' + str(scale) + '"' </s> remove         if not preview:
            _output_opts = '-y ' + _output_opts + "-vcodec copy -acodec copy"
 </s> add  </s> remove         _output_opts = '-vf '
        if not preview:
            _output_opts = '-y -c:a copy ' + _output_opts
 </s> add         _output_opts = '-y -c:a copy -vf '
          if not preview:
              _output_opts = '-y ' + _output_opts + ' -c:v libx264'
          if mux_audio:
              _ref_vid_opts = '-c copy -map 0:0 -map 1:1'



              _output_opts = _ref_vid_opts + ' ' + _output_opts
              _inputs = OrderedDict([(_input_path, _input_opts), (ref_vid.path, None)])
          else:
              _inputs = {_input_path: _input_opts}
          _outputs = {output.path: _output_opts}
keep keep keep keep replace replace replace keep keep keep keep keep
 Bugfixes and minor updates:
  - Remove preview option from effmpeg tool
  - Remove json filetypes from GUI for alignments files
  - Capture and raise empty timelapse folder errors
  - Move convert to use centralized ImagesLoader 
tools/effmpeg/effmpeg.py