vcodec,res

This commit is contained in:
Barbara Miller
2024-03-18 15:38:25 -07:00
parent a230f9e402
commit 737ea9f673
@@ -455,7 +455,7 @@ public class ExtractorYoutubeDL extends Extractor
* with neither height nor width larger than 576.
*/
ProcessBuilder pb = new ProcessBuilder("nice", "-n", Integer.toString(NICE_MOD), "yt-dlp", "--ignore-config",
"--simulate", "--dump-single-json", "-S res:576,hcodec:h264,acodec:aac",
"--simulate", "--dump-single-json", "-S vcodec:h264,res:576,acodec:aac",
"--no-cache-dir", "--no-playlist",
"--playlist-end=" + MAX_VIDEOS_PER_PAGE, uri.toString());
logger.info("running: " + String.join(" ", pb.command()));