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

video-downloader: yt-dlp, bbdown, lux #165

Open
magicdawn opened this issue Jul 11, 2023 · 2 comments
Open

video-downloader: yt-dlp, bbdown, lux #165

magicdawn opened this issue Jul 11, 2023 · 2 comments
Labels

Comments

@magicdawn
Copy link
Owner

magicdawn commented Jul 11, 2023

@magicdawn
Copy link
Owner Author

yt-dlp

config file

$ cat ~/.config/yt-dlp/config
# my yt-dlp config
--proxy 127.0.0.1:7890

# cookies
--cookies-from-browser chrome

list formats

yt-dlp -v -F

-F / --list-formats

可以直观看到 format 详情
image

image

自动选择的 vp09.00.31.08, ffprobe 给的 vp9

@magicdawn
Copy link
Owner Author

magicdawn commented Nov 4, 2023

sorting formats

syntax

  • -S field 表示按照 field 降序, (默认
  • -S +field 升序
  • -S field:val, 按照降序排列, 筛选出 format[field] <= val 的格式, val 是最大值. +field:val, val 是最小值

常用

  • -S res:720 最高 720 p

Container: mp4 / webm

# Containers that may be used when merging formats, separated by "/"
# 合并成 mp4
--merge-output-format mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant