This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] Cropping doesn't work properly on latest version.
#4
Hybrid does call:
"C:\Program Files\Hybrid\64bit\ffmpeg.exe" -hide_banner -nostdin -skip_frame nokey -ss 580.893 -apply_cropping codec -i "E:\TEMP\Soylent Green (1973, Richard Fleischer) 1080p 1ch.mkv" -map 0:0 -an -sn -dn -vf cropdetect=24:2 -frames:v 12 -f null NUL
where "-vf cropdetect=24:2" means:
24 = max level detected as border
2 = adjust to modulo 2
the output is:
2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: CropDetection output: [Parsed_cropdetect_0 @ 00000164501d0300] x1:0 x2:1919 y1:139 y2:939 w:1920 h:800 x:0 y:140 pts:2815 t:2.815000 limit:24.000000 crop=1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: Crop info: 1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: AutoCrop scanned 1/108 frames. (current section 1 of 9) 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: -> Current crop resolution 1920x800. 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: CropDetection output: [Parsed_cropdetect_0 @ 00000164501d0300] x1:0 x2:1919 y1:139 y2:939 w:1920 h:800 x:0 y:140 pts:3774 t:3.774000 limit:24.000000 crop=1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: Crop info: 1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: AutoCrop scanned 2/108 frames. (current section 1 of 9) 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: -> Current crop resolution 1920x800. 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: CropDetection output: [Parsed_cropdetect_0 @ 00000164501d0300] x1:0 x2:1919 y1:139 y2:939 w:1920 h:800 x:0 y:140 pts:4734 t:4.734000 limit:24.000000 crop=1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: Crop info: 1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: AutoCrop scanned 3/108 frames. (current section 1 of 9) 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: -> Current crop resolution 1920x800. 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: CropDetection output: [Parsed_cropdetect_0 @ 00000164501d0300] x1:0 x2:1919 y1:139 y2:939 w:1920 h:800 x:0 y:140 pts:5735 t:5.735000 limit:24.000000 crop=1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: Crop info: 1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: AutoCrop scanned 4/108 frames. (current section 1 of 9) 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: -> Current crop resolution 1920x800. 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: CropDetection output: [Parsed_cropdetect_0 @ 00000164501d0300] x1:0 x2:1919 y1:139 y2:939 w:1920 h:800 x:0 y:140 pts:6736 t:6.736000 limit:24.000000 crop=1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: Crop info: 1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: AutoCrop scanned 5/108 frames. (current section 1 of 9) 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: -> Current crop resolution 1920x800. 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: CropDetection output: [Parsed_cropdetect_0 @ 00000164501d0300] x1:0 x2:1919 y1:139 y2:939 w:1920 h:800 x:0 y:140 pts:7695 t:7.695000 limit:24.000000 crop=1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: Crop info: 1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: AutoCrop scanned 6/108 frames. (current section 1 of 9) 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: -> Current crop resolution 1920x800. 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: CropDetection output: [Parsed_cropdetect_0 @ 00000164501d0300] x1:0 x2:1919 y1:139 y2:939 w:1920 h:800 x:0 y:140 pts:8654 t:8.654000 limit:24.000000 crop=1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: Crop info: 1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: AutoCrop scanned 7/108 frames. (current section 1 of 9) 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: -> Current crop resolution 1920x800. 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: CropDetection output: [Parsed_cropdetect_0 @ 00000164501d0300] x1:0 x2:1919 y1:139 y2:939 w:1920 h:800 x:0 y:140 pts:9614 t:9.614000 limit:24.000000 crop=1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: Crop info: 1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: AutoCrop scanned 8/108 frames. (current section 1 of 9) 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: -> Current crop resolution 1920x800. 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: CropDetection output: [Parsed_cropdetect_0 @ 00000164501d0300] x1:0 x2:1919 y1:139 y2:939 w:1920 h:800 x:0 y:140 pts:10573 t:10.573000 limit:24.000000 crop=1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: Crop info: 1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: AutoCrop scanned 9/108 frames. (current section 1 of 9) 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: -> Current crop resolution 1920x800. 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: CropDetection output: [Parsed_cropdetect_0 @ 00000164501d0300] x1:0 x2:1919 y1:139 y2:939 w:1920 h:800 x:0 y:140 pts:10781 t:10.781000 limit:24.000000 crop=1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: Crop info: 1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: AutoCrop scanned 10/108 frames. (current section 1 of 9) 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: -> Current crop resolution 1920x800. 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: CropDetection output: [Parsed_cropdetect_0 @ 00000164501d0300] x1:0 x2:1919 y1:139 y2:939 w:1920 h:800 x:0 y:140 pts:11782 t:11.782000 limit:24.000000 crop=1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: Crop info: 1920:800:0:140 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: AutoCrop scanned 11/108 frames. (current section 1 of 9) 2026.11.24 - 18:54:24_Windows 11 Version 26H2 (64bit)_2026.11.23.1 - level 9: -> Current crop resolution 1920x800.
Hybrids parsing seems to be correct (assuming the right side values have a luma value <= 24).

My guess is that there is some issue with the analysis in ffmpeg.
(can't reproduce this here, analysed 25 samples here, which all worked fine)


Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
RE: Cropping doesn't work properly on latest version. - by Selur - Yesterday, 19:19

Forum Jump:


Users browsing this thread: 1 Guest(s)