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

Unrecognized option 'c' #7251

Closed
adrianTNT opened this issue Oct 20, 2015 · 1 comment
Closed

Unrecognized option 'c' #7251

adrianTNT opened this issue Oct 20, 2015 · 1 comment

Comments

@adrianTNT
Copy link

@adrianTNT adrianTNT commented Oct 20, 2015

On CentOS 6.x with FFmpeg version 0.6.5 I tried this command but failed to get an Mp3:

youtube-dl --audio-format mp3  https://www.youtube.com/watch?v=KMU0tzLwhbE

This is the output:

[youtube] KMU0tzLwhbE: Downloading webpage
[youtube] KMU0tzLwhbE: Downloading video info webpage
[youtube] KMU0tzLwhbE: Extracting video information
[youtube] KMU0tzLwhbE: Downloading DASH manifest
[youtube] KMU0tzLwhbE: Downloading DASH manifest
[download] Destination: Developers-KMU0tzLwhbE.f133.mp4
[download] 100% of 5.26MiB in 00:00
[download] Destination: Developers-KMU0tzLwhbE.f141.m4a
[download] 100% of 5.53MiB in 00:00
[ffmpeg] Merging formats into "Developers-KMU0tzLwhbE.mp4"
WARNING: Your copy of ffmpeg is outdated, update ffmpeg to version 1.0 or newer if you encounter any errors.
ERROR: Unrecognized option 'c'

It did create two files, but NOT an mp3:

Developers-KMU0tzLwhbE.f133.mp4
Developers-KMU0tzLwhbE.f141.m4a

Any way to fix this ? I can't seem to find a way to install avconv or update ffmpeg.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 20, 2015

Update ffmpeg. You should also pass ---extract-audio.

@dstftw dstftw closed this Oct 20, 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.