[FFmpeg-devel] [PATCH v4] lavf/movenc: Add palette to video sample description
Mats Peterson
matsp888 at yahoo.com
Sun Feb 21 05:06:12 CET 2016
On 02/21/2016 04:47 AM, Mats Peterson wrote:
> On 02/21/2016 04:33 AM, Mats Peterson wrote:
>>>> i think this would also get run for raw yuv formats
>>>>
>>>
>>>
>>> I see. Do you have a suggestion on how to "isolate" it?
>>>
>>> MAts
>> Is trk->enc->bits_per_coded_sample perhaps zero when using raw yuv?
>>
>
> Hardly. Sorry for that stupid assumption.
>
> Mats
>
> _______________________________________________
> ffmpeg-devel mailing list
It looks like it won't accept any raw YUV format in mov. Look at the
mov_get_codec_tag() function, it calls mov_get_rawvideo_codec_tag()
which uses the avpriv_pix_fmt_bps_mov array in libavcodec/raw.c to
determine which pixel formats are allowed. No yuv format in that array.
Mats
More information about the ffmpeg-devel
mailing list