MozillaZine

Video Downloading - in high resolution

User Help for Mozilla Firefox
motivated
 
Posts: 40
Joined: March 6th, 2020, 1:46 pm

Post Posted October 20th, 2020, 2:20 pm

Hi there, I'm trying to use a video downloader which will download and save a YT video in higher resolution. What resolution does youtube.dll save in? 1080p? I ask because Ant Downloader extension to FF downloads videos in 380 so you can't see any of the "text" (words) in the YT tutorial. Also, how does youtube.dll work? I download and install it and then have to download and install some ffmeg application? Must I also install Python? Thank you!

LIMPET235
Moderator

User avatar
 
Posts: 39303
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted October 21st, 2020, 4:57 am

Hi M,
This extension seems to fit most of your needs.
I've been using it for a few years & it just works.
Nothing to add AFAICS....'cept for a small (whatever you feel like contributing), donation to D/L 1080P.
Please check the D/L page & read the section on "PRO Upgrade."

> https://addons.mozilla.org/en-US/firefo ... -download/

You could also try any of the other 4 suggested extensions at the bottom.
Ancient Amateur Astronomer
Win-7-HP/Intel® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-62.0-70.0/T-bird-2.0.0.24/SnagIt-v10.0.1/MWP-7.12.
W.M.Y.C.
(Always choose the "Custom" Install.)

morat
 
Posts: 4098
Joined: February 3rd, 2009, 6:29 pm

Post Posted October 21st, 2020, 6:26 am

I don't use the addon. Here is a review...

Go to the video and select the resolution you want. Then click on the download arrow in the browser. Then find the current video at the top of the list in the downloader window.

Maybe it's broken.

Review of Ant Video Downloader
http://addons.mozilla.org/firefox/addon/8174/reviews/1120144

Ant Video Downloader
http://addons.mozilla.org/firefox/addon/8174
http://support.ant.com/help/en-us/7-ant-video-downloader

...

I use the youtube-dl.exe executable. It works great.

YouTube Video Url
http://www.youtube.com/watch?v=abracadabra

youtube-dl.exe --help
youtube-dl.exe --list-formats "abracadabra"
youtube-dl.exe --format 123 "abracadabra"

YouTube Video Downloader
http://rg3.github.io/youtube-dl/

The youtube-dl.py script requires python.

The youtube-dl.exe executable does not require python.

Download Page
http://ytdl-org.github.io/youtube-dl/download.html

* click "Windows exe" to download the youtube-dl.exe executable

The youtube-dl.exe executable requires Microsoft Visual C++ 2010 Redistributable x86. (vcredist_x86.exe)

The program can't start because MSVCR100.dll is missing from your computer. Try reinstalling the program to fix this problem.

If you get the error running the youtube-dl.exe executable, then you need to install the vcredist_x86.exe file.

OPTIONAL

If you want to convert files (e.g. webm to mp3), then you can download the ffmpeg.exe and ffprobe.exe executables.

Download Page
http://ffmpeg.zeranoe.com/builds/

* select Release Win32 Static and click "Download Build" to download
* unzip ffmpeg.exe and ffprobe.exe executables in zip file
* delete zip file

Usage

youtube-dl.exe --help
youtube-dl.exe --version

YouTube Video Url
http://www.youtube.com/watch?v=abracadabra

youtube-dl.exe --list-formats "abracadabra"

youtube-dl.exe --format 123 "abracadabra"

youtube-dl.exe --format 123 "abracadabra" --output "youtube.%(ext)s"

ffmpeg.exe -help
ffmpeg.exe -version

ffprobe.exe -help
ffprobe.exe -version

youtube-dl.exe --format 123 "abracadabra" --extract-audio --audio-format "mp3"

youtube-dl.exe --format 123 "abracadabra" --output "youtube.%(ext)s" --extract-audio --audio-format "mp3"

therube

User avatar
 
Posts: 20571
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted October 21st, 2020, 10:09 am

