[FFmpeg-devel] [PATCH 1/2] lavc/rawdec: Remove temporary switching code for 1 bpp AVI without a palette

Mats Peterson matsp888 at yahoo.com
Sun Feb 14 11:45:36 CET 2016


On 02/14/2016 07:03 AM, Mats Peterson wrote:
> Old stuff, new shape.
>
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

Just as a parenthesis, regardless of whether this patch is applied or 
not, the only way to create a "spec" compliant 1 bpp raw file from a 1 
bpp raw AVI or QuickTime file is to use nut as output, like "ffmpeg -i 
1bpp.avi -vcodec rawvideo [-pix_fmt monow] 1bpp.nut". Both AVI and 
QuickTime will have the wrong stride in the output files. AVI should use 
a 4-byte aligned, and QuickTime a 2-byte aligned stride, but it will 
currently be the same as in nut, i.e. the minimum possible one.

Mats

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



More information about the ffmpeg-devel mailing list