I downloaded a Youtube video using that program, but there's a problem, the video isn't playable using Windows Media Player and I don't know why, but it's playable when opening it with VLC / MPC-HC / Quicktime, and my main concern is that since it isn't playable with WMP what if it gives me problems when importing it into Adobe Premier or any other program?
This is the link to the video:
https://www.youtube.com/watch?v=oFtTh_N9dN8
I did the following:
1.- Gather the formats
the format 137 said: MP4 / 1920x1080 / DASH video 4376k / avc1.640028 / 30fps / video onlyCode:youtube-dl -F https://www.youtube.com/watch?v=oFtTh_N9dN8
2.- I downloaded that one, because the other 1080p video was "webm"
Code:youtube-dl -f 137 https://www.youtube.com/watch?v=oFtTh_N9dN8
That's it, that's literally all I did and the video isn't playable in Windows Media Player, why?
By the way there's something weird, the video in youtube goes as far as Full HD (1080p), but when I did the following command it gave me an error
Code:youtube-dl -f full https://www.youtube.com/watch?v=oFtTh_N9dN8
I also find odd that when gathering the formats, at the bottom it displays the HD (720p) as the "best" format, why is that?
Thank you![]()
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 7 of 7
-
-
Show the log, please (add "-v" for verbosity). Youtube-dl may try to remux from DASH to "normal" mp4 using ffmpeg.exe. Put ffmpeg.exe into the same folder as youtube-dl.exe (or %PATH%) and try again.
Or manually try: ffmpeg -i "file_from_youtube-dl.mp4" -map 0 -c copy "output.mp4"
That's the highest quality non-DASH file. (i.e. video and audio in a single file, not separate streams)
Will the file work in Adobe and others if it doesn't work in WMP? Idk.. it's complicated. So many different things. -
Is this what you needed?, by the way I will try right now the ffmpeg thing you mentioned, I just wanted to post what you asked for before doing it
Microsoft Windows [Versión 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Reservados todos los derechos.
C:\Users\PC>cd yt
C:\Users\PC\yt>youtube-dl -v -F https://www.youtube.com/watch?v=oFtTh_N9dN8
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-F', 'https://www.youtube.com/watch?v=oFtTh_N9dN8']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.08.27.1
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] oFtTh_N9dN8: Downloading webpage
[youtube] oFtTh_N9dN8: Downloading video info webpage
[youtube] oFtTh_N9dN8: Extracting video information
WARNING: unable to extract uploader nickname
[youtube] oFtTh_N9dN8: Downloading MPD manifest
[info] Available formats for oFtTh_N9dN8:
format code extension resolution note
139 m4a audio only DASH audio 48k , m4a_dash container, mp4a.40.5@ 48k (22050Hz), 1.10MiB
249 webm audio only DASH audio 53k , opus @ 50k, 1.01MiB
250 webm audio only DASH audio 67k , opus @ 70k, 1.28MiB
171 webm audio only DASH audio 110k , vorbis@128k, 2.21MiB
251 webm audio only DASH audio 118k , opus @160k, 2.35MiB
140 m4a audio only DASH audio 127k , m4a_dash container, mp4a.40.2@128k (44100Hz), 2.93MiB
278 webm 256x144 144p 105k , webm container, vp9, 30fps, video only, 2.32MiB
160 mp4 256x144 DASH video 111k , avc1.4d400c, 30fps, video only, 2.53MiB
242 webm 426x240 240p 248k , vp9, 30fps, video only, 5.40MiB
133 mp4 426x240 DASH video 248k , avc1.4d4015, 30fps, video only, 5.66MiB
243 webm 640x360 360p 455k , vp9, 30fps, video only, 9.87MiB
134 mp4 640x360 DASH video 637k , avc1.4d401e, 30fps, video only, 13.87MiB
244 webm 854x480 480p 824k , vp9, 30fps, video only, 18.08MiB
135 mp4 854x480 DASH video 1171k , avc1.4d401f, 30fps, video only, 26.62MiB
247 webm 1280x720 720p 1634k , vp9, 30fps, video only, 35.91MiB
136 mp4 1280x720 DASH video 2343k , avc1.4d401f, 30fps, video only, 52.26MiB
248 webm 1920x1080 1080p 2887k , vp9, 30fps, video only, 63.95MiB
137 mp4 1920x1080 DASH video 4376k , avc1.640028, 30fps, video only, 96.72MiB
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)
C:\Users\PC\yt> -
-
I meant the log of the actual download.
No, it's an ffmpeg command. Nothing to do with youtube-dl.
I just tested it myself and indeed it looks like youtube-dl does not remux if you only do -f 137. But it works if you set it to download audio as well, e.g.: -f 137+140
https://github.com/rg3/youtube-dl/blob/master/README.md#format-selection
https://github.com/rg3/youtube-dl/blob/master/README.md#on-windows-how-should-i-set-up...-the-exe-files -
Since the end of April 2015 and version 2015.04.26, youtube-dl uses -f bestvideo+bestaudio/best as the default format selection (see #5447, #5456). If ffmpeg or avconv are installed this results in downloading bestvideo and bestaudio separately and muxing them together into a single file giving the best overall quality available. Otherwise it falls back to best and results in downloading the best available quality served as a single file.
-
It worked! thank you sysanin
Excuse me I have one last little question, if while downloading a video using youtube-dl I suddenly get disconnected for a brief moment from the internet, will the download resume when the internet is back? or will I have to restart from zero?
I would do the experiment by disconnecting my router as other forum member suggested, the thing is that my router tends to have connection problems whenever I restart it, and right now is working fine, so at the moment it would be wise to ask besides doing the experiment myself
Edit: Answered by jagabo, it does resume the download!Last edited by CinnamonCat; 30th Aug 2017 at 17:47.
Similar Threads
-
Youtube-DL problem with updating
By TheRandomOne in forum Video Streaming DownloadingReplies: 2Last Post: 19th Nov 2016, 10:28 -
The eternal problem of saving videos from YouTube...
By Elhombresombra in forum Video Streaming DownloadingReplies: 34Last Post: 2nd Apr 2016, 06:49 -
Hopefully someone can help me with a problem i've been having with youtube
By maximf83 in forum Video Streaming DownloadingReplies: 2Last Post: 12th Sep 2014, 14:45 -
upload to youtube problem
By DARR-of_the-DEAD in forum Video Streaming DownloadingReplies: 3Last Post: 8th Aug 2013, 22:59 -
Problem with youtube!! Help please!
By strappagonne in forum Video ConversionReplies: 1Last Post: 9th May 2013, 00:26