• 阜阳网络达人“点赞”颍泉绿化提升专项工作 2019-04-23
  • 《国家人文历史》往期杂志汇总 2019-04-22
  • 一师一团土地确权登记颁证工作全面展开 2019-04-14
  • 德州扑克赌场披“俱乐部”外衣 打竞技旗号难掩赌博实质 2019-04-12
  • 自治区党委召开常委(扩大)会议 陈全国主持 2019-04-12
  • 17年来首次!塔利班组织宣布停火3天 与阿富汗民众自拍 2019-04-04
  • 2022年冬奥会筹备进行时 2019-04-03
  • 人家80年前就造航母,我们现在才造航母,基础不一样。 2019-04-03
  • 葡萄牙首都上演城市节狂欢 2019-04-01
  • RED EARTH红地球展现自我丝绒唇膏全新发布 2019-03-24
  • 龙船礼 有讲究 百岁龙 抖精神 2019-03-17
  • 新加坡航空将开通 全球最长商业航线 2019-03-17
  • 传说中的自由飞“翔” 当厕所被狂风吹上天 2019-03-12
  • 导游强迫交易获刑 曾辱骂威胁强迫游客消费上万元--旅游频道 2019-03-09
  • 北京正式推出租赁型职工集体宿舍 每间居住人数不超8人 2019-03-09
  • Welcome to

    Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

     

    Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

    Reply
     
    Thread Tools Search this Thread Display Modes
    Old 10th March 2019, 11:30   #1  |  Link
    Registered User
     
    Join Date: Aug 2014
    Posts: 17
    Anime help

    I was wondering if anyone could help me choosing some settings for anime content? I'm not looking for the best settings really, just something simple for both 1080 and 4k resolutions. I did look at some other posts that pertained to this topic, but I'm not sure if they still hold up since those posts were a few revisions ago.

    This is what I use for live action:
    --preset slower --crf 18 --profile main10 --asm avx,avx512 --me 3 --subme 5 --no-sao --qcomp 0.7 --deblock -1:-1

    I like to keep it simple if possible. Also, how bad is it quality and compression wise, that x265 uses 23 threads on a 4k encode?
    DotJun is offline   Reply With Quote
    Old 10th March 2019, 13:55   #2  |  Link
    Herr
     
    Join Date: Apr 2009
    Location: North Europe
    Posts: 331
    Added to your live action setting, I hear that this is good to set for clean animation:
    --ref 6 --bframes 16 --aq-strength 0.4 --psy-rd 0.4 --rdoq-level 0 --psy-rdoq 0 --tu-inter 4 --tu-intra 4 --limit-tu 4

    IIRC, --ref 6 is the maximum refs for GPU-decoding compatibility, but I don't know how high resolution that is OK for.
    Maximum bframes (16) is great to set in clean animation, because the adjacent frames are often the same.

    There is also an x265-option: --tune animation
    but it basically sets that what I set, but less bframes.

    If the encoding is too slow, maybe set: --ctu 32

    Use as low --frame-threads value as possible (2 or 3), but so that the encode hits near 100% CPU-usage.

    And colormatrix (if you can find it out with the program MediaInfo) is good to set,
    //www.zs-x.com/showthread.php?t=176049

    Remember that if your 4K source is HDR, then you need to add more options.

    Last edited by Forteen88; 10th March 2019 at 14:19.
    Forteen88 is offline   Reply With Quote
    Old 13th March 2019, 17:41   #3  |  Link
    Registered User
     
    Join Date: Aug 2014
    Posts: 17
    Quote:
    Originally Posted by Forteen88 View Post
    Added to your live action setting, I hear that this is good to set for clean animation:
    --ref 6 --bframes 16 --aq-strength 0.4 --psy-rd 0.4 --rdoq-level 0 --psy-rdoq 0 --tu-inter 4 --tu-intra 4 --limit-tu 4

    IIRC, --ref 6 is the maximum refs for GPU-decoding compatibility, but I don't know how high resolution that is OK for.
    Maximum bframes (16) is great to set in clean animation, because the adjacent frames are often the same.

    There is also an x265-option: --tune animation
    but it basically sets that what I set, but less bframes.

    If the encoding is too slow, maybe set: --ctu 32

    Use as low --frame-threads value as possible (2 or 3), but so that the encode hits near 100% CPU-usage.

    And colormatrix (if you can find it out with the program MediaInfo) is good to set,
    //www.zs-x.com/showthread.php?t=176049

    Remember that if your 4K source is HDR, then you need to add more options.
    Thank you very much for the help. I have a few questions for you if you don't mind?

    1) I can't seem to find tune animation for x265. I know x264 had it.
    2) What do you suggest for highest --frame-threads?
    3) Do you suggest aq mode 3?
    DotJun is offline   Reply With Quote
    Old 14th March 2019, 00:23   #4  |  Link
    Herr
     
    Join Date: Apr 2009
    Location: North Europe
    Posts: 331
    Quote:
    Originally Posted by DotJun View Post
    Thank you very much for the help. I have a few questions for you if you don't mind?

    1) I can't seem to find tune animation for x265. I know x264 had it.
    2) What do you suggest for highest --frame-threads?
    3) Do you suggest aq mode 3?
    No problem.

    1. Here is some information about --tune animation
    https://x265.readthedocs.io/en/default/presets.html
    2. I'm not that skilled at x265 to answer that.
    3. If you have dark scenes in the source-video, --aq-mode 3 can help improve video-quality. Although I've read that some people think that it might not be good enough for dark scenes, so they use --zones to set higher bitrate at those scenes.
    Forteen88 is offline   Reply With Quote
    Old 15th March 2019, 20:27   #5  |  Link
    Registered User
     
    Join Date: Sep 2006
    Posts: 1,096
    You may want to try the VMAF metric to find a best setting for you content.

    //www.zs-x.com/showthread.php?t=175862

    First you start with an base encode like crf 23 medium. Then use the plugin to compare that encode to the source, it will then gives you a perceived visual score.
    Then you repeat this process with a different setting until you satisfied.
    lansing is offline   Reply With Quote
    Old 15th March 2019, 23:49   #6  |  Link
    Moderator
     
    Join Date: Jan 2006
    Location: Portland, OR
    Posts: 2,812
    Quote:
    Originally Posted by lansing View Post
    You may want to try the VMAF metric to find a best setting for you content.

    //www.zs-x.com/showthread.php?t=175862

    First you start with an base encode like crf 23 medium. Then use the plugin to compare that encode to the source, it will then gives you a perceived visual score.
    Then you repeat this process with a different setting until you satisfied.
    VMAF has not been well-validated for use with anime content. I wouldn't assume it was helpful without testing THAT first.
    __________________
    Ben Waggoner
    Principal Video Specialist, Amazon Prime Video

    My Compression Book
    benwaggoner is offline   Reply With Quote
    Old 16th March 2019, 06:17   #7  |  Link
    Registered User
     
    Join Date: Aug 2014
    Posts: 17
    Quote:
    Originally Posted by benwaggoner View Post
    VMAF has not been well-validated for use with anime content. I wouldn't assume it was helpful without testing THAT first.
    Does it work well with live action?
    DotJun is offline   Reply With Quote
    Old 19th March 2019, 00:25   #8  |  Link
    Broadcast Encoder
     
    FranceBB's Avatar
     
    Join Date: Nov 2013
    Location: Germany
    Posts: 517
    Quote:
    Originally Posted by DotJun View Post
    Does it work well with live action?
    It works, as it's just considered as a Tv Series.
    Basically, VMAF works fine with Tv Series and movies.
    It doesn't work well with Anime or Sport.
    __________________
    Broadcast Encoder
    FranceBB is offline   Reply With Quote
    Old 21st March 2019, 05:58   #9  |  Link
    Derek Prestegard IRL
     
    Blue_MiSfit's Avatar
     
    Join Date: Nov 2003
    Location: Los Angeles
    Posts: 5,472
    IMO VMAF is helpful, but probably not in this case. It's also a bit too "easy" when you're targeting transparency. I've seen encodes that are near 100 VMAF that are definitely not transparent when it comes to grain and fine detail preservation.

    95+ VMAF is absolutely "good enough" for streaming services, but not UHD BluRay for example
    Blue_MiSfit is offline   Reply With Quote
    Reply


    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT +1. The time now is 23:06.


    Powered by vBulletin® Version 3.8.11
    Copyright ©2000 - 2019, vBulletin Solutions Inc.
  • 阜阳网络达人“点赞”颍泉绿化提升专项工作 2019-04-23
  • 《国家人文历史》往期杂志汇总 2019-04-22
  • 一师一团土地确权登记颁证工作全面展开 2019-04-14
  • 德州扑克赌场披“俱乐部”外衣 打竞技旗号难掩赌博实质 2019-04-12
  • 自治区党委召开常委(扩大)会议 陈全国主持 2019-04-12
  • 17年来首次!塔利班组织宣布停火3天 与阿富汗民众自拍 2019-04-04
  • 2022年冬奥会筹备进行时 2019-04-03
  • 人家80年前就造航母,我们现在才造航母,基础不一样。 2019-04-03
  • 葡萄牙首都上演城市节狂欢 2019-04-01
  • RED EARTH红地球展现自我丝绒唇膏全新发布 2019-03-24
  • 龙船礼 有讲究 百岁龙 抖精神 2019-03-17
  • 新加坡航空将开通 全球最长商业航线 2019-03-17
  • 传说中的自由飞“翔” 当厕所被狂风吹上天 2019-03-12
  • 导游强迫交易获刑 曾辱骂威胁强迫游客消费上万元--旅游频道 2019-03-09
  • 北京正式推出租赁型职工集体宿舍 每间居住人数不超8人 2019-03-09
  • 体彩混合过关中奖规则 足彩胜负彩买上瘾 干瞪眼玩法 广西360好运快3 浙江20选5 重庆时时彩开奖号码冷热 福彩3d红五图库 福彩幸运一中奖规则 海南飞鱼彩票开奖 3d试机号今天晚上对应 幸运武林走势 幸运飞艇开奖视频直播 pk10多长时间开奖一次 四川时时彩怎么玩 北京快乐8提前预测号码 广东快乐10分走势图