[FFmpeg-devel] [PATCH]Add two v4l2 pix_fmts
Paul B Mahol
onemda at gmail.com
Sat Feb 16 16:44:05 CET 2013
On 2/16/13, Stefano Sabatini <stefasab at gmail.com> wrote:
> On date Saturday 2013-02-16 01:02:20 +0100, Stefano Sabatini encoded:
>> 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?
> Also note that this is not meant to block the patch, but an
> explanation would be welcome.
Because swscale lack interleaved/packed yuv pixel formats where U and V are
> FFmpeg = Friendly and Foolish Meaningful Peaceful Epic Gorilla
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
More information about the ffmpeg-devel