Browse Source

ffmpeg: Force 420 with target dvd and svcd.

Fixes ticket283

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.8
Michael Niedermayer 14 years ago
parent
commit
f6e2af4f5a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ffmpeg.c

+ 2
- 0
ffmpeg.c View File

@@ -4225,6 +4225,7 @@ static int opt_target(const char *opt, const char *arg)

opt_frame_size("s", norm == PAL ? "480x576" : "480x480");
opt_frame_rate("r", frame_rates[norm]);
opt_frame_pix_fmt("pix_fmt", "yuv420p");
opt_default("g", norm == PAL ? "15" : "18");

opt_default("b", "2040000");
@@ -4247,6 +4248,7 @@ static int opt_target(const char *opt, const char *arg)

opt_frame_size("vcodec", norm == PAL ? "720x576" : "720x480");
opt_frame_rate("r", frame_rates[norm]);
opt_frame_pix_fmt("pix_fmt", "yuv420p");
opt_default("g", norm == PAL ? "15" : "18");

opt_default("b", "6000000");


Loading…
Cancel
Save