On 02/13/2016 11:29 AM, Mats Peterson wrote:
Nope. You have to take the stride in account as well, not just the width
and height, and it varies in nut, depending on whether you use "-vcodec
copy" or "-vcodec rawvideo".

Mats


And you'll have to calculate the stride by subtracting the palette size
from the packet size, then divide by the height.

Mats

_______________________________________________

It is all well that the nut palette can have a varying number of entries, but it's necessary to have an indication of *how many* entries there are in the palette, in order to be able to subtract its size from the packet size.

Mats

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to