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

Only downloads first audio stream from youtube #11772

Closed
adrusi opened this issue Jan 18, 2017 · 1 comment
Closed

Only downloads first audio stream from youtube #11772

adrusi opened this issue Jan 18, 2017 · 1 comment

Comments

@adrusi
Copy link

@adrusi adrusi commented Jan 18, 2017

This video appears to have multiple audio streams associated with it, meant to be played concurrently. When I play the video in mpv using its built-in youtube-dl integration, this video has audio, but not the voiceover track. The voiceover is present when playing it in the web player. The following is the output of --list-formats for the video:

[youtube] iqKdEhx-dD4: Downloading webpage
[youtube] iqKdEhx-dD4: Downloading video info webpage
[youtube] iqKdEhx-dD4: Extracting video information
[youtube] iqKdEhx-dD4: Downloading js player en_US-vflbh8HdB
[youtube] iqKdEhx-dD4: Downloading MPD manifest
WARNING: [youtube] iqKdEhx-dD4: Skipping DASH manifest: ExtractorError("Failed to download MPD manifest: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on https://yt-dl.org/bug . Make sure you
are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.",)
[info] Available formats for iqKdEhx-dD4:
format code  extension  resolution note
249          webm       audio only DASH audio   57k , opus @ 50k, 12.72MiB
250          webm       audio only DASH audio   82k , opus @ 70k, 17.02MiB
140          m4a        audio only DASH audio  129k , m4a_dash container, mp4a.40.2@128k, 31.59MiB
171          webm       audio only DASH audio  130k , vorbis@128k, 26.48MiB
251          webm       audio only DASH audio  161k , opus @160k, 33.26MiB
256          m4a        audio only DASH audio  196k , m4a_dash container, mp4a.40.5, 48.18MiB
258          m4a        audio only DASH audio  388k , m4a_dash container, mp4a.40.2, 95.77MiB
160          mp4        256x144    144p  116k , avc1.4d400c, 24fps, video only, 27.70MiB
278          webm       256x144    144p  135k , webm container, vp9, 24fps, video only, 22.25MiB
133          mp4        426x240    240p  276k , avc1.4d4015, 24fps, video only, 61.19MiB
242          webm       426x240    240p  285k , vp9, 24fps, video only, 33.85MiB
243          webm       640x360    360p  517k , vp9, 24fps, video only, 61.75MiB
134          mp4        640x360    360p  634k , avc1.4d401e, 24fps, video only, 63.32MiB
244          webm       854x480    480p 1001k , vp9, 24fps, video only, 102.69MiB
135          mp4        854x480    480p 1160k , avc1.4d401e, 24fps, video only, 129.17MiB
247          webm       1280x720   720p 1821k , vp9, 24fps, video only, 205.04MiB
136          mp4        1280x720   720p 2319k , avc1.4d401f, 24fps, video only, 256.84MiB
248          webm       1920x1080  1080p 3237k , vp9, 24fps, video only, 394.65MiB
137          mp4        1920x1080  1080p 4368k , avc1.640028, 24fps, video only, 512.55MiB
271          webm       2560x1440  1440p 10482k , vp9, 24fps, video only, 1.22GiB
264          mp4        2560x1440  1440p 10572k , avc1.640032, 24fps, video only, 1.45GiB
313          webm       3840x2160  2160p 24496k , vp9, 24fps, video only, 3.87GiB
17           3gp        176x144    small , mp4v.20.3,  mp4a.40.2@ 24k
36           3gp        320x180    small , mp4v.20.3,  mp4a.40.2
43           webm       640x360    medium , vp8.0,  vorbis@128k
18           mp4        640x360    medium , avc1.42001E,  mp4a.40.2@ 96k
22           mp4        1280x720   hd720 , avc1.64001F,  mp4a.40.2@192k (best)

Compared to another video from the same source uploaded around the same time:

[youtube] GAPqEAWW9lc: Downloading webpage
[youtube] GAPqEAWW9lc: Downloading video info webpage
[youtube] GAPqEAWW9lc: Extracting video information
[youtube] GAPqEAWW9lc: Downloading js player en_US-vflbh8HdB
[youtube] GAPqEAWW9lc: Downloading MPD manifest
WARNING: [youtube] GAPqEAWW9lc: Skipping DASH manifest: ExtractorError("Failed to download MPD manifest: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on https://yt-dl.org/bug . Make sure you
are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.",)
[info] Available formats for GAPqEAWW9lc:
format code  extension  resolution note
249          webm       audio only DASH audio   51k , opus @ 50k, 462.40KiB
250          webm       audio only DASH audio   68k , opus @ 70k, 592.99KiB
171          webm       audio only DASH audio  114k , vorbis@128k, 1015.99KiB
140          m4a        audio only DASH audio  127k , m4a_dash container, mp4a.40.2@128k, 1.15MiB
251          webm       audio only DASH audio  133k , opus @160k, 1.13MiB
160          mp4        256x144    144p  113k , avc1.4d400c, 24fps, video only, 1.01MiB
278          webm       256x144    144p  132k , webm container, vp9, 24fps, video only, 959.11KiB
133          mp4        426x240    240p  257k , avc1.4d4015, 24fps, video only, 2.24MiB
242          webm       426x240    240p  303k , vp9, 24fps, video only, 1.91MiB
243          webm       640x360    360p  550k , vp9, 24fps, video only, 3.45MiB
134          mp4        640x360    360p  635k , avc1.4d401e, 24fps, video only, 3.47MiB
244          webm       854x480    480p  925k , vp9, 24fps, video only, 5.97MiB
135          mp4        854x480    480p 1161k , avc1.4d401e, 24fps, video only, 6.67MiB
247          webm       1280x720   720p 1797k , vp9, 24fps, video only, 11.46MiB
136          mp4        1280x720   720p 2321k , avc1.4d401f, 24fps, video only, 12.50MiB
248          webm       1920x1080  1080p 3084k , vp9, 24fps, video only, 20.37MiB
137          mp4        1920x1080  1080p 3928k , avc1.640028, 24fps, video only, 22.02MiB
17           3gp        176x144    small , mp4v.20.3,  mp4a.40.2@ 24k
36           3gp        320x180    small , mp4v.20.3,  mp4a.40.2
43           webm       640x360    medium , vp8.0,  vorbis@128k
18           mp4        640x360    medium , avc1.42001E,  mp4a.40.2@ 96k
22           mp4        1280x720   hd720 , avc1.64001F,  mp4a.40.2@192k (best)

I am using the latest version of youtube-dl from the git repository.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 18, 2017

Downloaded video looks and sounds exactly the same as one in the webplayer for me.
Regarding playing in mpv contact mpv support.

@dstftw dstftw closed this Jan 18, 2017
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.