Hi, I have a problem when rendering to mp4. It looks like a bevel or shadow effect and it appears between two colors with high contrast. I've tried with multiple options changed, every time it appears. How can I avoid that effect?
Without knowing what the original source looks like, what format it was, and what specs you're encoding to, that screenshot doesn't help much. That's not a shadow as much as it's encoding artifacts. It looks like you're either increasing the resolution on somethign that doesn't have enough detail or you're compressing it too much. Can you provide more detail about what you're doing, as well as whether you're converting a video, exporting your own graphics, and what export settings you're using? Saying MP4 only tells us the format you're using, it doesn't say anything about the resolution or bit rate.
Hi, thanks for your reply. It doesn't matter what bitrate I choose. It appears always. The source is after effects shape. Comp size is the same as output. Here is a test I did with different bitrates. I use h.264 format and match source preset.
Exporting a solid color isn't a good encoding test. It's very easy to compress a solid color vs something with contrast or moving pixels.
The next question is what is the resolution of your comp/export, and what size are you viewing the video at when you see those artifacts? Is the screenshot above a 100% crop?
The red shape is on a white background, so not only solid color is rendered, but also its border with white color. The artifacts appear on the edge of the red shape. As I mentioned before, comp and export are the same sizes: 1920x1080. Img I attached to the first post is 100% (you probably have to open the pic in a new tab to see the full size. Previews are smaller here).
I did see that your comp and export were the same size, but it wasn't clear if they were high resolution.
Without seeing a full size screenshot it's hard to gauge what's really going on, but it could simply be a color issue. Reds that are too saturated can cause bleeding, especially on codecs with lower color sampling like H.264 at 4:2:0.
You could bring up the lumetri scopes and see how intense that red is on the vectorscope, but as a test you could also try exporting to a codec that allows higher color sampling like ProRes 422 and see what happens. Bit rate is only part of the equation.
I tried with ProRes and the result is better. So now I know that the only way to get rid of those artifacts is to render with other codecs. With h.264 it's impossible to avoid that. Sad but solved.