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 45093 0
공지 This board is for users of the ShanaEncoder international version 7 Rina 2019.07.24 49505 1
74 Simplified Chinese 使用 -map 0,会重复流0:0和0:1 1 sz 2021.07.09 15900 0
73 Simplified Chinese 可不可以文件名后缀? 3 hao 2021.06.10 16543 0
72 Simplified Chinese 转码多音轨的视频,音轨名称都变成一样了 4 file cswcsw 2021.08.02 16995 1
71 Simplified Chinese 缺少scale_cuda滤镜 sz 2021.08.30 17152 0
70 Simplified Chinese 关于 nvenc hdr参数 2 sz 2021.07.18 17249 0
69 Simplified Chinese 关于ts文件音画不同步的问题,附解决办法 1 falseen 2021.09.16 17313 1
68 Simplified Chinese shana不支持N264格式的预览与转码,监控数据中心文件,potplayer可以正常播放 小樱 2015.04.20 18973 0
67 English if you want language pack, please read me. 2 file Rina 2014.12.26 19248 1
66 Simplified Chinese - 1 jaxonlau 2021.03.30 19280 0
65 Simplified Chinese 不支持ass滚动字幕特效 小樱 2016.01.26 19323 0
64 Simplified Chinese placebo中,处理速率不精准,23.976fps显示0.28X,导致预计编码剩余时间错误 file 小樱 2019.03.09 19356 0
63 Simplified Chinese maxrate对rc=abr不起效果,仅在cbr、vbr有效? 小樱 2020.02.07 19887 0
62 Simplified Chinese 求助Device setup failed for decoder on input stream #0:0 : Unknown error occurred? 3 成成 2020.03.06 19902 0
61 Simplified Chinese ShanaEncoder如何挂dll滤镜文件,例如xy-vsfilter-aegisub32.dll,avisynth.dll,svpflow1.dll 小樱 2017.04.16 20026 0
60 Simplified Chinese - 1 jaxonlau 2021.05.29 20289 0
59 Simplified Chinese MKV中多个Audio 音轨无法进行切换选择。(已解决) 小樱 2015.03.14 20340 0
58 Simplified Chinese 拥有多显卡的情况,他是交错的。 小樱 2015.03.01 20446 0
57 Simplified Chinese 建议输出文件夹可以按源文件自动创建目录,而不是统一放到一个目录。 1 lfq 2022.05.29 20534 0
56 Simplified Chinese intel quick sync和nvidia nvenc加速编码有希望推出?毕竟效率比opencl好很多。 2 小樱 2015.09.25 20620 0
55 Simplified Chinese HEVC转码过程中,什么时候可以支持opencl加速?目前potplayer已经支持了HEVC GPU播放硬解码 1 小樱 2015.09.02 20746 0
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 Next
/ 10