Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create scripts/lb-wrapper.greedy à la 'yt-dlp dl --format-sort size' [and refactor /usr/local/bin/lb-wrapper] #64

Merged
merged 10 commits into from
Dec 10, 2023

Conversation

@holta holta added the documentation Improvements or additions to documentation label Dec 8, 2023
@holta holta requested a review from deldesir December 8, 2023 22:43
@holta holta added the enhancement New feature or request label Dec 8, 2023
@holta holta changed the title Create scripts/lb-wrapper.greedy à la 'yt-dlp dl -f best' Create scripts/lb-wrapper.greedy à la 'yt-dlp dl --format-sort size' Dec 10, 2023
@holta
Copy link
Member Author

holta commented Dec 10, 2023

This PR tested successfully!

image

ASIDE: MP4 downloads such as this one (https://www.youtube.com/watch?v=-rJ55fp1JlY, "22 Miles (35 km) in a Blizzard Without a Tent - Solo Camping in Survival Shelters") evidently need more work to get their covers / posters / thumbnails working — building on:

@holta holta changed the title Create scripts/lb-wrapper.greedy à la 'yt-dlp dl --format-sort size' Create scripts/lb-wrapper.greedy à la 'yt-dlp dl --format-sort size' [and refactor /usr/local/bin/lb-wrapper] Dec 10, 2023
@holta holta merged commit 0c48535 into iiab:master Dec 10, 2023
@holta
Copy link
Member Author

holta commented Dec 10, 2023

@deldesir @EMG70 another codec data point for us, building on PR #63:

root@box:/library/calibre-web/Outdoor Boys/22 Miles (35 km) in a Blizzard Without a Tent - Solo Camping in Survival Shelters (2)# mediainfo 22\ Miles\ \(35\ km\)\ in\ a\ Blizzard\ Without\ a\ T\ -\ Outdoor\ Boys.mp4
General
Complete name                            : 22 Miles (35 km) in a Blizzard Without a T - Outdoor Boys.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 136 MiB
Duration                                 : 32 min 35 s
Overall bit rate                         : 583 kb/s
Frame rate                               : 29.970 FPS
Movie name                               : 22 Miles (35 km) in a Blizzard Without a Tent - Solo Camping in Survival Shelters
Performer                                : Outdoor Boys
Description                              : Outdoor Boys on FACEBOOK / https://www.facebook.com/TeamOutdoorBoys /  / Outdoor Boys on INSTAGRAM / @outdoorboyschannel /  / BUY OUTDOOR BOYS T-SHIRTS /  http://shop.spreadshirt.com/catsandcarp/
Recorded date                            : 20231209
Writing application                      : Lavf60.16.100
Comment                                  : https://www.youtube.com/watch?v=-rJ55fp1JlY
LongDescription                          : Outdoor Boys on FACEBOOK / https://www.facebook.com/TeamOutdoorBoys /  / Outdoor Boys on INSTAGRAM / @outdoorboyschannel /  / BUY OUTDOOR BOYS T-SHIRTS /  http://shop.spreadshirt.com/catsandcarp/

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L3
Format settings                          : CABAC / 3 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 3 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 32 min 35 s
Bit rate                                 : 479 kb/s
Width                                    : 640 pixels
Height                                   : 360 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 29.970 (29970/1000) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.069
Stream size                              : 112 MiB (82%)
Title                                    : ISO Media file produced by Google Inc.
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 32 min 35 s
Bit rate mode                            : Constant
Bit rate                                 : 96.0 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 44.1 kHz
Frame rate                               : 43.066 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 22.4 MiB (16%)
Title                                    : ISO Media file produced by Google Inc.
Language                                 : English
Default                                  : Yes
Alternate group                          : 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant