[FFmpeg-devel] Patch to fix qtrle endian issue with rgb555 pixel format
Sun Feb 28 04:16:35 CET 2010
The attached patch fixes encoding to a rle555 (thousands of colors)
pixel format with the qtrle video codec.
$ ffmpeg -y -i m1b1BPR_QTPRO_16bpp.mov -vcodec qtrle -pix_fmt rgb555
Duration: 00:00:01.50, start: 0.000000, bitrate: 4 kb/s
Stream #0.0(eng): Video: qtrle, rgb555le, 1x1, 0 kb/s, 2 fps, 2
tbr, 1k tbn, 1k tbc
Output #0, mov, to 'm1b1BPR_FFMPEG_16bpp_reexport.mov':
encoder : Lavf52.54.0
Stream #0.0(eng): Video: qtrle, rgb555le, 1x1, q=2-31, 200 kb/s, 2
tbn, 2 tbc
The problem was that pixels were being written in native endian
(little) format when they should have been written as big endian.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2509 bytes
Desc: not available
More information about the ffmpeg-devel