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

Michael Niedermayer michael at niedermayer.cc
Sun Jan 31 17:48:50 CET 2016


On Sun, Jan 31, 2016 at 04:41:44PM +0100, Mats Peterson wrote:
> On 01/31/2016 04:19 PM, Mats Peterson wrote:
> >People will have to get used to the video data being converted from 1
> >bpp to 8 bpp internally, just as they have become used to 2 and 4 bpp
> >data being converted to 8 bpp. It shouldn't come as a shock, since this
> >is perfectly logical behaviour, as long as we don't have "pal1", "pal2"
> >or "pal4" pixel formats.
> >
> >Mats
> 
> Once again, I would be hard pressed to find an application today
> that uses a 1-bit bitmap internally for the purpose of saving space.
> This was important in the past when memory was severely limited.

ffmpeg (the application) reads and writes multimedia files
why should ffmpeg suddenly stop working well with monochrome ?
(and require the user to per file convert to monochrome when the input
 already is monochrome)

Also we talk about the raw video decoder here, i suspect this is used
for more cases than just avi

either way, as said iam happy to switch to using pal8 for monochrome
avis if people want.
I just dont know if people want that 

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160131/e2c5baef/attachment.sig>


More information about the ffmpeg-devel mailing list