Re: [FFmpeg-devel] [PATCH v4] lavf/movenc: Add palette to video sample description

2016-02-20 Thread Mats Peterson
On 02/21/2016 04:47 AM, Mats Peterson wrote: On 02/21/2016 04:33 AM, Mats Peterson wrote: i think this would also get run for raw yuv formats I see. Do you have a suggestion on how to "isolate" it? MAts Is trk->enc->bits_per_coded_sample perhaps zero when using raw yuv? Hardly. Sorry

Re: [FFmpeg-devel] [PATCH v4] lavf/movenc: Add palette to video sample description

2016-02-20 Thread Mats Peterson
On 02/21/2016 04:33 AM, Mats Peterson wrote: i think this would also get run for raw yuv formats I see. Do you have a suggestion on how to "isolate" it? MAts Is trk->enc->bits_per_coded_sample perhaps zero when using raw yuv? Hardly. Sorry for that stupid assumption. Mats

Re: [FFmpeg-devel] [PATCH v4] lavf/movenc: Add palette to video sample description

2016-02-20 Thread Mats Peterson
On 02/21/2016 04:28 AM, Mats Peterson wrote: On 02/21/2016 04:23 AM, Michael Niedermayer wrote: On Sun, Feb 21, 2016 at 02:00:14AM +0100, Mats Peterson wrote: Forgot movenc.h. -- Mats Peterson http://matsp888.no-ip.org/~mats/ movenc.c | 50

Re: [FFmpeg-devel] [PATCH v4] lavf/movenc: Add palette to video sample description

2016-02-20 Thread Mats Peterson
On 02/21/2016 04:23 AM, Michael Niedermayer wrote: On Sun, Feb 21, 2016 at 02:00:14AM +0100, Mats Peterson wrote: Forgot movenc.h. -- Mats Peterson http://matsp888.no-ip.org/~mats/ movenc.c | 50 +- movenc.h |3 +++ 2 files changed,

Re: [FFmpeg-devel] [PATCH v4] lavf/movenc: Add palette to video sample description

2016-02-20 Thread Michael Niedermayer
On Sun, Feb 21, 2016 at 02:00:14AM +0100, Mats Peterson wrote: > Forgot movenc.h. > > -- > Mats Peterson > http://matsp888.no-ip.org/~mats/ > movenc.c | 50 +- > movenc.h |3 +++ > 2 files changed, 52 insertions(+), 1 deletion(-) >

Re: [FFmpeg-devel] [PATCH v4] lavf/movenc: Add palette to video sample description

2016-02-20 Thread Mats Peterson
Mats Peterson skrev: (21 februari 2016 02:00:14 CET) >Forgot movenc.h. I should add that converting an odd 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

[FFmpeg-devel] [PATCH v4] lavf/movenc: Add palette to video sample description

2016-02-20 Thread Mats Peterson
Forgot movenc.h. -- Mats Peterson http://matsp888.no-ip.org/~mats/ >From dac790207f7057a460a6f460a6146e937fc89211 Mon Sep 17 00:00:00 2001 From: Mats Peterson Date: Sun, 21 Feb 2016 01:59:17 +0100 Subject: [PATCH v4] lavf/movenc: Add palette to video sample description ---