VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Member
    Join Date
    Feb 2018
    Location
    europe
    Search PM
    Hello everybody

    During a few days I made an avs script in order to remove hardcoded subtitles. Here is my entire avs script :

    LoadVirtualdubplugin("C:\Users\**\Desktop\Nouveau dossier (2)\plugins32\exorcist.vdf", "Exorcist", 1)
    LoadVirtualdubplugin("C:\Users\**\Desktop\Nouveau dossier (2)\plugins32\Bright.vdf", "Brightness_Contrast", 1)
    SubtitleTopLeftX = 298
    SubtitleTopLeftY = 790
    SubtitleTopRightX =1620
    SubtitleTopRightY = 790
    clip = FFVideoSource("F:\*.mkv").ConvertToRGB32()
    maskclip = Levels(clip, 113, 10.000, 255, 75, 210)
    maskclip = GeneralConvolution(maskclip, 0, "
    10 10 10 10 10
    10 10 10 10 10
    10 10 10 10 10
    10 10 10 10 10
    10 10 10 10 10 ", 256, false)
    clip2 = OverLay(clip,maskclip,0,0,mode="subtract")
    clip2 = Blur(clip2, 1.58)
    clip2 = ConvertToYUY2(clip2)
    clip2= Tweak(clip2, hue=144.0,bright=83,cont=8.0)
    maskclip = Crop(clip2, SubtitleTopLeftX,SubtitleTopLeftY,-SubtitleTopLeftX,80).ConvertToRGB32.crop(0,0,0,-2).Trim(0,0)
    maskclip = maskclip.Brightness_Contrast(-254, 32)
    maskclip = ConvertToYUY2(maskclip)
    maskclip = Tweak(maskclip, hue=180.0,sat=4.0,bright=-29,cont=10.0)
    maskclip = ConvertToRGB32(maskclip)
    maskclip = maskclip.Levels(0, 0.281, 100, 6, 177)
    maskclip = maskclip.Greyscale()
    maskclip = maskclip.Exorcist(2, 100)
    maskclip = maskclip.Exorcist(-2, 100)
    maskclip = maskclip.Brightness_Contrast(-21, 32)
    maskclip = GeneralConvolution(maskclip, 0, "
    25 25 25 25 25
    25 25 25 25 25
    25 25 25 25 25
    25 25 25 25 25
    25 25 25 25 25 ", 256, false)
    maskclip = maskclip.Core(116,0)
    maskclip = maskclip.Blur(1.58)
    NewClip1 = dekafka(clip, maskclip, SubtitleTopLeftX, SubtitleTopLeftY, maskclip.width, maskclip.height,216)
    logo = ImageSource("C:\Users\**\Desktop\test2.png")
    NewClip2 = Overlay(clip, logo, x=0, y= 0, mode="blend")
    Clip.Trim(0,4312) ++ NewClip2.Trim(4313,4424) ++ Clip.Trim(4425, 4739) ++ NewClip1.Trim(4740, 4779) ++ NewClip1.Trim(4780, 132834) ++ Clip.Trim(132935, 150626)
    clip = FFVideoSource("F:\*.mkv").ConvertToRGB32()
    LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\assrender.dll")
    AssRender("C:\Users\**\Desktop\siberia.ass")
    AssRender("C:\Users\**\Desktop\A.ass")
    AssRender("C:\Users\**\Desktop\AA.ass")
    AssRender("C:\Users\**\Desktop\TRAD.ass")
    AssRender("C:\Users\**\Desktop\AAA.ass")
    AssRender("C:\Users\**\Desktop\CORREC.ass")
    AssRender("C:\Users\**\Desktop\AAAA.ass")
    AssRender("C:\Users\**\Desktop\ENCOD.ass")
    AssRender("C:\Users\**\Desktop\E.ass")
    ConvertToYV12()
    On AvsPmod , this script works perfectly. So i decided to encode my video with Megui

    First, i worked with DirectShowSource, but I knew DirectShowSource isn't frame accurate. So I decided to work with FFVideoSource. I lauched avs script on Megui, but I 've got an error with Megui

    Here is my error

    --[Information] [24/10/2018 20:05:37] Standard error stream
    ---[Information] [24/10/2018 20:05:39] y4m [info]: 1920x1080p 1:1 @ 24000/1001 fps (cfr)
    ---[Information] [24/10/2018 20:05:39] x264 [info]: using SAR=1/1
    ---[Information] [24/10/2018 20:05:39] x264 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT
    ---[Error] [24/10/2018 20:05:39] x264 [error]: 2nd pass has more frames than 1st pass (150525 vs 14462)
    ---[Error] [24/10/2018 20:05:39] x264 [error]: x264_encoder_open failed
    ---[Information] [24/10/2018 20:05:39] [error] av_interleaved_write_frame(): Broken pipe
    ---[Information] [24/10/2018 20:05:39] [error] Error writing trailer of pipe:: Broken pipe
    --[Error] [24/10/2018 20:05:39] Process exits with error: 0xFFFFFFFF (-1)
    --[Information] [24/10/2018 20:05:39] Job completed
    It's been a long time i'm using Megui, and I have never had any errors or issues with it

    How can I solve this error. What can I do ?

    thanks a lot
    Quote Quote  
  2. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    x264 [error]: 2nd pass has more frames than 1st pass (150525 vs 14462)
    Did you run a 2nd pass without a matching 1st pass before?
    Quote Quote  
  3. Member
    Join Date
    Feb 2018
    Location
    europe
    Search PM
    hello

    as usually, I don't need to take about this. I let Megui do his job and that's it, my encode est done. Why do I run a matching 1st pass before ?
    Quote Quote  
  4. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    In general:

    A first pass of a two-pass encode collects the statistics necessary to calculate an optimal-quality but huge-size clip down to the desired target size with convenient quality distribution. If you don't have any number, how do you calculate e.g. "one half of" nothing? It is called a two-pass encoding for a reason.

    You tell us you used MeGUI. But you did not tell us how you did that in detail. If you published the complete, uncropped log file of the whole job, we would be able to understand what happens. But only the chapter around the error is not enough to understand. We could guess ... but we might guess wrong, based on wrong assumptions what might have happened before your excerpt.

    By the way, the line
    clip = FFVideoSource("F:\*.mkv").ConvertToRGB32()
    before the end block rendering ASS subtitles is ignored, the variable "clip" is never used.
    Last edited by LigH.de; 25th Oct 2018 at 05:30.
    Quote Quote  
  5. Member
    Join Date
    Feb 2018
    Location
    europe
    Search PM
    hello,

    here is my entire error log

    [Error] Log
    -[Information] Versions
    --[Information] MeGUI: 2876 x86
    --[Information] Update Check: stable update server
    --[Information] System Information
    ---[Information] Operating System: Windows 10 Pro 1803 x64 (10.0.17134.345)
    ---[Information] .NET Framework: 4.0 (4.0.0.0)
    ---[Information] .NET Framework: 4.7 (4.7.03056)
    ---[Information] Redistributables
    ----[Information] Microsoft Visual C++ 2010 x64: 10.0.40219
    ----[Information] Microsoft Visual C++ 2010 x86: 10.0.40219
    ----[Information] Microsoft Visual C++ 2012 x64: 11.0.61030
    ----[Information] Microsoft Visual C++ 2012 x86: 11.0.61030
    ----[Information] Microsoft Visual C++ 2013 x64: 12.0.30501
    ----[Information] Microsoft Visual C++ 2013 x86: 12.0.30501
    ----[Information] Microsoft Visual C++ 2015 x64: 14.0.23918
    ----[Information] Microsoft Visual C++ 2015 x86: 14.0.24215
    ---[Information] DPI: 150% (144/144)
    ---[Information] Monitor 1
    ----[Information] Resolution: 1920x1080
    ----[Information] Primary Screen: True
    --[Information] Component Information
    ---[Information] Haali Media Splitter: 1.13.138.14 (08-12-2016)
    ---[Information] Haali DSS2: (08-12-2016)
    ---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
    ---[Information] MediaInfo: 18.05.0.0 (08-05-2018)
    ---[Information] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
    ---[Information] 7z: 9.20 (18-11-2010)
    --[Information] AviSynth Information
    ---[Information] AviSynth Wrapper
    ----[Information] Version: 1.0.2847.0
    ----[Information] Date: 06-05-2018
    ----[Information] Interface: 3
    ---[Information] AviSynth
    ----[Information] File Version: 2.6.0.6
    ----[Information] File Date: 31-03-2015
    ----[Information] File Name: Avisynth 2.6
    ----[Information] File Path: c:\windows\system32\avisynth.dll
    ----[Information] AviSynth Version: AviSynth 2.60, build:Mar 31 2015 [16:38:54]
    ----[Information] AviSynth+: false
    ----[Information] AviSynth MT: false
    -[Error] Update detection
    --[Information] [24/10/2018 18:38:06] Connected to server: http://megui.org/auto/stable/
    --[Information] [24/10/2018 18:38:06] There is 1 package which can be updated: AviSynth plugins
    --[Information] [24/10/2018 18:38:07] redist files copied: 2017_x86
    --[Information] [24/10/2018 18:38:11] There is 1 package which can be updated: AviSynth plugins
    --[Information] [24/10/2018 18:38:17] 1/1 - updating package AviSynth plugins
    --[Error] [24/10/2018 18:39:48] Old version of AviSynth plugins could not be accessed correctly. Check if it is in use. L'accès au chemin d'accès 'api-ms-win-core-processthreads-l1-1-0.dll' est refusé.
    --[Error] [24/10/2018 18:39:48] Could not install module 'AviSynth plugins'.
    --[Error] [24/10/2018 18:39:48] Failed to install package AviSynth plugins: Backup file cannot be created.
    --[Error] [24/10/2018 18:39:48] Packages which have not been successfully updated: 1
    -[Information] Log for job1 (avs, *.avs -> )
    --[Information] [24/10/2018 18:45:29] Started handling job
    --[Information] [24/10/2018 18:45:29] Preprocessing
    --[Information] [24/10/2018 18:45:40] Deleting aborted output
    ---[Information] [24/10/2018 18:45:40] Delete aborted output set: True
    --[Information] [24/10/2018 18:45:40] Job completed
    --[Information] [24/10/2018 18:45:40] Current job was aborted
    -[Information] Log for job2 (video, *.avs -> )
    --[Information] [24/10/2018 18:46:07] Started handling job
    --[Information] [24/10/2018 18:46:07] Preprocessing
    --[Information] [24/10/2018 18:46:07] AviSynth input script
    ---[NoImage] LoadVirtualdubplugin("C:\Users\**\Desktop\Nouveau dossier (2)\plugins32\exorcist.vdf", "Exorcist", 1)
    ---[NoImage] LoadVirtualdubplugin("C:\Users\**\Desktop\Nouveau dossier (2)\plugins32\Bright.vdf", "Brightness_Contrast", 1)
    ---[NoImage] SubtitleTopLeftX = 298
    ---[NoImage] SubtitleTopLeftY = 790
    ---[NoImage] SubtitleTopRightX =1620
    ---[NoImage] SubtitleTopRightY = 790
    ---[NoImage] clip = FFVideoSource("F:\*.mkv").ConvertToRGB32()
    ---[NoImage] maskclip = Levels(clip, 113, 10.000, 255, 75, 210)
    ---[NoImage] maskclip = GeneralConvolution(maskclip, 0, "
    ---[NoImage] 10 10 10 10 10
    ---[NoImage] 10 10 10 10 10
    ---[NoImage] 10 10 10 10 10
    ---[NoImage] 10 10 10 10 10
    ---[NoImage] 10 10 10 10 10 ", 256, false)
    ---[NoImage] clip2 = OverLay(clip,maskclip,0,0,mode="subtract")
    ---[NoImage] clip2 = Blur(clip2, 1.58)
    ---[NoImage] clip2 = ConvertToYUY2(clip2)
    ---[NoImage] clip2= Tweak(clip2, hue=144.0,bright=83,cont=8.0)
    ---[NoImage] maskclip = Crop(clip2, SubtitleTopLeftX,SubtitleTopLeftY,-SubtitleTopLeftX,80).ConvertToRGB32.crop(0,0,0,-2).Trim(0,0)
    ---[NoImage] maskclip = maskclip.Brightness_Contrast(-254, 32)
    ---[NoImage] maskclip = ConvertToYUY2(maskclip)
    ---[NoImage] maskclip = Tweak(maskclip, hue=180.0,sat=4.0,bright=-29,cont=10.0)
    ---[NoImage] maskclip = ConvertToRGB32(maskclip)
    ---[NoImage] maskclip = maskclip.Levels(0, 0.281, 100, 6, 177)
    ---[NoImage] maskclip = maskclip.Greyscale()
    ---[NoImage] maskclip = maskclip.Exorcist(2, 100)
    ---[NoImage] maskclip = maskclip.Exorcist(-2, 100)
    ---[NoImage] maskclip = maskclip.Brightness_Contrast(-21, 32)
    ---[NoImage] maskclip = GeneralConvolution(maskclip, 0, "
    ---[NoImage] 25 25 25 25 25
    ---[NoImage] 25 25 25 25 25
    ---[NoImage] 25 25 25 25 25
    ---[NoImage] 25 25 25 25 25
    ---[NoImage] 25 25 25 25 25 ", 256, false)
    ---[NoImage] maskclip = maskclip.Core(116,0)
    ---[NoImage] maskclip = maskclip.Blur(1.58)
    ---[NoImage] NewClip1 = dekafka(clip, maskclip, SubtitleTopLeftX, SubtitleTopLeftY, maskclip.width, maskclip.height,216)
    ---[NoImage] logo = ImageSource("C:\Users\**\Desktop\test2.png")
    ---[NoImage] NewClip2 = Overlay(clip, logo, x=0, y= 0, mode="blend")
    ---[NoImage] Clip.Trim(0,4312) ++ NewClip2.Trim(4313,4424) ++ Clip.Trim(4425, 4739) ++ NewClip1.Trim(4740, 4779) ++ NewClip1.Trim(4780, 132834) ++ Clip.Trim(132935, 150626)
    ---[NoImage] clip = FFVideoSource("F:\*.mkv").ConvertToRGB32()
    ---[NoImage] LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\assrender.dll")
    ---[NoImage] AssRender("C:\Users\**\Desktop\siberia.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\A.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\AA.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\TRAD.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\AAA.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\CORREC.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\AAAA.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\ENCOD.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\E.ass")
    ---[NoImage] ConvertToYV12()
    --[Information] [24/10/2018 18:46:08] resolution: 1920x1080
    --[Information] [24/10/2018 18:46:08] frame rate: 24000/1001
    --[Information] [24/10/2018 18:46:08] frames: 150525
    --[Information] [24/10/2018 18:46:08] length: 01:44:38.147
    --[Information] [24/10/2018 18:46:08] aspect ratio: 16:9 (1.778)
    --[Information] [24/10/2018 18:46:08] color space: YV12
    --[Information] [24/10/2018 18:46:08] target device selected: DXVA
    --[Information] [24/10/2018 18:46:08] changing --ref to 4
    --[Information] [24/10/2018 18:46:08] Job command line: "cmd.exe" /c ""C:\Users\**\Desktop\MeGui\tools\ffmpeg\ffmpeg.exe" -loglevel level+error -i "F:\*.avs" -strict -1 -f yuv4mpegpipe - | "C:\Users\**\Desktop\MeGui\tools\x264\x264.exe " --level 4.1 --preset veryslow --pass 1 --bitrate 2654 --stats "F:\*.stats" --threads 16 --deblock -3:-3 --keyint 240 --min-keyint 22 --chroma-qp-offset -2 --vbv-bufsize 31000 --vbv-maxrate 41250 --qcomp 0.7 --aq-mode 2 --aq-strength 0.84 --merange 48 --subme 11 --sar 1:1 --frames 150525 --output NUL --stdin y4m -"
    --[Information] [24/10/2018 18:46:08] Process started
    --[Information] [24/10/2018 18:46:08] Standard output stream
    --[Information] [24/10/2018 18:46:08] Standard error stream
    ---[Information] [24/10/2018 18:46:17] y4m [info]: 1920x1080p 1:1 @ 24000/1001 fps (cfr)
    ---[Information] [24/10/2018 18:46:17] x264 [info]: using SAR=1/1
    ---[Information] [24/10/2018 18:46:17] x264 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT
    ---[Information] [24/10/2018 18:46:17] x264 [info]: profile Main, level 4.1
    ---[Information] [24/10/2018 20:05:31] [error] F:\*.avs: Cannot allocate memory
    ---[Information] [24/10/2018 20:05:34] x264 [info]: frame I:87 Avg QP:15.82 size:112872
    ---[Information] [24/10/2018 20:05:34] x264 [info]: frame P:2994 Avg QP:19.71 size: 29940
    ---[Information] [24/10/2018 20:05:34] x264 [info]: frame B:11381 Avg QP:21.09 size: 8952
    ---[Information] [24/10/2018 20:05:34] x264 [info]: consecutive B-frames: 1.9% 2.0% 6.9% 15.0% 17.4% 41.6% 7.5% 3.8% 4.0%
    ---[Information] [24/10/2018 20:05:34] x264 [info]: mb I I16..4: 72.8% 0.0% 27.2%
    ---[Information] [24/10/2018 20:05:34] x264 [info]: mb P I16..4: 27.0% 0.0% 0.0% P16..4: 27.3% 0.0% 0.0% 0.0% 0.0% skip:45.7%
    ---[Information] [24/10/2018 20:05:34] x264 [info]: mb B I16..4: 3.4% 0.0% 0.0% B16..8: 13.0% 0.0% 0.0% direct:14.9% skip:68.7% L0:38.6% L1:44.1% BI:17.3%
    ---[Information] [24/10/2018 20:05:34] x264 [info]: final ratefactor: 20.39
    ---[Information] [24/10/2018 20:05:34] x264 [info]: direct mvs spatial:99.5% temporal:0.5%
    ---[Information] [24/10/2018 20:05:34] x264 [info]: coded y,uvDC,uvAC intra: 28.4% 63.7% 28.1% inter: 5.2% 19.0% 0.9%
    ---[Information] [24/10/2018 20:05:34] x264 [info]: i16 v,h,dc,p: 42% 22% 18% 17%
    ---[Information] [24/10/2018 20:05:34] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 21% 20% 3% 8% 6% 6% 5% 7%
    ---[Information] [24/10/2018 20:05:34] x264 [info]: i8c dc,h,v,p: 56% 18% 21% 4%
    ---[Information] [24/10/2018 20:05:34] x264 [info]: Weighted P-Frames: Y:4.2% UV:2.5%
    ---[Information] [24/10/2018 20:05:34] x264 [info]: kb/s:2670.39
    ---[Information] [24/10/2018 20:05:34] encoded 14462 frames, 3.04 fps, 2670.39 kb/s
    --[Information] [24/10/2018 20:05:34] Postprocessing
    ---[Information] [24/10/2018 20:05:34] Deleting intermediate files
    --[Information] [24/10/2018 20:05:34] Job completed
    -[Error] Log for job3 (video, *.avs -> *.264)
    --[Information] [24/10/2018 20:05:34] Started handling job
    --[Information] [24/10/2018 20:05:34] Preprocessing
    --[Information] [24/10/2018 20:05:34] AviSynth input script
    ---[NoImage] LoadVirtualdubplugin("C:\Users\**\Desktop\Nouveau dossier (2)\plugins32\exorcist.vdf", "Exorcist", 1)
    ---[NoImage] LoadVirtualdubplugin("C:\Users\**\Desktop\Nouveau dossier (2)\plugins32\Bright.vdf", "Brightness_Contrast", 1)
    ---[NoImage] SubtitleTopLeftX = 298
    ---[NoImage] SubtitleTopLeftY = 790
    ---[NoImage] SubtitleTopRightX =1620
    ---[NoImage] SubtitleTopRightY = 790
    ---[NoImage] clip = FFVideoSource("F:\*.mkv").ConvertToRGB32()
    ---[NoImage] maskclip = Levels(clip, 113, 10.000, 255, 75, 210)
    ---[NoImage] maskclip = GeneralConvolution(maskclip, 0, "
    ---[NoImage] 10 10 10 10 10
    ---[NoImage] 10 10 10 10 10
    ---[NoImage] 10 10 10 10 10
    ---[NoImage] 10 10 10 10 10
    ---[NoImage] 10 10 10 10 10 ", 256, false)
    ---[NoImage] clip2 = OverLay(clip,maskclip,0,0,mode="subtract")
    ---[NoImage] clip2 = Blur(clip2, 1.58)
    ---[NoImage] clip2 = ConvertToYUY2(clip2)
    ---[NoImage] clip2= Tweak(clip2, hue=144.0,bright=83,cont=8.0)
    ---[NoImage] maskclip = Crop(clip2, SubtitleTopLeftX,SubtitleTopLeftY,-SubtitleTopLeftX,80).ConvertToRGB32.crop(0,0,0,-2).Trim(0,0)
    ---[NoImage] maskclip = maskclip.Brightness_Contrast(-254, 32)
    ---[NoImage] maskclip = ConvertToYUY2(maskclip)
    ---[NoImage] maskclip = Tweak(maskclip, hue=180.0,sat=4.0,bright=-29,cont=10.0)
    ---[NoImage] maskclip = ConvertToRGB32(maskclip)
    ---[NoImage] maskclip = maskclip.Levels(0, 0.281, 100, 6, 177)
    ---[NoImage] maskclip = maskclip.Greyscale()
    ---[NoImage] maskclip = maskclip.Exorcist(2, 100)
    ---[NoImage] maskclip = maskclip.Exorcist(-2, 100)
    ---[NoImage] maskclip = maskclip.Brightness_Contrast(-21, 32)
    ---[NoImage] maskclip = GeneralConvolution(maskclip, 0, "
    ---[NoImage] 25 25 25 25 25
    ---[NoImage] 25 25 25 25 25
    ---[NoImage] 25 25 25 25 25
    ---[NoImage] 25 25 25 25 25
    ---[NoImage] 25 25 25 25 25 ", 256, false)
    ---[NoImage] maskclip = maskclip.Core(116,0)
    ---[NoImage] maskclip = maskclip.Blur(1.58)
    ---[NoImage] NewClip1 = dekafka(clip, maskclip, SubtitleTopLeftX, SubtitleTopLeftY, maskclip.width, maskclip.height,216)
    ---[NoImage] logo = ImageSource("C:\Users\**\Desktop\test2.png")
    ---[NoImage] NewClip2 = Overlay(clip, logo, x=0, y= 0, mode="blend")
    ---[NoImage] Clip.Trim(0,4312) ++ NewClip2.Trim(4313,4424) ++ Clip.Trim(4425, 4739) ++ NewClip1.Trim(4740, 4779) ++ NewClip1.Trim(4780, 132834) ++ Clip.Trim(132935, 150626)
    ---[NoImage] clip = FFVideoSource("F:\*.mkv").ConvertToRGB32()
    ---[NoImage] LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\assrender.dll")
    ---[NoImage] AssRender("C:\Users\**\Desktop\siberia.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\A.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\AA.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\TRAD.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\AAA.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\CORREC.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\AAAA.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\ENCOD.ass")
    ---[NoImage] AssRender("C:\Users\**\Desktop\E.ass")
    ---[NoImage] ConvertToYV12()
    --[Information] [24/10/2018 20:05:37] resolution: 1920x1080
    --[Information] [24/10/2018 20:05:37] frame rate: 24000/1001
    --[Information] [24/10/2018 20:05:37] frames: 150525
    --[Information] [24/10/2018 20:05:37] length: 01:44:38.147
    --[Information] [24/10/2018 20:05:37] aspect ratio: 16:9 (1.778)
    --[Information] [24/10/2018 20:05:37] color space: YV12
    --[Information] [24/10/2018 20:05:37] target device selected: DXVA
    --[Information] [24/10/2018 20:05:37] changing --ref to 4
    --[Information] [24/10/2018 20:05:37] Job command line: "cmd.exe" /c ""C:\Users\**\Desktop\MeGui\tools\ffmpeg\ffmpeg.ex e" -loglevel level+error -i "F:\*.avs" -strict -1 -f yuv4mpegpipe - | "C:\Users\**\Desktop\MeGui\tools\x264\x264.exe " --level 4.1 --preset veryslow --pass 2 --bitrate 2654 --stats "F:\*.stats" --threads 16 --deblock -3:-3 --keyint 240 --min-keyint 22 --chroma-qp-offset -2 --vbv-bufsize 31000 --vbv-maxrate 41250 --qcomp 0.7 --aq-mode 2 --aq-strength 0.84 --merange 48 --subme 11 --sar 1:1 --frames 150525 --output "F:\*.264" --stdin y4m -"
    --[Information] [24/10/2018 20:05:37] Process started
    --[Information] [24/10/2018 20:05:37] Standard output stream
    --[Error] [24/10/2018 20:05:37] Standard error stream
    ---[Information] [24/10/2018 20:05:39] y4m [info]: 1920x1080p 1:1 @ 24000/1001 fps (cfr)
    ---[Information] [24/10/2018 20:05:39] x264 [info]: using SAR=1/1
    ---[Information] [24/10/2018 20:05:39] x264 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT
    ---[Error] [24/10/2018 20:05:39] x264 [error]: 2nd pass has more frames than 1st pass (150525 vs 14462)
    ---[Error] [24/10/2018 20:05:39] x264 [error]: x264_encoder_open failed
    ---[Information] [24/10/2018 20:05:39] [error] av_interleaved_write_frame(): Broken pipe
    ---[Information] [24/10/2018 20:05:39] [error] Error writing trailer of pipe:: Broken pipe
    --[Error] [24/10/2018 20:05:39] Process exits with error: 0xFFFFFFFF (-1)
    --[Information] [24/10/2018 20:05:39] Job completed
    as usually, my encoding process is a quite long, between 7 and 8 hours to achieve the work. But there, it was weird, like I was an Intel core i9 with 128 Gb of DDR4 ^^

    could the error be related to the state of health of my hard disk on which my source file is located? Sometimes my hard drive is shutting down and restart . No ?

    Waiting for some solutions and answers, I changed FFVideoSource for FFmpegSource2, and for the moment, 1st pass is complete without errors, and 2nd pass is also running without any error.

    I never really understood why I had these error. for the moment, while changing all my habits , my encoding works is working fine
    Quote Quote  
  6. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    Code:
    ---[Information] [24/10/2018 20:05:31] [error] F:\*.avs: Cannot allocate memory
    AviSynth seems to have aborted getting out of RAM during the 1st pass. It is possible that an increased value for SetMemoryMax() may help.

    Furthermore, MeGUI has issues updating. You should try to solve that. You still have the "stable" updae server selected, you may prefer to switch to the "development" update server for an up-to-date MeGUI version (current: 2888).
    Quote Quote  



Similar Threads

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