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

Note that the format can be autodetected #545

Merged
merged 3 commits into from Mar 6, 2021
Merged

Conversation

interfect
Copy link
Contributor

The format for from_file doesn't actually default to MP3. See here:

# If format is not defined
# ffmpeg/avconv will detect it automatically
if format:
conversion_command += ["-f", format]
if codec:
# force audio decoder
conversion_command += ["-acodec", codec]

This updates the documentation to reflect that.

The format for `from_file` doesn't actually default to MP3. See here:

https://github.com/jiaaro/pydub/blob/23779fdb186fe66e4252e61062f36c1ffa229bb9/pydub/audio_segment.py#L659-L666

This updates the documentation to reflect that.
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