VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Page 4 of 4
FirstFirst ... 2 3 4
Results 91 to 107 of 107
Thread
  1. Member
    Join Date
    Oct 2006
    Location
    Malaysia
    Search Comp PM
    Originally Posted by jagabo View Post
    Originally Posted by aruwin View Post
    Hi!
    The highest resolution of this video is 1080p but when I used youtubedl to download it, it only gives me a 720p video.

    I used this code:
    youtube-dl -f best+best https://www.youtube.com/watch?v=ro95_6S8gvU
    pause
    :end

    How can I get the highest quality video?
    Use the -F switch to get a list of available streams:


    Code:
    youtube-dl -F https://www.youtube.com/watch?v=ro95_6S8gvU
    
    [youtube] ro95_6S8gvU: Downloading webpage
    [youtube] ro95_6S8gvU: Downloading video info webpage
    [info] Available formats for ro95_6S8gvU:
    format code  extension  resolution note
    249          webm       audio only DASH audio   50k , opus @ 50k, 2.26MiB
    250          webm       audio only DASH audio   66k , opus @ 70k, 2.94MiB
    140          m4a        audio only DASH audio  130k , m4a_dash container, mp4a.40.2@128k, 6.30MiB
    251          webm       audio only DASH audio  131k , opus @160k, 5.76MiB
    278          webm       256x144    144p   97k , webm container, vp9, 30fps, video only, 4.35MiB
    160          mp4        256x144    144p  118k , avc1.4d400c, 30fps, video only, 4.40MiB
    242          webm       426x240    240p  219k , vp9, 30fps, video only, 6.72MiB
    133          mp4        426x240    240p  259k , avc1.4d4015, 30fps, video only, 9.60MiB
    243          webm       640x360    360p  400k , vp9, 30fps, video only, 12.41MiB
    134          mp4        640x360    360p  559k , avc1.4d401e, 30fps, video only, 18.11MiB
    244          webm       854x480    480p  683k , vp9, 30fps, video only, 21.04MiB
    135          mp4        854x480    480p 1078k , avc1.4d401f, 30fps, video only, 30.87MiB
    247          webm       1280x720   720p 1369k , vp9, 30fps, video only, 45.08MiB
    136          mp4        1280x720   720p 2087k , avc1.4d401f, 30fps, video only, 59.68MiB
    248          webm       1920x1080  1080p 2544k , vp9, 30fps, video only, 92.04MiB
    137          mp4        1920x1080  1080p 4027k , avc1.640028, 30fps, video only, 116.09MiB
    18           mp4        640x360    medium , avc1.42001E, mp4a.40.2@ 96k, 22.30MiB
    22           mp4        1280x720   hd720 , avc1.64001F, mp4a.40.2@192k (best)
    Decide which streams you want. 137 is the best video, 140 or 251 the best audio. Then use the -f switch to specify those streams:

    Code:
    youtube-dl -f 137+140 https://www.youtube.com/watch?v=ro95_6S8gvU
    Or you can simply specify bestvideo+bestaudio and youtube-dl will pick for you:

    Code:
    youtube-dl -f bestvideo+bestaudio https://www.youtube.com/watch?v=ro95_6S8gvU
    youtube picked 137 and 251.
    Thank you! This is very helpful!
    I chose youtube-dl -f 137+140 https://www.youtube.com/watch?v=ro95_6S8gvU to get the best quality and it works!
    I can't live without my computer.
    Quote Quote  
  2. Member
    Join Date
    Oct 2006
    Location
    Malaysia
    Search Comp PM
    Hi there,

    I used this code and it gives me a 1280x720 mkv file without the audio.
    youtube-dl https://www.youtube.com/watch?v=1pFUY_yfaS8
    pause
    :end

    So I used the following code and I still get the same result without audio.

    youtube-dl bestvideo+bestaudio https://www.youtube.com/watch?v=1pFUY_yfaS8
    pause
    :end

    So I went to check he available streams by using this code but the screen popped up for an instance and disappeared! How can I stop the screen from disappearing?
    youtube-dl -F https://www.youtube.com/watch?v=1pFUY_yfaS8
    pause
    :end
    I can't live without my computer.
    Quote Quote  
  3. Member
    Join Date
    Oct 2006
    Location
    Malaysia
    Search Comp PM
    Originally Posted by LZAA View Post
    Use cmd.
    Isn't cmd used in youtubedl?
    Image
    [Attachment 49551 - Click to enlarge]
    I can't live without my computer.
    Quote Quote  
  4. As was previously stated, use the "-F" switch to get the formats. (Open a CMD prompt initially.)

    youtube-dl -f 136+140 https://www.youtube.com/watch?v=1pFUY_yfaS8

    Downloaded no problem.
    Quote Quote  
  5. Member
    Join Date
    Oct 2006
    Location
    Malaysia
    Search Comp PM
    Originally Posted by video.baba View Post
    As was previously stated, use the "-F" switch to get the formats. (Open a CMD prompt initially.)

    youtube-dl -f 136+140 https://www.youtube.com/watch?v=1pFUY_yfaS8

    Downloaded no problem.
    Yeah but the formats displayed only for an a second and that vanished. How do I make the format display stay for as long as I want?
    I can't live without my computer.
    Quote Quote  
  6. Again, as stated before: (Open a CMD prompt initially.) Open a 'Command Prompt/PowerShell' first.

    Example:

    Last edited by video.baba; 16th Jul 2019 at 06:15.
    Quote Quote  
  7. Or use something to make it a little easier:




    Quote Quote  
  8. Originally Posted by aruwin View Post
    Yeah but the formats displayed only for an a second and that vanished. How do I make the format display stay for as long as I want?
    If you're doing from a batch file add "pause" on the next line. The CMD window will remain open until you press a key.

    Code:
    youtube-dl url
    pause
    Quote Quote  
  9. Member
    Join Date
    Jul 2019
    Location
    Denmark
    Search Comp PM
    Not used to forum, but hope I put my question the right place:
    I want to dl from a site, where the URL shows the site name,the file name, and then .html, ie www.dfs.dk/enfilm.html
    Anything from Youtube works fine, but only have cryptic names and NOT .html
    Can anyone help? For danish members: I am talking about taksmlifksnad (baglŠns)
    Quote Quote  
  10. Member
    Join Date
    Oct 2006
    Location
    Malaysia
    Search Comp PM
    Originally Posted by jagabo View Post
    Originally Posted by aruwin View Post
    Yeah but the formats displayed only for an a second and that vanished. How do I make the format display stay for as long as I want?
    If you're doing from a batch file add "pause" on the next line. The CMD window will remain open until you press a key.

    Code:
    youtube-dl url
    pause
    youtube-dl -F https://www.youtube.com/watch?v=4q_JcEjaOBA
    pause

    This is what I used but the format display disappears immediately, I don't have the time to choose the format I want. I want to have the best video and audio format in mp4.
    I can't live without my computer.
    Quote Quote  
  11. Originally Posted by aruwin View Post
    youtube-dl -F https://www.youtube.com/watch?v=4q_JcEjaOBA
    pause

    This is what I used but the format display disappears immediately,
    Works fine here:

    Code:
    C:\>youtube-dl -F https://www.youtube.com/watch?v=4q_JcEjaOBA
    [youtube] 4q_JcEjaOBA: Downloading webpage
    [youtube] 4q_JcEjaOBA: Downloading video info webpage
    [info] Available formats for 4q_JcEjaOBA:
    format code  extension  resolution note
    249          webm       audio only DASH audio   60k , opus @ 50k, 5.98MiB
    250          webm       audio only DASH audio   73k , opus @ 70k, 7.37MiB
    251          webm       audio only DASH audio  119k , opus @160k, 12.96MiB
    140          m4a        audio only DASH audio  131k , m4a_dash container, mp4a.40.2@128k, 15.86M
    iB
    278          webm       86x144     144p   42k , webm container, vp9, 30fps, video only, 4.29MiB
    160          mp4        86x144     144p   53k , avc1.4d400b, 30fps, video only, 4.84MiB
    242          webm       144x240    144p   83k , vp9, 30fps, video only, 8.87MiB
    133          mp4        144x240    144p  104k , avc1.4d400c, 30fps, video only, 10.26MiB
    243          webm       216x360    240p  145k , vp9, 30fps, video only, 15.21MiB
    134          mp4        216x360    240p  223k , avc1.4d400d, 30fps, video only, 21.15MiB
    244          webm       288x480    240p  252k , vp9, 30fps, video only, 25.81MiB
    135          mp4        288x480    240p  398k , avc1.4d4015, 30fps, video only, 35.58MiB
    247          webm       432x720    360p  463k , vp9, 30fps, video only, 42.72MiB
    248          webm       648x1080   720p  676k , vp9, 30fps, video only, 62.29MiB
    136          mp4        432x720    360p  764k , avc1.4d401e, 30fps, video only, 64.50MiB
    137          mp4        648x1080   720p 1479k , avc1.64001f, 30fps, video only, 117.22MiB
    271          webm       864x1440   720p 1754k , vp9, 30fps, video only, 160.15MiB
    18           mp4        216x360    small , avc1.42001E, mp4a.40.2@ 96k, 43.10MiB
    22           mp4        432x720    medium , avc1.64001F, mp4a.40.2@192k
    43           webm       640x360    medium , vp8.0, vorbis@128k, 56.57MiB (best)

    Originally Posted by aruwin View Post
    I don't have the time to choose the format I want. I want to have the best video and audio format in mp4.
    The default is to download the "best".

    Code:
    youtube-dl https://www.youtube.com/watch?v=4q_JcEjaOBA
    pause
    Code:
    General
    Unique ID                                : 16708611877495315350516215146145471252 (0xC91F62B0CF95E66C63FB1E85E455B14)
    Complete name                            : C:\ShopeexNDYY Nadech Yaya #Shopeequizseason4 24_07_17-4q_JcEjaOBA.mkv
    Format                                   : Matroska
    Format version                           : Version 4 / Version 2
    File size                                : 176 MiB
    Duration                                 : 17 min 7 s
    Overall bit rate                         : 1 438 kb/s
    Writing application                      : Lavf57.71.100
    Writing library                          : Lavf57.71.100 / Lavf57.71.100
    ErrorDetectionType                       : Per level 1
    
    Video
    ID                                       : 1
    Format                                   : VP9
    Codec ID                                 : V_VP9
    Duration                                 : 17 min 7 s
    Width                                    : 864 pixels
    Height                                   : 1 440 pixels
    Display aspect ratio                     : 0.600
    Frame rate mode                          : Constant
    Frame rate                               : 30.000 FPS
    Language                                 : English
    Default                                  : Yes
    Forced                                   : No
    DURATION                                 : 00:17:07.366000000
    
    Audio
    ID                                       : 2
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format profile                           : LC
    Codec ID                                 : A_AAC
    Duration                                 : 17 min 7 s
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 44.1 kHz
    Frame rate                               : 43.066 FPS (1024 spf)
    Compression mode                         : Lossy
    Default                                  : Yes
    Forced                                   : No
    DURATION                                 : 00:17:07.413000000
    HANDLER_NAME                             : ISO Media file produced by Google Inc.
    Quote Quote  
  12. Member
    Join Date
    Oct 2006
    Location
    Malaysia
    Search Comp PM
    Originally Posted by jagabo View Post
    Originally Posted by aruwin View Post
    youtube-dl -F https://www.youtube.com/watch?v=4q_JcEjaOBA
    pause

    This is what I used but the format display disappears immediately,
    Works fine here:

    Code:
    C:\>youtube-dl -F https://www.youtube.com/watch?v=4q_JcEjaOBA
    [youtube] 4q_JcEjaOBA: Downloading webpage
    [youtube] 4q_JcEjaOBA: Downloading video info webpage
    [info] Available formats for 4q_JcEjaOBA:
    format code  extension  resolution note
    249          webm       audio only DASH audio   60k , opus @ 50k, 5.98MiB
    250          webm       audio only DASH audio   73k , opus @ 70k, 7.37MiB
    251          webm       audio only DASH audio  119k , opus @160k, 12.96MiB
    140          m4a        audio only DASH audio  131k , m4a_dash container, mp4a.40.2@128k, 15.86M
    iB
    278          webm       86x144     144p   42k , webm container, vp9, 30fps, video only, 4.29MiB
    160          mp4        86x144     144p   53k , avc1.4d400b, 30fps, video only, 4.84MiB
    242          webm       144x240    144p   83k , vp9, 30fps, video only, 8.87MiB
    133          mp4        144x240    144p  104k , avc1.4d400c, 30fps, video only, 10.26MiB
    243          webm       216x360    240p  145k , vp9, 30fps, video only, 15.21MiB
    134          mp4        216x360    240p  223k , avc1.4d400d, 30fps, video only, 21.15MiB
    244          webm       288x480    240p  252k , vp9, 30fps, video only, 25.81MiB
    135          mp4        288x480    240p  398k , avc1.4d4015, 30fps, video only, 35.58MiB
    247          webm       432x720    360p  463k , vp9, 30fps, video only, 42.72MiB
    248          webm       648x1080   720p  676k , vp9, 30fps, video only, 62.29MiB
    136          mp4        432x720    360p  764k , avc1.4d401e, 30fps, video only, 64.50MiB
    137          mp4        648x1080   720p 1479k , avc1.64001f, 30fps, video only, 117.22MiB
    271          webm       864x1440   720p 1754k , vp9, 30fps, video only, 160.15MiB
    18           mp4        216x360    small , avc1.42001E, mp4a.40.2@ 96k, 43.10MiB
    22           mp4        432x720    medium , avc1.64001F, mp4a.40.2@192k
    43           webm       640x360    medium , vp8.0, vorbis@128k, 56.57MiB (best)

    Originally Posted by aruwin View Post
    I don't have the time to choose the format I want. I want to have the best video and audio format in mp4.
    The default is to download the "best".

    Code:
    youtube-dl https://www.youtube.com/watch?v=4q_JcEjaOBA
    pause
    Code:
    General
    Unique ID                                : 16708611877495315350516215146145471252 (0xC91F62B0CF95E66C63FB1E85E455B14)
    Complete name                            : C:\ShopeexNDYY Nadech Yaya #Shopeequizseason4 24_07_17-4q_JcEjaOBA.mkv
    Format                                   : Matroska
    Format version                           : Version 4 / Version 2
    File size                                : 176 MiB
    Duration                                 : 17 min 7 s
    Overall bit rate                         : 1 438 kb/s
    Writing application                      : Lavf57.71.100
    Writing library                          : Lavf57.71.100 / Lavf57.71.100
    ErrorDetectionType                       : Per level 1
    
    Video
    ID                                       : 1
    Format                                   : VP9
    Codec ID                                 : V_VP9
    Duration                                 : 17 min 7 s
    Width                                    : 864 pixels
    Height                                   : 1 440 pixels
    Display aspect ratio                     : 0.600
    Frame rate mode                          : Constant
    Frame rate                               : 30.000 FPS
    Language                                 : English
    Default                                  : Yes
    Forced                                   : No
    DURATION                                 : 00:17:07.366000000
    
    Audio
    ID                                       : 2
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format profile                           : LC
    Codec ID                                 : A_AAC
    Duration                                 : 17 min 7 s
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 44.1 kHz
    Frame rate                               : 43.066 FPS (1024 spf)
    Compression mode                         : Lossy
    Default                                  : Yes
    Forced                                   : No
    DURATION                                 : 00:17:07.413000000
    HANDLER_NAME                             : ISO Media file produced by Google Inc.
    I don't know why mine doesn't stay open. Thank you for providing me the formats.
    And what about videos that are not from you tube?
    I use the same code for this video https://www2.ondramanice.tv/nakee/watch-nakee-episode-1-online
    But it doesn't download.
    I can't live without my computer.
    Quote Quote  
  13. Average video editor Sviests's Avatar
    Join Date
    Sep 2018
    Location
    USA,Sweden
    Search Comp PM
    Originally Posted by aruwin View Post
    I don't know why mine doesn't stay open. Thank you for providing me the formats.
    And what about videos that are not from you tube?
    I use the same code for this video https://www2.ondramanice.tv/nakee/watch-nakee-episode-1-online
    But it doesn't download.
    There's a download button in the video. On the very bottom of the video:
    Name:  downl1.png
