[FFmpeg-devel] [PATCH 1/2] lavf/avienc: Simplify palette handling

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Feb 27 19:46:56 CET 2016


On Sat, Feb 27, 2016 at 07:40:44PM +0100, Mats Peterson wrote:
> On 02/27/2016 07:18 PM, Reimar Döffinger wrote:
> >That's not what e.g. the matroska demuxer produces, so stream
> >copying with some generic remuxing example I am really sure that is
> >NOT how the packets come in.
> >
> 
> Stream copying of raw palettized data seldom works well, due to different
> strides of AVI (4-byte aligned), QuickTime (2-byte aligned) and nut
> (unnaligned).

"Seldom"? That's only an issue (for 8 bpp) if the width
is not a multiple of 4.
To me that sounds like a minor issue compared to
"we designed our demuxers to use a format completely
different from our muxers".


More information about the ffmpeg-devel mailing list