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/
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to