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

Fail test in macOS #292

Closed
skar404 opened this issue Jun 14, 2018 · 2 comments
Closed

Fail test in macOS #292

skar404 opened this issue Jun 14, 2018 · 2 comments

Comments

@skar404
Copy link
Contributor

skar404 commented Jun 14, 2018

Fail test in macOS:

Traceback (most recent call last):
  File "/Users/users/project/pydub/test/test.py", line 573, in test_export_as_ogg
    exported_ogg = seg.export(format='ogg')
  File "/Users/users/project/pydub/test/pydub/audio_segment.py", line 868, in export
    p.returncode, conversion_command, p_err))
pydub.exceptions.CouldntEncodeError: Encoding failed. ffmpeg/avlib returned error code: 1

Command:['avconv', '-y', '-f', 'wav', '-i', '/var/folders/z1/z1pzg4cj7k3cw5fbbhq58r740000gn/T/tmpqou5gh72', '-acodec', 'libvorbis', '-write_xing', '0', '-f', 'ogg', '/var/folders/z1/z1pzg4cj7k3cw5fbbhq58r740000gn/T/tmpanhhu88i']

Your System configuration

@jiaaro
Copy link
Owner

jiaaro commented Jun 22, 2018

It looks like you installed avlib without the ogg codec, there are flags you can specify when you install (I assume you used homebrew?) to include those extra codecs

@skar404
Copy link
Contributor Author

skar404 commented Jun 22, 2018

@jiaaro sorry, my issues duplicate in #269

@skar404 skar404 closed this as completed Jun 22, 2018
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

2 participants