-
Download the youtube video using http://www.savido.net
-
Create a palette from the video:
- skip the first 13 seconds of the input
- create a 6 second output
- 5 frames per second to minimize size
- scale the output to be 320 pixels wide and automatic height, preserve aspect ratio
ffmpeg -y -ss 13 -t 6 -i videoplayback.mp4 -vf fps=5,scale=320:-1:flags=lanczos,palettegen palette.png