[FFmpeg-devel] [PATCH v5] lavf/movenc: Add palette to video sample description

Mats Peterson matsp888 at yahoo.com
Sun Feb 21 06:09:10 CET 2016


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

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


More information about the ffmpeg-devel mailing list