View Single Post
  #33  
Old January 1st 18, 08:50 PM posted to alt.windows7.general,alt.comp.os.windows-10,alt.comp.freeware
Joe Scotch
external usenet poster
 
Posts: 108
Default Is there an ad-free YouTube clone for Windows like NewPipe is for Android?

/nIn news wrote:

| Is there a GUI for this "youtube-dl.exe" that would save all
| that typing (especially with the addition of destination specification)?

It looks like there's a one-piece Windows version he

https://rg3.github.io/youtube-dl/download.html

It needs VC++ 2010 runtime. But it's not GUI.
Wikipedia says there are frontends available, but
doesn't provide links. Typical OSS: Great idea.
Probably great functionality. Detestable usability
limited to DOS-esque command lines that were
outmoded 25 years ago.


Since I always give back, in detail, for any help, here is a tutorial that
should work for anyone.

You should be able to cut and paste the steps and get going in minutes.
If not, please tell me what I need to correct!

1. Choose any test video that you know will have slipstream ads inside it.
https://youtu.be/n6eXtBbhpYg (Happy New Year 2018)

2. Obtain the latest ffmpeg if you don't have it (you'll need ffprobe.exe).
http://ffmpeg.zeranoe.com/builds/

This is the one I used:

http://ffmpeg.zeranoe.com/builds/win...n64-static.zip

3. You'll only need ffmpeg if you want to extract audio.
I put the three ffmpeg executables in the current directory.
However you can add them to your path if you like.
AFAIK, you only need 1 of the 3 ffmpeg executables (ffprobe.exe).

cmd copy c:\path\ffmpeg\bin\ffprobe.exe .\ffprobe.exe
(Or just put the extracted c:\path\ffmpeg\bin\ in your PATH variable.)

If you get these errors when running the youtube extractor, it's the
path:
"writing DASH m4a. Only some players support this container. "
"Install ffmpeg or avconv to fix this automatically."

4. Obtain the latest working youtube-dl.exe (get the right one!)

This is the one I use because it works and doesn't require python!
From: https://youtube-dl.org/downloads/latest/youtube-dl.exe
Size: 7760634 bytes (7 MB)
SHA256: C0396D47480D7C9A14464A8E51E79993F88BD76D6BCFDB1131 2EFD0D88F3C5C7

5. Doublecheck that the basics are working fine & that you're up to date:
cmd youtube-dl.exe --version
Initially reported:
2017.07.15

So I updated it:
cmd youtube-dl.exe -U
Which reported:
Updating to version 2017.12.31 ...
Waiting for file handle to be closed ...
Updated youtube-dl to version 2017.12.31.

Testing it again:
cmd youtube-dl.exe -U
Now reports:
youtube-dl is up-to-date (2017.12.31)

And doublechecking the version:
cmd youtube-dl.exe --version
Now reports:
2017.12.31

Optionally, output the manpage:
cmd youtube-dl.exe -h youtube-dl.man.txt
cmd type youtube-dl.man.txt | more

6. Run the command below to download any YouTube video as an mp4:
cmd youtube-dl.exe -f 18 https://youtu.be/n6eXtBbhpYg
[youtube] n6eXtBbhpYg: Downloading webpage
[youtube] n6eXtBbhpYg: Downloading video info webpage
[youtube] n6eXtBbhpYg: Extracting video information
[youtube] n6eXtBbhpYg: Downloading MPD manifest
[download] Destination: Happy New Year 2018-n6eXtBbhpYg.mp4
[download] 100% of 3.44MiB in 00:01

cmd dir
30-Dec-17 10:14 AM 3,602,418 Happy New Year 2018-n6eXtBbhpYg.mp4

Note that you can actually add the ads as this is an option!
--include-ads (Download advertisements as well)

7. Now try to extract the audio as an opus file:
cmd youtube-dl.exe -x https://youtu.be/n6eXtBbhpYg
[youtube] n6eXtBbhpYg: Downloading webpage
[youtube] n6eXtBbhpYg: Downloading video info webpage
[youtube] n6eXtBbhpYg: Extracting video information
[youtube] n6eXtBbhpYg: Downloading MPD manifest
[download] Destination: Happy New Year 2018-n6eXtBbhpYg.m4a
[download] 100% of 621.97KiB in 00:00
[ffmpeg] Correcting container in "Happy New Year
2018-n6eXtBbhpYg.m4a"
[ffmpeg] Post-process file Happy New Year 2018-n6eXtBbhpYg.m4a
exists, skipping

8. Try to extract the audio as an m4a format file:
cmd youtube-dl.exe -f 140 https://youtu.be/n6eXtBbhpYg
[youtube] n6eXtBbhpYg: Downloading webpage
[youtube] n6eXtBbhpYg: Downloading video info webpage
[youtube] n6eXtBbhpYg: Extracting video information
[youtube] n6eXtBbhpYg: Downloading MPD manifest
[download] Happy New Year 2018-n6eXtBbhpYg.m4a has already been
downloaded
[download] 100% of 621.52KiB
[ffmpeg] Correcting container in "Happy New Year
2018-n6eXtBbhpYg.m4a"

9. In summary, these two commands are the ones most used:
Video download:
cmd youtube-dl.exe -f 140 https://youtu.be/n6eXtBbhpYg
Audio extraction:
cmd youtube-dl.exe -f 140 https://youtu.be/n6eXtBbhpYg

10. Addendum: I do not use this implementation of the same name!
https://yt-dl.org/downloads/2017.07.15/youtube-dl.exe
Referenced in https://rg3.github.io/youtube-dl/download.html
(This implementation failed on the harder test videos.)
Addendum: I do not use the all-in-1 GUI which failed on my harder
tests.
https://sourceforge.net/projects/youtube-dl-gtk/

Please let me know if you use these steps what I need to fix.
I tested every step so it "should" work for you, cut and paste.
Ads