subtitle.py: dodaj -pix_fmt yuv420p v burn-in encode (subtitle re-encode je perpetuiral broadcast yuv422p iz prej\u0161nje stopnje)

This commit is contained in:
OpenClaw Agent 2026-05-02 12:05:47 +00:00
parent 46ec0cec9c
commit 6279b0ec03

View File

@ -261,6 +261,7 @@ Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
"ffmpeg", "-y", "-i", str(video),
"-vf", vf,
"-c:v", "libx264", "-preset", "medium", "-crf", "21",
"-pix_fmt", "yuv420p", # web/mobile compat (Instagram/FB/web players)
"-c:a", "copy",
"-movflags", "+faststart",
str(output),