[FFmpeg-devel] [PATCH v3] lavc/rawdec: Only use AV_PIX_FMT_PAL8 for 1 bpp video in AVI

Mats Peterson matsp888 at yahoo.com
Tue Feb 2 08:38:49 CET 2016


On 02/02/2016 08:36 AM, Mats Peterson wrote:
> On 02/02/2016 06:53 AM, Mats Peterson wrote:
>> On 02/02/2016 06:49 AM, Mats Peterson wrote:
>>> I can tell you "-vcodec copy" doesn't work for nut without my patch
>>> either. It seems nut only supports 24-bit RGB video, am I right? Just a
>>> parenthesis.
>>>
>>> Mats
>>
>> The classical "MPlayer" syndrome, so to speak.
>>
>> Mats
>>
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> Well, it seems the nut file produced from a 1 bpp source file when using
> "-vcodec copy" uses rgb555le pixel format, while the data is still 1
> bpp. No wonder it won't work.
>
> Mats
>

The file doesn't use rgb555le pixel format per se of course, but it will 
be played back with the assumption that it is rgb555le, while the video 
data is in fact 1 bpp.

Mats

-- 
Mats Peterson
http://matsp888.no-ip.org/~mats/


More information about the ffmpeg-devel mailing list