[FFmpeg-devel] ffmpeg -i INPUT -vcodec rawvideo -pix_fmt nv12 OUT.nut broken?

Stefano Sabatini stefano.sabatini-lala
Sun Jun 6 20:29:59 CEST 2010


On date Sunday 2010-06-06 03:05:41 +0200, Michael Niedermayer encoded:
> On Sun, Jun 06, 2010 at 12:26:37AM +0200, Stefano Sabatini wrote:
> > On date Saturday 2010-06-05 22:40:17 +0200, Stefano Sabatini encoded:
> > > Hi all,
> > > 
> > > can someone check out this command? I'm getting chroma issues with the
> > > output video, while the video displayed with:
> > > ffplay -vf "format=nv12" INPUT
> > > 
> > > looks just fine, and I couldn't find anything obviously wrong during
> > > the first round of debugging, and before to blame my bad RAM I'd like
> > > a double-check.
> > 
> > OK I fixed it myself, the problem was happening indeed only when
> > *playing* the stream, check attached patch.
> > 
> > Regards.
> > -- 
> > FFmpeg = Frenzy and Friendly Multipurpose Perennial Erroneous Goblin
> 
> >  imgconvert.c |    3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 413cd565bd9c7ef79da171e42417782ce5674921  0010-Fix-width-computation-for-nv12-nv21-in-ff_get_plane_.patch
> > >From cd6e0cff4e334cf328554656cd099e911c2606f0 Mon Sep 17 00:00:00 2001
> > From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> > Date: Sun, 6 Jun 2010 00:19:27 +0200
> > Subject: [PATCH 10/10] Fix width computation for nv12/nv21 in ff_get_plane_bytewidth().
> 
> no objection

Applied.
-- 
FFmpeg = Fierce & Fundamental Multimedia Perennial Empowered Gangster



More information about the ffmpeg-devel mailing list