How to download YouTube, Facebook & Instagram videos & audio in highest quality

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • psybangas
    Platinum Poster
    • May 2006
    • 1580

    How to download YouTube, Facebook & Instagram videos & audio in highest quality

    Came across this handy method to download YouTube, Facebook and Instagram videos and also rip high quality audio files.

    First video tutorial shows you how to get setup on youtube-dl



    The second video explains how to download public and private videos on Facebook and Instagram



    By downloading and installing the latest version of the youtube-dl executable I was also able to use DVDFab Downloader properly. You can download a free trial here:https://www.dvdfab.cn/video-download...m-any-site.htm
  • Dhar_2
    meat and potatoes
    • Jun 2004
    • 18906

    #2
    Re: How to download YouTube, Facebook & Instagram videos & audio in highest quality

    has this been certified or is it just a plug?

    Comment

    • tiddles
      Encryption, Jr.
      • Jun 2004
      • 6861

      #3
      Re: How to download YouTube, Facebook & Instagram videos & audio in highest quality

      Youtube-dL is legit I use it all the time

      Comment

      • moodmosaic
        Getting Somewhere
        • Mar 2019
        • 159

        #4
        Re: How to download YouTube, Facebook & Instagram videos & audio in highest quality

        I haven't tried it but based on its GitHub at https://github.com/ytdl-org/youtube-dl it should be working... once you learn how to use it. I never used it, primarily because I never have a Python installation around that makes it happy enough to run correctly.

        Keep in mind that each source (Twitch, YouTube, etc) does Dynamic Adaptive Streaming over HTTP (DASH) in a different way, so basic knowledge of how this works should be required anyways, IMO.

        And some sources like Mixcloud and Mixcloud Select don't even offer high-res streams and/or downloads, so tools like that would be pointless to be used there.

        Once you learn that, it's basically easier to do it manually, with a bunch of Bash/Zsh scripts, aria2c, ffmpeg, etc.
        Last edited by moodmosaic; June 17, 2020, 11:07:45 AM.

        Comment

        • DIDI
          Aussie Pest
          • Nov 2004
          • 16844

          #5
          Re: How to download YouTube, Facebook & Instagram videos & audio in highest quality

          ^^^I love you technical guys who think " It's basically easy to do it"
          Originally posted by TheVrk
          it IS incredible isn't it??
          STILL pumpin out great set after great set...never cheesed out, never sold out, never lost his touch..
          Simply does not get any better than Hernan
          The 'club spirit' is in the soul. It Never Dies

          Comment

          • Dhar_2
            meat and potatoes
            • Jun 2004
            • 18906

            #6
            Re: How to download YouTube, Facebook & Instagram videos & audio in highest quality

            Originally posted by DIDI
            ^^^I love you technical guys who think " It's basically easy to do it"

            you said it!

            Comment

            • psybangas
              Platinum Poster
              • May 2006
              • 1580

              #7
              Re: How to download YouTube, Facebook & Instagram videos & audio in highest quality

              If you want to download just audio watch this:

              Comment

              • moodmosaic
                Getting Somewhere
                • Mar 2019
                • 159

                #8
                Re: How to download YouTube, Facebook & Instagram videos & audio in highest quality

                Very nice! According to the docs, you only need to pass -x and omit -audio-format and then it'll try to grab the 'best' stream by default for you.

                Comment

                • DIDI
                  Aussie Pest
                  • Nov 2004
                  • 16844

                  #9
                  Re: How to download YouTube, Facebook & Instagram videos & audio in highest quality

                  Ok guys , I need a simple, safe mp3 joiner for mac. Any recommendations

                  Found one
                  Last edited by DIDI; June 22, 2020, 01:41:16 AM.
                  Originally posted by TheVrk
                  it IS incredible isn't it??
                  STILL pumpin out great set after great set...never cheesed out, never sold out, never lost his touch..
                  Simply does not get any better than Hernan
                  The 'club spirit' is in the soul. It Never Dies

                  Comment

                  • moodmosaic
                    Getting Somewhere
                    • Mar 2019
                    • 159

                    #10
                    Re: How to download YouTube, Facebook & Instagram videos & audio in highest quality

                    If you use the Terminal, you could try something like this


                    brew install sox
                    sox file1.mp3 file2.mp3 file3.mp3 output.mp3

                    Comment

                    • DIDI
                      Aussie Pest
                      • Nov 2004
                      • 16844

                      #11
                      Re: How to download YouTube, Facebook & Instagram videos & audio in highest quality

                      Found a nice elegant , simple app on the app store.
                      Originally posted by TheVrk
                      it IS incredible isn't it??
                      STILL pumpin out great set after great set...never cheesed out, never sold out, never lost his touch..
                      Simply does not get any better than Hernan
                      The 'club spirit' is in the soul. It Never Dies

                      Comment

                      • psybangas
                        Platinum Poster
                        • May 2006
                        • 1580

                        #12
                        Re: How to download YouTube, Facebook & Instagram videos & audio in highest quality

                        Most commonly used Youtube-dl commands:
                        1. Download video or playlist youtube-dl <url>
                        2. Download multiple videos youtube-dl <url1> <url2>
                        3. Download audio-only from a video youtube-dl -x <url>
                        4. Download audio in mp3 format youtube-dl -x --audio-format mp3 <url>
                        5. Download video with description,
                        metadata, annotations, subtitles
                        and thumbnail youtube-dl --write-description --write-info-json --write-annotations --write-sub --write-thumbnail <url>
                        6. Download private videos youtube-dl "<url>" --username <email address> --password <password>
                        7. Display the size of Youtube videos youtube-dl -F <url>
                        8. Download videos in certain quality
                        and/or format youtube-dl -f best <url>
                        youtube-dl -f bestaudio <url>
                        Merge files youtube-dl -f bestvideo+bestaudio <url>
                        Separate files youtube-dl -f 'bestvideo,bestaudio' <url> -o '%(title)s.f%(format_id)s.%(ext)s'
                        Best quality video 480 pixel resolution youtube-dl -f "best[height<=480]" <url>
                        Best quality no better than 480p youtube-dl -f 'bestvideo[height<=480]+bestaudio/best[height<=480]' <url>
                        9. Download videos using format code youtube-dl --list-formats <url>
                        youtube-dl -F <url>
                        Then use code displayed LHS youtube-dl -f <code> <url>
                        Enter multiple formats LHS preferred youtube-dl -f <code/code/code> <url>
                        10. Download videos by file extension youtube-dl --format mp4 <url>
                        youtube-dl -f mp4 <url>
                        Download best available formats youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' <url>
                        Download with custom file name youtube-dl -f mp4 -o '%(title)s.f%(format_id)s.%(ext)s' <url>
                        11. Set size limits for videos youtube-dl --min-filesize 100M <playlist_url>
                        youtube-dl --max-filesize 100M <playlist_url>
                        Download best video-only
                        not bigger than 100MB youtube-dl -f 'best[filesize<100M]' <url>
                        12. Download videos by date-wise youtube-dl --date <year/month/day> <url>
                        On or before a specific date youtube-dl --datebefore <year/month/day> <url>
                        On or after a specific date youtube-dl --dateafter <year/month/day> <url>
                        In the last 6 months youtube-dl --dateafter now-6months <url>
                        Between specific dates youtube-dl --dateafter <year/month/day> --datebefore <year/month/day> <url>
                        13. Download specific videos from
                        playlist (eg. 10th file) youtube-dl --playlist-items 10 <playlist_url>
                        Multiple random files (eg. 2,3,7,10) youtube-dl --playlist-items 2,3,7,10 <playlist_url>
                        Download from certain video (eg. 10) youtube-dl --playlist-start 10 <playlist_url>
                        Specific range of files (eg. 2nd to 5th) youtube-dl --playlist-start 2 --playlist-end 5 <playlist_url>
                        14. Download only videos suitable for
                        specific age (eg. 7 years, NSFW) youtube-dl --match-title "<title>" --age-limit 7 --reject-title "nsfw" <playlist_url>
                        15. Resume downloads youtube-dl -c <url>
                        16. Download in an mp4 container youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]' <url>
                        17. Download with a shorter name youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]' -o video.mp4 <url>

                        Comment

                        • ger stokes
                          Gold Gabber
                          • Jun 2004
                          • 547

                          #13
                          Re: How to download YouTube, Facebook &amp; Instagram videos &amp; audio in highest quality

                          Anyone know if these two dj sets can be ripped in something better than 128kbps or is that the max quality streams for them?

                          Tried to rip them using the basic YouTube stream rip sites and they only save them at 128kbps, which is crap.

                          Anyone else able to see if they can be ripped in higher quality?



                          https://hearthis.at/gerstokes/

                          Comment

                          • psybangas
                            Platinum Poster
                            • May 2006
                            • 1580

                            #14
                            Re: How to download YouTube, Facebook &amp; Instagram videos &amp; audio in highest quality

                            Unfortunately no. If you run the following script: youtube-dl --list-formats <url> you will see that best audio is m4a 128k (44.1KHz)

                            DJ Yoda URL: https://youtu.be/eDzagqM9Z4o
                            dj yoda.jpg

                            Trance Wax URL: https://youtu.be/5ak6Woxu95A
                            Trance wax.jpg

                            Comment

                            • psybangas
                              Platinum Poster
                              • May 2006
                              • 1580

                              #15
                              Re: How to download YouTube, Facebook &amp; Instagram videos &amp; audio in highest quality

                              For those having trouble with downloading using youtube-dl because of certificate error, i.e. "Youtube-dl download failed [<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)>]", I came across several fixes that might help you.


                              The quick fix that worked for me was to simply add the following script after the <url> --no-check-certificate


                              Found the solution here: https://github.com/ytdl-org/youtube-...ment-269896421


                              There's also mention of a fix that removes expired Certificates (but that didn't help me) here's the steps:


                              For anyone else having the issue, here are the steps that were posted to manually remove a cert:
                              run certmgr.msc
                              menu -> action -> find certificates.
                              choose "look in fields: issued to"
                              at the "contains" field type "google".
                              click "find now"
                              mark all the expired certs (useful to sort by exp. date)
                              right click and choose "delete"
                              Finally another solution I found, but haven't tried yet is:
                              You can redirect the download directory for youtube-dl to avoid this error :1. first locate your "settings.json" usually in "C:\Users<your user>\AppData\Roaming\youtube-dlg" 2. edit the last line ("youtubedl_path".............. ")
                              and change the path to something practical like C:\youtube-dl 3. paste the latest youtube-dl.exe downloaded from this url
                              https://github.com/ytdl-org/youtube-dl/releases/ Probably you need to make the copy a a fresh .exe time to time to get the latest version but its straight and works.
                              This is a way to manually update the library avoiding the certificate error.

                              If you didn't know already to make sure you're running the latest version of youtube-dl run the following script: youtube-dl -U


                              Hope this information helps.

                              Comment

                              Working...