Open Maris495 opened 3 years ago
@Maris495 I try figure out. With the info and logs you share my first through is the issue is a workaround with yt-dlp. If you find more info or ideas share with us.
My idea would be to convert the videos downloaded from the yt-dlp client into more compatible ones. However, it can be tedious gradually when doing this many times.
My idea would be to convert the videos downloaded from the yt-dlp client into more compatible ones. However, it can be tedious gradually when doing this many times.
Thinking more about the Logs you share first time, you need the formats available for the video you want download. You can open the console and run yt-dlp with the option -F for the list all formats available, with more info about the quality bitrate . If you can try run:
yt-dlp -F 'https://www.youtube.com/watch?v=1__G0NzTCCw'
See the formats available and check the format you want is there. Remember by default is selected the best format
Here's some info I got. As a result, I'm unable to pick default because it's not there, but I did pick 'best*' instead. It worked for VLC and Windows Media Player, but QuickTime doesn't play it because the downloaded video is in a .webm format.
Here's some info I got. As a result, I'm unable to pick default because it's not there, but I did pick 'best*' instead. It worked for VLC and Windows Media Player, but QuickTime doesn't play it because the downloaded video is in a .webm format.
Try select convert the webm to MP4 or use Post-Processing (FFmpeg) and try convert to one format compatible with QuickTime like MOV
Let us know how work for you?
I converted the video to mp4 and it all worked on the three video players I have. However, the original .webm file I downloaded before doesn't have audio.
I converted the video to mp4 and it all worked on the three video players I have. However, the original .webm file I downloaded before doesn't have audio.
Which format (-f) or argument you use for selection of the Formats?
You can share Logs and steps you follow?
I converted the video to mp4 and it all worked on the three video players I have. However, the original .webm file I downloaded before doesn't have audio.
Which format (-f) or argument you use for selection of the Formats?
You can share Logs and steps you follow?
Here are the steps I did. First, I open cmd and changed the directory to where the yt-dlp.exe file is Then, I failed a few times trying to make a code to download using the best format until I used my custom template I used for YouTube-DL.
The result is that both the video and the audio is here in the downloaded video, and that it works on VLC, Windows Media Player, and QuickTime Player.
(c) Microsoft Corporation. All rights reserved.
C:\Users\username>cd C:\Users\username\Desktop
C:\Users\username\Desktop>yt-dlp -F best* https://www.youtube.com/watch?v=1__G0NzTCCw
ERROR: 'best*' is not a valid URL. Set --default-search "ytsearch" (or run yt-dlp "ytsearch:best*" ) to search YouTube
[youtube] 1__G0NzTCCw: Downloading webpage
[info] Available formats for 1__G0NzTCCw:
ID EXT RESOLUTION FPS | FILESIZE TBR PROTO | VCODEC VBR ACODEC ABR ASR NOTE
--- ---- ---------- --- - ---------- ----- ----- - ----------- ----- --------- ---- ------- ----------------------------------------
249 webm audio only | 43.83KiB 58k https | opus 58k 48000Hz audio_quality_low, webm_dash, 48000Hz
250 webm audio only | 55.89KiB 74k https | opus 74k 48000Hz audio_quality_low, webm_dash, 48000Hz
140 m4a audio only | 98.67KiB 130k https | mp4a.40.2 130k 44100Hz audio_quality_medium, m4a_dash, 44100Hz
251 webm audio only | 103.60KiB 137k https | opus 137k 48000Hz audio_quality_medium, webm_dash, 48000Hz
160 mp4 192x144 30 | 54.75KiB 73k https | avc1.4d400c 73k 144p, mp4_dash
278 webm 192x144 30 | 47.32KiB 63k https | vp9 63k 144p, webm_dash
133 mp4 320x240 30 | 118.24KiB 157k https | avc1.4d400d 157k 240p, mp4_dash
242 webm 320x240 30 | 80.55KiB 107k https | vp9 107k 240p, webm_dash
134 mp4 480x360 30 | 262.24KiB 349k https | avc1.4d401e 349k 360p, mp4_dash
18 mp4 480x360 30 | 348.66KiB 460k https | avc1.42001E 460k mp4a.40.2 0k 44100Hz 360p, 44100Hz
243 webm 480x360 30 | 117.46KiB 156k https | vp9 156k 360p, webm_dash
135 mp4 640x480 30 | 528.12KiB 704k https | avc1.4d401e 704k 480p, mp4_dash
244 webm 640x480 30 | 175.10KiB 233k https | vp9 233k 480p, webm_dash
136 mp4 960x720 30 | 997.66KiB 1331k https | avc1.4d401f 1331k 720p, mp4_dash
22 mp4 960x720 30 | 1460k https | avc1.64001F 1460k mp4a.40.2 0k 44100Hz 720p, 44100Hz
247 webm 960x720 30 | 273.52KiB 364k https | vp9 364k 720p, webm_dash
298 mp4 960x720 60 | 1.49MiB 2032k https | avc1.4d4020 2032k 720p60, mp4_dash
302 webm 960x720 60 | 437.17KiB 583k https | vp9 583k 720p60, webm_dash
299 mp4 1440x1080 60 | 2.74MiB 3746k https | avc1.64002a 3746k 1080p60, mp4_dash
303 webm 1440x1080 60 | 780.86KiB 1041k https | vp9 1041k 1080p60, webm_dash
308 webm 1920x1440 60 | 1.77MiB 2416k https | vp9 2416k 1440p60, webm_dash
315 webm 2880x2160 60 | 6.31MiB 8625k https | vp9 8625k 2160p60, webm_dash
C:\Users\username\Desktop>yt-dlp -F best https://www.youtube.com/watch?v=1__G0NzTCCw
ERROR: 'best' is not a valid URL. Set --default-search "ytsearch" (or run yt-dlp "ytsearch:best" ) to search YouTube
[youtube] 1__G0NzTCCw: Downloading webpage
[info] Available formats for 1__G0NzTCCw:
ID EXT RESOLUTION FPS | FILESIZE TBR PROTO | VCODEC VBR ACODEC ABR ASR NOTE
--- ---- ---------- --- - ---------- ----- ----- - ----------- ----- --------- ---- ------- ----------------------------------------
249 webm audio only | 43.83KiB 58k https | opus 58k 48000Hz audio_quality_low, webm_dash, 48000Hz
250 webm audio only | 55.89KiB 74k https | opus 74k 48000Hz audio_quality_low, webm_dash, 48000Hz
140 m4a audio only | 98.67KiB 130k https | mp4a.40.2 130k 44100Hz audio_quality_medium, m4a_dash, 44100Hz
251 webm audio only | 103.60KiB 137k https | opus 137k 48000Hz audio_quality_medium, webm_dash, 48000Hz
160 mp4 192x144 30 | 54.75KiB 73k https | avc1.4d400c 73k 144p, mp4_dash
278 webm 192x144 30 | 47.32KiB 63k https | vp9 63k 144p, webm_dash
133 mp4 320x240 30 | 118.24KiB 157k https | avc1.4d400d 157k 240p, mp4_dash
242 webm 320x240 30 | 80.55KiB 107k https | vp9 107k 240p, webm_dash
134 mp4 480x360 30 | 262.24KiB 349k https | avc1.4d401e 349k 360p, mp4_dash
18 mp4 480x360 30 | 348.66KiB 460k https | avc1.42001E 460k mp4a.40.2 0k 44100Hz 360p, 44100Hz
243 webm 480x360 30 | 117.46KiB 156k https | vp9 156k 360p, webm_dash
135 mp4 640x480 30 | 528.12KiB 704k https | avc1.4d401e 704k 480p, mp4_dash
244 webm 640x480 30 | 175.10KiB 233k https | vp9 233k 480p, webm_dash
136 mp4 960x720 30 | 997.66KiB 1331k https | avc1.4d401f 1331k 720p, mp4_dash
22 mp4 960x720 30 | 1460k https | avc1.64001F 1460k mp4a.40.2 0k 44100Hz 720p, 44100Hz
247 webm 960x720 30 | 273.52KiB 364k https | vp9 364k 720p, webm_dash
298 mp4 960x720 60 | 1.49MiB 2032k https | avc1.4d4020 2032k 720p60, mp4_dash
302 webm 960x720 60 | 437.17KiB 583k https | vp9 583k 720p60, webm_dash
299 mp4 1440x1080 60 | 2.74MiB 3746k https | avc1.64002a 3746k 1080p60, mp4_dash
303 webm 1440x1080 60 | 780.86KiB 1041k https | vp9 1041k 1080p60, webm_dash
308 webm 1920x1440 60 | 1.77MiB 2416k https | vp9 2416k 1440p60, webm_dash
315 webm 2880x2160 60 | 6.31MiB 8625k https | vp9 8625k 2160p60, webm_dash
C:\Users\username\Desktop>
C:\Users\username\Desktop>
C:\Users\username\Desktop>yt-dlp -F mp4 best https://www.youtube.com/watch?v=1__G0NzTCCw
ERROR: 'mp4' is not a valid URL. Set --default-search "ytsearch" (or run yt-dlp "ytsearch:mp4" ) to search YouTube
ERROR: 'best' is not a valid URL. Set --default-search "ytsearch" (or run yt-dlp "ytsearch:best" ) to search YouTube
[youtube] 1__G0NzTCCw: Downloading webpage
[info] Available formats for 1__G0NzTCCw:
ID EXT RESOLUTION FPS | FILESIZE TBR PROTO | VCODEC VBR ACODEC ABR ASR NOTE
--- ---- ---------- --- - ---------- ----- ----- - ----------- ----- --------- ---- ------- ----------------------------------------
249 webm audio only | 43.83KiB 58k https | opus 58k 48000Hz audio_quality_low, webm_dash, 48000Hz
250 webm audio only | 55.89KiB 74k https | opus 74k 48000Hz audio_quality_low, webm_dash, 48000Hz
140 m4a audio only | 98.67KiB 130k https | mp4a.40.2 130k 44100Hz audio_quality_medium, m4a_dash, 44100Hz
251 webm audio only | 103.60KiB 137k https | opus 137k 48000Hz audio_quality_medium, webm_dash, 48000Hz
160 mp4 192x144 30 | 54.75KiB 73k https | avc1.4d400c 73k 144p, mp4_dash
278 webm 192x144 30 | 47.32KiB 63k https | vp9 63k 144p, webm_dash
133 mp4 320x240 30 | 118.24KiB 157k https | avc1.4d400d 157k 240p, mp4_dash
242 webm 320x240 30 | 80.55KiB 107k https | vp9 107k 240p, webm_dash
134 mp4 480x360 30 | 262.24KiB 349k https | avc1.4d401e 349k 360p, mp4_dash
18 mp4 480x360 30 | 348.66KiB 460k https | avc1.42001E 460k mp4a.40.2 0k 44100Hz 360p, 44100Hz
243 webm 480x360 30 | 117.46KiB 156k https | vp9 156k 360p, webm_dash
135 mp4 640x480 30 | 528.12KiB 704k https | avc1.4d401e 704k 480p, mp4_dash
244 webm 640x480 30 | 175.10KiB 233k https | vp9 233k 480p, webm_dash
136 mp4 960x720 30 | 997.66KiB 1331k https | avc1.4d401f 1331k 720p, mp4_dash
22 mp4 960x720 30 | 1460k https | avc1.64001F 1460k mp4a.40.2 0k 44100Hz 720p, 44100Hz
247 webm 960x720 30 | 273.52KiB 364k https | vp9 364k 720p, webm_dash
298 mp4 960x720 60 | 1.49MiB 2032k https | avc1.4d4020 2032k 720p60, mp4_dash
302 webm 960x720 60 | 437.17KiB 583k https | vp9 583k 720p60, webm_dash
299 mp4 1440x1080 60 | 2.74MiB 3746k https | avc1.64002a 3746k 1080p60, mp4_dash
303 webm 1440x1080 60 | 780.86KiB 1041k https | vp9 1041k 1080p60, webm_dash
308 webm 1920x1440 60 | 1.77MiB 2416k https | vp9 2416k 1440p60, webm_dash
315 webm 2880x2160 60 | 6.31MiB 8625k https | vp9 8625k 2160p60, webm_dash
C:\Users\username\Desktop>yt-dlp -F -mp4 -best https://www.youtube.com/watch?v=1__G0NzTCCw
Usage: yt-dlp [OPTIONS] URL [URL...]
yt-dlp: error: no such option: -m
C:\Users\username\Desktop>
C:\Users\username\Desktop>
C:\Users\username\Desktop>yt-dlp --output D:\%(upload_date)s_-_%(title)s_-_%(id)s.%(ext)s --ffmpeg-location "C:\Program Files (x86)\ffmpeg-20200826-8f2c1f2-win64-static\bin" -f bestvideo[ext=mp4]+bestaudio[ext=m4a] https://www.youtube.com/watch?v=1__G0NzTCCw
[youtube] 1__G0NzTCCw: Downloading webpage
[info] 1__G0NzTCCw: Downloading 1 format(s): 299+140
[download] Destination: D:\20191015_-_PBS (1989)_-_1__G0NzTCCw.f299.mp4
[download] 100% of 2.74MiB in 00:01
[download] Destination: D:\20191015_-_PBS (1989)_-_1__G0NzTCCw.f140.m4a
[download] 100% of 98.67KiB in 00:00
[Merger] Merging formats into "D:\20191015_-_PBS (1989)_-_1__G0NzTCCw.mp4"
Deleting original file D:\20191015_-_PBS (1989)_-_1__G0NzTCCw.f299.mp4 (pass -k to keep)
Deleting original file D:\20191015_-_PBS (1989)_-_1__G0NzTCCw.f140.m4a (pass -k to keep)
C:\Users\username\Desktop>
C:\Users\username\Desktop>yt-dlp -F best* https://www.youtube.com/watch?v=1__G0NzTCCw
When you use -F option the you past the URL don’t use best or any other format selection
C:\Users\username\Desktop>yt-dlp --output D:\%(upload_date)s_-_%(title)s_-_%(id)s.%(ext)s --ffmpeg-location "C:\Program Files (x86)\ffmpeg-20200826-8f2c1f2-win64-static\bin" -f bestvideo[ext=mp4]+bestaudio[ext=m4a] https://www.youtube.com/watch?v=1__G0NzTCCw [youtube] 1__G0NzTCCw: Downloading webpage [info] 1__G0NzTCCw: Downloading 1 format(s): 299+140 [download] Destination: D:\20191015_-_PBS (1989)_-_1__G0NzTCCw.f299.mp4 [download] 100% of 2.74MiB in 00:01 [download] Destination: D:\20191015_-_PBS (1989)_-_1__G0NzTCCw.f140.m4a [download] 100% of 98.67KiB in 00:00 [Merger] Merging formats into "D:\20191015_-_PBS (1989)_-_1__G0NzTCCw.mp4" Deleting original file D:\20191015_-_PBS (1989)_-_1__G0NzTCCw.f299.mp4 (pass -k to keep) Deleting original file D:\20191015_-_PBS (1989)_-_1__G0NzTCCw.f140.m4a (pass -k to keep)
You can see the final file is 20191015_-_PBS (1989)_-_1__G0NzTCCw.mp4
and was merged with the video(mp4)/audio(m4a)
If you get the .webm before mean was no possible merging the video/audio with the Formats you request
Thanks for the info. Anyways, do you know a solution to fix the 60fps in YT-DL GUI issue?
What is the purpose of your issue?
Bug report
What operating system do you use ?
Windows 10
List of actions to perform to reproduce the problem:
What is the expected behaviour ?
The video would be easily imported to Vegas Pro.
What happens instead ?
The video successfully downloaded in a high quality along with a high framerate. However, Vegas Pro instead shows up only one frame of the downloaded video then crashes. It plays fine on both VLC and Windows Media Player, but not on QuickTime player.
I believe this would be a main issue when wanting to use videos in the highest quality. It's more frustrating since using the youtube-dl client on youtube-dl GUI can mainly download videos in lesser quality under approximately 30 fps.