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

Fix error when run ffmpeg on Windows #74

Merged
merged 2 commits into from
Oct 21, 2017
Merged

Conversation

nvh95
Copy link

@nvh95 nvh95 commented Oct 19, 2017

On some Windows machine, when subprocess ffmpeg runs, leads to errors look like this.

bellowubprocess.CalledProcessError: Command ‘[‘ffmpeg’, ‘-y’, ‘-i’, ‘a.mp4’, ‘-ac’, ‘
1’, ‘-ar’, ‘16000’, ‘-loglevel’, ‘error’, ‘c:\users\boss\appdata\local\temp
\tmpbvht_u.wav’]’ returned non-zero exit status 1

Those errors can be resolved by add argument shell=True to subprocess.checkoutput

@agermanidis
Copy link
Owner

LGTM.

@agermanidis agermanidis reopened this Oct 21, 2017
@agermanidis agermanidis merged commit 5d898ed into agermanidis:master Oct 21, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants