yes - this is performed by ffmpeg but not trough neuquant color requantization but other algorithm - gif capabilities in ffmpeg are somehow reduced and imagemagick offer substantially more tools to perform video 2 gif but still not support some of modern color requantization algorithms like neuquant or scolorq ( ). You've got to understand, I understand nothing. Isn't that what ffmpeg does though? And when you say apply NeuQuant, OK, but, how? How do I "apply" NeuQuant. I just tried making a WebM video and loading it into VirtualDub APNG Mod and it didn't work. Thanks for the links to those algorithms but I'm afraid I don't have a clue as to how to go about using them.ĪPNG uses WebMs? That's weird. I'd just like whichever animation format I use to look as close to the original video as possible. Instead APNG/GIF use WebM and regular video (unless you must have hard edges and reduced color palette but from your description is not a case) No, I definitely don't want those. ? Well for GIF you MUST reduce number of colors as GIF is format for 2 - 256 colors pictures - you may use better algorithm for color reduction (neuquant should be OK ) The rest of the gif is fine as it is and, as I've said, I haven't noticed this problem with many gifs so I won't be using APNGs that often anyway. Thanks but I'd rather not reduce the colours any further just to compensate for a little red loss. In your case better color reduction algorithm may work better - IMHO best you can do is select key frames in one large picture (creating new picture that is mosaic of your key frames) and use very good color quantization algorithm to generate palette file and later apply this palette file to your video.īe careful with APNG as it may be not supported by players/browsers - GIF is de facto standard for animation but APNG not. In GIF you are no longer due color shift but you must from all colors in your picture select best 256 at max - later you must apply one of those 256 colors to picture. This is not color shift but wrong color quantization/reduction selection. So I'll just convert to APNG whenever it's an issue. For the most part, I don't have a problem. I've noticed a colour shift of some kind in only 2 or 3 gifs. Thanks but it still sounds too complicated and time-consuming. From now on, if colour is really important, I'll just convert to an APNG instead. I was just hoping there might be an easy and quick method of just correcting the colour imbalance. I really wouldn't like to interfere with the video in any way. That will give you more intense colors to work with in the GIF.īasically, GIF isn't intended for full motion, full color, video.īasically, GIF isn't intended for full motion, full color, video. Once you have a more appropriate palette you can generate the finale GIF with that palette.Īnother thing you might try is increasing the saturation during the palette building phase. Or crop and enlarge the lips then overlay the enlargement over an otherwise redundant (color wise) portion of the frame. For example, when building the palette crop the image down so that the lips take up proportionally more of the frame(s). You could do that by modifying the palette directly, or by somehow increasing the amount of red lips in the video. You need to modify the palette to include the reds you need for the lips. That will result in the type of shift you're seeing. If there's very little red in the video, and a lot of other colors, a palette optimized GIF may not include red shades in its palette. Other shades are simulated with error diffusion, dithering, etc. The problem is that the GIF can only use 256 different colors. What should I do? Bear in mind you'll have to give me step-by-step instructions as I understand ZERO about videos. 18Ī woman's lipstick, red in the video, turned browny orangey yellowy in the gif. Writing library : SolveigMM Matroska Muxer Version. I tried using both Solveig Video Splitter and ffmpeg to create a gif from a video with the following details,Ĭomplete name : C:\Users\Bruce\Desktop\test.mkv
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |