2018-12-30 22:26 GMT+01:00, Leonardo Zerino <[email protected]>:
> I'm using this script:
>
> #!/bin/sh
>
> palette="/tmp/palette.png"
>
> filters="fps=15,scale=240:-1:flags=lanczos"
>
> #
>
> ffmpeg -i "$1" -vf "$filters,palettegen=" -y $palette
> ffmpeg -i "$1" -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y
> "$2"
>
> to generate a gif from a qt animation, but very frame on it is kept in the
> background.

> is there a away to prevent this in the code?

Yes, please test current FFmpeg git head before asking for support here.

And for future questions: Always provide your actual FFmpeg
command line including the complete, uncut console output, do
not provide scripts.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to