user1810: I have a video with a gradient background, with silhouette vector animations on top. The gradient therefore stays exactly the same throughout the video.
However, rendering the video as mp4, I'm having considerable trouble with banding in the gradient. There should be enough of a difference to have a color for each pixel, yet the gradient in the video looks like it's from the good ol' days.
Are there any settings or tricks I could use to avoid gradient stripes in my video? My aim is to match the video's gradient as closely as possible with the gradient background displayed on the website it's supposed to be embedded on.
Thanks in advance!

user2197: If you are using the Ramp effect then you can increase the Ramp Scatter value which helps decrease banding. 

Also working in 16 bit or 32 bit rather than 8bit can also help!

user2297: I found that you get better results from gradients in AE when you run in floating point, i.e. 16 or 32bit and output those very bits to the encoder. This means not introducing banding by downsampling it to 8 bit before sending it to the encoder, or even the internal Adobe encoder in AE (which is crap for low bitrates).
On the Mac, you might want to export to ProRes HQ and then use the x264 Component in Compressor to directly input flawless gradients into the encoder. You still will always get banding in h.264, but less visibly.
Also, when shooting for Blu-ray distribution, good old MPEG2 seems to work better than AVC.

user2249: Banding isn't uncommon in compressed video files, and can is exacerbated by the type and level of compression...there's also the bitrate of the original file and the final output. Lot's of points along the chain can cause banding. But I'd guess it's in your final output.
What software are you using for rendering/conversion, and what are the render settings you are using?
Are you keeping the video on Vimeo or YouTube? If so they both have great FAQs for how to best render/compress videos for uploading, but the settings are a decent balance of economy of space vs. video quality. The FAQ on Vimeo is my personal favorite, and should do you well for both platforms.
Here is a great video (which may not apply in this case) dealing with banding and fixes, particularly if the banding is in your original/source file.

1810: <p>I have a video with a gradient background, with silhouette vector animations on top. The gradient therefore stays exactly the same throughout the video.</p>

<p>However, rendering the video as mp4, I'm having considerable trouble with banding in the gradient. There should be enough of a difference to have a color for each pixel, yet the gradient in the video looks like it's from the good ol' days.</p>

<p>Are there any settings or tricks I could use to avoid gradient stripes in my video? My aim is to match the video's gradient as closely as possible with the gradient background displayed on the website it's supposed to be embedded on.</p>

<p>Thanks in advance!</p>
 2197: <p>If you are using the <strong>Ramp</strong> effect then you can increase the <strong>Ramp Scatter</strong> value which helps decrease banding. </p>

<p><img src="https://i.stack.imgur.com/VPTjV.png" alt="enter image description here"></p>

<p>Also working in 16 bit or 32 bit rather than 8bit can also help!</p>
 2297: <p>I found that you get better results from gradients in AE when you run in floating point, i.e. 16 or 32bit and output those very bits to the encoder. This means not introducing banding by downsampling it to 8 bit before sending it to the encoder, or even the internal Adobe encoder in AE (which is crap for low bitrates).</p>

<p>On the Mac, you might want to export to ProRes HQ and then use the <a href="http://www003.upp.so-net.ne.jp/mycometg3/" rel="nofollow">x264 Component</a> in Compressor to directly input flawless gradients into the encoder. You still will always get banding in h.264, but less visibly.</p>

<p>Also, when shooting for Blu-ray distribution, good old MPEG2 seems to work better than AVC.</p>
 2249: <p>Banding isn't uncommon in compressed video files, and can is exacerbated by the type and level of compression...there's also the bitrate of the original file and the final output. Lot's of points along the chain can cause banding. But I'd guess it's in your final output.</p>

<p>What software are you using for rendering/conversion, and what are the render settings you are using?</p>

<p>Are you keeping the video on Vimeo or YouTube? If so they both have great FAQs for how to best render/compress videos for uploading, but the settings are a decent balance of economy of space vs. video quality. <a href="https://vimeo.com/help/faq/general_vimeo_questions#recommended_settings" rel="nofollow">The FAQ on Vimeo</a> is my personal favorite, and should do you well for both platforms.</p>

<p><a href="http://greyscalegorilla.com/blog/2009/10/how-to-remove-banding-artifacts-in-after-effects/" rel="nofollow">Here</a> is a great video (which may not apply in this case) dealing with banding and fixes, particularly if the banding is in your original/source file.</p>
