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

Conversion of m4a to vorbis with ffmpeg does not work. #6045

Closed
ghost opened this issue Jun 22, 2015 · 2 comments
Closed

Conversion of m4a to vorbis with ffmpeg does not work. #6045

ghost opened this issue Jun 22, 2015 · 2 comments

Comments

@ghost
Copy link

@ghost ghost commented Jun 22, 2015

This is the command I used. the three ffmpeg binaries are in the same folder.

youtube-dl.exe --restrict-filenames -o %(title)s.%(ext)s -f bestaudio --audio-format vorbis fWyVaX3L77I

I've tried it with multiple videos and they are still in m4a format instead of ogg vorbis.

@ghost ghost changed the title Conversion m4a to vorbis with ffmpeg does not work. Conversion of m4a to vorbis with ffmpeg does not work. Jun 22, 2015
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 22, 2015

What you need is --recode-video. For example:

youtube-dl --restrict-filenames -o "%(title)s.%(ext)s" -f bestaudio --recode-video ogg fWyVaX3L77I

Indeed the option name is somewhat misleading. Anyway it's used for multimedia format conversion.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 22, 2015

Or you could add --extract-audio, which tells youtube-dl to run the postprocessor.

@jaimeMF jaimeMF closed this Jun 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.