Skip to content

list-scenes option -q/--quiet does not suppress all output #356

Closed

Description

@Boulder08

Problem/Use Case

The comma-separated timecodes list that is output distracts the user from important information when PySceneDetect is used inside some other tool. Setting -q does stop the table from showing up but not this list.

Solutions

Make -q skip the list display as well, or add a separate parameter for this option. The progress bar is a very useful feature so muting all output is not a good workaround.

Activity

  1. Breakthrough commented on Oct 12, 2023

    @Breakthrough
    Owner

    What version of PySceneDetect are you using? In the latest version, you shouldn't see any output when using -q at all. Do you see the same issue when you use -v none?

    I can also look into adding a config file option for always showing the progress bar. The progress bar always goes to stderr, so it might be okay to enable it regardless of the verbosity.

  2. Boulder08 commented on Oct 12, 2023

    @Boulder08
    Author

    It's v0.6.2, installed via pip3.

    Sorry, I think I should have been more clear: the issue is in the list-scenes parameter. Setting -q for pyscenedetect itself mutes everything (as does -v none).

  3. Breakthrough commented on Nov 3, 2023

    @Breakthrough
    Owner

    Gotcha, thanks for clarifying. Originally this was to allow using scenedetect output directly with mkvmerge but this ended up getting overlooked with the logging overhaul in v0.6. It shouldn't be a problem to hide it now, thanks for the report.

  4. self-assigned this
    on Nov 3, 2023
  5. added this to the v0.6.3 milestone on Nov 3, 2023
  6. changed the title [-]Ability to disable printout of comma-separated timecodes if csv is output[/-] [+]`list-scenes` option `-q`/`--quiet` does not suppress all output[/+] on Dec 9, 2023
  7. added a commit that references this issue on Dec 9, 2023
    2be19fe
  8. added a commit that references this issue on Apr 18, 2024
    1904e69
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions