English
2021.05.09 00:22

shanacrop filter issue

조회 수 5389 추천 수 0 댓글 2
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부

Hello.

I believe cropping is not working. Here is parameters line I used:
-vf "crop=in_w-960:in_h,scale=1920:1080:flags=bicubic,shanacrop=DAR,setsar=1/1"

And the resulted video has cropped left & right bars with "crop" filter, but not cropped top & bottom with "shanacrop" during scaling down to 1080p and changed aspect ratio. So output is squashed. Please see attached screenshots.
Arguments other than "DAR" produce the same result.

 

input.png

output.png

P.S. I used to be able to crop 16:10 video to 16:9 with GUI settings in some previous version, but now cropping setting seems to do nothing. And I am also unable to find download for older versions on this site, which is a problem as well.

--
Thank you for your development.

 

Atachment
첨부 '2'
Facebook Twitter Pinterest Kakao
  • ?
    JKyle 2021.05.12 00:19

    You're doing crop ⇒ resize(scale) ⇒ crop. It's not a good work flow. Instead, do all the crops via [right click] > [Set segment/Crop] seeing the result in advance, and then do the resize.

    DAR means the display aspect ratio of the source. In resizing, Aspect: None or Padding (letterbox) is recommended. Don't do cropping there, 'cuz it will yield an unexpected result sometimes.

  • ?
    Leeroy 2021.05.19 23:49

    DAR means the display aspect ratio of the source.

    Is it? I was pretty sure that it is aspect ratio of ouput (at least in terms of ffmpeg), and it sure did act like that in previous ShanaEncoder versions. Setting output resolution of 1920x1080 and croping = DAR yilded for example 16:9 centered crop of 16:10 video without distortion.
    Even if I now set "shanacrop=16:9" or any other argument, the output is still identical. Does not seem right and very confusing.

    I was using this setting for simple reasons:

    a) it is located in main "Quick settings" menu, so seems like a logical way to do it.

    b) it requires no calculations in case you need centered picture output

    Thank you for pointing to "Set segment/Crop" menu, I was completely overlooking this submenu. It works well as a workaround.


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수 추천 수
공지 ShanaEncoder Translation 8 Rina 2021.04.28 45039 0
공지 This board is for users of the ShanaEncoder international version 7 Rina 2019.07.24 49354 1
153 Simplified Chinese FFmpeg 下载过程建议自动使用节点,或者自动切换,否者他是很慢的。 1 小樱 2015.02.27 22467 0
152 Simplified Chinese 是否能够开放 AVX512 指令集编码? 2 JosephZheng 2022.04.06 9836 0
151 English how to copy subtitle without make it hardsubbed on shana? 2 SyXaTz 2021.01.29 6941 0
150 Simplified Chinese ShanaEncoder HEVC如何指定-level 5.1等级压制 小樱 2018.01.14 21908 0
149 Simplified Chinese 关于av1编码 2 sz 2021.07.27 14931 0
148 English is there an "optimized web" option ?? 1 aisa 2020.04.29 5475 0
147 English Subtitle alignment wrong 3 file stax 2020.11.27 6644 0
146 English Is the author of ShanaEncoder, LEE KIWON, the college entrance examination? av1 2019.06.02 4605 0
145 Simplified Chinese - 1 jaxonlau 2021.05.29 20287 0
144 Simplified Chinese 拥有多显卡的情况,他是交错的。 小樱 2015.03.01 20444 0
143 Simplified Chinese 我找不到以前的版本更新内容帖子在哪了。 2 小樱 2021.07.16 14956 0
142 Simplified Chinese opencl没办法全速进行工作 1 小樱 2015.03.01 21315 0
141 Simplified Chinese shana转码出来的mp4格式文件不支持流媒体,是设置不对,需要如何设置? 3 小樱 2015.04.14 22098 0
140 Simplified Chinese 使用 -map 0,会重复流0:0和0:1 1 sz 2021.07.09 15896 0
139 English Dropping files into Shana v4.9.0.1 5 chessset5 2018.07.05 4262 0
138 Simplified Chinese 支持视频同名下的不同结尾的同格式字幕进行排队压制 file kedyao 2020.10.11 25424 0
137 Simplified Chinese 建议在尺寸设置中X和Y能等比例调整,再加入百分比缩放的选项 2 file valman 2022.07.29 9864 0
136 Simplified Chinese 复制视频音频会多出标签和全局标签 sz 2021.07.09 12698 0
135 Simplified Chinese gif转换后文件大,可以用palettegen过滤器来缩小它吗? 1 小樱 2019.08.05 20797 0
134 Simplified Chinese 请问,什么时候可以支持HEVC 10Bit ? 1 adidi 2016.06.03 23933 0
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 Next
/ 10