Skip to content

Commit e5817cf

Browse files
committed
Replace ytdlp config argument for format selection
Using --format-sort is more flexible than using --format
1 parent 9f9a6c4 commit e5817cf

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

config/ytdlp_config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
// For example "134+140/mp4+m4a/bestvideo+bestaudio"
44
// would prefer 360p video + AAC 128kpbs audio to be muxed with ffmpeg,
55
// otherwise fallback to "best" according to yt-dlp's logic
6-
"format": "mp4+m4a/bestvideo+bestaudio",
7-
6+
//"format": "mp4+m4a/bestvideo+bestaudio",
7+
// Alternatively, using format sort should be more flexible:
8+
"format_sort": ["res:480","+codec:h264:m4a"],
9+
810
// Path to your cookies (this value is replaced by the value
911
// submitted via the --cookies parameter to livestream_saver)
1012
// "cookiefile": "",

0 commit comments

Comments
 (0)