VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. hi
    i have a question about this script
    https://github.com/mal1k-me/bunny-cdn-drm-video-dl
    how i can set the quality .. i need 480 or 360p only video
    Quote Quote  
  2. In the ydl_opts hash around lines 153-174 you need to tell yt-dlp to select what you want; one way is to add a line

    'format': 'bv*[height<=480]+ba/b[height<=480]',

    to the dict. See the yt-dlp documentation for more details.
    Quote Quote  
  3. Originally Posted by Obo View Post
    In the ydl_opts hash around lines 153-174 you need to tell yt-dlp to select what you want; one way is to add a line

    'format': 'bv*[height<=480]+ba/b[height<=480]',

    to the dict. See the yt-dlp documentation for more details.
    many thanks
    it give me error
    ERROR: [generic] video: Requested format is not available. Use --list-formats for a list of available formats
    with some edbug i get the message
    DEBUG - Available resolutions: ['1280x720', '842x480', '640x360', '352x240']
    i try to play with the script
    'format': 'bv*[height<=480]+ba/b[height<=480] / wv*+ba/w',
    but i get the 720p res everytime
    Quote Quote  
  4. found it
    changed return resolutions[0] # highest resolution, -1 for lowest
    to
    return '640x360' if '640x360' in resolutions else resolutions[0]
    thanks again
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!