Page 1 of 1

cropadd filter makes green bars

Posted: 22 May 2019 19:34
by amas
Hi, I'm trying to place subtitles under the video screen. They are external subtitles from a .srt file that I want to display on a video file in .mkv format (H.265 codec). Under filters I've selected "Video Cropping Filter" which enables "cropadd". In cropadd I've set 160 pixels above and below. However this makes the screen look like this:
Image.

How can I fix this?

edit: It seems that the problem is the H.265 codec. Video files with the H.264 codec have the normal black bars. Still don't know how to fix though...

Re: cropadd filter makes green bars

Posted: 02 Feb 2020 00:29
by xsherlock
+1 i have the same on h265 and hav enot found a solution yet

Re: cropadd filter makes green bars

Posted: 15 Jul 2023 12:51
by blackthorne16
The x265 green-bars bug in combination with CropAdd has existed for more than five years. A programmer myself, my guess is, as both the codec and the CropAdd filter work well, that there is probably only a minimal correction in the VLC code required.

Steps to reproduce the error:
1. Tools, Preferences
2. Video, Filters, activate "Video cropping filter"
3. Video, Filters, CropAdd, set "Pixels to pad to bottom" = 74
4. Subtitles /OSD, set "Force subtitle position" = -74 (minus 74!)
5. Test with any x265-encoded video.

Additional testing/confirmation by me:
1. VLC version: v3.0.18 (confirmed for several versions back until v2.2.x)
2. Three different notebooks with AMD, Nvidia and Intel HD graphics.
3. OS: Windows XP, 7 and 10.
4. Other Codecs: x264, flv and wmv act normal (black padding appears).