Skip to content

Videos are downloaded in 640p when llvd is given -r 1080 #136

@peoyli

Description

@peoyli

Videos are downloaded in 640p when llvd is given -r 1080

The course I tested with had the 1080 option available in the player.
'llvd -r 1080' downloads it in 640p
Debug lines 'confirms' 1080p:

Current: 01. 1. Introduction/02. Setting up the exercise files.mp4 @1080p
02 Setting up the exercise files: 100%|████████████████████| 4.94M/4.94M [00:00<00:00, 8.87MiB/s]
✓ Setting up the exercise files downloaded
Downloading subtitles..

ffprobe confirms 640p:

$ ffprobe 1.\ Introduction/02\ Setting\ up\ the\ exercise\ files.mp4
ffprobe version 4.2.7-0ubuntu0.1 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
...
  Duration: 00:02:29.72, start: 0.000000, bitrate: 276 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1138x640 [SAR 4095:4096 DAR 466011:262144], 139 kb/s, SAR 5120:5121 DAR 16:9, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
...

re-downloading in 720p gives 720p videos for the same video in the same course

$ ffprobe 1.\ Introduction/02\ Setting\ up\ the\ exercise\ files.mp4
ffprobe version 4.2.7-0ubuntu0.1 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
...
  Duration: 00:02:29.72, start: 0.000000, bitrate: 298 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 161 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions