Search code examples
amazon-web-servicesvideoffmpegamazon-elastic-transcoder

Artifacts on video transcoded from GIF by Elastic Transcoder


I'm trying to transcode GIF to MP4 with H.264 inside using AWS Elastic Transcoder. I noticed strange color artifacts on transcoded video: color stripes on the right.

Original GIF:

Original GIF

Transcoded video screenshot:

Transcoded video

I've tried to change settings, even changed output format to WEBM+VP8: same result. My local ffmpeg has no such issue, so I think there is something on ET side.

My MP4 settings, if what:

Transcoding settings

Do you have any ideas?


Solution

  • The width of the image is 381, an odd number that might be getting mishandled during re-scaling.

    Try cropping off one pixel on the right to make the image 380x150.