VideoHelp Forum
+ Reply to Thread
Results 1 to 10 of 10
Thread
  1. ain't it suppose to work on 90~100 % for faster encoding?
    Quote Quote  
  2. What CPU do you have?
    What are your x265 settings?
    What is your AviSynth script?
    What is your source file? (MediaInfo)
    How many fps?

    There are multiple potential bottlenecks.
    Quote Quote  
  3. Originally Posted by sneaker View Post
    What CPU do you have?
    What are your x265 settings?
    What is your AviSynth script?
    What is your source file? (MediaInfo)
    How many fps?

    There are multiple potential bottlenecks.
    settings : program --crf 14.9 --output "output" "input" (nothing special)

    script

    Mpeg2Source("D:\VIDEO_TS.d2v", CPU2="ooooxx")
    TFM().TDecimate(Mode=1)
    ColorMatrix(mode="rec.601->rec.709")
    ColorYUV(cont_y=-5, cont_u=0, cont_v=0,gamma_y=-20)
    Santiag(2,2)
    McTemporalDenoise(settings="medium")
    Hysteria(strength=5.0, maxchg=25, lowthresh=26, highthresh=20)
    nnedi3_rpow2(2, cshift="spline16resize", fwidth=960, fheight=720)
    Hysteria(strength=8.0, maxchg=32, lowthresh=9)
    Dehalo_alpha(rx=3, ry=3, darkstr=0.3, brightstr=0.3)
    Blur(0.5)

    source : dvd NTSC files

    i get 3.1 fps
    Quote Quote  
  4. McTemporalDenoise() is the bottleneck if you are using single threaded AviSynth.
    Quote Quote  
  5. Originally Posted by jagabo View Post
    McTemporalDenoise() is the bottleneck if you are using single threaded AviSynth.
    can you explain what do you mean by "single thread"?

    its just the "default" version from their site
    Last edited by zanzar; 17th Dec 2016 at 09:10.
    Quote Quote  
  6. You need a multithreaded build of AviSynth if you want multithreading.

    http://forum.doom9.org/showthread.php?t=148782

    You'll also need to add MT commands to your script.

    Code:
    SetMtMode(5,4) # mode 5 for Mpeg2Source, 4 threads -- more or less depending on CPU and script
    Mpeg2Source(...)
    SetMtMode(2) # mode 2 for the rest of the script
    RestOfScript()
    But not all filters work with multithreaded AviSynth. I'm not sure if MeGUI supports it either.
    Quote Quote  
  7. Or instead of multithreaded Avisynth you can run two encodes at a time.

    For single encoding jobs with x264 I'd make a copy of the script and add Trim() to the end of each so each script encodes half the video, then run them simultaneously. To ensure you can join the output files with MKVMergeGUI, it requires --stitchable in the x264 command line. I don't know if x265 has or requires such an option to append video. Anyone know?
    Quote Quote  
  8. Originally Posted by jagabo View Post
    But not all filters work with multithreaded AviSynth. I'm not sure if MeGUI supports it either.
    It does as long as you tell MeGUI to use the "installed" Avisynth rather than it's portable version. Of course the installed Avisynth has to be a multithreaded version and MeGUI won't add the multithreading stuff to a script for you, but you can add it yourself or create an AviSynth script template that includes the required MT stuff.
    Quote Quote  
  9. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    I don't know if x265 has or requires such an option to append video. Anyone know?
    It was a while back when I tried it, and it did work back then: for x265, you have to encode the video as "raw" and don't specify mkv as a container. encode those clips as raw and then append them together as one, then rewrap in mkv later. You can use dos copy command or ffmpeg, etc., to append two or more files, same specs, into one file.

    To encode a raw is simple. just specify .h265 to the filename for the encode. ie, "video1.h265" "video2.h265" and append via dos, copy video1.h265 + video2.h265 video.h265, and then use whatever you prefer to rewrap them, ie, ffmpeg -i video.h265 -vcodec copy -o video.mkv
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!