Log in

View Full Version : Avoid 1-2 lines of black bar


Atlantis
17th July 2021, 01:28
By experience I have discovered that leaving 1-2 lines of black bar is not a good idea and it creates artifacts in the encode. I have finally grabbed a screenshot to show it here. As you can see a shadow ghost black line is visible on the left image. The video was reduced to 720 in the encoding so it shows the effect more here but even if you don't resize, you still get some artifacts.

https://i.postimg.cc/m2Yp8JTJ/ThinBar.jpg

tonemapped
17th July 2021, 03:17
Are you asking for help to crop the dirty pixels at the bottom?

Atlantis
17th July 2021, 08:27
No, I already did in the right image. As you see the right image is the better encode. This is just to inform people.

tonemapped
17th July 2021, 17:29
No, I already did in the right image. As you see the right image is the better encode. This is just to inform people.

Oh, OK. It's always been best to crop up to 8 pixels and have the tiny AR change, that to keep them - especially if they are dirty pixels like in the image.

Atlantis
17th July 2021, 22:24
I always go with mod 8 because I found out that some Amlogic devices don't support mod 4 or 2.

And I don't over crop, I always under crop and add black bars.

But in this scenario I'm saying having 1 or 2 black lines is not good. Because it creates artifacts like the ghost line in the image. So I add more than 2 black lines. If it's 804 I crop to 816 and not 808 even that 808 is mod 8.

benwaggoner
17th July 2021, 22:43
I always go with mod 8 because I found out that some Amlogic devices don't support mod 4 or 2.
Weird, and that would be out of spec in a decoder. What's happens when you play them.[/QUOTE]

And I don't over crop, I always under crop and add black bars.

But in this scenario I'm saying having 1 or 2 black lines is not good. Because it creates artifacts like the ghost line in the image. So I add more than 2 black lines. If it's 804 I crop to 816 and not 808 even that 808 is mod 8.
I'll either crop or blank depending on which requires the fewest new/removed lines.

Atlantis
18th July 2021, 00:04
Weird, and that would be out of spec in a decoder. What's happens when you play them.

If it's mod 4, for example 804, the player repeats the last 4 lines to make it 808. So at the bottom you get a very bad and easily visible artifact of repeating lines.

https://discourse.coreelec.org/t/bottom-video-lines-are-duplicates-in-case-of-vertical-resolution-not-dividable-by-8/4387

SeeMoreDigital
18th July 2021, 10:37
If it's mod 4, for example 804, the player repeats the last 4 lines to make it 808. So at the bottom you get a very bad and easily visible artifact of repeating lines.

https://discourse.coreelec.org/t/bottom-video-lines-are-duplicates-in-case-of-vertical-resolution-not-dividable-by-8/4387Reminds me of the old MPEG-2 mod-8/mod-16 days...