Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--all command with --no-accept-gaps not failing gappy sequences #362

Open
digitensions opened this issue Feb 1, 2022 · 5 comments
Open
Assignees

Comments

@digitensions
Copy link
Contributor

Hi there,

A colleague reported successful encoding of a sequence with a gap in it today, despite the use of the --no-accept-gaps flag. I may have misunderstood proper use of this flag so grateful for feedback. Details below, and I'm happy to supply the complete log if needed.

Using RAWcooked v21.09, command used within shell script was formatted:
rawcooked -y --all --no-accept-gaps -s 9000000 ${DPX_PATH}{} -o ${MKV_DEST}mkv_cooked/{}.mkv &>> ${MKV_DEST}mkv_cooked/{}.mkv.txt

This is the warning received for the missing dpx before encoding started but after first analysis completed:
Warning: incoherent file names (gap in file names). N_246024_2_01of01/2048x1556/Scan01/R01of01/N_246024.95791.dpx

Encoding was from RAWcooked supplied concat, and passed closing analysis.

Thanks very much,
Joanna

@JeromeMartinez JeromeMartinez self-assigned this Feb 4, 2022
@JeromeMartinez
Copy link
Member

--no-accept-gaps currently provides a warning and a question to the user if it is wished, and the -y automates the answer "yes" (-n would reject the processing).

I understand that this is not what is expected, so I'll change the behavior to something like that:

  • if --no-accept-gaps, it is rejected,
  • if --accept-gaps, it is accepted,
  • if --ask-accept-gaps (which would be the default), question to the user or obey -y / -n.

@digitensions
Copy link
Contributor Author

digitensions commented Feb 4, 2022 via email

@JeromeMartinez
Copy link
Member

Happy to close this!

Don't, I think it is relevant to avoid such surprise. Developers may have an idea in mind which makes sense to them but does not make sense to users, and a tool is for users o they have priority, so here current behavior needs to be changed if there is a better method.

If the proposal makes sense to users, I'll try to implement some options this way.

@digitensions
Copy link
Contributor Author

digitensions commented Feb 7, 2022

Just an idea, as I know you're busy. Would it be better perhaps to default to '--no-accept-gaps' from the '--all' command? Interested to hear from other users, but after speaking with colleagues here I know there was interest in RAWcooked failing gaps in sequences from business as usual workflows, as it may indicate fault in scanning or copying that we need to know about.

At present we have three servers processing in house scans where we definitely want gaps to fail an encoding, and one server processing externally supplied legacy scans from LTO tape that frequently suffer from gaps.
Thank you!

@kieranjol
Copy link
Contributor

kieranjol commented Feb 7, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants