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

[youtube] Highest quality video and audio streams are now separated #4074

Closed
vectorsigma opened this issue Oct 31, 2014 · 3 comments
Closed

[youtube] Highest quality video and audio streams are now separated #4074

vectorsigma opened this issue Oct 31, 2014 · 3 comments

Comments

@vectorsigma
Copy link

@vectorsigma vectorsigma commented Oct 31, 2014

Looking at the following video with the -F option:

[youtube] Confirming age
[youtube] IJsKtRx4wf8: Downloading webpage
[youtube] IJsKtRx4wf8: Downloading video info webpage
[youtube] IJsKtRx4wf8: Extracting video information
[youtube] IJsKtRx4wf8: Downloading DASH manifest
[info] Available formats for IJsKtRx4wf8:
format code extension resolution  note 
139         m4a       audio only  DASH audio   49k , audio@ 48k (22050Hz), 1.07MiB (worst)
140         m4a       audio only  DASH audio  129k , audio@128k (44100Hz), 2.84MiB
141         m4a       audio only  DASH audio  255k , audio@256k (44100Hz), 5.65MiB <-- best audio
160         mp4       256x144     DASH video  112k , video only, 2.44MiB
133         mp4       426x240     DASH video  253k , video only, 5.42MiB
134         mp4       640x360     DASH video  608k , video only, 8.61MiB
135         mp4       854x480     DASH video 1107k , video only, 18.00MiB
136         mp4       1280x720    DASH video 2213k , video only, 36.56MiB
137         mp4       1920x1080   DASH video 4210k , video only, 75.65MiB <-- best video
17          3gp       176x144     
36          3gp       320x240     
5           flv       400x240     
18          mp4       640x360     
43          webm      640x360     
22          mp4       1280x720    (best)  <--- not best.

The 1080p video stream appears to be video only, and the 255k audio is audio only.

So far, I've had to download the audio and video files separately, and mux them using ffmpeg.

Is this something that youtube-dl could do automatically?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 31, 2014

This is expected behavior, use -f bestvideo+bestaudio to fetch best video/audio separately and mux them afterwards.

@dstftw dstftw closed this Oct 31, 2014
@vectorsigma
Copy link
Author

@vectorsigma vectorsigma commented Oct 31, 2014

Oh, nice. Thanks!

@Moriarty16
Copy link

@Moriarty16 Moriarty16 commented May 6, 2019

This is what I'm looking for, thanks a lot!

@ytdl-org ytdl-org locked and limited conversation to collaborators May 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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