[FFmpeg-devel] [PATCH 1/4] lavf/avienc: Add support for palette side data packets
Mats Peterson
matsp888 at yahoo.com
Mon Feb 29 10:47:27 CET 2016
On 02/29/2016 07:39 AM, Mats Peterson wrote:
>
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
Once again, this patch set is needed for stream copy of raw palettized
data, since the packets will have the palette in side data packets, and
not appended to the video data in the packets themselves.
As long as the extra size due to the stride of the original packet is
not mistaken for a palette (that will only happen when the extra size is
exactly 1024 bytes), ff_reshuffle_raw_rgb() will align the stride
properly even on stream copy. Thus, the video data won't be a perfectly
"identical" copy, but that would be rather useless anyway due to the
different stride alignment requirements of AVI and QuickTime.
Mats
--
Mats Peterson
http://matsp888.no-ip.org/~mats/
More information about the ffmpeg-devel
mailing list