Skip to menu


질문하기 전에 검색하세요(Search before asking a question)

Views 940 Votes 0 Comment 5


PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print


PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

psy-rd=2.00 / X265 What This Line Mean?

chroma_qp_offset=-2 / threads=24 / lookahead_threads=2 / direct=1 / aq=1:0.60 / X264 What This Line Mean?

Facebook Twitter Pinterest Kakao
  • ?
    JKyle 2020.04.04 04:26

    Well, first of all, making a preset based on a specific file is mostly meaningless. The golden rule is this: adjust filter/encoding settings based on the source file's specific features, such as how many streams the source file has, whether it's interlaced, what the codecs are, what the bitrates are, whether there are artefacts that need to be handled by filters, etc. You need to select appropriate filters and encoding methods (codecs, encoder parameter settings, etc.) only after these things are specified.


    Looking into the mediainfo of your proposed file, we can see that the file is processed by Hybrid (Encoding Gui : Hybrid 2016.05.22.1). This means that the file was probably 'filtered' via either AviSynth+ or VapourSynth, and there's no way anyone can imitate the filter settings from the final output file.


    Besides, there's no 'encoding settings' info in the video stream. It means one of these two: 1) the corresponding metadata is hidden via the x265 parameter setting --no-info, or 2) the file was encoded via a different HEVC encoder than x265. Based on the file name (*_x265.mkv), I guess it's the first case. In this situation, all you can do is just 'guess' the encoding settings based on the mediainfo numbers. I.e. making a preset based on this file becomes totally meaningless.


    In this case, just set the encoder to HEVC and bitrate to 59.9. In order to achieve a higher quality, a slower preset is recommended. Or you can try a 2-pass encoding. Since the framerate is constant, set CFR on. Other video encoding settings cannot be figured out from your proposed file.


    For the audio stream, choose AAC, HE-AACv2. The audio bitrate is 25.6, stereo, and 48.0 KHz.


    Since ass subtitles are included, you need to choose the subtitles and select 'Closed Caption'. Because ShanaEncoder does not support multi subtitles, you better mux the video/audio and subtitles using MKVToolNix GUI after you encode the video file in Shana Encoder.


    Well, I guess that's the best you can get. Good luck.

  • ?
    SyXaTz 2020.04.04 10:27


  • ?
    JKyle 2020.04.04 12:14

    In this case, yes, you can reconstruct the encoding settings almostly similarly to the original settings, but once again, if filters were applied in the course of the process, no one can retrieve the filter settings. And like I said, just mimicking the encoding settings does not guarantee the final encoded output would be as satisfactory as the original reference file.


    Anyway, here's what you can figure out from the mediainfo:


    Format : Matroska mkv

    Writing application : ShanaEncoder ⇒ ShanaEncoder was used.

    Writing library : x265 ⇒ HEVC(ShanaEncoder calls x265 by this name) was chosen.

    Format profile : Main ⇒ main profile was chosen, (not main10)

    In 'Encoding Settings", rc=crf / crf=28.5 ⇒ 'quality' mode with video quality[crf28.5 was chosen, not the 'bitrate' mode or the 'quantizer' mode


    And for other encoding settings, you need to compare the default 'medium' preset parameter settings with the parameter settings displayed in the mediainfo one by one. This is a tedious job, but if you are familiar with basics of encoding, you can save a lot of time.

    Anyway, x265 medium parameter settings are explained by this onlne x265 manual:

    The 'default' values are the medium parameter settings.

    Looking into the settings, I can see that no special x265 settings were employed other than the default medium preset. (no specific level, no maxrate, whatsoever...)


    For audio, it's kind of easy.

    Commercial name : HE-AACv2 ⇒ HE-AACv2

    Channel(s) : 2 channels ⇒ stereo

    Sampling rate : 48.0 kHz ⇒ sampling rate is 48000

    For mkv files, audio bitrate info is sometimes missing, so you cannot get the bitrate info in this case. Just choose whatever bitrate is good for you.


    That's all. No tricky complicated settings.


    And like I said, replicating other person's encoding settings is totally meaningless. Please learn about the basics of encoding instead.


    Sorry but even if I did this job this time, I'm not gonna do this again.

  • ?
    SyXaTz 2020.04.07 09:16


  • ?
    SyXaTz 2020.04.09 19:51
    Okay NVM I Found It, But I Still Dont Know This Two Lines...

List of Articles
No. Subject Author Date Views Votes
Notice This bulletin board is for users of English version of ShanaEncoder 3 Rina 2019.07.24 634 1
47 if you want language pack, please read me. 2 file Rina 2014.12.26 13423 1
46 encoding m2v 1 bostjan 2014.01.30 6491 0
45 Great Encoder!!! 1 duplakappa 2014.04.28 6027 1
44 Various AAC options? 1 Alexander 2014.08.28 3984 0
43 Error encoding when use custom preset 4 file Panji 2019.11.16 1246 0
42 Best settings for transcoding 4k HDR content 2 daclina 2020.02.20 1151 0
» 480P MKV X265 33MB <-- Found It, Just Need Some Answer Of A Line.. 5 SyXaTz 2020.04.03 940 0
40 Support of the aom av01 codec Yar 2019.09.11 920 0
39 Request: Additional audio feature PeterP 2019.09.18 909 0
38 The output mp4 sound picture is out of sync error 小樱 2020.04.30 894 0
37 Suggestion: Convenient method of changing picture size 1 av1 2019.08.01 878 0
36 I think output file of first pass of 2pass encoding is unnecessary. 1 Prophet 2019.04.24 872 0
35 Is the author of ShanaEncoder, LEE KIWON, the college entrance examination? av1 2019.06.02 868 0
34 Suggestion2:There are three items av1 2019.08.26 817 0
33 HEVC MP4 container hvc1 codec output option? 1 Jim 2018.02.04 799 0
32 A bug and a feature request 4 mozkan007 2019.08.25 780 0
31 Request: Select Subtitle Files For multiple files at once " Built in subtitles for mkv files" 1 conencted09 2019.07.29 757 1
30 Direct Copy Audio Error from 4K to 2K mkv 1 Gedeon 2020.05.08 742 0
29 I found a windows file explorer bug. 2 file chessset5 2020.08.04 692 0
28 Is It Possible To Transcode Multiple Videos Simultaniously? 1 JensanHuang 2019.11.12 679 1
Board Pagination Prev 1 2 3 Next
/ 3