zeranoe closed up shop, last month, I believe it was. (Forums were closed even before that.)

Download FFmpeg has links to Windows binaries (& more).
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

sarahk99
New Member
 
Posts: 1
Joined: October 19th, 2020, 3:05 pm

Post Posted October 24th, 2020, 3:30 pm

I don't use the addon. Here is a review...

Go to the video and select the resolution you want. Then click on the download arrow in the browser. Then find the current video at the top of the list in the downloader window.

Maybe it's broken.

Review of Ant Video Downloader
http://addons.mozilla.org/firefox/addon/8174/reviews/1120144

Ant Video Downloader
http://addons.mozilla.org/firefox/addon/8174
http://support.ant.com/help/en-us/7-ant-video-downloader

...

I use the youtube-dl.exe executable. It works great.

YouTube Video Url
http://www.youtube.com/watch?v=abracadabra

youtube-dl.exe --help
youtube-dl.exe --list-formats "abracadabra"
youtube-dl.exe --format 123 "abracadabra"

YouTube Video Downloader
http://rg3.github.io/youtube-dl/

The youtube-dl.py script requires python.

The youtube-dl.exe executable does not require python.

Download Page
http://ytdl-org.github.io/youtube-info/download.html

* click "Windows exe" to download the youtube-dl.exe executable

The youtube-dl.exe executable requires Microsoft Visual C++ 2010 Redistributable x86. (vcredist_x86.exe)

The program can't start because MSVCR100.dll is missing from your computer. Try reinstalling the program to fix this problem.

If you get the error running the youtube-dl.exe executable, then you need to install the vcredist_x86.exe file.

OPTIONAL

If you want to convert files (e.g. webm to mp3), then you can download the ffmpeg.exe and ffprobe.exe executables.

Download Page
http://ffmpeg.zeranoe.com/builds/

* select Release Win32 Static and click "Download Build" to download
* unzip ffmpeg.exe and ffprobe.exe executables in zip file
* delete zip file

Usage

youtube-dl.exe --help
youtube-dl.exe --version

YouTube Video Url
http://www.youtube.com/watch?v=abracadabra

youtube-dl.exe --list-formats "abracadabra"

youtube-dl.exe --format 123 "abracadabra"

youtube-dl.exe --format 123 "abracadabra" --output "youtube.%(ext)s"

ffmpeg.exe -help
ffmpeg.exe -version

ffprobe.exe -help
ffprobe.exe -version

youtube-dl.exe --format 123 "abracadabra" --extract-audio --audio-format "mp3"

youtube-dl.exe --format 123 "abracadabra" --output "youtube.%(ext)s" --extract-audio --audio-format "mp3"



thank you for such lengthy explanation
quick question
how can I download 360 video from YouTube ( its seems like its only downloading it with fixed perspective )

Tushman
 
Posts: 197
Joined: May 4th, 2005, 7:50 pm

Post Posted October 24th, 2020, 6:36 pm

morat wrote:youtube-dl.exe --format 123 "abracadabra" --extract-audio --audio-format "mp3"

youtube-dl.exe --format 123 "abracadabra" --output "youtube.%(ext)s" --extract-audio --audio-format "mp3"


What is the 123 supposed to represent in your examples?

morat
 
Posts: 4098
Joined: February 3rd, 2009, 6:29 pm

Post Posted October 24th, 2020, 6:53 pm

@Tushman

Here is an example.

Code: Select all
youtube-dl.exe --list-formats 64Po0qJqHFU

