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 saving mp3 with FFmpeg backend #3385

Closed
wants to merge 1 commit into from
Closed

Conversation

mthrok
Copy link
Collaborator

@mthrok mthrok commented May 29, 2023

Encoder name must be libmp3lame when saving mp3.

Encoder name must be libmp3lame when saving mp3.
@pytorch-bot
Copy link

pytorch-bot bot commented May 29, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/audio/3385

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit 128f65b:

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

mthrok added a commit to mthrok/audio that referenced this pull request May 30, 2023
When dealing with vorbis format, FFmpeg expects "ogg" container/extension
with "vorbis" encoder. It does not recognize "vorbis" container/extension.

libsox-based torchaudio I/O used to handle vorbis extension.

This commit refactors the internal of save argument and adds support to vorbis
as extension for those cases with FFmpeg backend.

This also fixes the case of mp3

pytorch#3385
@mthrok
Copy link
Collaborator Author

mthrok commented May 30, 2023

Superseded by #3387

@mthrok mthrok closed this May 30, 2023
@mthrok mthrok deleted the fix-mp3 branch May 30, 2023 03:40
mthrok added a commit to mthrok/audio that referenced this pull request May 30, 2023
When dealing with vorbis format, FFmpeg expects "ogg" container/extension
with "vorbis" encoder. It does not recognize "vorbis" container/extension.

libsox-based torchaudio I/O used to handle vorbis extension.

This commit refactors the internal of save argument and adds support to vorbis
as extension for those cases with FFmpeg backend.

This also fixes the case of mp3

pytorch#3385
mthrok added a commit to mthrok/audio that referenced this pull request May 31, 2023
When dealing with vorbis format, FFmpeg expects "ogg" container/extension
with "vorbis" encoder. It does not recognize "vorbis" container/extension.

libsox-based torchaudio I/O used to handle vorbis extension.

This commit refactors the internal of save argument and adds support to vorbis
as extension for those cases with FFmpeg backend.

This also fixes the case of mp3

pytorch#3385
mthrok added a commit to mthrok/audio that referenced this pull request May 31, 2023
When dealing with vorbis format, FFmpeg expects "ogg" container/extension
with "vorbis" encoder. It does not recognize "vorbis" container/extension.

libsox-based torchaudio I/O used to handle vorbis extension.

This commit refactors the internal of save argument and adds support to vorbis
as extension for those cases with FFmpeg backend.

This also fixes the case of mp3

pytorch#3385
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants