[Ffmpeg-devel] [PATCH] DV Tune Up
Roman Shaposhnik
rvs
Wed Nov 22 21:55:08 CET 2006
Hi
On Wed, 2006-11-22 at 02:30 +0100, Baptiste Coudurier wrote:
> > --- libavcodec/dv.c.orig 2006-11-01 12:21:43.000000000 -0600
> > +++ libavcodec/dv.c 2006-11-14 16:17:10.156250000 -0600
> > @@ -1096,7 +1096,8 @@
> > * 2. It is not at all clear what STYPE is used for 4:2:0 PAL
> > * compression scheme (if any).
> > */
> > - int apt = (c->sys->pix_fmt == PIX_FMT_YUV420P ? 0 : 1);
> > + int apt = (c->sys->pix_fmt == PIX_FMT_YUV420P || c->sys->pix_fmt == PIX_FMT_YUV411P) ? 0 : 1;
>
> IIRC, dv ntsc 411p in ffmpeg is coded according to SMPTE 314M and
> therefore requires apt to be 1.
>
> Only DV 420p (DVCAM) is following IEC specs.
You are absolutely correct.
Thanks,
Roman.
More information about the ffmpeg-devel
mailing list