[FFmpeg-devel] [PATCH]Force 16bpp when writing RGB 5:5:5 rawvideo to avi
michaelni at gmx.at
Sun Apr 13 19:37:54 CEST 2014
On Sun, Apr 13, 2014 at 06:53:07PM +0200, Carl Eugen Hoyos wrote:
> WMP expects RGB 5:5:5 rawvideo in avi to have bits_per_pixel set to 16, this
> is also explained on http://www.fourcc.org/rgb.php
> ffmpeg -i input -vcodec rawvideo -pix_fmt rgb555le out.avi produces files that
> WMP cannot read because bpp is set to 15, not a regression afaict.
> Attached patch forces bpp to 16 for RGB555LE, this does not affect decoding
> with FFmpeg since we interpret both 15 and 16bpp as RGB555LE.
> Please comment, Carl Eugen
well, if wmp expects that then its how it should be ...
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The real ebay dictionary, page 3
"Rare item" - "Common item with rare defect or maybe just a lie"
"Professional" - "'Toy' made in china, not functional except as doorstop"
"Experts will know" - "The seller hopes you are not an expert"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel