[FFmpeg-trac] #1304(avformat:reopened): rawvideo 8bpp: incorrect output with -vcodec copy

FFmpeg trac at avcodec.org
Sat Sep 27 10:54:18 CEST 2014

#1304: rawvideo 8bpp: incorrect output with -vcodec copy
             Reporter:  ami_stuff   |                    Owner:
                 Type:  defect      |                   Status:  reopened
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  pal8        |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  1           |

Comment (by cehoyos):

 Thank you for the debugging!

 Thee are two independent issues:
 The palette is not part of the bitmapinfoheader but the bitmapinfoheader
 and the palette form the bitmapinfo structure, so the size of the palette
 must not be added to the size of the bitmapinfoheader. I sent a patch.
 The other issue is that the frame size is incorrectly written as 189x127
 but the actual size of one frame is 192x127. Size 0 is allowed for

Ticket URL: <https://trac.ffmpeg.org/ticket/1304#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list