Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-10 > #48216

Re: youtube-dl.exe

From Roy Tremblay <remblayrrroy@nlnet.nl>
Newsgroups alt.comp.os.windows-10, alt.windows7.general, microsoft.public.windowsxp.general
Subject Re: youtube-dl.exe
Date 2017-07-16 18:14 +0000
Organization Aioe.org NNTP Server
Message-ID <okgada$1k4a$1@gioia.aioe.org> (permalink)
References <3o5lmct9bdqb4jk0mq4u8u0e5lppbnkomh@4ax.com> <okfsdh$t72$2@dont-email.me> <okg73f$1eg1$1@gioia.aioe.org> <oc8nmclf4t2jkti0b77mb7nq69id4tq7ff@4ax.com>

Cross-posted to 3 groups.

Show all headers | View raw


Shadow <Sh@dow.br> actually wrote:

> Video
> youtube-dl -f 18 https://youtu.be/VuNIsY6JdUw
> Audio only
> youtube-dl -f 140 https://youtu.be/VuNIsY6JdUw

The problem on Usenet when people are not specific about what they're
suggesting is that noobs end up wasting a tremendous amount of time on the
wrong solutions.

Your well-intentioned post has two huge problems for noobs in that regard.

1. There are multiple "youtube-dl.exe" precompiled Windows binaries, which
are different, and where some of them barf on the stated test videos. You
didn't say which precompiled windows binary you are using so your otherwise
helpful post is useless to a noob because they have to guess where to get
it and if they guess wrong, it stands a very good chance of working on the
easy test video but failing on the harder test video.

2. Not only are there multiple "youtube-dl.exe" precompiled Windows
binaries, but there appears to be a third implementation called
"youtube-dl" (without the exe) which is also available on the net (and
which most likely is for Linux purposes). Your post does not make it clear
whether you're using that interpreted code, or the precompiled Windows
binary so a noob is left to guess.

Since I already went through hours of hell figuring out which binaries
worked and which didn't work, here's how I'd modify your otherwise very
helplful suggestions, so that a noob could follow in your footsteps.

1. Download the tested youtube-dl.exe pre-compiled Windows binary:
   https://youtube-dl.org/downloads/latest/youtube-dl.exe
2. Doublecheck that the basics are working fine:
    cmd> youtube-dl.exe -U
         youtube-dl is up-to-date (2017.07.15)
    cmd> youtube-dl.exe --version
         2017.07.15
    cmd> youtube-dl.exe -h > youtube-dl.man
    cmd> type youtube-dl.man | more
3. Run the suggested command to download the file as an mp4:
   cmd> youtube-dl.exe -f 18 https://youtu.be/VuNIsY6JdUw
        [youtube] VuNIsY6JdUw: Downloading webpage
        [youtube] VuNIsY6JdUw: Downloading video info webpage
        [youtube] VuNIsY6JdUw: Extracting video information
        [youtube] VuNIsY6JdUw: Downloading MPD manifest
        [download] Destination: Taylor Swift - You Belong With Me-VuNIsY6JdUw.mp4
        [download] 100% of 17.98MiB in 01:45
   cmd> dir
        18,857,601 Taylor Swift - You Belong With Me-VuNIsY6JdUw.mp4
3. Run the suggested command to download just the audio as m4a:
   cmd> youtube-dl.exe -f 140 https://youtu.be/VuNIsY6JdUw
        [youtube] VuNIsY6JdUw: Downloading webpage
        [youtube] VuNIsY6JdUw: Downloading video info webpage
        [youtube] VuNIsY6JdUw: Extracting video information
        [youtube] VuNIsY6JdUw: Downloading js player vflL_WLGI
        [youtube] VuNIsY6JdUw: Downloading MPD manifest
        [download] Destination: Taylor Swift - You Belong With Me-VuNIsY6JdUw.m4a
        [download] 100% of 3.46MiB in 00:20
        [ffmpeg] Correcting container in "Taylor Swift - You Belong With Me-VuNIsY6JdUw.m4a"