Views: 186
Size:  14.8 KB
    After that a page opens with all these options. Just click on f.e. "original video"
    Click image for larger version

Name:	downl2.png
Views:	11
Size:	13.5 KB
ID:	49666
    And after 5-10 sec youll get a promt to save a 1.5GB file.
    Quote Quote  
  14. Originally Posted by Sviests View Post
    Originally Posted by aruwin View Post
    I don't know why mine doesn't stay open. Thank you for providing me the formats.
    And what about videos that are not from you tube?
    I use the same code for this video https://www2.ondramanice.tv/nakee/watch-nakee-episode-1-online
    But it doesn't download.
    There's a download button in the video...
    If there wasn't a download button you can use a browser's Developer Tools (F12, Network tab) to get a URL for the video. In this particular case it is

    Code:
    https://redirector.googlevideo.com/videoplayback?id=c637e99817d729cc&itag=22&source=picasa&begin=0&requiressl=yes&mm=30&mn=sn-4g5e6nsd&ms=nxu&mv=m&mvi=3&pl=24&sc=yes&ttl=transient&ei=l1o8XfDPHImC6dsPyq2J4As&susc=ph&app=fife&mime=video/mp4&cnr=14&dur=6361.292&lmt=1563148751117622&mt=1564236398&ipbits=0&cms_redirect=yes&keepalive=yes&ratebypass=yes&ip=116.203.92.200&expire=1564243639&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,ms,mv,mvi,pl,sc,ttl,ei,susc,app,mime,cnr,dur,lmt&signature=CD07E5F88E0CFE6BC12704B48FBAF70F40BBA2ABAF49D752FD203C8D572C3E03.6026538567CFC44C1C8B820490FF17FE2F7935B631C51EA731492A831D3241A8&key=us0
    or

    Code:
    https://r4---sn-qxo7rn7s.googlevideo.com/videoplayback?id=c637e99817d729cc&itag=22&source=picasa&begin=0&requiressl=yes&mvi=3&pl=24&sc=yes&ttl=transient&ei=l1o8XfDPHImC6dsPyq2J4As&susc=ph&app=fife&mime=video/mp4&cnr=14&dur=6361.292&lmt=1563148751117622&ipbits=0&keepalive=yes&ratebypass=yes&ip=116.203.92.200&expire=1564243639&sparams=app,cnr,dur,ei,expire,id,ip,ipbits,itag,lmt,mime,mip,mm,mn,ms,mv,mvi,pl,requiressl,sc,source,susc,ttl&signature=12524C940BD488C753A75CA23745588EE103F0B5.2DC9D6F50DA3D13550DB88778D676C6B2C998BB7&key=cms1&cms_redirect=yes&mip=141.101.173.54&mm=30&mn=sn-qxo7rn7s&ms=nxu&mt=1564236844&mv=u
    Quote Quote  
  15. Member
    Join Date
    Jul 2019
    Location
    Denmark
    Search Comp PM
    Thank you Jagabo, this was exactly what I was looking for (F12-Network), but meantime, a very kind person wrote me a python-script, that actually does the job, so I'm home free now But thanks anyway.
    Quote Quote  
  16. Originally Posted by hunerbo View Post
    Thank you Jagabo, this was exactly what I was looking for (F12-Network), but meantime, a very kind person wrote me a python-script, that actually does the job, so I'm home free now But thanks anyway.
    How about sharing that python script?
    Quote Quote  



Similar Threads