[youtube] 64Po0qJqHFU: Downloading webpage
[info] Available formats for 64Po0qJqHFU:
format code  extension  resolution note
249          webm       audio only tiny   54k , opus @ 50k (48000Hz), 9.03MiB
250          webm       audio only tiny   77k , opus @ 70k (48000Hz), 12.52MiB
140          m4a        audio only tiny  131k , m4a_dash container, mp4a.40.2@128k (44100Hz), 22.85MiB
251          webm       audio only tiny  142k , opus @160k (48000Hz), 23.13MiB
160          mp4        230x144    144p   45k , avc1.4d400c, 30fps, video only, 3.92MiB
394          mp4        230x144    144p   63k , av01.0.00M.08, 30fps, video only, 7.74MiB
278          webm       230x144    144p   77k , webm container, vp9, 30fps, video only, 9.32MiB
133          mp4        384x240    240p   82k , avc1.4d400d, 30fps, video only, 6.82MiB
242          webm       384x240    240p  138k , vp9, 30fps, video only, 13.81MiB
395          mp4        384x240    240p  145k , av01.0.00M.08, 30fps, video only, 13.93MiB
134          mp4        576x360    360p  202k , avc1.4d401e, 30fps, video only, 28.09MiB
243          webm       576x360    360p  245k , vp9, 30fps, video only, 24.62MiB
396          mp4        576x360    360p  252k , av01.0.01M.08, 30fps, video only, 24.64MiB
244          webm       768x480    480p  419k , vp9, 30fps, video only, 39.79MiB
135          mp4        768x480    480p  420k , avc1.4d401f, 30fps, video only, 54.09MiB
397          mp4        768x480    480p  429k , av01.0.04M.08, 30fps, video only, 42.27MiB
247          webm       1152x720   720p  765k , vp9, 30fps, video only, 72.45MiB
398          mp4        1152x720   720p  777k , av01.0.05M.08, 30fps, video only, 77.50MiB
136          mp4        1152x720   720p  839k , avc1.4d401f, 30fps, video only, 107.21MiB
248          webm       1728x1080  1080p 1333k , vp9, 30fps, video only, 140.38MiB
137          mp4        1728x1080  1080p 1584k , avc1.640028, 30fps, video only, 193.87MiB
271          webm       1920x1200  1080p 3161k , vp9, 30fps, video only, 360.45MiB
18           mp4        576x360    360p  358k , avc1.42001E, 30fps, mp4a.40.2@ 96k (44100Hz), 63.28MiB
22           mp4        1152x720   720p  736k , avc1.64001F, 30fps, mp4a.40.2@192k (44100Hz) (best)

The leftmost number is the format code. If you want to download the best audio file, then use format code 251.

Jose Raul Capablanca
http://www.youtube.com/watch?v=64Po0qJqHFU

Tushman
 
Posts: 197
Joined: May 4th, 2005, 7:50 pm

Post Posted October 25th, 2020, 9:24 am

@morat,

Hey that's pretty neat. I haven't seen that kind of output before. But then again... I've only been using Youtube-dl for the past year so I'm not as versed with the program as you are.

I have another question for you. In the example you gave here:
morat wrote:youtube-dl.exe --format 123 "abracadabra" --output "youtube.%(ext)s" --extract-audio --audio-format "mp3"


I understand everything except for the output switch. Let me see if I understand you correctly:

You're telling youtube-dl to examine the youtube video link "abracadabra" and extract the audio (format 123) and convert it to an MP3 file format. And then give you the resulting output with a filename of:

youtube.mp3

Am I correct in this? I normally don't use the output switch so I just want to make sure I'm understanding this properly.

morat
 
Posts: 4098
Joined: February 3rd, 2009, 6:29 pm

Post Posted October 25th, 2020, 10:20 am

Tushman wrote:Am I correct in this?

Yep.

Here is the batch file I use to download a mp3 file.

* C:\Windows\System32\ytdl.bat