Notice that "ffmpeg" is called. 
I have ffmpeg in my path so I am not sure if that is a requirement of the
command you suggested, or if ffmpeg is pre-compiled into the youtube-dl.exe
itself. (Do you know the answer to that question?)

> 	What's so hard about it ?
> 	Oh, I see, watching the video. Ugghh !!!
> 	PS Youtube-dl is updated practically daily. Please don't
> mention the build. If you want to update, just
> youtube-dl --update
> 	(that's TWO dashes before the upgrade)

I only have one day's experience with the tool so can you experienced
people explain whether the ffmpeg is precompiled into the two
youtube-dl.exe binaries or if it's necessary for a noob to install fmpeg to
extract the audio?

Also, can the people experienced with the two youtube-dl.exe precompiled
binaries please explain whether both of these work the same for you on the
Taylor Swift test video?

youtube-dl.exe
 From: https://youtube-dl.org/downloads/latest/youtube-dl.exe
  This implementation does not require Python!

youtube-dl.exe
  https://yt-dl.org/downloads/2017.07.15/youtube-dl.exe
  Referenced in https://rg3.github.io/youtube-dl/download.htm
  This implementation barfed on the harder video with a Python error.

Back to alt.comp.os.windows-10 | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

All youtube-dl functions Lucifer Morningstar <not@for.mail> - 2017-07-16 08:29 +1000
  Re: All youtube-dl functions Wolf K <wolfmac@sympatico.ca> - 2017-07-15 21:35 -0400
    Re: All youtube-dl functions Roy Tremblay <remblayrrroy@nlnet.nl> - 2017-07-16 08:52 +0000
  youtube-dl.exe 2017.07.15 "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2017-07-16 22:19 +0800
    Re: youtube-dl.exe 2017.07.15 Roy Tremblay <remblayrrroy@nlnet.nl> - 2017-07-16 17:17 +0000
      Re: youtube-dl.exe Shadow <Sh@dow.br> - 2017-07-16 14:36 -0300
        Re: youtube-dl.exe Roy Tremblay <remblayrrroy@nlnet.nl> - 2017-07-16 18:14 +0000
          Re: youtube-dl.exe Rene Lamontagne <rlamont@shaw.ca> - 2017-07-16 14:05 -0500
            Re: youtube-dl.exe Roy Tremblay <remblayrrroy@nlnet.nl> - 2017-07-16 19:19 +0000
              Re: youtube-dl.exe Roy Tremblay <remblayrrroy@nlnet.nl> - 2017-07-16 19:50 +0000
                Re: youtube-dl.exe Andy Burns <usenet@andyburns.uk> - 2017-07-16 21:07 +0100
                Re: youtube-dl.exe Roy Tremblay <remblayrrroy@nlnet.nl> - 2017-07-16 20:47 +0000
                Re: youtube-dl.exe Andy Burns <usenet@andyburns.uk> - 2017-07-16 22:11 +0100
                Re: youtube-dl.exe Rene Lamontagne <rlamont@shaw.ca> - 2017-07-16 15:13 -0500
                Re: youtube-dl.exe Roy Tremblay <remblayrrroy@nlnet.nl> - 2017-07-16 20:51 +0000
              Re: youtube-dl.exe Lucifer Morningstar <not@for.mail> - 2017-07-18 22:05 +1000
                Re: youtube-dl.exe Roy Tremblay <remblayrrroy@nlnet.nl> - 2017-07-19 03:31 +0000
                Re: youtube-dl.exe Lucifer Morningstar <not@for.mail> - 2017-07-19 14:29 +1000
                Re: youtube-dl.exe Roy Tremblay <remblayrrroy@nlnet.nl> - 2017-07-19 17:53 +0000
              A Noob Who Is A 100% Right "Mynews" <hot-text@mynews.lazaras.mshome.net> - 2017-07-29 17:13 -0500
          Re: youtube-dl.exe Shadow <Sh@dow.br> - 2017-07-16 19:15 -0300
      Re: youtube-dl.exe 2017.07.15 "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2017-07-17 19:17 +0800

csiph-web