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

Player options #323

Closed
rabaimorp opened this issue Jun 13, 2024 · 4 comments
Closed

Player options #323

rabaimorp opened this issue Jun 13, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@rabaimorp
Copy link

rabaimorp commented Jun 13, 2024

I always add additonal flags when I normally play videos.
Example:
ffplay -fflags +nobuffer -volume 9 -loop 0

There is an option in the config file to define the player, but putting my flags after it like a command doesn't work. (Maybe I'm just too stupid to figure how to do it but in that case documentation would be great.)

Something working like this in the config would be great:
player = "ffplay"
player-flags = "-fflags +nobuffer -volume 9 -loop 0"

@rabaimorp rabaimorp added the enhancement New feature or request label Jun 13, 2024
@THEGOLDENPRO
Copy link
Member

You're not stupid player args in the player key don't work. I had planned to add a feature like this but I almost forgot.

I'll squeeze it into the feature list for the next major mov-cli version (v4.4) so hopefully you'll be seeing it soon.

@THEGOLDENPRO THEGOLDENPRO self-assigned this Jun 14, 2024
THEGOLDENPRO added a commit that referenced this issue Jun 15, 2024
@THEGOLDENPRO
Copy link
Member

Player args now exist in the latest version of mov-cli. Check out the wiki on how to use it: https://github.com/mov-cli/mov-cli/wiki/Configuration#player-args

I hope this helps with your issue.

@rabaimorp
Copy link
Author

The wiki could give an example for more args:
args = ['--loop', '--volume-max=250', '--fs']
maybe something like this, so I'ts more obvious that its not like normal cli when you just separate options with spaces.

@THEGOLDENPRO
Copy link
Member

The wiki could give an example for more args: args = ['--loop', '--volume-max=250', '--fs'] maybe something like this, so I'ts more obvious that its not like normal cli when you just separate options with spaces.

I could add that.

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

No branches or pull requests

3 participants