mipops / dvrescue

Archivist-made software that supports data migration from DV tapes into digital files suitable for long-term preservation. Snapshot daily builds are at https://mediaarea.net/download/snapshots/binary/dvrescue/.
BSD 3-Clause "New" or "Revised" License
93 stars 20 forks source link

fail at invalid control #717

Closed dericed closed 1 year ago

dericed commented 1 year ago

Currently, I have two decks attached.

% dvrescue --list_devices
0x8004601025d6122: DV-VCR (Sony DSR-45)
59:00000000:003bc300: UltraStudio Express [DeckLink]
% dvrescue --list_controls
/dev/tty.Bluetooth-Incoming-Port: tty.Bluetooth-Incoming-Port
/dev/tty.usbserial-AB0L8UIT: tty.usbserial-AB0L8UIT
/dev/tty.RS422 Deck Control: tty.RS422 Deck Control

The tty.usbserial-AB0L8UIT is plugged in. When I try % dvrescue --control "tty.usbserial-AB0L8UIT" -cmd play, the DV deck starts. This isn't expected since I was trying to control the deck attached to the Ultrastudio card.

When I try % dvrescue --control "/dev/tty.usbserial-AB0L8UIT" -cmd play, then it works as expected.

So I presume that if the --control option is invalid, then it reverts to a default but that could result in controlling the wrong deck. IMO % dvrescue --control "tty.usbserial-AB0L8UIT" -cmd play should error, since it's a typo in the control.