VideoHelp Forum
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Member
    Join Date
    Jan 2014
    Location
    Cairo
    Search PM
    Hello every one ......

    When I add logo to video and encode it by MeGUI, the MeGUI use only from 40-50 % from CPU, Also I set the number of threads "8"
    this is screenshot for encoding
    Click image for larger version

Name:	1.jpg
Views:	476
Size:	285.2 KB
ID:	23223

    and this is the logo file
    http://www57.zippyshare.com/v/17451525/file.html
    Quote Quote  
  2. x264's optimal thread count for highest CPU usage is 1.5*logical threads, or 12 in your case. It should be calculate by default without setting threads manually

    You might have other filter bottlenecks, like overlay . Post your avs script and encoding settings
    Quote Quote  
  3. If filtering is the bottleneck, I often encode a video in two halves simultaneously, then join them together when they're done. That way between them they keep the CPU working pretty hard. Just make sure to check "stitchable" in the x264 encoder configuration (under the Misc tab) so you won't have an issue appending the two output files together with MKVMergeGUI (assuming you're wanting MKV).

    It's easy enough to do. I usually make note of a frame number somewhere near the middle which is at the end of a scene (so the second half is encoded from the first frame in a new scene), make a copy of the script, then add Trim() to each script so each one encodes half the video.

    ie If the video had 100,000 frames, I'd add something like this to the end of the first script. Frame number 50258 would be the first frame of a new scene.

    Trim(0, 50257)

    and this to the end of the second script (the copy):

    Trim(50258, 100000)

    Or you could add this to the end of the second script instead.

    Trim(50258, 0) # Encodes from frame number 50258 to the last frame.

    Then I add them both to the job queue and run them at the same time, finally appending the two output files together with MKVMergeGUI.
    Last edited by hello_hello; 28th Jan 2014 at 18:52.
    Quote Quote  
  4. Member
    Join Date
    Jan 2014
    Location
    Cairo
    Search PM
    this is the script
    LoadPlugin("C:\Users\Mustafa\Desktop\MeGUI_2\MeGUI\tools\ffms\ffms2.dll")
    FFVideoSource("E:\OSN\Wadi.Al.The2ab.S07.HDTV.1080 p.Arabox.org\Valley.Of.The.Wolves.S07.EP19.HDTV.10 80p.Arabox.org.mkv", threads=8)
    #deinterlace
    #crop
    #resize
    #denoise

    LoadPlugin("C:\Users\Mustafa\Desktop\MeGUI_2\MeGUI \tools\avisynth_plugin\VSFilter.dll")
    TextSub("E:\OSN\logo\shabab.ass", 1)
    Quote Quote  



Similar Threads

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