Code: Select all
@echo off
setlocal enabledelayedexpansion
if "%~1"=="" (
echo.
echo Usage:
echo.
echo ytdl.bat [video id]
echo ytdl.bat [video id] [format code]
echo ytdl.bat [video id] [title]
echo ytdl.bat [video id] [format code] [title]
) else (
if "%~2"=="" (
C:\YouTube\youtube-dl.exe --list-formats "%~1"
) else (
if "%~3"=="" (
set /a N=%~2 >nul 2>&1
set /a N=!N! / 1 >nul 2>&1
if "%~2" == "!N!" (
rem second param is numeric likely format code
C:\YouTube\youtube-dl.exe --format "%~2" "%~1" --output "youtube.%%(ext)s" --extract-audio --audio-format "mp3"
) else (
rem second param is not numeric likely title
C:\YouTube\youtube-dl.exe --format "bestaudio" "%~1" --output "%~n2.%%(ext)s" --extract-audio --audio-format "mp3"
)) else (
C:\YouTube\youtube-dl.exe --format "%~2" "%~1" --output "%~n3.%%(ext)s" --extract-audio --audio-format "mp3"
)))

I wish I could get the active browser tab url programmatically so I wouldn't need to copy the video id.

AutoHotkey - Get active browser tab url
http://www.autohotkey.com/boards/viewtopic.php?f=6&t=3702

Tushman
 
Posts: 197
Joined: May 4th, 2005, 7:50 pm

Post Posted October 25th, 2020, 10:47 am

Very cool, I like the batch file idea. I could have never written that myself - thanks for posting your example(s). It is such a nifty little program to use (youtube-dl), it's a shame I didn't find out about sooner because I think it's fantastic. For such a small program (< 8 MB) I'm amazed by everything that it can do. It is programmed very well.

therube

User avatar
 
Posts: 20571
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted October 27th, 2020, 10:03 am

Here is the batch file I use to download a mp3 file.

Actually, that downloads a file (possibly audio [alone], possibly video [alone, which would defeat the purpose of getting an audio file], or possibly an audio+video combined) [depending on which format code you've chosen], then extracts the audio portion from that download, then converts that to mp3.

If you don't need mp3, if you're OK with m4a or vorbis, or whatever native formats they already have up there, you can just download that audio (only) portion & no need to convert to mp3.
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

morat
 
Posts: 4098
Joined: February 3rd, 2009, 6:29 pm

Post Posted October 27th, 2020, 11:08 am

I use the batch to download audio only files obviously.

My crappy mp3 player doesn't support m4a or webm files.

therube

User avatar
 
Posts: 20571
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted October 27th, 2020, 12:12 pm

Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

motivated
 
Posts: 40
Joined: March 6th, 2020, 1:46 pm

Post Posted October 28th, 2020, 9:02 am

Hi Limpet,

Thank you.

I seemed to have downloaded and installed to to my FF but where do I find it to use it when I want to download? Does it have its own icon on the FF tool/task bar?

Is the process that I play the YT video and then press the icon for that FF add-on to download?

Also, is there a place in my account or settings where I can check to get notifications of resupplies to my post?

I check mark the Notify of replies under my post but I don't receive any.

Thank you again.

LIMPET235 wrote:Hi M,
This extension seems to fit most of your needs.
I've been using it for a few years & it just works.
Nothing to add AFAICS....'cept for a small (whatever you feel like contributing), donation to D/L 1080P.
Please check the D/L page & read the section on "PRO Upgrade."

> https://addons.mozilla.org/en-US/firefo ... -download/

You could also try any of the other 4 suggested extensions at the bottom.

LIMPET235
Moderator

User avatar
 
Posts: 39303
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted October 28th, 2020, 9:12 am

Hi M,
When you go to the D/L page, you'll see an image there that shows you a big button that appears at the bottom of the videos.

Don't forget that for 1080P you'll need to contribute a "small" amount of $$'s or cents.
It's all explained on the D/L page.


The Notification function is a tad iffy...Sometimes it works for some people.....others not so.
Ancient Amateur Astronomer
Win-7-HP/Intel® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-62.0-70.0/T-bird-2.0.0.24/SnagIt-v10.0.1/MWP-7.12.
W.M.Y.C.
(Always choose the "Custom" Install.)

Return to Firefox Support


Who is online

Users browsing this forum: Bing [Bot] and 9 guests