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

Audio cut failing #1

Open
parse2 opened this issue Apr 26, 2020 · 0 comments
Open

Audio cut failing #1

parse2 opened this issue Apr 26, 2020 · 0 comments

Comments

@parse2
Copy link

parse2 commented Apr 26, 2020

Recently I've come across this error whenever using any of the three audio cutting functions:
'Error parsing commandline option start: option requires parameter'

With no programming knowledge and extensive Googling, I believe I've tracked the problem: mpv's syntax doesn't support the old format anymore. I changed the code from

args = [ mpv_path, video_path, "--start", start_timestamp.toString(), "--end", end_timestamp.toString(), "--aid", aid.toString(), "--video=no", "--o=" + filename ]

to

args = [ mpv_path, video_path, "--start=" + start_timestamp.toString(), "--end=" + end_timestamp.toString(), "--aid=" + aid.toString(), "--video=no", "--o=" + filename ]

and it seemingly works the same as before I started getting this error.

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

1 participant