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

Audio missing #2751

Closed
crystalclaw opened this issue Apr 16, 2014 · 1 comment
Closed

Audio missing #2751

crystalclaw opened this issue Apr 16, 2014 · 1 comment

Comments

@crystalclaw
Copy link

@crystalclaw crystalclaw commented Apr 16, 2014

I recently redownloaded this utility, and i have a problem. whenever i go to download a video, i get the .mp4 file, but it has no audio. these are my default settings:
-o "%(uploader)s %(title)s.%(ext)s" --add-metadata -f 135/134/136

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Apr 16, 2014

The problem is that 135, 134 and 136 are the codes for the DASH video only formats, you can get all the available formats and information running youtube-dl 'http://www.youtube.com/watch?v=UxxajLWwzqY' -F:

...
[info] Available formats for UxxajLWwzqY:
format code extension resolution  note
171         webm      audio only  DASH webm audio , audio@ 48k (worst)
140         m4a       audio only  DASH audio , audio@128k
160         mp4       144p        DASH video , video only
242         webm      240p        DASH webm
133         mp4       240p        DASH video , video only
243         webm      360p        DASH webm
134         mp4       360p        DASH video , video only
244         webm      480p        DASH webm
135         mp4       480p        DASH video , video only
247         webm      720p        DASH webm
136         mp4       720p        DASH video , video only
248         webm      1080p       DASH webm
137         mp4       1080p       DASH video , video only
17          3gp       176x144
36          3gp       320x240
5           flv       400x240
43          webm      640x360
18          mp4       640x360
22          mp4       1280x720    (best)

If you want to download the DASH video, you'll also need to download the audio (for example -f 140) and merge them. If you have ffmpeg or avconv installed, youtube-dl can do this automatically: you just need to run youtube-dl 'http://www.youtube.com/watch?v=UxxajLWwzqY' -f bestvideo+bestaudio, keep in mind that this is a feature that needs some improvements.

@jaimeMF jaimeMF closed this Apr 16, 2014
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.