mipops/dvrescue

use ignore and merge options for frame filtering

dericed opened this issue · 0 comments

The checkboxes for frame filtering are in the settings panel but not implemented. I see the capture command constructed at

var arguments = ['-y', 'device://' + id].concat(opts).concat(['-x', xml, '-c', scc, '--cc-format', 'scc', '-m', file, '-m', '-', '--verbosity', '9', '--csv'])
.

Based on the settings checkboxes we should use

  • userSelectedSpeedOption) --merge-output-speed or --merge-ignore-speed
  • userSelectedConcealedOption) --merge-output-concealed or --merge-ignore-concealed

These options are output specific so in the capture command of:

-m file -m -

The piped output for playback should always include --merge-output-speed and --merge-output-concealed, but the file output options are set by the user, so it should be:

--userSelectedSpeedOption --userSelectedConcealedOption -m file --merge-output-speed --merge-output-concealed -m -

This way all frames are sent to player but frames selected to send to the output file are controlled by the user's settings.