[FFmpeg-devel] [PATCH]Add two v4l2 pix_fmts

Stefano Sabatini stefasab at gmail.com
Sat Feb 16 01:02:20 CET 2013


On date Tuesday 2013-02-12 00:45:52 +0000, Carl Eugen Hoyos encoded:
> Stefano Sabatini <stefasab <at> gmail.com> writes:
> 
> > >      if (desired_format == V4L2_PIX_FMT_YVU420)
> > >          st->codec->codec_tag = MKTAG('Y', 'V', '1', '2');
> > > +    else if (desired_format == V4L2_PIX_FMT_YVU410)
> > > +        st->codec->codec_tag = MKTAG('Y', 'V', 'U', '9');
> > 
> > why these exceptions?
> 
> They are needed both for decoding and remuxing YVU*.

Yes but why do they need to set a specific tag (as opposed to the
other formats), or in other works why are they special?
-- 
FFmpeg = Fiendish Foolish Majestic Powerful Eccentric Gem


More information about the ffmpeg-devel mailing list