[FFmpeg-devel] [PATCH v5] lavf/movenc: Add palette to video sample description
Mats Peterson
matsp888 at yahoo.com
Sun Feb 21 06:40:50 CET 2016
On 02/21/2016 06:09 AM, Mats Peterson wrote:
> On 02/21/2016 06:01 AM, Mats Peterson wrote:
>> Checking for pixel format to be RGB (including monochrome) and not YUV.
>>
>
>
> I should add that converting an odd-width file to raw 24-bit QuickTime
> produces a skewed file. Something is not entirely correct in the
> calculations in ff_reshuffle_raw_rgb(), probably related to QuickTime
> using 2-byte rather than 4-byte aligned strides. Try the following:
>
> ffmpeg -i 8bpp_129.mov -vcodec rawvideo -pix_fmt rgb24 24bpp_129.mov
>
> Mats
>
Forget that. ff_reshuffle_raw_rgb() is OK, and the problem lies on the
demuxing side. I played the resulting 24 bpp file in QuickTime in
Windows, and it works fine. I will look into rawdec.c a bit.
Mats
--
Mats Peterson
http://matsp888.no-ip.org/~mats/
More information about the ffmpeg-devel
mailing list