Allow overwriting default ffmpeg flags · Issue #83 · animebook/animebook.github.io · GitHub
Skip to content

Allow overwriting default ffmpeg flags #83

Open

Description

@fpetrakov

Problem:
I want to overwrite default ffmpeg qscale flag when taking screenshots, so I can reduce screenshots size and save up some disk space and time when syncing anki

What I've done:
image

What I've expected to get:
Custom qscale flag overwrites the default one

What I've got after pressing "plus" export button:
image

I guess, the problem is that ffmpeg gets two same qscale flags instead of overwriting one with the other and, as a result, doesn't save screenshot, which leads to the error from the screenshot above

Activity

  1. soamsy commented on Sep 29, 2024

    @soamsy
    Member

    Didn't realize there was interest in this. You'd need a code change to get around this. Presumably adding another setting to configure a Variable Bit Rate from 1 to 31, and using that to decide the qscale would do the trick. If you or someone else has the bandwidth to make a pull request, I wouldn't mind merging a fix in.

    Also, my average animebook screenshot size is <100KB, so if you make 10000 flashcards, that puts you at around 1 GB. This doesn't cause problems for me, but I can understand that being an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions