View Full Version : MeGUI: bug reports and feature requests
Pages :
1
2
3
4
5
[
6]
7
8
Groucho2004
16th March 2016, 17:15
Another one is mt_masktools.dll , that's an older one . There used to be mt_masktools-26.dll and mt_masktools-25.dll (for avisynth 2.6.x and 2.5.x , respectively, for masktools2 a48), but those are older too. The newest one is masktools2.dll (masktools 2 beta 1) for avisynth 2.6 , I would try updating that too
http://avisynth.nl/index.php/MaskTools2
I believe I covered that in my previous post.
poisondeathray
16th March 2016, 17:17
I believe I covered that in my previous post.
Sorry, I didn't see it before posting. 2 min too late :o
Bruce/Fl
16th March 2016, 23:32
Hey, we're getting somewhere, thanks to all!
Here is thelogfile from the speed test. I used a very short clip. I didn't include the script from the logfile (Huge!)
[General info]
Log file created with: AVSMeter 2.1.6 (x86)
Script file: C:\Users\Bruce\Desktop\Practice\BJM1a.avs
Avisynth version string: AviSynth 2.60, build:Mar 31 2015 [16:38:54]
Avisynth file version: 2.6.0.6
Avisynth Interface Version: 6
Avisynth MT support: No
Avisynth.dll linker/compiler version: 6.0
Avisynth.dll location: C:\Windows\SysWOW64\avisynth.dll
Avisynth.dll time stamp: 2015-03-31, 01:40:58
PluginDir2_5 (HKLM, x86): C:\Users\Bruce\Videos\Tools\AVISynth\plugins
[Clip info]
Number of frames: 76
Length (hh:mm:ss.ms): 00:00:05.072
Frame width: 1920
Frame height: 1080
Framerate: 14.985 (15000/1001)
Colorspace: YV12
Audio channels: n/a
Audio bits/sample: n/a
Audio sample rate: n/a
Audio samples: n/a
[Runtime info]
Frames processed: 76 (0 - 75)
FPS (min | max | average): 0.208 | 0.737 | 0.323
Memory usage (phys | virt): 1121 | 1124 MB
Thread count: 1
CPU usage (average): 24%
Time (elapsed): 00:03:55.489
I tried to slip in a "changeFPS (30000, 1001)" at the end, but it didn't take, (it's still 14.985, maybe someone here will help me in the placement of that later.
With the script successfully getting through the meter, I tried MeGUI, and, success!
Now I just need to figure out how to get it back to 29.970, and then press on with what comes after I get me .264 file.
So, what does the AVSmeter tell us?
Groucho2004
17th March 2016, 00:05
FPS (min | max | average): 0.208 | 0.737 | 0.323
So, what does the AVSmeter tell us?That you have to have a lot of patience using that script. :D
poisondeathray
17th March 2016, 00:13
What was the culprit ? So that other people facing the same symptoms can get help next time. Does avspmod still not work for you ?
If you script has something like "return last", add the changefps() before that, or erase the return line . Or post the current version of the script
Bruce/Fl
17th March 2016, 00:58
That you have to have a lot of patience using that script. :D
Yeah, and I've only got 6 hours of film to process! lol
Maybe 3 hours, since I'm taking out the dupe frames .....
EDIT: I know John really worked on the speed, and he had great success. He has provisions in place for multi threading, but I'm not messing with that yet. (I'll probably need to reincorporate that MT_masktools.dll then?) My desktop that I am at has an old processor, an AMD A6-3650 APU with Radeon(tm) HD Graphics 2.60 GHz (Quad core)
My laptop has an i7, I hope to use that as much as I can, till I spring for a new desktop.
Bruce/Fl
17th March 2016, 01:02
What was the culprit ? So that other people facing the same symptoms can get help next time. Does avspmod still not work for you ?
If you script has something like "return last", add the changefps() before that, or erase the return line . Or post the current version of the script
It looks like it was those newer .dlls Groucho had me switch out. Was it one in particular? I don't know.
After everything gets straightened out I can swap some back in and see which 1(s) jam it up.
I had temporarlily forgot about my AVVSPmod issue. I just tried it, still nothing. Won't open, and when I drag a script to the shortcut (or the executabe) nothing happens. Tried running as admin also, still nothing.
I'll post the script at present, next.
Bruce/Fl
17th March 2016, 01:08
Part 1 of probably 3
# film restoration script by videoFred.
# denoising, resizing, stabilising, sharpening, auto-levels and auto-white balance.
#
# Modified by John Meyer, October 7, 2012
#
# Changes made by Meyer (June 8, 2010):
# 1. Replaced the MVDegrainMulti function, which was part of the original MVTools
# with the equivalent function using the newer and faster MVTools2.
# 2. Added RemoveDirt function prior to Degrain in order to eliminate large dust spots. This
# substantially improves the dirt removal capabilities of this script. The user will need to
# download this plugin at:
# http://www.removedirt.de.tf/
# 3. Eliminated a great deal of sharpening. The original script did sharpening in at least four places.
# With grainy film stock, this sometimes created objectionable grain. Also, the limitedSharpenFaster
# function, while excellent for video, is uncessarily slow, and isn't really needed for this low
# resolution source. Too much sharpening can make the film look too much like video.
# 4. Added multithreading. I was able to roughly triple the script performance. It may be possible to
# substantially increase this, perhaps as much as 12x instead of 3x. However, the autolevels function
# would have to be replaced.
# 5. Fixed several things I found. The result3 option didn't have the manual color correction code, so I
# added that back in. All the numbered "stab" variables (stab1, stab2, etc.) aren't needed except
# for providing a test function for stabilization. I eliminated all of this to streamline the script.
# 6. Deflicker seemed redundant, given all the averaging that takes place with MDegrain, and also the averaging
# that is done when the autolevels outputs are selected.
# 7. I reduced the number of frames used for averaging autolevels from the default (which is 5) to 2.
# I probably should add a variable in the header so the user can change this. Something else to do
# in the future ...
# 8. I added yet another set of crop parameters. I did this because both my capture and my output are
# done using NTSC DV AVI which is 720x480. However, 8mm film is almost exactly square, so the captured
# 720x480 video has black bars on the side. These need to be cropped off prior to doing motion
# stabilization, but then added back prior to the final output, which must still be 720x480 with the
# black bars on the side.
# 9. I reduced the default depan settings to 20, which is what was recommended in the original script. I
# also reduced the post-depan cropping. I did this so I could keep as much of the original frame
# as possible.
# 10. I removed the second denoising and sharpening function. It just seemed to be too much, and made the
# result too artificial
# 11. I removed the MVFLowFPS interpolation. I did this during one of dozens and dozens of attempts
# to improve the speed of the script. I should probably add this back, but if I do so, I also
# need to make it work correctly for interlaced output. If the goal is to show this on an NTSC or PAL
# television set, then it is not correct to convert from the film fps to 25 fps progressive (PAL) or
# 29.97 fps progressive (NTSC). Instead, this should be done as follows (example given is NTSC):
#
# MFlowFPS(source,super,backward_vec, forward_vec, num=60000, den=1001,ml=200)
# SeparateFields()
# SelectEvery(4, 0, 3)
# Weave()
#
# This yields interlaced 29.97, which has twice the temporal resolution as 29.97 progressive, and will
# therefore look correct on a TV set. I have done a lot of this as part of my Kinescope to video
# conversion scripts. For those scripts, the goal is to make the filmed version of a TV show look
# like it was actually videotaped. However, for something that originated on film, this "does violence"
# to the original feel of the media. It is true that it can make horizontal pans less "juddery," but
# it won't feel like film anymore. Also, this technique does break down, espcially with fast motion
# in the foreground.
# 12. Removed the unecessary "coloryuv(off_U=blue,off_V=red)" statement from the denoising section.
# 13. Added killaudio() statement to prevent lockups when using SetMTMode().
#
# Changes made on October 7, 2012
#
# 1. Modified RemoveDirtMC function to do estimation in two steps. This improves performance and quality.
# 2. Modified MDegrain to do estimation in two steps. This provides roughly the same quality with blocksize=8
# as what I was getting with blocksize=4, but with virtually no performance penalty
# 3. Updated to use special build of MVTools2 that works with SVP.
# 4. Moved Autolevels inside special multi-threading section in order to improve performance with autolevels.
# 5. Removed all trim commands because I do all editing outside the script (in Vegas).
# 6. Included two alternative ways to do frame interpolation: SVP and InterFrame. The InterFrame script is probably better
# but I included the SVP code because it may provide a starting point for more customized approaches. Neither is enabled by default.
#
#====================================================================================
Bruce/Fl
17th March 2016, 01:09
Part 2 of 3
#VIDEO FILE
#----------------------------------------------------------------------------------------------------------------------------
#Change the following line to point to your video file
source=AVISource("C:\Users\Bruce\Desktop\fs.avi")
#GENERAL PARAMETERS
#----------------------------------------------------------------------------------------------------------------------------
result="result4" #specify the wanted output here
play_speed=16 #play speed (8mm=16; Super8=18; 16mm sound=24)
#COLOR AND LEVELS PARAMATERS
#----------------------------------------------------------------------------------------------------------------------------
saturation=1.0 #for all outputs
gamma=1.0 #for all outputs
blue= -0 red=-0 #manual color adjustment, when returning result3 & result4. Values can be positive or negative
black_level=0 white_level=255 output_black=0 output_white=255 #manual levels, when returning result2 & result4
#SIZE, CROP AND BORDERS PARAMETERS
#----------------------------------------------------------------------------------------------------------------------------
CLeft=16 CTop=16 CRight=16 CBottom=16 #crop values after Depan and before final resizing
W=1920 H=1080 #final size after cropping
bord_left=0 bord_top=0 bord_right=0 bord_bot=0 #720p= borders 150
in_bord_left=240 in_bord_top=0 in_bord_right=240 in_bord_bot=0 #Borders around input that must be removed
#STABILISING PARAMETERS
#----------------------------------------------------------------------------------------------------------------------------
maxstabH=5 #maximum values for the stabiliser (in pixels) 20 is a good start value
maxstabV=20
est_left=40 est_top=40 est_right=40 est_bottom=40 #crop and contast values for special Estimate clip
est_cont=1.6
#DENOISING PARAMETERS
#----------------------------------------------------------------------------------------------------------------------------
#denoising_strength=600 #denoising level of first denoiser: MVDegrain()
#denoising_strength=300 #denoising level of first denoiser: MVDegrain()
#block_size= 16 #block size of MVDegrain
#block_size_v= 16
#block_over= 8 #block overlapping of MVDegrainMulti()
denoising_strength= 600 #denoising level of first denoiser: MDegrain()
block_size= 8 #block size of MVDegrain
block_size_v= 8
block_over= 4 #block overlapping of MVDegrainMulti()
#denoising_strength= 600 #denoising level of first denoiser: MDegrain()
#block_size= 4 #block size of MVDegrain
#block_size_v= 4
#block_over= 2 #block overlapping of MVDegrainMulti()
dirt_strength=23 #sets amount of dirt removal (big spots)
#FOUR STEP SHARPENING PARAMETERS
#--------------------------------------------------------------------------------------------------------------------------------
PRE_sharp_ness= 120 PRE_radi_us= 3 #presharpening (UnsharpMask) just after first denoising
#PRE_sharp_ness= 85 PRE_radi_us= 3 #presharpening (UnsharpMask) just after first denoising
LSF_sharp_ness=160 LSF_radi_us=2 LSF_sub=1.5 #second sharpening parameters (LimitedSharpenFaster) sub=subsampling
#Sharp_Strength = 0.4
Sharp_Strength = 0.1
#AUTO LEVELS PARAMETER
#--------------------------------------------------------------------------------------------------------------------------------
X=4 #X is a special parameter for reducing the autolevels effect on the whites
X2=4 #X2 is a special parameter for reducing the autolevels effect on the blacks
#NUMBER OF THREADS
#--------------------------------------------------------------------------------------------------------------------------------
threads=6
# END VARIABLES, BEGIN SCRIPT
#=================================================================================================================================
SetMemoryMax(1000)
LoadPlugin ("mvtools2.dll") #Version 2.5.11.9 2/24/2012
LoadPlugin("autolevels.dll") #Version 0.6.0.0 1/09/2011
LoadPlugin("Deflicker.dll") #Version 0.4.0.0 8/16/2004
Loadplugin("Depan.dll") #Version 1.10.0.0 4/09/2007
LoadPlugin("DepanEstimate.dll") #Version 1.9.2.0 3/25/2007
LoadPlugin("fft3dfilter.dll") #Version 2.1.1.0 2/20/2007
#Loadplugin("mt_masktools.dll") #Version 2.0.23.0 3/14/2008
loadplugin("RemoveDirtSSE2.dll") #Version 0.9 5/05/2005
Loadplugin("RemoveGrainSSE2.dll") #Version 0.9 5/01/2005
#Loadplugin("removegrain.dll") #Version 0.9 5/01/2005
Loadplugin("warpsharp.dll") # 4/05/2010
#Use the following for alternative frame interpolation
#loadplugin("svpflow1.dll") #Version 1.2.1.0 5/29/2012
#loadplugin("svpflow2.dll") #Version 1.3.1.0 6/02/2012
#Import("InterFrame2.avsi") #Version 2.1.0 6/27/2012
#Import("LimitedSharpenFaster.avs") #Not used in this script, but available if someone wants to experiment
#LoadPlugIn("LimitedSupport_09Jan06B.dll") #Used with LimitedSharpenFaster
#Remove all setmtmode statements (there are three in this script) if not using multi-threaded (MT) AVISynth
#setmtmode(5,threads)
source1=AVISource("C:\Users\Bruce\Desktop\fs.avi").assumefps(15000,1001).ConverttoYv12().killaudio
#source1= Avisource(film).assumefps(play_speed).converttoYV12()
cropped_source=source1.crop(in_bord_left,in_bord_top,-in_bord_right,-in_bord_bot) #remove any black borders on input video
#setmtmode(2)
#cropped_source=filldrops(cropped_source) #Use this when removing bad frames that have been removed by duplicating previous frame
#STABILIZING
#....................................................................................................................................................................
stab_reference= cropped_source.crop(est_left,est_top,-est_right,-est_bottom).tweak(cont=est_cont).MT_binarize(threshold=80).greyscale().invert()
mdata=DePanEstimate(stab_reference,trust=1.0,dxmax=maxstabH,dymax=maxstabV)
#stab=DePanStabilize(cropped_source,data=mdata,cutoff=0.5,dxmax=maxstabH,dymax=maxstabV,method=1,mirror=15).deflicker()
stab=DePanStabilize(cropped_source,data=mdata,cutoff=0.5,dxmax=maxstabH,dymax=maxstabV,method=1,mirror=15)
#DENOISING
#...................................................................................................................................................................
input_to_removedirt=stab.crop(CLeft,CTop,-CRight,-CBottom)
stabcrop=RemoveDirtMC(input_to_removedirt,dirt_strength,false)
prefiltered = RemoveGrain(stabcrop,2)
superfilt = MSuper(prefiltered, hpad=32, vpad=32,pel=2)
super= MSuper(stabcrop, hpad=32, vpad=32,pel=2)
halfblksize= (block_size>4) ? block_size/2 : 4
halfoverlap= (block_over>2) ? block_over/2 : 2
bvec1 = MAnalyse(superfilt, isb = true, delta = 1, blksize=block_size, overlap=block_over,dct=0)
bvec1 = MRecalculate(super, bvec1, blksize=halfblksize, overlap=halfoverlap,thSAD=100)
fvec1 = MAnalyse(super, isb = false, delta = 1, blksize=block_size, overlap=block_over,dct=0)
fvec1 = MRecalculate(super, fvec1, blksize=halfblksize, overlap=halfoverlap,thSAD=100)
bvec2 = MAnalyse(super, isb = true, delta = 2, blksize=block_size, overlap=block_over,dct=0)
bvec2 = MRecalculate(super, bvec2, blksize=halfblksize, overlap=halfoverlap,thSAD=100)
fvec2 = MAnalyse(super, isb = false, delta = 2, blksize=block_size, overlap=block_over,dct=0)
fvec2 = MRecalculate(super, fvec2, blksize=halfblksize, overlap=halfoverlap,thSAD=100)
# bvec3 = MAnalyse(super, isb = true, delta = 2, blksize=block_size, overlap=block_over,dct=0)
# bvec3 = MRecalculate(super, bvec3, blksize=halfblksize, overlap=halfoverlap,thSAD=100)
# fvec3 = MAnalyse(super, isb = false, delta = 2, blksize=block_size, overlap=block_over,dct=0)
# fvec3 = MRecalculate(super, fvec3, blksize=halfblksize, overlap=halfoverlap,thSAD=100)
#super = stabcrop.MSuper(pel=2)
#bvec1 = MAnalyse(super, isb = true, delta = 1, blksize=block_size, overlap=block_over,dct=0)
#fvec1 = MAnalyse(super, isb = false, delta = 1, blksize=block_size, overlap=block_over,dct=0)
#bvec2 = MAnalyse(super, isb = true, delta = 2, blksize=block_size, overlap=block_over,dct=0)
#fvec2 = MAnalyse(super, isb = false, delta = 2, blksize=block_size, overlap=block_over,dct=0)
#bvec3 = MAnalyse(super, isb = true, delta = 3, blksize=block_size, overlap=block_over,dct=0)
#fvec3 = MAnalyse(super, isb = false, delta = 3, blksize=block_size, overlap=block_over,dct=0)
#Use the second line below, and un-comment two lines above if you want to average more frames. Doesn't seem necessary for most work IMHO.
denoised=stabcrop.MDegrain2(super, bvec1,fvec1,bvec2,fvec2,thSAD=denoising_strength).levels(0,gamma,255,0,255).tweak(sat=saturation).unsharpmask(PRE_sharp_ness,PRE_radi_us,0)
#denoised=stabcrop.MDegrain3(super, bvec1,fvec1,bvec2,fvec2,bvec3,fvec3,thSAD=denoising_strength).tweak(sat=saturation).unsharpmask(PRE_sharp_ness,PRE_radi_us,0)
Bruce/Fl
17th March 2016, 01:09
3 of 3
#SHARPENING
#...................................................................................................................................................................
sharp1=denoised.sharpen(Sharp_Strength)
#sharp1=limitedSharpenFaster(denoised,smode=1,strength=LSF_sharp_ness,overshoot=50,radius=LSF_radi_us, ss_X=LSF_sub, SS_Y=LSF_sub, dest_x=W - bord_left - in_bord_left - bord_right - in_bord_right,dest_y=H - bord_top - in_bord_top - bord_bot - in_bord_bot)
PreBorderFrame = sharp1.Lanczos4Resize(W - bord_left - in_bord_left - bord_right - in_bord_right, H - bord_top - in_bord_top - bord_bot - in_bord_bot)
#FRAME INTERPOLATION (optional)
#...................................................................................................................................................................
#superfps= MSuper(PreBorderFrame,pel=2)
#backward_vec2 = MAnalyse(superfps, isb = true,blksize=16)
#forward_vec2 = MAnalyse(superfps, isb = false,blksize=16)
#PreBorderFrame = MFlowFps(PreBorderFrame,superfps, backward_vec2, forward_vec2, num=60000, den=1001, ml=200).SeparateFields().SelectEvery(4, 0, 3).Weave()
#The following alternative can provide synthesized frames for hi-def material that causes MSuper to choke
#////// Begin alternative to MFlowFPS ////
#super_params="{pel:2,gpu:1}"
#analyse_params="""{block:{w:32,h:32},
# main:{search:{coarse:{distance:-10}}},
# refine:[{thsad:200}]
# }"""
#smoothfps_params="{rate:{num:60,den:16,abs:false},scene:{mode:0,limits:{scene:8500}},algo:21,cubic:1}"
#The following provides smooth output
#super = SVSuper(PreBorderFrame,super_params)
#vectors = SVAnalyse(super, analyse_params)
#PreBorderFrame = SVSmoothFps(PreBorderFrame,super, vectors, smoothfps_params, url="www.svp-team.com", mt=threads).SeparateFields().SelectEvery(4, 0, 3).Weave().assumefps(29.97)
#////// End alternative to MFlowFPS ////
#The following is another alternative that can provide synthesized frames for hi-def material that causes MSuper to choke. Probably better than the one above.
#////// Begin alternative to MFlowFPS ////
#PreBorderFrame=InterFrame(NewNum=30000,NewDen=1001,PreBorderFrame,GPU=true,Cores=threads)
#////// End alternative to MFlowFPS ////
#Change SetMTMode for Autolevels
#SetMTMode(5,threads)
#RESULT1: AUTOLEVELS,AUTOWHITE
#......................................................................................................................................................................
result1= PreBorderFrame.coloryuv(autowhite=true).addborders(X,0,0,0,$FFFFFF).addborders(0,0,X2,0,$000000).autolevels(filterRadius=2).crop(X,0,-X2,-0).addborders(bord_left+in_bord_left, bord_top+in_bord_top, bord_right+in_bord_right, bord_bot+in_bord_bot)
#RESULT3: AUTOLEVELS, MANUAL COLOR CORRECTIONS
#.....................................................................................................................................................................
result3= PreBorderFrame.coloryuv(off_U=blue,off_V=red).addborders(X,0,0,0,$FFFFFF).addborders(0,0,X2,0,$000000).autolevels(filterRadius=2).crop(X,0,-X2,-0).addborders(bord_left+in_bord_left, bord_top+in_bord_top, bord_right+in_bord_right, bord_bot+in_bord_bot)
#SetMTMode(2)
#RESULT2: MANUAL LEVELS, AUTOWHITE
#......................................................................................................................................................................
result2= PreBorderFrame.levels(black_level,gamma,white_level,0,255).coloryuv(autowhite=true).addborders(bord_left+in_bord_left, bord_top+in_bord_top, bord_right+in_bord_right, bord_bot+in_bord_bot)
#RESULT4: MANUAL LEVELS, MANUAL COLOR CORRECTIONS
#.....................................................................................................................................................................
result4= PreBorderFrame.coloryuv(off_U=blue,off_V=red).levels(black_level,gamma,white_level,0,255).addborders(bord_left+in_bord_left, bord_top+in_bord_top, bord_right+in_bord_right, bord_bot+in_bord_bot)
#PARAMETERS FOR THE COMPARISONS
#.....................................................................................................................................................................
W2= W+bord_left+bord_right
H2= H+bord_top+bord_bot
source4=Lanczos4Resize(source1,W2,H2)
#COMPARISONS: ORIGINAL VS RESULTS
#......................................................................................................................................................................
resultS1= stackhorizontal(subtitle(source4,"original",size=28,align=2),subtitle(result1,"autolevels, autowhite",size=28,align=2))
resultS2= stackhorizontal(subtitle(source4,"original",size=28,align=2),subtitle(result2,"autowhite, manual levels correction",size=28,align=2))
resultS3= stackhorizontal(subtitle(source4,"original",size=28,align=2),subtitle(result3,"autolevels, manual color correction",size=28,align=2))
resultS4= stackhorizontal(subtitle(source4,"original",size=28,align=2),subtitle(result4,"manual colors and levels correction",size=28,align=2))
source1=AVISource("C:\Users\Bruce\Desktop\fs.avi").ChangeFPS(30000, 1001)
Eval(result)
# END SCRIPT, BEGIN FUNCTIONS
#=================================================================================================================================
#REMOVE DIRT FUNCTION
#......................................................................................................................................................................
function RemoveDirt(clip input, int "limit", bool "_grey")
{
clensed=input.Clense(grey=_grey, cache=4)
alt=input.RemoveGrain(2)
return RestoreMotionBlocks(clensed,input,alternative=alt,pthreshold=6,cthreshold=8, gmthreshold=40,dist=3,dmode=2,debug=false,noise=limit,noisy=4, grey=_grey)
# Alternative settings
# return RestoreMotionBlocks(clensed,input,alternative=alt,pthreshold=4,cthreshold=6, gmthreshold=40,dist=1,dmode=2,debug=false,noise=limit,noisy=12,grey=_grey,show=true)
# return RestoreMotionBlocks(clensed,input,alternative=alt,pthreshold=6,cthreshold=8, gmthreshold=40,dist=3,tolerance= 12,dmode=2,debug=false,noise=limit,noisy=12,grey=_grey,show=false)
}
function RemoveDirtMC(clip,int "limit", bool "_grey")
{
_grey=default(_grey, false)
limit = default(limit,6)
# prefiltered = fft3dfilter(clip,sigma=1,sigma2=2,sigma3=3,sigma4=5,bw=64,bh=64)
prefiltered = RemoveGrain(clip,2)
superfilt = MSuper(prefiltered, hpad=32, vpad=32,pel=2)
super=MSuper(clip, hpad=32, vpad=32,pel=2)
bvec = MAnalyse(superfilt,isb=true, blksize=16, overlap=2,delta=1, truemotion=true)
fvec = MAnalyse(superfilt,isb=false, blksize=16, overlap=2,delta=1, truemotion=true)
bvec_re = Mrecalculate(super,bvec,blksize=8, overlap=0,thSAD=100)
fvec_re = Mrecalculate(super,fvec,blksize=8, overlap=0,thSAD=100)
backw = MFlow(clip,super,bvec_re)
forw = MFlow(clip,super,fvec_re)
clp=interleave(forw,clip,backw)
clp=clp.RemoveDirt(limit,_grey)
clp=clp.SelectEvery(3,1)
return clp
}
#This function is the previous way to do motion estimation. It is slower and not as accurate.
function RemoveDirtMC_old(clip,int "limit", bool "_grey")
{
_grey=default(_grey, false)
limit = default(limit,6)
i=MSuper(clip,pel=2)
fvec = MAnalyse(i,isb=false, blksize=16, delta=1, truemotion=true)
bvec = MAnalyse(i,isb=true, blksize=16, delta=1, truemotion=true)
backw = MFlow(clip,i,bvec)
forw = MFlow(clip,i,fvec)
clp=interleave(forw,clip,backw)
clp=clp.RemoveDirt(limit,_grey)
clp=clp.SelectEvery(3,1)
return clp
}
# This function will remove near duplicates ("0.1") or exact duplicates (change to "0.0"). It replaces these
# duplicates with a motion estimated frame.
# Use: In your video editor, replace any single bad frame (burned frame, jump, missing frame from splice, etc.) with a duplicate of the
# previous frame. Then, include a call to this function
function filldrops (clip c)
{
super=MSuper(c,pel=2)
vfe=manalyse(super,truemotion=true,isb=false,delta=1)
vbe=manalyse(super,truemotion=true,isb=true,delta=1)
filldrops = mflowinter(c,super,vbe,vfe,time=50)
fixed = ConditionalFilter(c, filldrops, c, "YDifferenceFromPrevious()", "lessthan", "0.1")
return fixed
}
Bruce/Fl
17th March 2016, 01:16
I'm trying to set up both my desktop and my laptop with the same programs/scripts.
I have my desktop running the script, and the speed test and MeGUI both work with the script now.
Using the same avisynth, same plugins, etc, when I try to run the speed test on my laptop, it fails at the following step.
"There is no function named "MT_Binarize"
Here is the offending segment.
#STABILIZING
#....................................................................................................................................................................
stab_reference= cropped_source.crop(est_left,est_top,-est_right,-est_bottom).tweak(cont=est_cont).MT_binarize(threshold=80).greyscale().invert()
mdata=DePanEstimate(stab_reference,trust=1.0,dxmax=maxstabH,dymax=maxstabV)
#stab=DePanStabilize(cropped_source,data=mdata,cutoff=0.5,dxmax=maxstabH,dymax=maxstabV,method=1,mirror=15).deflicker()
stab=DePanStabilize(cropped_source,data=mdata,cutoff=0.5,dxmax=maxstabH,dymax=maxstabV,method=1,mirror=15)
My desktop avisynth setup lets it through, the laptop (windows 10, if it makes a difference) flags it.
Does that point to any particular dll that I may have mishandled, if anyone knows?
poisondeathray
17th March 2016, 03:28
mt_binarize is from masktools2.dll ; the older version was called mt_masktools-26.dll for avisynth 2.6.x
welcome to avisynth .dll hell :D everyone goes though it at some point
Bruce/Fl
17th March 2016, 03:42
I wonder why it works on my desktop and not on my laptop though, I'm not positive, but I believe I've got all the same files loaded up on each.
Groucho2004
17th March 2016, 09:36
I wonder why it works on my desktop and not on my laptop though, I'm not positive, but I believe I've got all the same files loaded up on each.
Make sure you comment out the explicit "Loadplugin()" statements in the script and check if the the auto-load directory has all the right plugin versions.
Bruce/Fl
17th March 2016, 10:06
Make sure you comment out the explicit "Loadplugin()" statements in the script and check if the the auto-load directory has all the right plugin versions.
A question for you. The way the script is written with that MT_binarize command, doesn't that necessitate having that MT_masktools plug-in in play? Maybe I accidentally left that in when I replaced it with the new masktools and that's why it's working?
I'm at work right now, otherwise I'd look myself. Just doing a thought exercise.
Groucho2004
17th March 2016, 11:20
The way the script is written with that MT_binarize command, doesn't that necessitate having that MT_masktools plug-in in play?
No. The masktools2.dll I linked to in post #5080 contains mt_binarize.
Some advice - Try to get more familiar with Avisynth, this site (http://avisynth.nl/index.php/Main_Page) is excellent for reference and tutorials.
LouieChuckyMerry
18th March 2016, 02:15
Ooops...
LouieChuckyMerry
18th March 2016, 02:29
Can I remove the "update_cache"?
Or does MeGUI need this for something.
I regularly cull the "obsolete" and duplicate files, leaving a single file of each type, and I've never had a problem. I think (ha ha) that MeGUI automatically reverts to an older version if the updated version proves problematic, which is why I keep the newest backup. Someone more knowledgeable than I might offer insight...
Some advice - Try to get more familiar with Avisynth, this site (http://avisynth.nl/index.php/Main_Page) is excellent for reference and tutorials.
Thanks for that :thanks:
Bruce/Fl
18th March 2016, 03:20
No. The masktools2.dll I linked to in post #5080 contains mt_binarize..
OK, that explains why it worked on my desktop.
Some advice - Try to get more familiar with Avisynth, this site (http://avisynth.nl/index.php/Main_Page) is excellent for reference and tutorials.
Yes, I've been there often, I did the first few pages of tutorials, the "getting started" stuff. I usually go back there when needing a new .dll for whatever reason, that site has legitimate and usually current links to get the latest and correct files.
There is a ton of useful info in there, and I try to read up as much as I can, although obviously not enough.
Make sure you comment out the explicit "Loadplugin()" statements in the script and check if the the auto-load directory has all the right plugin versions.
That made sense to me to do that, so I did that. Now, when the script tries to run in AVSInfo, it stops and says:
Script error: Clense does not have a named argument "cache"
<C:\Users\Bruce\Desktop\Practice\BJM1c.avs, line 330>
<C:\Users\Bruce\Desktop\Practice\BJM1c.avs, line 360>
<C:\Users\Bruce\Desktop\Practice\BJM1c.avs, line 202>
The only difference between my latest try and the successful one before it was I commented out that group of "Loadplugin" commands.
Does one (or more) of the Loadplugin commands I commented out need to remain, or does that kind of error point to something else entirely?
Bruce/Fl
18th March 2016, 03:47
I think I may have stumbled upon something here:
http://forum.doom9.org/showthread.php?t=172002
Which says that rgtools doesn't include removedirt.
But that raises another question, why does the script run when I do the loadplugin on rgtools, even though I took out the removedirt dll, which supposedly isn't included in rgtools?
poisondeathray
18th March 2016, 04:59
I think I may have stumbled upon something here:
http://forum.doom9.org/showthread.php?t=172002
Which says that rgtools doesn't include removedirt.
But that raises another question, why does the script run when I do the loadplugin on rgtools, even though I took out the removedirt dll, which supposedly isn't included in rgtools?
There are about 238 remove dirt variants and versions
You have one in your script, called as a function as a dependency for removedirtmc . That actually relies on one of the 164.5 versions of removegrain.dll
http://forum.doom9.org/showthread.php?p=1761016#post1761016
.
.
.
function RemoveDirt(clip input, int "limit", bool "_grey")
{
clensed=input.Clense(grey=_grey, cache=4)
alt=input.RemoveGrain(2)
return RestoreMotionBlocks(clensed,input,alternative=alt,pthreshold=6,cthreshold=8, gmthreshold=40,dist=3,dmode=2,debug=false,noise=limit,noisy=4, grey=_grey)
# Alternative settings
# return RestoreMotionBlocks(clensed,input,alternative=alt,pthreshold=4,cthreshold=6, gmthreshold=40,dist=1,dmode=2,debug=false,noise=limit,noisy=12,grey=_grey,show=true)
# return RestoreMotionBlocks(clensed,input,alternative=alt,pthreshold=6,cthreshold=8, gmthreshold=40,dist=3,tolerance= 12,dmode=2,debug=false,noise=limit,noisy=12,grey=_grey,show=false)
}
.
.
.
Bruce/Fl
18th March 2016, 05:16
I know you're trying to lead me down a path to understand what's happening, but I'm afraid I'm too inexperienced to see it..
I guess my question still is, it appears that that particular removedirt needs a loadplugin? I thought that if I had its replacement (rgtools) in the autoload folder, it would load by itself. When I manually load the RGtools, the script works.
poisondeathray
18th March 2016, 05:38
Script error: Clense does not have a named argument "cache"
Your script uses the old versions of clense etc.. rgtools isn't completely backwards compatible
Notice in the rgtools documention , the clense version there doesn't have cache argument, the original one does
https://github.com/tp7/RgTools/blob/master/README.md
http://avisynth.nl/index.php/RemoveGrain_v1.0b/RemoveGrain/Clense
You would have to modify your script or use the other version
I don't think rgtools needs loadplugin(), not sure what is going on there. Do you have the .dll in the plugins folder (not in a subfolder) ? rgtools does include removegrain, which is part of that function for that version of removedirt
Bruce/Fl
18th March 2016, 06:28
Your script uses the old versions of clense etc.. rgtools isn't completely backwards compatible
Notice in the rgtools documention , the clense version there doesn't have cache argument, the original one does
https://github.com/tp7/RgTools/blob/master/README.md
http://avisynth.nl/index.php/RemoveGrain_v1.0b/RemoveGrain/Clense
You would have to modify your script or use the other version
I don't think rgtools needs loadplugin(), not sure what is going on there. Do you have the .dll in the plugins folder (not in a subfolder) ? rgtools does include removegrain, which is part of that function for that version of removedirt
I found out I still had the removedirt and removegrain DLLs in my syswow folder. I put them both in the plugin folder, and removed the rgtools and the script worked. I did them one at a time to see which ones were needed. So I kind a got a flow going now,l.
I'm still kind of having a hard time figuring out where to get the speed back up to 29.97 after running the filters. I looked for a return final statement, or something similar, and the script isn't written exactly that way. Looking at the script, do you have any suggestions on where I might put it? Maybe there is some verbiage in there that you recognized as the equivalent of the "return final" type of statement?
poisondeathray
18th March 2016, 22:37
Your last line of the actual script is
Eval(result)
All the stuff that comes after it are just function definitions
and at the top of the script, where you enter parameters, you've defined result as:
result="result4"
So find the line with result4 and add it to the end of it
It would be this one:
result4= PreBorderFrame.coloryuv(off_U=blue,off_V=red).levels(black_level,gamma,white_level,0,255).addborders(bord_left+in_bord_left, bord_top+in_bord_top, bord_right+in_bord_right, bord_bot+in_bord_bot).ChangeFPS(30000,1001)
Bruce/Fl
19th March 2016, 05:05
Your last line of the actual script is
Eval(result)
All the stuff that comes after it are just function definitions
and at the top of the script, where you enter parameters, you've defined result as:
result="result4"
So find the line with result4 and add it to the end of it
It would be this one:
result4= PreBorderFrame.coloryuv(off_U=blue,off_V=red).levels(black_level,gamma,white_level,0,255).addborders(bord_left+in_bord_left, bord_top+in_bord_top, bord_right+in_bord_right, bord_bot+in_bord_bot).ChangeFPS(30000,1001)
It looks like that did the trick!
I think I tried that spot, (I tried a few places) in the same position, but not as a continuation of the same text line you did, (after adding a period) I just put a new line of text with the changeFPS command under that line. If that not working doesn't make sense, then I must be mistaken.
But regardless, it worked. Thank you PDR, and also Groucho, thank you very much also. And kudos to you both for putting up with my beginners level of comprehension about these processes.
Now that that has been hammered out, alond with my issues with AVSPmod, I think I'll go back to the other thread in Avisynth Usage, and try to get from having a good .264 file, to having it authored and ready to put on a BD.
And probably before I do that I also need to incorporate the L-Smash into the script so as to be able to take on some more robust files out of Vegas.
Again, thanks to all.
Glarioo
19th March 2016, 14:56
@LouieChuckyMerry
Thanks, gonna keep that update cache file. Just for security...
Barough
26th March 2016, 23:30
MKVToolNix v9.0.1 have been released.
NyaR
4th April 2016, 00:59
MeGUI version 2624 has a bug that it cannot export presets.
When I export my custom presets I get an empty 1kb .zip
If I revert to previous MeGUI 2525 version I am able to export the presets.
You can reproduce this by following these steps:
Download this: http://www.hejyhej.com/files/presets.7z
Open the /presets/ directory and extract hejmegui.zip
Import hejmegui.zip and all presets within.
Then attempt to export the presets you've just imported.
End result: empty 1kb .zip file.
hello_hello
4th April 2016, 07:10
MeGUI's script creator is somewhat misleading at the moment when anamorphic encoding is enabled. It doesn't matter if the resizing and aspect error are wrong because resizing is disabled, but it's misleading, especially for someone new to MeGUI, and it's hard enough for them to understand the anamorphic options. Today I found myself once again explaining to someone via a forum post why you can encode mod16 with an option called "encode non mod16". Could the name be easily changed? "Anamorphic strict" as Handbrake describes it would make more sense.
http://s28.postimg.org/57zysmkrh/Me_GUI.gif
I don't know whether you saw my bug report a while back Zathor, but switching encoder presets still doesn't work when the encoder configuration is open, it only has an effect if you also change an encoder setting. If you select a different preset and close the encoder configuration it'll revert to the previously selected preset.
Opening the preview via the button in the video section and changing the DAR should force MeGUI to use the selected DAR if you add the script to the queue for encoding immediately after closing the preview. It's not working.
Thanks.
Carlo75
5th April 2016, 14:05
I'm not sure if it's a real bug or I doing something wrong, but maybe you can help me.
I have several times try to encode some different mpeg2.ts files, but everytime the encoding crashed at the second rendering job with this error:
Process exits with error: 0xC0000005 STATUS_ACCESS_VIOLATION (-1073741819)
The error comes only when the second pass encoding starts, whitout them anything works well, but for better quality I want the second pass...
I already tried different thinks like disable x264 64bit, but nothing help. For the last test I deinstalled and reinstalled MeGui complette, but without success...
Errorlog is attached.
Greets
Carlo
hello_hello
5th April 2016, 15:03
The error comes only when the second pass encoding starts, whitout them anything works well, but for better quality I want the second pass...
I don't know why it's happening (can't see your error.txt file yet), but in case you didn't know...
x264's quality based encoding (CRF) encodes exactly the same way as 2 pass. There's very minor differences, but if each method encoded the same video at the same bitrate, the quality would be identical.
So for 2 pass encoding the bitrate or file size is known, but the quality is unknown.
For CRF encoding it's the other way around. You pick the quality and the bitrate will be whatever it needs to be (according to how hard the video is to compress).
Carlo75
5th April 2016, 18:04
Hi hello_hello.
Ok, I had always selected CRF18 and pre-rendering. If I understand you right, that was not necessary.
But on the other way, it should work anyway... for that there must be something wrong.
Greets
Carlo
hello_hello
7th April 2016, 18:45
Carlo75,
I'm not sure if I'm following your log file exactly.... there seems to be some OneClick encoder stuff in there.... but when you referred to a second pass I thought you meant you'd configured x264 for 2 pass encoding. It runs the first pass to work out how to distribute the bits and a second pass to encode, and you'd specify a file size or bitrate.
A pre-rendering job is something else. To be honest I've never used it as it was probably intended. I think the idea is if you're using 2 pass encoding (x264 configured for 2 pass) and you've got very slow filtering in a script, the pre-rendering job applies the filtering to the video but the output is encoded as a lossless AVI in a single pass. Once that's done the lossless AVI is used for 2 pass encoding and the encoder can run each pass at full speed. The filtering doesn't have to be run twice as it normally would.
I'm pretty sure MeGUI lets you add a pre-rendering job when using CRF encoding but I can't imagine there'd ever be much point. Without pre-rendering the source is being decompressed and re-encoded, with pre-rendering the source is being decompressed and saved as a lossless AVI which is then re-encoded, but the result should be exactly the same either way.
I did manage to reproduce your problem. Process exits with error: 0xC0000005 STATUS_ACCESS_VIOLATION (-1073741819)
I'm running XP so I can't use the latest ffmpeg (which is used to create the lossless AVI) because it doesn't work, so I rolled back to an earlier version. It created the lossless AVI for me, but after that was indexed x264 produced the same error in the log file.
I tried again while encoding with Xvid and I thought it was successful, but I discovered it had encoded the error message instead. This time it was:
CAVIStreamSynth: Access Violation at 0xba3c06, reading from 0x1091020
Best as I can tell it's ffmsindex's fault. If I manually create a script to open the lossless AVI with L-Smash it encodes successfully. For the moment though it's probably not something you need to worry about because it seems like creating a pre-rendering job isn't necessary in your case.
For anyone who might want to look at the problem, if I create a lossless AVI using MeGUI's pre-rendering option, and I then create the following script to open it, the script will open in MeGUI's preview, it'll open in MPC-HC, but it won't encode via MeGUI. That's me and MeGUI and XP, if it's relevant. I can't test older versions of ffms2 myself at the moment as I'm in the middle of some encoding jobs that are using it for decoding.
LoadPlugin("C:\Program Files\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("D:\test.avi", threads=1)
chipzoller
10th April 2016, 13:06
Hello, I'd like to request the ability to sort the columns in the HD Stream Extractor window, specifically in the Features pane. Right now when you click on a column name/header, it does nothing. Having them sort in both ascending and descending fashion would be helpful when processing discs with Screen Pass protection, for example.
adem940
11th April 2016, 13:59
I started to have same problem ''0xC0000005 STATUS_ACCESS_VIOLATION (-1073741819)'' everything was working well yesterday, today I tried to encode x264 video like always and it kept giving this error, I don't know what to do :(
this is my log file info:
--[Error] [11-Apr-16 3:52:06 PM] Process exits with error: 0xC0000005 STATUS_ACCESS_VIOLATION (-1073741819)
--[Information] [11-Apr-16 3:52:06 PM] Job completed
-[Information] [11-Apr-16 3:52:15 PM] Successfully deleted C:\Users\Adem\Desktop\Hundred OP60.264
-[Information] Log for job2 (mux, Hundred OP60.264 -> Hundred OP60.mp4)
--[Information] [11-Apr-16 3:52:15 PM] Deleting intermediate files
-[Information] Log for job1 (video, Hundred OP.avs -> Hundred OP60.264)
--[Information] [11-Apr-16 3:54:48 PM] Started handling job
--[Information] [11-Apr-16 3:54:48 PM] Preprocessing
-[NoImage] SetMemoryMax(512)
-[NoImage] #SetMTMode(3,4)
-[NoImage] PluginPath = "E:\video encoding\MeGUI\tools\avisynth_plugin\"
-[NoImage] LoadPlugin(PluginPath+"svpflow1.dll")
-[NoImage] LoadPlugin(PluginPath+"svpflow2.dll")
-[NoImage] Import(PluginPath+"InterFrame2.avsi")
-[NoImage] LoadPlugin("C:\Program Files (x86)\Haali\MatroskaSplitter\avss.dll")
-[NoImage] dss2("C:\Users\Adem\Desktop\Hundred OP.mp4", fps=23.976).AssumeFPS(24000,1001).ConvertToYV12()
-[NoImage] #SetMTMode(2)
-[NoImage] #deinterlace
-[NoImage] #crop
-[NoImage] #denoise
-[NoImage] #resize
-[NoImage] InterFrame(Cores=4, GPU=True)
--[Information] [11-Apr-16 3:54:48 PM] Avisynth input script
--[Information] [11-Apr-16 3:54:48 PM] resolution: 1920x1080
--[Information] [11-Apr-16 3:54:48 PM] frame rate: 60/1
--[Information] [11-Apr-16 3:54:48 PM] aspect ratio: 16:9 (1.778)
--[Information] [11-Apr-16 3:54:48 PM] Job command line: "E:\video encoding\MeGUI\tools\x264_10b\x264-10b.exe" --level 5.2 --preset superfast --tune animation --bitrate 10000 --keyint 600 --vbv-bufsize 300000 --vbv-maxrate 300000 --sar 1:1 --output "C:\Users\Adem\Desktop\Hundred OP60.264" "C:\Users\Adem\Desktop\Hundred OP.avs"
--[Information] [11-Apr-16 3:54:48 PM] Process started
--[Information] [11-Apr-16 3:54:48 PM] Standard output stream
--[Information] [11-Apr-16 3:54:48 PM] Standard error stream
---[Information] [11-Apr-16 3:54:49 PM] avs [info]: 1920x1080p 1:1 @ 60/1 fps (cfr)
---[Information] [11-Apr-16 3:54:49 PM] x264 [info]: using SAR=1/1
---[Information] [11-Apr-16 3:54:49 PM] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
---[Information] [11-Apr-16 3:54:49 PM] x264 [info]: profile High 10, level 5.2, 4:2:0 10-bit
--[Error] [11-Apr-16 3:56:18 PM] Process exits with error: 0xC0000005 STATUS_ACCESS_VIOLATION (-1073741819)
--[Information] [11-Apr-16 3:56:18 PM] Job completed
-[Information] [11-Apr-16 3:56:26 PM] Successfully deleted C:\Users\Adem\Desktop\Hundred OP60.264
-[Information] Log for job2 (mux, Hundred OP60.264 -> Hundred OP60.mp4)
--[Information] [11-Apr-16 3:56:26 PM] Deleting intermediate files
I started to have same problem ''0xC0000005 STATUS_ACCESS_VIOLATION (-1073741819)'' everything was working well yesterday, today I tried to encode x264 video like always and it kept giving this error, I don't know what to do :(
It looks like x264 crashes. You can try to change default MeGUI x264-10b.exe (Komisar) to official build from:
http://download.videolan.org/pub/videolan/x264/binaries/
adem940
13th April 2016, 15:28
It looks like x264 crashes. You can try to change default MeGUI x264-10b.exe (Komisar) to official build from:
http://download.videolan.org/pub/videolan/x264/binaries/
how can I change it? copying and pasting them into default folders didn't work...
Edit: I still have same problem, encoding stops at 63% or sometimes 67% :/
how can I change it? copying and pasting them into default folders didn't work...
From your log:
E:\video encoding\MeGUI\tools\x264_10b\x264-10b.exe
So please download 10bit x264 for Win32
http://download.videolan.org/pub/videolan/x264/binaries/win32/x264-10b-r2665-a01e339.exe
Then please copy downloaded file to folder
E:\video encoding\MeGUI\tools\x264_10b\
At the end please rename
x264-10b-r2665-a01e339.exe
to
x264-10b.exe
-------------
There is new stable source code for x264 ver. 148.2691. Soon should be new binaries.
adem940
14th April 2016, 13:11
From your log:
E:\video encoding\MeGUI\tools\x264_10b\x264-10b.exe
So please download 10bit x264 for Win32
http://download.videolan.org/pub/videolan/x264/binaries/win32/x264-10b-r2665-a01e339.exe
Then please copy downloaded file to folder
E:\video encoding\MeGUI\tools\x264_10b\
At the end please rename
x264-10b-r2665-a01e339.exe
to
x264-10b.exe
-------------
There is new stable source code for x264 ver. 148.2691. Soon should be new binaries.
did as you said, replaced it with new one but crashed at 67% :/
LigH
14th April 2016, 13:23
So the reason is probably not the encoder itself, but possibly the hardware (e.g. overheating CPU or RAM), especially when it's a different location each time you try, and crashing earlier with less cool-down break. Or the source video when it's always at the same position.
did as you said, replaced it with new one but crashed at 67% :/
Thanks for info. If not x264 then maybe Avisynth.
Could you try to delete (comment out) the line from your script:
InterFrame(Cores=4, GPU=True)
I know that this will be different result of encoding but this is only for testing.
hello_hello
14th April 2016, 16:53
The encode in the log file only ran for a minute or so before it crashed, but MeGUI seemed to be able to finish the cleanup jobs without any problem, so my vote wouldn't be for overheating.
DirectShowSource + Interframe seems a bit daring to me. DSS2 + Interframe mightn't be as daring, but still a little brave.
The first thing I'd try would be something other than DSS2 to open the video with GPU=True taken out of the equation for Interframe.
You can open MP4s without indexing with L-Smash. They open pretty quickly. You still need to use the File Indexer to open them or you'll only be offered DirectShowSource as an alternative, but after the File Indexer runs the Script Creator opens an MP4 with LSMASHVideoSource (LSMASHAudioSource for audio encoding) rather than LWLibavVideoSource. I'd try that rather than DSS2.
adem940
16th April 2016, 12:23
the thing is, I don't get this error in every video, it was happening before too with some videos but when I replace an old version of x264.exe, it was working fine, but this time it doesn't work, always giving error with this video, tried another video with same type, I mean really same type, bitrate and all but it worked well, this video gives error :/
@hello_hello
I deleted them manually cause it gave error...
@Ma
it gave error ''cannot open video output''
I think I will just give up on this video :/ it is working with same type other videos but not this one, too weird.
Sp00kyFox
16th April 2016, 17:50
I just wanted to make some comparison tests between x264 and x265. it seems there is a missing space when megui creates the commandline for x265 in the case of using high bit depth input.
check out the error log:
--[Information] [16.04.2016 18:46:29] resolution: 2560x534
--[Information] [16.04.2016 18:46:29] frame rate: 24000/1001
--[Information] [16.04.2016 18:46:29] aspect ratio: 12:5 (2.400)
--[Information] [16.04.2016 18:46:29] custom command line: --output-depth 12 --input-depth 16 --input-csp i444 --ssim
--[Information] [16.04.2016 18:46:29] Job command line: "C:\Software\MeGUI\tools\x265\avs4x265.exe" --x265-binary "C:\Software\MeGUI\tools\x265\x64\x265.exe" --tune ssim --crf 23 --output-depth 12 --input-depth 16 --input-csp i444 --ssim --output "D:\!x264\x265_crf23_medium.hevc" "D:\!x264\encode.avs"
--[Information] [16.04.2016 18:46:29] Process started
--[Information] [16.04.2016 18:46:29] Standard output stream
---[Information] [16.04.2016 18:46:29] avs [info]: AviSynth 2.60, build:Feb 20 2015 [03:16:45]
---[Information] [16.04.2016 18:46:29] avs [info]: Video colorspace: YV24
---[Information] [16.04.2016 18:46:29] avs [info]: Video resolution: 2560x534
---[Information] [16.04.2016 18:46:29] avs [info]: Video framerate: 24000/1001
---[Information] [16.04.2016 18:46:29] avs [info]: Video framecount: 1440
---[Information] [16.04.2016 18:46:29] avs4x265 [info]: High bit depth detected, resolution corrected
---[Information] [16.04.2016 18:46:29] avs4x265 [info]: "C:\Software\MeGUI\tools\x265\x64\x265.exe" - --frames 1440 --fps 24000/1001 --input-res 1280x534--tune ssim --crf 23 --output-depth 12 --input-depth 16 --input-csp i444 --ssim --output D:\!x264\x265_crf23_medium.hevc
--[Error] [16.04.2016 18:46:29] Standard error stream
---[Warning] [16.04.2016 18:46:29] x265 [warning]: extra unused command arguments given <ssim>
---[Error] [16.04.2016 18:46:29] avs [error]: Error occurred while writing frame 0
---[Information] [16.04.2016 18:46:29] (Maybe x265.exe closed)
--[Error] [16.04.2016 18:46:29] Process exits with error: 1
--[Information] [16.04.2016 18:46:29] Job completed
between the paramters "--input-res 1280x534" and "--tune ssim" is a missing space.
edit: tried some more. it seems it is a general problem if one tries to use a custom command line in the x265 configuration dialog.
edit2: by removing the parameter "--input-csp i444" (which should be optional according to the commandline help) the issue disappeared. weird...
hello_hello
29th April 2016, 12:48
The numbering in the changelog seems to be a little off:
2934 [L-SMASH Indexer] added support for MSVC 2015 runtimes
2933 updated the wiki links to point to https://en.wikibooks.org/wiki/MeGUI
2931 [MediaInfo] improved DVD audio track language detection
2930 [Audio Encoder] fixed a crash if a very large audio delay is used
I assume they should be 2630, 2631, 2633 and 2634?
Barough
20th May 2016, 20:53
QAAC v2.59 is out
bilditup1
22nd May 2016, 23:08
MediaInfo consistently throws up errors when I load up an avs:
[Error] [5/22/2016 5:55:31 PM] Error parsing media file D:\path\to\video.avs
I'm not sure when this started happening but I don't think it was an issue with the previous version of MeGUI/MediaInfo (on 2634/0.7.84.0, respectively)
I would not be surprised about that. AviSynth scripts are text files. I doubt that MediaInfo supports the AviSynth API to report details about the frameserver output. MediaInfo is a tool to analyze headers of "physical" media files, it will most probably not handle logical media sources.
But I believe MeGUI should not report this error prominently when using an AviSynth script as source. There is not much sense in checking *.avs with MediaInfo, except to ensure that it is not an accidentally renamed file with a wrong filename extension.
hello_hello
23rd May 2016, 13:26
MediaInfo consistently throws up errors when I load up an avs:
[Error] [5/22/2016 5:55:31 PM] Error parsing media file D:\path\to\video.avs
I'm not sure when this started happening but I don't think it was an issue with the previous version of MeGUI/MediaInfo (on 2634/0.7.84.0, respectively)
It's fine for me (running XP) and MeGUI 2634.
I assume you're referring to loading a script in the video section for encoding?
Under the MediaInfo section in the log file, I found this after loading a script and having a look.
[Information] [23/05/16 9:32:35 PM] MediaInfo
-[Information] [23/05/16 9:32:35 PM] File: D:\Video.lwi
-[Information] Indexed File: E:\Source Video.mkv
Are you using the same file indexing or script opening method each time?
I reverted AvisynthWrapper.dll in the MeGUI folder to the old version quite a while ago. I don't know the version number but the file date is 2009. I haven't tried the new one again since, but it gave me grief at the time, hence the switch. It's something you could try.
A slightly related question.....
Has anyone noticed if loading scripts with LWLibavVideoSource (and probably also containing slow filtering such as QTGMC), takes a fair bit longer than the same script with ffmsindex? The cursor turns to "busy" for a little while, then the script loads. It's not a tragically long time but I'm sure it takes longer than an ffms2 script to load.
It could be an XP thing or the older XP compatible L-Smash I'm using, and I did play with AvisynthWrapper.dll, which is why I'm asking the question. I don't have a non-XP PC I can use as a comparison at the moment, so I'm wondering if anyone else has noticed a script loading speed difference. Encoding speed is fine, it's just the script loading.
hello_hello
24th May 2016, 11:55
Specifically mentioning XP (in case I should), is there a way to tell software to stop complaining and get on with it if the software itself doesn't offer an option to try?
MeGUI drives me a little nutty with this when it's in the middle of an encoding job and there's a few in the queue. The job still finishes, but I have to keep my eye on the x264 process using Task Manager and restart MeGUI's job queue when it's done.
This was a result of my second favourite way to make MeGUI think it's crashed.... by changing the resolution of the output with complex filtering in the script, maybe combined with having done something dumb, then refreshing the preview.
As you can see from the the tasks I initiated after it happened (aside from the running encode), MeGUI appears to be functioning perfectly. I'd like to be able to dismiss the error message or at least change it's "always on top" status so it's not in the way. I'm not sure if it's possible at the moment though.
Thanks.
http://s33.postimg.org/i73xlx3wf/Me_GUI_crash.gif
Barough
28th May 2016, 20:08
MediaInfo 0.7.86
MKVToolNix v9.2.0
QAAC v2.59
x264 r2705
Barough
2nd July 2016, 16:09
FFmpeg v3.1.1 'Laplace' (July 1st, 2016)
MediaInfo 0.7.87
hello_hello
15th July 2016, 19:25
As a result of a discussion here (http://forum.videohelp.com/threads/379213-Keep-aspect-ratio-in-AviSynth?p=2452742#post2452742) I discovered a bit of a problem with MeGUI muxing DVD subtitles into an MP4 container.... sometimes..... but here's a copy and paste of what I wrote in the other thread after a bit of experimenting.
It seems there's an oddity in the way VobSubber extracts subtitles and the way MeGUI adds them to the command line for MP4 muxing in relation to the track number of the subtitle.... or something..... I'm not 100% sure yet. It seems though, automatically adding them via the OneClick encoder mightn't always work.
When I opened the IFO file I was using for testing, VobSubber showed a single English subtitle stream numbered 01. When I checked the "show all subtitle streams" option there was a stream 00 listed, a stream 02 listed, a stream 03 listed etc, but all listed as "not detected".
I extracted the single English stream and MeGUI used the following to add it to the command line for MP4 muxing:
-add "E:\testing\VTS_01_0.idx#trackID=1:lang=eng:na me="
There was an obscure warning in the log file about "track 1 ID not being found in file" and there were no subtitles muxed.
I tried again, but rather than selecting the single subtitle when extracting, I checked "keep all subtitle streams" in VobSubber. Only the stream "01 English" was being displayed. After extracting I tried muxing again and MeGUI created the same command line. This time though, the subtitles were muxed and the warning was replaced with:
VobSub import - subpicture stream 'eng'
I don't quite understand what's happening. When opened with VobSubber, the English subtitle (and the only subtitle) appears to be track one (although the first stream could be track zero). When extracting by selecting the single English stream VobSubber must extract it as track zero and MeGUI can't find it, although why it detects it as track one when adding it for muxing I don't know. I'm making guesses here, but if it's a track identification problem it only effects MP4 muxing as far as I can tell. MKV muxing is fine.
I tried three different versions of MP4Box and I could successfully mux the subtitle file MeGUI didn't mux with MyMP4BoxGUI, so I'm fairly confident Mp4Box is not to blame. Anyone experienced anything similar?
Barough
18th July 2016, 16:32
MKVToolNix v9.3.1
x265 v2.0
hello_hello
24th July 2016, 07:16
As a result of a discussion here (http://forum.videohelp.com/threads/379213-Keep-aspect-ratio-in-AviSynth?p=2452742#post2452742) I discovered a bit of a problem with MeGUI muxing DVD subtitles into an MP4 container.... sometimes..... but here's a copy and paste of what I wrote in the other thread after a bit of experimenting.
In that same thread I eventually wrote a lengthy post describing the cause of the problem as I understand it.
http://forum.videohelp.com/threads/379213-Keep-aspect-ratio-in-AviSynth?p=2453503&viewfull=1#post2453503
There's a possible issue with MeGUI detecting subtitles in DVD (IFO) files I'm yet to test properly, but that aside, MeGUI detected a single subtitle stream for the DVD I was experimenting with, and they were subtitle stream one. Subtitle streams appear to be numbered beginning with zero, so in this case after VobSubber extracted the subtitle stream, it created an idx file where stream 0 was empty and stream 1 contained the subtitles.
Best as I can tell, when muxing subtitles into an MP4, MeGUI always specifies track 1 in the command line. Track 1 = Subtitle Stream 0, which means when Stream 0 is empty no subtitles are muxed.
When muxing MKVs, whatever the command line MeGUI uses (I can't remember) MKVToolnix always muxes all the streams containing subtitles (found in the extracted idx file).
If what I've written doesn't make immediate sense, the screenshots in the post I link to should illustrate the problem.
Carlo75
29th July 2016, 18:46
I installed this days Windows 10 on my new Computer and have now a problem with MeGui.
Since I have Win10 installed, I can't drag & drop any file into MeGui. For other programs (for example MKVToolNix, MKVExtractGui or TSMuxerGui), there are no issues.
As I know, it has to do with User account control, but disabling UAC should not be the solution. Because drag & drop works in other programs as well, I think there must be another way.
Do you known this issues and is there a solution or you working on a solution?
Greets
Carlo
LigH
31st July 2016, 22:10
The reason is probably that MeGUI wants to create job files below its installation directory.
The most usual solution is to install MeGUI outside of an UAC monitored directory branch (e.g. if you have several partitions, to D:\MeGUI).
To adapt the structure of MeGUI to circumvent the UAC would require some efforts (e.g. storing job files as well as executable tools - to be easily updateable - in %APPDATA%).
Carlo75
1st August 2016, 17:09
I reinstalled MeGui on another patition and now works.
Thank you for support!
Greets Carlo
NyaR
5th August 2016, 02:35
every time user exports preset on megui version > 2525 the output zip is blank
Barough
27th August 2016, 18:56
FDK-AAC v0.6.3 (http://www109.zippyshare.com/v/3nN7qa0W/file.html) (MSYS/MinGW, GCC 6.2.0, 32 & 64bit EXEs)
Changelog :
2016-08-26 nu774 <honeycomb77@gmail.com>
* update ChangeLog [HEAD -> master]
* bump [origin/master]
* Ticket #23: quit supporting MPEG-2 AOT
2016-08-25 nu774 <honeycomb77@gmail.com>
* fix libfdkaac encoder version check for SBR_RATIO availability
* Use our SBR signaling implementation on old libfdkaac
2015-10-10 nu774 <honeycomb77@gmail.com>
* improve MSVC project
2015-09-21 nu774 <honeycomb77@gmail.com>
* fix indents
* update compat layer, mainly for MSVC14 issue
2015-07-22 nu774 <honeycomb77@gmail.com>
* add platformtoolset in vcxproj
* fix build issue on MSVC14
2015-06-12 nu774 <honeycomb77@gmail.com>
* remove an unused variable decl
* remove an unused variable decl
* m4af: move internal struct m4af_itmf_entry_t from header
LigH
27th August 2016, 19:01
Are you allowed to publish it in binary form, according to the license? I doubt...
Barough
27th August 2016, 19:13
An earlier version of it was posted here by Kurtnoise so....... but if it's not allowed so can some1 remove my post.
hello_hello
30th August 2016, 17:42
I'll confess I've never quite got my head around the difference between mpeg2 and mpeg4 AAC profiles, but of the profiles in MeGUI's fdkaac encoder configuration....
The MPEG2 HE v2 profile doesn't work with the previous version of fdkaac I was using (fdkaac 0.6.2, libfdk-aac 3.4.12, according to MediaInfo) and after updating it to the version Barough uploaded (fdkaac 0.6.3, libfdk-aac 3.4.22, according to MediaInfo) my very quick testing indicates it's now bye-bye to all three MPEG2 profiles in MeGUI's encoder configuration (none of them work).
A quick google led to this, which probably explains it, if I found the correct changelog for that version of fdkaac:
https://github.com/nu774/fdkaac/blob/master/ChangeLog
"* Ticket #23: quit supporting MPEG-2 AOT"
There doesn't seem to be any indication the AAC encoding has been improved, or changed, or modified recently, so maybe it's better not to upgrade, at least if you're using fdkaac with MeGUI.
PS. Well while I'm here.... what, for example, would be the difference between mpeg2 LC-AAC and mpeg4 LC-AAC, both being options available in MeGUI's encoder configuration. Anyone know?
Cheers.
SegNin
30th August 2016, 18:27
Ever since it auto-updated some files, MeGUI has been giving me this error:
LoadPlugin: unable to load "C:\Users\J\Desktop\MAIN\OTHER PROGRAMS\MeGUI_2525_x86\tools\lsmash\LSMASHSource.dll", Module not found. Install missing library?
That dll is in the MeGUI_2525_x86\tools folder. I even copied that dll to both System32 and SYSWOW64 folders but it still isn't being recognized.
hello_hello
30th August 2016, 20:55
Ever since it auto-updated some files, MeGUI has been giving me this error:
LoadPlugin: unable to load "C:\Users\J\Desktop\MAIN\OTHER PROGRAMS\MeGUI_2525_x86\tools\lsmash\LSMASHSource.dll", Module not found. Install missing library?
That dll is in the MeGUI_2525_x86\tools folder. I even copied that dll to both System32 and SYSWOW64 folders but it still isn't being recognized.
Is msvcr120.dll in the same folder as LSMASHSource.dll? ie in the tools\lsmash folder? LSMASHSource.dll doesn't belong in the System32 or SYSWOW64 folders, but it sounds like it's needing a missing dependency.
According to the LSMASHSource page it requires the Microsoft Visual C++ 2013 Redistributable Package (which is why MeGUI normally puts msvcr120.dll in the same folder as LSMASHSource.dll), but try installing that. It's a small download. There's a link to it here. http://avisynth.nl/index.php/LSMASHSource
If you haven't, also try rebooting. Every so often MeGUI gives me a similar error because it can't load a plug-in. One that it's been loading for days but suddenly it claims there's a missing dependency. I can use the plug-in in question in a script and successfully open the script with MPC-HC, but not with MeGUI. For whatever reason, rebooting fixes it.
mini-moose
31st August 2016, 11:38
I can confirm this behavior with XP and W7 using FFMS2 2.22 - I have not tried other FFMS2 or OS versions, but L-SMASH works. So it must be related to FFMS2 together with the new wrapper. I cannot do much there. Maybe I can load the video twice when FFMS2 is used as a workaround.
Has there been some workaround for that ffms2 issue? I've been using lsmash mostly, but this mp4 I'm trying now doesn't get to the correct fps with lsmash, so I tried ffms which does produce the correct fps but I can't preview after indexing. I get a black screen...
OS is Win10 not XP.
edit: It seems fpsnum=50, fpsden=1, threads=1 on ffms is what made it keep on correct fps, that bit is not added on lsmash. Still, I can't preview the indexed source under ffms, but can under lsmash.
hello_hello
1st September 2016, 00:35
I reverted back to the old AvisynthWrapper.dll to fix the black preview issue, which was a constant issue using XP.
For the record.... the frame rate conversion issue with ffms2 and AVIs.... the frame rate conversion causing ffms2 to sometimes drop or duplicate frames it shouldn't..... I've witnessed a similar issue several times with MKVs and MP4s when there's frame rate conversion in the script, with both ffms2 and L-Smash.
I think it might be a "jitter" thing and sometimes there's too much, but I've completely reversed my original theory that adding frame rate conversion to a script by default is a good idea. Well it still is a good idea.... if it always worked correctly, but alas....
mini-moose
1st September 2016, 10:51
I reverted back to the old AvisynthWrapper.dll to fix the black preview issue, which was a constant issue using XP.
Thanks for your advice hello_hello.
I found AvisynthWrapper.dll in megui's root. I'm not sure what it does exactly and if it's safe to revert it..will do some research.
One I currently seem to have is v1.0.2626.0. Which one did you revert to?
hello_hello
1st September 2016, 12:58
I think there's the latest one and the old one. I'm not sure I've been using MeGUI long enough to have experienced a prior version, if there was such a thing.
I'm not sure about the version number (it doesn't say) but if you have AvisynthWrapper.dll.backup in the same folder, renaming the current version before removing.backup from the old one should do the job. Unless MeGUI is deleting backup files, in which case I've uploaded it here (http://www.filedropper.com/avisynthwrapper) for you.
Mines got a modified date of 2nd Jan 2009 and it's 57kB.
kuchikirukia
1st September 2016, 14:58
It would be nice if MeGUI would cache avs scripts you queue. More than once I've loaded a script, hit start, gone back to edit the script for the next encode, saved it, and had MeGUI use the new one, because it seems to go back to the .avs after indexing, even though this doesn't show in the log anywhere.
hello_hello
1st September 2016, 15:42
Could you expand on "seems to go back to the .avs after indexing"? Maybe I'm being dumb, but I don't quite understand what you mean.
tebasuna51
2nd September 2016, 20:06
I found another bug (first one (http://forum.doom9.org/showthread.php?p=1761542#post1761542)) related with MediaInfo info and how MeGUI use that info.
With a aac input file like this:
File ........: D:\Internet\movie.aac
Size ........: 130729393 bytes
----------------------------------------- First Frame Info
ID ..........................: 0 (MPEG-4)
Protection absent ...........: 1
Profile .....................: 1 (Low Complexity, LC)
Sample Rate .................: 24000 Hz
Private bit .................: 0
Channels ....................: 6
Original/Copy ...............: 0
Home ........................: 0
Copyright identification bit : 0
Copyright identif. start ....: 0
Aac Frame Length ............: 296
Adts buffer fullness ........: 2047
No raw data blocks in frame .: 0
--------------------------------------------- Revised Info
Total Frames ..... : 129120
VBR min./avg./max. : 12 / 189 / 278 Kb/s.
Duration.......... : 5509.12 sec., (1h. 31m. 49.12s.)
Maybe is HE-AAC at : 48000 Hz. (SBR)
----------------------------------------------------------
The MediaInfo show:
Format: AAC
FormatProfile: HE-AACv2 / HE-AAC / LC *** WRONG ***
FormatSettingsSBR: Yes (Implicit) OK
FormatSettingsPS: Yes (Implicit) *** WRONG ***
SamplingRate: 48000 / 48000 / 24000 OK
SamplingRateString: 48.0 kHz / 48.0 kHz / 24.0 kHz OK
Channels: 2 / 6 / 6 *** WRONG ***
ChannelsString: 2 channels / 6 channels / 6 channels *** WRONG ***
ChannelPositionsString2: 3/2/0.1 OK
Reading ADTS headers (without decode) we can't know if is HE-AAC or LC-AAC but the channel number is well know and I can't understand for what this: 2 / 6 / 6
The problem is when the user select downmix and MeGUI refuse that:
--[Warning] [02/09/2016 18:37:35] channel count mismatch! The input file is reporting 2 channels and the AviSynth script is reporting 6 channels
--[Warning] [02/09/2016 18:37:35] ignoring downmix because of the channel count mismatch *** WRONG ***
--[Information] [02/09/2016 18:37:35] Avisynth script
---[NoImage] LoadPlugin("D:\Programa\megui\tools\lsmash\LSMASHSource.dll")
---[NoImage] LWLibavAudioSource("D:\Internet\movie.aac")
---[NoImage] # detected channels: 2 channels / 6 channels / 6 channels *** WRONG if read 2 channels***
---[NoImage] # detected channel positions: 3/2/0.1
Log:
mini-moose
3rd September 2016, 12:14
Unless MeGUI is deleting backup files, in which case I've uploaded it here (http://www.filedropper.com/avisynthwrapper) for you.
Mines got a modified date of 2nd Jan 2009 and it's 57kB.
Many thanks hello_hello, I'll give it a try. I usually delete the backup files after a while so I don't have the old version.
I couldn't find anything newer than r4352 from 2008 on a web search: http://avisynthwrapper.codeplex.com/releases/view/10429
Seems is was updated by tebasuna51 who is a mod here :)
The dll you kindly provided seems to fix the issue with ffms2. I'm just somewhat unsure exactly what the wrapper does and whether it's important to run a more recent version or not. I can't really find a lot of info about it.
kuchikirukia
4th September 2016, 01:09
Could you expand on "seems to go back to the .avs after indexing"? Maybe I'm being dumb, but I don't quite understand what you mean.
Open avs
click queue
MeGUI starts work
quickly edit avs
save
MeGUI encodes with new avs settings
So it's reloading the avs at some point at the beginning of the encode.
tebasuna51
4th September 2016, 11:27
So it's reloading the avs at some point at the beginning of the encode.
Like you can see in logs:
-[Information] Log for jobX (...)
--[Information] [26/08/2016 14:00:11] Started handling job
--[Information] [26/08/2016 14:00:11] MediaInfo
--[Information] [26/08/2016 14:00:17] Avisynth script
--[Information] [26/08/2016 14:00:20] Job command line: ...
there are a few of steps before send the Job command line than can include the avs file, if you modify the file in this time (9 sec in my sample) the encoder read other file than the analyzed or showed in log.
Recommended workaround: if you edit the avs before this time save it with other name.
kuchikirukia
6th September 2016, 00:58
Like you can see in logs:
It will do it after that. I've had it encode an entirely different video than the script it shows in the log. So at some point it reloads it again without logging.
tebasuna51
6th September 2016, 13:34
So at some point it reloads it again without logging.
Not MeGUI but the encoder, because complete command line is like this:
x264 [parameters] INPUT.avs -o output
then the avs is passed like a filename than x264 must read, if is not the same...
j8ee
14th September 2016, 21:06
Just noticed the muxers doesn't accept matroska input files for audio, whether .mka or .mkv. Megui 2634
(posted this in the wrong thread before)
LigH
15th September 2016, 07:43
They may support only the raw audio inside these containers. That depends on the CLI multiplexers used by MeGUI. Multiplexing to Matroska using mkvmerge should probably accept MKA input, though, that will be worth an investigation. Support by multiplexers to other formats is doubtful, you may have to extract the raw content of the audio streams first.
tebasuna51
15th September 2016, 11:02
MkvMerge (MkvToolNix) accept .mka and .mkv input, of course, but the 'MeGUI ->Tools -> Muxer -> Mkv muxer' filter the audio inputs without accept .mka or .mkv (but accept .m4a or .mp4 and other standalone audio formats).
Also 'MeGUI ->Tools -> HD Stream Extractor' don't support .mka or .mkv with only audio.
You need other tool, MkvExtract or UsEac3to, to extract the audio previously.
Or mux the .mka/.mkv after with MkvToolNix.
igrat
1st October 2016, 15:03
qaac 2.60 was released (https://sites.google.com/site/qaacpage/news/qaacrelease260):
Fix: combination of --adts and --concat was generating invalid AAC file.
Changed 7.1ch rear channel layout in favor of Apple QuickTime.
Support new Wavpack v5 64bit API
Update: libsoxr
Update: taglib
qaac was using 3 front + 2 side + 2 back for 7.1ch rear output. However, it turned out that Apple QuickTime cannot handle this, and only recognizes 3 front + 4 back. OTOH, libavcodec couldn't recognize the latter until this patch http://ffmpeg.org/pipermail/ffmpeg-cvslog/2015-June/090556.html. Anyway it now handles both, so I decided to change 7.1ch rear layout to 3 front + 4 back, which is supported by both of them.
Will this be included in MeGUI development server?
tebasuna51
2nd October 2016, 10:41
WARNING: the qaac 2.60 seems a buggy version.
A standard wav 7.1: FL,FR,FC,LF,BL,BR,SL,SR
encoded to .aac by qaac 2.60 and decoded by itself produce a wrong channel mapping.
BassAudio don't work and faad also do wrong channel mapping.
Decoder Output
------------------ --------------------------
qaac FC,FL,FR,SL,SR,BL,BR,LF
LWLibavAudioSource ok
FFAudioSource ok
BassAudio Abort
faad FC,FL,FR,SL,SR,BL,BR,LF
a .m4a obtained with qaac 2.60 decoded by:
Decoder Output
------------------ --------------------------
qaac ok
LWLibavAudioSource ok
FFAudioSource ok
BassAudio FC,FL,FR,SL,SR,BL,BR,LF
NeroAacDec ok
faad FC,FL,FR,SL,SR,BL,BR,LF
Seems the patch for libavcodec work fine but is not a standard solution.
nu774
3rd October 2016, 04:45
Well, can you explain what exactly got worse on 2.60/2.61 compared to 2.59 ?
It's almost unbelievable that everything on your table has been "OK" on 2.59.
igrat
3rd October 2016, 08:03
Okay, file under "W" for "weird"... this sounds strange, but I've tested it multiple times, even with a clean download of MeGUI and it seems completely consistent.
It appears that MeGUI updates go about twice as fast as normal if you hold down the right mouse button within this part of the window:
http://i.imgur.com/w7x14rb.png
Is this a freak occurrence that only happens on my machine, or does it happen for other people as well?
tebasuna51
3rd October 2016, 11:26
Well, can you explain what exactly got worse on 2.60/2.61 compared to 2.59 ?
It's almost unbelievable that everything on your table has been "OK" on 2.59.
First of all say than all my test with 5.1 seems work fine with all qaac versions, .aac or .m4a output and all decoders.
The problem is only with 7.1.
I checked 2.60 because the change:
Changed 7.1ch rear channel layout in favor of Apple QuickTime.
But you are right the version 2.59 is also buggy.
I can't trust in a encoder/decoder than itself don't preserve the channel order:
qaac260 --adts -o TEST.aac FL_FR_FC_LF_BL_BR_SL_SR.wav
qaac260 -D -o FC_FL_FR_SL_SR_BL_BR_LF.wav TEST.aac
qaac259 --adts -o TEST.aac FL_FR_FC_LF_BL_BR_SL_SR.wav
qaac259 -D -o SL_SR_FC_LF_BL_BR_FL_FR.wav TEST.aac
After many test I can say:
- BassAudio and Faad decoders don't work with 7.1, .aac or .m4a, created by any version of qaac or NeroAacEnc.
- qaac decoder don't work with 7.1 .aac created with any qaac version or .m4a created by NeroAacEnc.
- NeroAacDec work fine with any .m4a created with any qaac version or NeroAacEnc.
- decoders bassed in libavcodec (LWLibavAudioSource, FFAudioSource, Foobar2000, ...) works fine with .aac or .m4a created by any version of qaac or NeroAacEnc.
- I don't know what happen with others soft/hardware decoders.
My final recomendation is don't encode 7.1 to .aac, use always .m4a. The metadata in mp4 container have more chances to be well interpreted than metadata in ADTS headers.
Zathor
3rd October 2016, 12:24
I found another bug (first one (http://forum.doom9.org/showthread.php?p=1761542#post1761542)) related with MediaInfo info and how MeGUI use that info.
With a aac input file like this:
File ........: D:\Internet\movie.aac
Size ........: 130729393 bytes
----------------------------------------- First Frame Info
ID ..........................: 0 (MPEG-4)
Protection absent ...........: 1
Profile .....................: 1 (Low Complexity, LC)
Sample Rate .................: 24000 Hz
Private bit .................: 0
Channels ....................: 6
Original/Copy ...............: 0
Home ........................: 0
Copyright identification bit : 0
Copyright identif. start ....: 0
Aac Frame Length ............: 296
Adts buffer fullness ........: 2047
No raw data blocks in frame .: 0
--------------------------------------------- Revised Info
Total Frames ..... : 129120
VBR min./avg./max. : 12 / 189 / 278 Kb/s.
Duration.......... : 5509.12 sec., (1h. 31m. 49.12s.)
Maybe is HE-AAC at : 48000 Hz. (SBR)
----------------------------------------------------------
The MediaInfo show:
Format: AAC
FormatProfile: HE-AACv2 / HE-AAC / LC *** WRONG ***
FormatSettingsSBR: Yes (Implicit) OK
FormatSettingsPS: Yes (Implicit) *** WRONG ***
SamplingRate: 48000 / 48000 / 24000 OK
SamplingRateString: 48.0 kHz / 48.0 kHz / 24.0 kHz OK
Channels: 2 / 6 / 6 *** WRONG ***
ChannelsString: 2 channels / 6 channels / 6 channels *** WRONG ***
ChannelPositionsString2: 3/2/0.1 OK
Reading ADTS headers (without decode) we can't know if is HE-AAC or LC-AAC but the channel number is well know and I can't understand for what this: 2 / 6 / 6
The problem is when the user select downmix and MeGUI refuse that:
Log:
Hi,
Are you sure that the other and this bug are not MediaInfo problems? If not what should I change in MeGUI?
tebasuna51
3rd October 2016, 12:50
Are you sure that the other and this bug are not MediaInfo problems? If not what should I change in MeGUI?
Of course is a MediaInfo problem, but when there are a conflict MeGUI must trust in AviSynth and continue without abort.
Zathor
3rd October 2016, 18:52
I am just changing it in the way that the MediaInfo from the block will be used which matches the AVS channel count.
E.g. MediaInfo
7 channels / 6 channels
3/2/1.1 / 3/2/0.1
With NicAudio (6 channels in AVS) 3/2/0.1 will be selected, with LWLibavAudioSource (7 channels in AVS) it will be 3/2/1.1.
==> The "channel count mismatch" warning should be gone
May I ask you also to have a look at your post?
http://forum.doom9.org/showthread.php?p=1461787#post1461787
Could you please provide also some information for downmixing the 7 or 8 channel count audio files?
Zathor
3rd October 2016, 19:01
Small bug fix release uploaded.
2641 [AudioEncoder] fixed handling of MediaInfo information for HD audio tracks
2640 [AviSynth] improved debug handling
2639 [Main] removed aspect ratio controls from the video preview control. Bug #843
2638 [Profile] added support to import old export files (regression of 2635). Bug #849
2637 [VobSubber] each track will be demuxed into a dedicated file set to avoid missing tracks when muxing. Bug #845
[VobSubber]+[OneClick] for multiple tracks the source will only be indexed once
2636 [Audio Encoder] cosmetic change. Bug #826
2635 [Profile] fixed import & export of profiles (regression of 2590). Bug #842
Also I have downgraded the AviSynthWrapper for the moment.
tebasuna51
3rd October 2016, 21:55
I am just changing it in the way that the MediaInfo from the block will be used which matches the AVS channel count.
E.g. MediaInfo
7 channels / 6 channels
3/2/1.1 / 3/2/0.1
With NicAudio (6 channels in AVS) 3/2/0.1 will be selected, with LWLibavAudioSource (7 channels in AVS) it will be 3/2/1.1.
==> The "channel count mismatch" warning should be gone
Thanks.
May I ask you also to have a look at your post?
http://forum.doom9.org/showthread.php?p=1461787#post1461787
Could you please provide also some information for downmixing the 7 or 8 channel count audio files?
To downmix to stereo, dpl, etc.?
Easy, apply first function c71_c51() or function c61_c51() and after the downmix 5.1 to stereo selected.
LigH
4th October 2016, 08:10
It appears that MeGUI updates go about twice as fast as normal if you hold down the right mouse button within this part of the window:
Confirmed. Holding RMB there seems to flood the application with Windows messages which seem to make the messaging queue hurry. Someone explain why it appears to idle in normal use.
mini-moose
9th October 2016, 11:07
2637 [VobSubber] each track will be demuxed into a dedicated file set to avoid missing tracks when muxing. Bug #845
Thanks for the updates, Zathor.
However, I find the vobsubber change to be very bad. Personally, I rather have all vobsubs from a DVD in one idx/sub set and not in several idx/sub files with no visible language tag.
I don't always mux the vobsubs as there are many different players with different kinks (some won't play vobsubs at all, some will only play external, some will only play internal etc).
Perheps you can add an option to choose between split streams and one set on the vobsubber dialog or in global megui settings? I've rolled back to the previous version for now.
Informative note: the latest Komisar x264 r2721 build (VLC didn't release an official build since r2705), has a new variation of --preset slow:
http://git.videolan.org/?p=x264.git;a=commit;h=4e5adb87070c82b937c03e0cc030eae3578c251d
Some may notice a difference in performance due to that.
eahm
11th October 2016, 17:32
tebasuna51, did you have a chance to test fhgaacenc and fdkaac for 7.1? Thanks.
hello_hello
12th October 2016, 02:05
Informative note: the latest Komisar x264 r2721 build (VLC didn't release an official build since r2705), has a new variation of --preset slow:
http://git.videolan.org/?p=x264.git;a=commit;h=4e5adb87070c82b937c03e0cc030eae3578c251d
Some may notice a difference in performance due to that.
Thanks for the info.
I use --preset slow a lot and I can't say I noticed a difference in performance (I generally use slow filtering) or a difference in quality, but I had a feeling something was different when I looked at the encoder settings written by x264, but I never investigated further. Now I know why.
Unfortunately it means the advanced settings displayed by MeGUI's encoder configuration are now wrong for --preset slow. I've added it to the bugs list at sourceforge in case Zather doesn't see these posts.
https://sourceforge.net/p/megui/bugs/855/
hello_hello
12th October 2016, 03:27
tebasuna51, did you have a chance to test fhgaacenc and fdkaac for 7.1? Thanks.
The situation for 7.1ch audio is even more of a mess than it was for 5.1ch due to hacks for encoding/decoding. Here's what I worked out a while ago. Someone correct me if I've got any of it wrong.
There's two main 7.1ch speaker configurations:
7.1ch (rear) = L R C LFE BackL BackR SideL SideR (in wave file order)
7.1ch (front) = L R C LFE BackL BackR FrontSurroundL FrontSurroundR (in wave file order)
The first layout is the one we care about (home theatre 7.1ch). The second layout is the default for AAC (cinema 7.1ch), so it gets funky. Instead of side and back surround there's an extra pair of surround speakers at the front between the left and right speakers, with a single pair of side/surround channels (the same as 5.1ch).
AAC encoders/decoders can support 7.1ch (rear) by writing an element to the AAC stream, but before some of them did, 7.1ch (rear) was generally remapped as 7.1ch (front) for encoding then remapped as 7.1ch (rear) for decoding. Unless it's changed quite recently, ffmpeg still decodes under that assumption by default (I don't know if "remapping' is technically the correct description, but rather 7.1ch rear is simply encoded as 7.1ch front and 7.1ch front is decoded as 7.1ch rear, and two wrongs can make a right). If it's not encoded and decoded the same way you end up with the side surround channels in the front surround. That sort of thing.
NeroAAC encodes 7.1ch (rear) as 7.1ch (front), therefore I wouldn't use it for 7.1ch encoding.
FFmpeg's native AAC encoder encodes 7.1ch (rear) as 7.1ch (front).
FhGAAC encodes 7.1ch (rear) as 7.1ch (front). It remaps the channels slightly differently to Nero though so if it's decoded as 7.1ch (front) the result isn't as bad.
FDKAAC encodes 7.1ch (rear) as 7.1ch (rear).
QAAC encodes 7.1ch (rear) as 7.1ch (rear). It didn't always, but it's done so since version 2.35 (https://sites.google.com/site/qaacpage/news/qaacrelease235refalac135).
A few other observations:
Some encoders assume the audio is a certain layout based on the number of channels when it isn't. NeroAAC, FhGAAC & FFmpeg's native AAC encoder can potentially remap channels when encoding and not tell you about it.
FDKAAC is well behaved and rejects layouts it doesn't support. It don't think it ever remaps channels.
QAAC is well behaved and either rejects layouts it doesn't support or remaps channels only when it makes sense (5.1ch wave files with back surround or 5.1ch wave files with side surround are both encoded as 5.1ch surround etc). QAAC Multichannel Handling (https://github.com/nu774/qaac/wiki/Multichannel--handling).
ffmpeg has a "-strict 1" option for decoding 7.1ch AAC so 7.1ch (front) is decoded as it should be (mentioned in the qaac changelog I linked to). Without -strict 1 it assumes 7.1ch (front) is really 7.1ch (rear) and remaps the channels accordingly when decoding.
Foobar2000 uses ffmpeg to decode and has an option to set -strict 1 in it's preferences (Advanced/Decoding). Unless I'm losing the plot, which is quite possible, that option is broken at the moment and has no effect. I'll test it again later.
None of the above specifically answers the question you asked tebasuna51 as I'm not sure I understand what the issue is there. Foobar2000 appears to be decoding 7.1ch (rear) encoded by QAAC 2.59, 2.60 and 2.61 the same way (I only checked m4a files, not raw AAC).
I wrote all of the above to explain why I'd probably avoid FhGAAC for 7.1ch audio. I'm assuming MeGUI and the AVIsynth decoders keep the correct/original channel layout when decoding 7.1ch. I don't use MeGUI for audio encoding much myself.
hello_hello
12th October 2016, 14:47
First of all say than all my test with 5.1 seems work fine with all qaac versions, .aac or .m4a output and all decoders.
The problem is only with 7.1.
I checked 2.60 because the change:
But you are right the version 2.59 is also buggy.
I can't trust in a encoder/decoder than itself don't preserve the channel order:
qaac260 --adts -o TEST.aac FL_FR_FC_LF_BL_BR_SL_SR.wav
qaac260 -D -o FC_FL_FR_SL_SR_BL_BR_LF.wav TEST.aac
qaac259 --adts -o TEST.aac FL_FR_FC_LF_BL_BR_SL_SR.wav
qaac259 -D -o SL_SR_FC_LF_BL_BR_FL_FR.wav TEST.aac
Are you sure that's correct? The channel mappings in red, how are you determining them? Is QAAC supposed to remap to wave file layout when it decodes?
7.1ch (front) should be encoded as (AAC channel order):
Centre FrontSurroundL FrontSurroundR Left Right SurroundL SurroundR LFE
If it's 7.1ch (rear) it'd be (AAC channel order):
Centre Left Right SurroundL SurroundR RearSurroundL RearSurroundR LFE
The output for 2.60 seems to make more sense than 2.59, assuming 2.60 isn't being remapped back to wave file channel order when it's decoded, but I can't quite seem to get my head around your result. It's as though 2.59 is remapping to wave file layout but not correctly (something to do with 7.1ch front being decoded as rear maybe?) and 2.60 is decoding it as 7.1ch rear but not remapping back to wave file layout at all.... or something.
Currently if I decode 7.1ch (rear) in an M4A with foobar2000 it seems okay, but if I extract the audio as AAC, foobar2000 reports it as unsupported. I'm not sure if that's something new or why it's happening.
tebasuna51
12th October 2016, 21:25
tebasuna51, did you have a chance to test fhgaacenc and fdkaac for 7.1? Thanks.
(Sorry I do not have fdkaac.) I found a fdkaac v 0.6.2 from 2016/05/01.
1) I don't like 7.1 audio, for me is a commercial idea to force buy new audio systems.
With only four speakers (FL,FR,BL,BR) is enough to offer a 2D audio surround.
Other question is 3D audio surround with ceiling speakers.
Then, for me is more than enough 5.1 audio.
2) But exist 7.1 audio systems.
Where you put the surround speakers?
The Side speakers at 90-100º and the Back speakers at 140º more or less. That correspond to channel layout: FL,FR,FC,LF,BL,BR,SL,SR
Do you change the speaker position to listen other channels layout?
Nope.
Any other channel layout 7.1 is usseless to end user. Then encode to other channel layout than FL,FR,FC,LF,BL,BR,SL,SR is usseless at all. Maybe for lab test but not for audio movie tracks.
3) Each codec can rename and reorder the channels internally without problems but must guarantee than a pair encoder-decoder preserve the channel order.
At least if I supply a standard 7.1 layout FL,FR,FC,LF,BL,BR,SL,SR to encoder I want the same decoder output.
Seems than AAC 7.1 have many problems about this:
Encoder/Decoder Bass Faad LWlibav NeroDec qaac
--------------- ---- ---- ------- ------- ----
fhgaacenc (1) (2) (3) (3) OK
ffmpeg (1) (4) OK OK (3)
fdkaac (4) (4) OK OK OK
NeroAacEnc (1) (4) OK OK (3)
qaac (m4a) (4) (4) OK OK OK
qaac (aac) (5) (2) OK - (4)
(1) Seven channels with all channels muxed.
(2) Wrong channel map: FC,SL,SR,FL,FR,BL,BR,LF
(3) Wrong channel map: SL,SR,FC,LF,BL,BR,FL,FR
(4) Wrong channel map: FC,FL,FR,SL,SR,BL.BR.LF
(5) Empty
@hello_hello
Yes, I'm sure than it's correct.
m4a from qaac seems work fine with libav patch (LWlibav, Foobar2000) but don't work with the old decoder faad and with last Bass decoder (2015-04-01)
EDIT: Add fdkaac test
Zathor
30th October 2016, 19:48
Pre-Halloween update:
2652 [HD Streams Extractor] for DVD/Blu-ray sources a prefix and suffix is attached to the output file name. Feature request #597
added warning if "Haali Matroska Muxer" is required
2651 [FileIndexer] added IFO as supported input files
improved PGC handling
2650 [OneClick] + for DVD/Blu-ray sources a prefix and suffix is attached to the output file name. Feature request #597
[FileIndexer] pgcdemux will be used in any case as a workaround for multi-angle DVDs
added MPLS as supported input files (OneClick)
2649 [ChapterCreator] added the PGC number to the output as suffix
2648 [VobSubber] added the PGC number to the output as suffix
preselect tracks based on the default language(s)
improved logging
2647 [PGCDemux] changed where the intermediate files are created
2646 [VobSubber] + use the default MeGUI output path if possible. Feature request #597
[ChapterCreator] for DVD/Blu-ray sources a prefix is attached to the output file name. Feature request #597
2645 [VobSubber] added option to demux all tracks in a single file (as before 2637). Feature request #595
2644 [HD Streams Extractor] added IDX/VobSub as unsupported format
2643 [x264] adjusted "--preset slow" settings (requires x264 2721+). Bug #855
2642 [L-SMASH Indexer] blocked the VC-1 codec as it is not properly supported anymore. Bug #851
Taurus
30th October 2016, 21:24
:thanks:Thanks a lot!:thanks:
So my beloved MeGui is still maintained.
Really appreciated!
LouieChuckyMerry
31st October 2016, 03:33
Pre-Halloween update:
2652 [HD Streams Extractor] for DVD/Blu-ray sources a prefix and suffix is attached to the output file name. Feature request #597
added warning if "Haali Matroska Muxer" is required
2651 [FileIndexer] added IFO as supported input files
improved PGC handling
2650 [OneClick] + for DVD/Blu-ray sources a prefix and suffix is attached to the output file name. Feature request #597
[FileIndexer] pgcdemux will be used in any case as a workaround for multi-angle DVDs
added MPLS as supported input files (OneClick)
2649 [ChapterCreator] added the PGC number to the output as suffix
2648 [VobSubber] added the PGC number to the output as suffix
preselect tracks based on the default language(s)
improved logging
2647 [PGCDemux] changed where the intermediate files are created
2646 [VobSubber] + use the default MeGUI output path if possible. Feature request #597
[ChapterCreator] for DVD/Blu-ray sources a prefix is attached to the output file name. Feature request #597
2645 [VobSubber] added option to demux all tracks in a single file (as before 2637). Feature request #595
2644 [HD Streams Extractor] added IDX/VobSub as unsupported format
2643 [x264] adjusted "--preset slow" settings (requires x264 2721+). Bug #855
2642 [L-SMASH Indexer] blocked the VC-1 codec as it is not properly supported anymore. Bug #851
Zathor: As always, :thanks:
Also, if anyone finds it useful, L-SMASH Indexer works with VC-1 video if the video (only the video, no audio) is muxed as a .ts file (using tsMuxeR) then indexed with L-SMASH. I don't know why this works but it does (I've been doing this successfully for several years). Out of paranoia I demux the video to raw .vc1 (using the HD Steams Extractor) then remux it with tsMuxeR, but it might work otherwise, too.
Zathor
1st November 2016, 21:12
Also, if anyone finds it useful, L-SMASH Indexer works with VC-1 video if the video (only the video, no audio) is muxed as a .ts file (using tsMuxeR) then indexed with L-SMASH. I don't know why this works but it does (I've been doing this successfully for several years). Out of paranoia I demux the video to raw .vc1 (using the HD Steams Extractor) then remux it with tsMuxeR, but it might work otherwise, too.
Mhm, I have to test that. But in any case even if it works that way that is far from being optimal as I would always have to include steps to remux it.
LouieChuckyMerry
3rd November 2016, 18:27
I agree that it's not very practical and isn't really doable within MeGUI, I just posted the information in case someone found it useful (since it's a way to still use MeGUI for the encoding) :) .
Zathor
6th November 2016, 19:31
2663 [FileIndexer] fixed processing of DVDs with only one PGC
2662 [IFOParser] fixed sometimes not able to get the language information
2661 [Main] reverted 2639. Bug #843
2660 [Presets] fixed not changing the selected preset if no change has been made in the configuration window. Bug #844
2659 [VobSubber] fixed subtitle export for multi-angle discs
2658 [OneClick]+[FileIndexer] only use pgcdemux if it is a multi-pgc or multi-angle DVD source
2657 [IFOParser] add subtitle type only if there are multiple types
2656 [OneClick]+[ChapterCreator] improved DVD/Blu-ray structure detection
2655 [IFOParser] fixed missing first subtitle track if it contains more than one subtitle type
added type information (4:3/wide/letterbox/pan&scan) to the description of the subtitle track
added multi-angle detection
2653 [AudioEncoder] fixed an error when aborting the job during the initial steps
LouieChuckyMerry
7th November 2016, 05:06
Zathor: :thanks:
j8ee
8th November 2016, 10:22
Haali Matroska Muxer?
"Getting "Haali Matroska Muxer" instance failed.v01" and "Please (re)install the Haali Matroska Muxer to fix this error" when using the HD streams extractor tool on a .ts file with MeGUI 2663.
/.../
-[Error] Log for job2 (ext, file.ts -> Encode)
--[Information] [2016-11-08 10:09:29] Started handling job
--[Information] [2016-11-08 10:09:29] Preprocessing
--[Information] [2016-11-08 10:09:29] Job command line: "C:\Users\Johan\AppData\Local\MeGUI\tools\eac3to\eac3to.exe" "C:\Users\Johan\Desktop\Encode\file.ts" 1:"C:\Users\Johan\Desktop\Encode\T1_Video - .mkv" 2:"C:\Users\Johan\Desktop\Encode\T2_Audio - English.aac" -progressnumbers
--[Information] [2016-11-08 10:09:29] Process started
--[Error] [2016-11-08 10:09:29] Standard output stream
---[Information] [2016-11-08 10:09:30] TS, 1 video track, 1 audio track, 1:11:15, 25p
---[Information] [2016-11-08 10:09:30] 1: h264/AVC, 720p25 (16:9)
---[Information] [2016-11-08 10:09:31] 2: AAC, 2.0 channels, 24kHz, -40ms
---[Information] [2016-11-08 10:09:31] v01 Extracting video track number 1...
---[Information] [2016-11-08 10:09:31] a02 Extracting audio track number 2...
---[Information] [2016-11-08 10:09:31] v01 Muxing video to Matroska...
---[Information] [2016-11-08 10:09:31] Getting "Haali Matroska Muxer" instance failed.v01
---[Information] [2016-11-08 10:09:31] a02 Applying AAC delay...
---[Information] [2016-11-08 10:09:31] a02 A remaining delay of +2ms could not be fixed.
---[Information] [2016-11-08 10:09:31] a02 Creating file "C:\Users\Johan\Desktop\Encode\T2_Audio - English.aac"...
---[Information] [2016-11-08 10:09:38] Aborted at file position 934595752.
---[Error] [2016-11-08 10:09:38] [v01] Getting "Haali Matroska Muxer" instance failed. <ERROR>
---[Error] [2016-11-08 10:09:38] Aborted at file position 934595752. <ERROR>
--[Information] [2016-11-08 10:09:29] Standard error stream
--[Error] [2016-11-08 10:09:38] Please (re)install the Haali Matroska Muxer to fix this error
--[Error] [2016-11-08 10:09:39] Process exits with error: 1
/.../
mediainfo:
General
ID : 1 (0x1)
Complete name : file.ts
Format : MPEG-TS
File size : 891 MiB
Duration : 1 h 11 min
Overall bit rate mode : Variable
Overall bit rate : 1 749 kb/s
Video
ID : 256 (0x100)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Format settings, GOP : M=2, N=50
Codec ID : 27
Duration : 1 h 11 min
Bit rate mode : Constant
Nominal bit rate : 1 584 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.069
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 257 (0x101)
Menu ID : 1 (0x1)
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : HE-AAC / LC
Muxing mode : ADTS
Codec ID : 15
Duration : 1 h 11 min
Bit rate mode : Variable
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz / 24.0 kHz
Frame rate : 23.438 FPS (1024 spf)
Compression mode : Lossy
Delay relative to video : -40 ms
sneaker_ger
8th November 2016, 10:28
http://haali.su/mkv/MatroskaSplitter.exe
tebasuna51
8th November 2016, 10:50
When you use 'HD streams extractor tool' to extract the video muxed as .mkv, eac3to need Haali Matroska Muxer.
But you can extract (Extract As) that video as elementary video stream .h264, and now you don't need Haali Matroska Muxer.
j8ee
8th November 2016, 10:56
Thanks, and I also wanted the developers to know that megui's default settings produce errors.
Zathor
8th November 2016, 19:46
Thanks, but which default settings produce errors? Do you mean that the external tool is not properly installed?
For some functions the haali splitter is needed. You have that twice in the log. It cannot be installed by MeGUI as for that administrative permissions are required. MeGUI will not perform such actions automatically, but you will be informed that it is required.
Also not all eac3to use cases need the splitter.
LigH
8th November 2016, 20:13
I would even doubt that TransportStreams with AAC audio are very common. I guess a surveillance camera may produce that. But I don't know any consumer media format for cinematic movies offering such a combination.
sneaker_ger
8th November 2016, 21:16
AAC in TS is used for TV broadcast in some regions so it shouldn't be that uncommon. (German DVB-T2 specs require HE-AAC player support as well)
j8ee
9th November 2016, 07:23
Thanks, but which default settings produce errors?
/.../The HD Streams Extractor tool's.
Do you mean that the external tool is not properly installed?
/.../I wouldn't know, I'm just an end user that hasn't changed any of the settings of that tool.
Even if it's rare with AAC in ts, other people than me will end up with this problem too, for sure. Maybe doing it the same way as it's done with the Nero AAC encoder, that a popup informs you of a separate and manual download in some part of the configuration? At least a more informative log message would be useful, one that informs you that something needs to be installed manually, and preferably how.
Zathor
14th November 2016, 22:48
Ok, I will add something.
hello_hello
15th November 2016, 08:17
It'd be a large post, because it was a detailed feature request, so rather than copy and paste it here I'll paste a link to the feature request on SourceForge.... if anyone would care to read it, comment there or here, and/or offer further suggestions, or tell me it's a silly idea... but I think it has potential and others may come up with better ideas for implementing it, or for implementing something similar.
Its a suggestion for making it easier to add custom filters to a script via the script creator and to enable and disable them via the GUI, and a method of working around the problem of adding custom filters to a script manually, only to have MeGUI re-write the entire script if you change something in the script creator GUI.
https://sourceforge.net/p/megui/feature-requests/604/
dev84
16th November 2016, 18:00
Hi
I get this error, v.2624 works OK on those files.
[Error] Log
-[Information] Versions
--[Information] [2016-11-16 17:34:24] MeGUI: 2663
--[Information] [2016-11-16 17:34:24] Operating System: Windows XP Professional x86 SP3 (5.1.196608.2600)
--[Information] [2016-11-16 17:34:24] .NET Framework: 4.0 (4.0.30319)
--[Information] [2016-11-16 17:34:25] AviSynth: 2.6.0.6 (31-03-2015) (inactive)
--[Information] [2016-11-16 17:34:25] AviSynth portable: 2.6.0.6 (21-09-2015) (active)
--[Information] [2016-11-16 17:34:26] AvisynthWrapper: (02-01-2009)
--[Information] [2016-11-16 17:34:26] Haali Matroska Splitter: 1.9.42.1 (10-01-2009)
--[Information] [2016-11-16 17:34:26] Haali DSS2: (10-01-2009)
--[Information] [2016-11-16 17:34:26] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [2016-11-16 17:34:26] MediaInfo: 0.7.90.0 (31-10-2016)
--[Information] [2016-11-16 17:34:26] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [2016-11-16 17:34:26] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [2016-11-16 17:34:26] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [2016-11-16 17:34:26] 7z: 9.20 (18-11-2010)
-[Information] Update detection
--[Information] [2016-11-16 17:34:25] Automatic update is disabled
--[Information] [2016-11-16 17:34:25] Using cached update config and server: http://megui.org/auto/
--[Information] [2016-11-16 17:34:25] No package requires an update
-[Information] AutoEncode job generation log
--[Information] [2016-11-16 17:40:44] Split Size : null
--[Information] Eliminating duplicate filenames
---[Information] [2016-11-16 17:40:44] Video output file: D:\a5100\encode\C0001.264
---[Information] [2016-11-16 17:40:44] Muxed output file: D:\a5100\encode\C0001-muxed.mkv
---[Information] [2016-11-16 17:40:44] Encodable audio stream 0: D:\a5100\encode\C0001.ac3
-[Error] Log for job1 (audio, C0001.MP4 -> C0001.ac3)
--[Information] [2016-11-16 17:40:49] Started handling job
--[Information] [2016-11-16 17:40:49] Preprocessing
--[Information] [2016-11-16 17:40:49] MediaInfo
---[Information] [2016-11-16 17:40:49] File: D:\a5100\encode\C0001.MP4
---[Information] General
----[Information] Format: XAVC
----[Information] FormatString: XAVC
----[Information] FileSize: 395986669
----[Information] PlayTime: 00:01:00.960
---[Information] Video
----[Information] ID: 1
----[Information] StreamOrder: 0
----[Information] Width: 1920
----[Information] Height: 1080
----[Information] FrameCount: 3048
----[Information] FrameRate: 50.000
----[Information] FrameRateOriginal:
----[Information] FrameRateMode: CFR
----[Information] ScanType: Progressive
----[Information] Codec: AVC
----[Information] CodecString: AVC
----[Information] Bits Depth: 8
----[Information] Format: AVC
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 2
----[Information] StreamOrder: 1
----[Information] Format: PCM
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: CBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
----[Information] [2016-11-16 17:40:49] The language information is not available for this track. The default MeGUI language has been selected.
---[Information] Chapters
----[Information] ID:
----[Information] StreamOrder:
----[Information] Codec:
----[Information] Inform: Type : meta
Duration : 1 min 0 s
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [2016-11-16 17:40:50] Trying to open the file with FFAudioSource()
--[Information] [2016-11-16 17:40:57] Successfully opened the file with FFAudioSource()
--[Information] [2016-11-16 17:40:57] Avisynth script
---[NoImage] LoadPlugin("D:\a5100\encode\MeGUI\tools\ffms\ffms2.dll")
---[NoImage] FFAudioSource("D:\a5100\encode\C0001.MP4")
---[NoImage] # detected channels: 2
---[NoImage] # detected channel positions:
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[NoImage] return last
--[Information] [2016-11-16 17:40:57] Command line used: -i - -y -acodec ac3 -ab 256k "{0}"
--[Information] [2016-11-16 17:40:57] Avisynth script environment opened
--[Information] [2016-11-16 17:40:58] Script loaded
--[Information] [2016-11-16 17:40:58] Output Decoder
---[Information] [2016-11-16 17:40:58] Channels: 2
---[Information] [2016-11-16 17:40:58] Bits per sample: 16
---[Information] [2016-11-16 17:40:58] Sample rate: 48000
--[Information] [2016-11-16 17:40:58] Job command line: D:\a5100\encode\MeGUI\tools\ffmpeg\ffmpeg.exe -i - -y -acodec ac3 -ab 256k "D:\a5100\encode\C0001.ac3"
--[Information] [2016-11-16 17:40:58] Process started
--[Information] [2016-11-16 17:40:58] Standard output stream
--[Information] [2016-11-16 17:40:58] Standard error stream
--[Error] [2016-11-16 17:40:58] An error occurred
---[Error] [2016-11-16 17:40:58] Exception message: The pipe has been ended.
---[Error] [2016-11-16 17:40:59] Stacktrace
----[NoImage] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
----[NoImage] at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
----[NoImage] at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
----[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
---[Error] [2016-11-16 17:40:59] Inner exception: null
--[Information] [2016-11-16 17:40:59] Job completed
I see it allready happend...
http://forum.doom9.org/showthread.php?t=115083
Adsmt
17th November 2016, 20:16
Current MeGUI UI is ugly in high DPI settings in Windows 10.
Could you release a build with DPI aware?
It's quite simple, just uncomment following code in app.manifest and rebuild it.
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
-->
hello_hello
17th November 2016, 21:23
Maybe there's more to it than that? I don't know for sure, but from the changelog:
2609
removed the DPI aware flag (requires Windows Vista+)
The application will now look blurry when using 150+% DPI but all controls are visible
Known Problems:
- Windows XP and older is not supported
- Unicode is not supported
- non default DPI values are not supported
kathykit
18th November 2016, 14:45
Totally agree from others!
:thanks: Zathor.
Always helpful!
dev84
19th November 2016, 01:19
hello_hello, thx, for info about updating the ffmpeg to xp friendly
https://sourceforge.net/projects/mplayer-win32/files/FFmpeg/git-N-80912-gce466d0/
I changed also the LSMASHSource to the one You suggested, unfortunately it doesn't work but it's ok i use FFMS.
It's up to date and working on xp :)
thx
Bigmango
20th November 2016, 12:54
Oneclick encoder problem:
DTS-HDMA to FLAC doesn't encode the lossless MA but the DTS core only (first it demuxes the DTS-HDMA, then it extracts the DTS core, then it encodes the DTS core to FLAC).
And there is no toggle switch to tell it not to extract the core.
This doesn't make any sense.
eac3to extracts the DTS-HDMA directly to FLAC.
Could you please fix this so it encodes the lossless to FLAC?
Thanks !
Zathor
20th November 2016, 16:37
Hi
I get this error, v.2624 works OK on those files.
I see it allready happend...
http://forum.doom9.org/showthread.php?t=115083
Does the problem still exists with FFmpeg 3.2?
Beside that:
2674 [Audio Cutter] preselect output file. Feature request #597
2673 [x265] added --sar detection. Feature request #601
2672 [Title Selector] added option to change the minimum title length also in the global settings
2671 [VobSubber] remember the "keep all..." setting. Feature request #600
2670 [Haali Media Splitter] added "Haali Media Splitter" as update package
improved detection if it is installed
if it is needed by the HD Streams Extractor it will be installed (administrative permissions are required)
2669 [VobSubber] added title selector for DVD sources incl. multi-angle support
2668 [FileIndexer] added title selector for DVD sources incl. multi-angle support
2667 [TitleSelector] added support for multi-angle DVD sources
[OneClick] added support for multi-angle DVD sources
2666 [TitleSelector] improved title selector for DVD/Blu-ray sources
2665 [OneClick] added support for folders as drag&drop source of the input control
2664 [IFOParser] improved type detection
dev84
20th November 2016, 22:52
Hi Zathor.
Unfortunately it's the same i updated to the new MeGUI and ffmpeg 3.2
Digging on the weekend i found out, that...
https://ffmpeg.zeranoe.com/forum/viewtopic.php?f=2&t=2937
Nothing is wrong with MeGUI
Only solution to use it under XP is with this ffmpeg - without Intel QSV which breaks compatibility with XP
https://sourceforge.net/projects/ffmpegwindowsbi/?source=navbar
Thx for support
dev
hello_hello
21st November 2016, 00:53
hello_hello, thx, for info about updating the ffmpeg to xp friendly
https://sourceforge.net/projects/mplayer-win32/files/FFmpeg/git-N-80912-gce466d0/
I changed also the LSMASHSource to the one You suggested, unfortunately it doesn't work but it's ok i use FFMS.
It's up to date and working on xp :)
thx
You definitely used the one from the MediaFire link at the bottom of this page?
http://avisynth.nl/index.php/LSMASHSource
It's listed as XP compatible and it's working for me.
VoodooFX
21st November 2016, 04:33
Beside that:
2673 [x265] added --sar detection. Feature request #601
...
New bug, when you add custom commands to x265 it repeats twice:
http://i65.tinypic.com/54t736.png
LigH
21st November 2016, 08:24
This board software does not support image hosts wrapping images in ad bloated websites for not registered viewers...
New bug, when you add custom commands to x265 it repeats twice:
http://i65.tinypic.com/54t736.png
hello_hello
21st November 2016, 10:20
Am I missing something? The image is displaying normally in the post for me.
LigH
21st November 2016, 15:44
I don't know why, maybe because you have seen it before (or you are a registered tinypic user?); for me it's always denied, like a deep-link block. May depend on the browser and its setup, who knows... the direct URL (http://i65.tinypic.com/54t736.png) is always expanded to a wrapping website (http://de.tinypic.com/view.php?pic=54t736&s=9#.WDMI9EbHbL8).
VoodooFX
21st November 2016, 17:00
On latest Firefox, Chrome for Windows image shows like it should be. Direct URL expands to wrapping website, only if I disable Noscript plugin. Nothing on old Opera v12.16, not even a link. I'm not registered on tinypic.
dev84
21st November 2016, 19:31
You definitely used the one from the MediaFire link at the bottom of this page?
http://avisynth.nl/index.php/LSMASHSource
It's listed as XP compatible and it's working for me.
Hi
Yup, i did...
It's funny thing, both of the versions require to work ping.exe in ...\system32\
I have my windows extra tight, didn't have it, but fixed it for the test.
the newest version of LSMASHSource gives some other error in log and the old one that i downloaded from the link that You specified gives also an error but different one.
Window pop out saying that i don't have some library...
Not gonna put log of it, it's not worth while since FFMS is working.
Cheers
hello_hello
21st November 2016, 20:05
Sorry for sidetracking the thread a bit folks, but as the topic came up and people post images here.....
I don't know why, maybe because you have seen it before (or you are a registered tinypic user?); for me it's always denied, like a deep-link block. May depend on the browser and its setup, who knows... the direct URL (http://i65.tinypic.com/54t736.png) is always expanded to a wrapping website (http://de.tinypic.com/view.php?pic=54t736&s=9#.WDMI9EbHbL8).
So far, I can repeat the following over and over using Firefox.
Load this forum page.
Click on the link in post #5207 to open it in a new tab.
Direct image loads. Click again and load in a new tab, it's always the direct image.
Switch to the tab displaying the direct image and refresh it.
The "wrapper page" loads.
Now every time I click on the link in #5207 the wrapper page opens in a new tab, until....
I refresh the doom9 page in which case clicking on the link goes back to taking me to the direct image.
Pasting the direct link into the address bar opens the the direct image until I refresh the tab after it's opened, and once I do the wrapper page also appears when pasting the direct link into the address bar....
I thought I was losing my mind at first.... if I refresh the doom9 page containing the link when I paste the direct link into the address bar it goes back to opening the image directly again, but clicking on the link in the doom9 page isn't required. Simply refreshing the doom9 page is enough.
I've gone through the above cycle something like 20 times and it's been 100% repeatable. Most fun of all, it doesn't seem to apply to images globally, but on a per image basis.
Pale Moon.... no matter what I did the direct links always opened directly to the image. No wrapper page. I disabled referrers, checked and deleted cookies... nothing made a difference.... and just as I was about to give up it occurred to me to put Pale Moon into Firefox compatibility mode (it identifies itself to sites as Firefox as well as Pale Moon).
That did it. I could repeat all the above behaviour with Pale Moon even though I don't understand any of it.
hello_hello
21st November 2016, 20:20
Hi
Yup, i did...
It's funny thing, both of the versions require to work ping.exe in ...\system32\
I think that was some Zathor trickery in order to display the progress window.... maybe.... I can't remember the exact reason.
the newest version of LSMASHSource gives some other error in log and the old one that i downloaded from the link that You specified gives also an error but different one.
Window pop out saying that i don't have some library...
According to Avisynth InfoTool it requires msvcr100.dll whereas the current version requires msvcr120.dll. You can put msvcr100.dll in the same folder as LSmash, but if it's in the MeGUI Lsmash folder, MeGUI might delete it each time it starts. You'd have to check.
Or install this. It's only about 5MB.
http://www.microsoft.com/en-us/download/details.aspx?id=5555
FFMS2 does my head in because if you index with it and crop or resize too quickly in the script creator, MeGUI has a hissy fit and crashes. Lsmash doesn't have that problem.
On the other hand if you don't select any audio in the file indexer, MeGUI will tell ffms2 not to index the audio so it'll index very large files noticeably faster than LSmash, which has no such option.
On the other hand, LSmash can open MP4s without the need to index them at all.....
Zathor
21st November 2016, 21:43
New bug, when you add custom commands to x265 it repeats twice:
Thanks & fixed - will be in the next build
I think that was some Zathor trickery in order to display the progress window.... maybe.... I can't remember the exact reason.
Yes, that is the reason.
dev84
21st November 2016, 23:19
...According to Avisynth InfoTool it requires msvcr100.dll ...
Yup thats it...
hmm so there is no "best" solution, gona stay with FFMS newer versions work and i used it only once for testing.
I encode mp4 from camera, it's XAVC video na PCM twos audio.
MeGUI needs only HalliMediaSplitter and ffdshow to do it without indexing, other mp4 files with AVC video it indexes, but not does from the camera.
I was using StaxRip but of course there are no working updates on XP and the last working didn't read twos so i had to use audacity and ac3 encoder.
What i'm trying to say is that MeGUI does it's job very nicely and I'm using almost last ffmpeg for audio... i'm happy.
Sorry for offtopic...,
do You maybe know which ac3 encoder is in 3.1.5 ffmpeg and where can i find some technical information about it?
Thx again
hello_hello
22nd November 2016, 01:50
To the best of my knowledge, AFTEN was merged back with ffmpeg a fair while ago and no longer seems to be updated, but the extent of my knowledge ends with "it's an AC3 encoder".
The AFTEN page still works, and there's a link for it's command line options, but I don't really know anything else. I've rarely done any AC3 encoding.
http://aften.sourceforge.net/
dev84
22nd November 2016, 05:22
To the best of my knowledge, AFTEN was merged back with ffmpeg a fair while ago and no longer seems to be updated, but the extent of my knowledge ends with "it's an AC3 encoder".
The AFTEN page still works, and there's a link for it's command line options, but I don't really know anything else. I've rarely done any AC3 encoding.
http://aften.sourceforge.net/
Aha, i read that it was droped thats why i ask.
Thx for nfo hello_hello
Cheers
LigH
22nd November 2016, 08:19
@ hello_hello:
Issues with image deeplinks may rather be specific to Opera 12 (which I still prefer due to the built-in extra clients), in this case... I'll stop complaining generally, then. But may still repeat the URL occasionally, I may not be the only one using just the browser which does not support the cooperative method to retrieve them.
Regarding AC3 encoding via ffmpeg: I believe to remember too, that the encoder in ffmpeg is slightly superior to the former separate Aften builds now. It is certainly based on Aften, but I don't know either how much it was improved since. But also I do remember that some people are interested in continuing the development to E-AC3 and more than 6 channels. Not yet done, though, I hope they will be successful.
tebasuna51
22nd November 2016, 10:49
Regarding AC3 encoding via ffmpeg: I believe to remember too, that the encoder in ffmpeg is slightly superior to the former separate Aften builds now. It is certainly based on Aften, but I don't know either how much it was improved since.
Yep, the author of Aften work in ffmpeg team and the ffmpeg versión is better than Aften, at least in:
- 2.0 Aften do some mix of channels, ffmpeg not.
- 5.1 ffmpeg now use channel coupling features, not present in Aften, to improve output.
LigH
22nd November 2016, 11:40
Confirmed. Holding RMB there seems to flood the application with Windows messages which seem to make the messaging queue hurry. Someone explain why it appears to idle in normal use.
Any ideas, Zathor and others?
hello_hello
22nd November 2016, 12:06
Sorry about the off topic post again people. It should be the last one.
Issues with image deeplinks may rather be specific to Opera 12 (which I still prefer due to the built-in extra clients), in this case... I'll stop complaining generally, then. But may still repeat the URL occasionally, I may not be the only one using just the browser which does not support the cooperative method to retrieve them.
I discovered I could prevent a TinyPic hosted image from displaying in Firefox this way.
- Open a forum page with an image such as the one in VoodooFX's post.
- Right click and select "view image". The full image displays own it's own.
- Refresh the page. It's redirected to the "sharing page" instead of the full image.
- Click back to return to the forum page. The image no longer displays.
- Refresh the page and the image returns.
- Rinse and repeat.
Well that's what was happening a little while ago, but this time the image is still displaying in the post. However the direct link keeps redirecting to the "sharing page" until the forum page is refreshed, then it goes back to being a direct link.
When Pale Moon is in Pale Moon mode, the TinyPic site obviously has no idea what browser it is, so it must run in "dumb mode" and I'm never redirected to the "sharing page". As soon as I enable Firefox compatibility mode, the behaviour for Firefox and Pale Moon become the same.
I don't understand where it's going wrong as such because I can't work out how the redirection is controlled, but I think in some circumstances a browser might load a page containing a hosted image and the request is redirected. It's the only logical explanation I have so far but if it's correct it'd mean it's happening for you every time Opera loads a page containing a TinyPic hosted image.... for reasons unknown so far.
I partly confabulated that theory by looking at the links provided by postimage.org. Their site is pretty much the same but seems to work without the redirection. They give you a link for sharing the image and reading ads if your ad blocker is disabled:
https://postimg.org/image/xda7mn7h9/
Along with a direct link that only ever opens the image directly:
https://s22.postimg.org/3ld57gko1/HS_5.jpg
All the other links they provide combine the first two in some way. For a forum thumbnail, as an example (I broke the URL and image tags deliberately):
https://s22.postimg.org/xda7mn7h9/HS_5.jpg
I suspect that's how they get around the sort of potential problem we're experiencing with TinyPic.
That's my theory and it seems logical at the moment, but it could very well be a load of bullocks. I sent the support folks at TinyPic an email asking them though, because I think I'm at the point of no return now. I need to understand. Hopefully they'll reply. I'll let you know.
Zathor
22nd November 2016, 21:41
Any ideas, Zathor and others?
Regarding what?
LigH
23rd November 2016, 08:35
Why holding the RMB speeds up the decoding process, or, saying it differently: Why the decoding of ZIP archives is so much "idling" when not.
LouieChuckyMerry
23rd November 2016, 18:12
2674 [Audio Cutter] preselect output file. Feature request #597
2673 [x265] added --sar detection. Feature request #601
2672 [Title Selector] added option to change the minimum title length also in the global settings
2671 [VobSubber] remember the "keep all..." setting. Feature request #600
2670 [Haali Media Splitter] added "Haali Media Splitter" as update package
improved detection if it is installed
if it is needed by the HD Streams Extractor it will be installed (administrative permissions are required)
2669 [VobSubber] added title selector for DVD sources incl. multi-angle support
2668 [FileIndexer] added title selector for DVD sources incl. multi-angle support
2667 [TitleSelector] added support for multi-angle DVD sources
[OneClick] added support for multi-angle DVD sources
2666 [TitleSelector] improved title selector for DVD/Blu-ray sources
2665 [OneClick] added support for folders as drag&drop source of the input control
2664 [IFOParser] improved type detection
:thanks: *
* = Infinity.
Danette
7th December 2016, 16:56
Before placing these on the Project Page, I just want to make sure they don't already exist and I simply can't find them:
- In the Muxer options: I'd like a batch demuxing and batch muxing capability for each container type.
- In the One-Click: I'd like an audio option to keep the original audio.
- In the One-Click: I'd like the ability to select the indexer I prefer. Right now, when I choose a folder of MKV's having m2v codecs to batch process, the L-SMASH Works (yuck!) indexer dominates even though I have DGIndex selected as the first priority.
hello_hello
7th December 2016, 17:33
Before placing these on the Project Page, I just want to make sure they don't already exist and I simply can't find them:
- In the Muxer options: I'd like a batch demuxing and batch muxing capability for each container type.
Out of curiosity how would batch muxing work? If you had a folder full of various files and streams, how would the batch muxing determine what gets muxed with what?
Or are you just referring to batch muxing files from one container to another, rather than individual streams?
The only GUI I can think of off the top of my head that does batch demuxing is MKVCleaver, but obviously that only helps for MKV.
- In the One-Click: I'd like an audio option to keep the original audio.
I don't know how long it's been there because I don't remember seeing it before (although I rarely use OneClick), but one of the options in the "encode" drop down list is "never". It seems you need to have "show advanced settings" enabled down the bottom of the OneClick window to see it. Or you can create a OneClick preset with "never" as the default.
- In the One-Click: I'd like the ability to select the indexer I prefer. Right now, when I choose a folder of MKV's having m2v codecs to batch process, the L-SMASH Works (yuck!) indexer dominates even though I have DGIndex selected as the first priority.
Do you mean DGIndex or DGIndexNV?, because the former won't open MKVs.
Danette
7th December 2016, 20:23
Thanks for the rapid reaction, hello_hello (I’ve always noticed your useful recommendations on various video forums). Answering your questions:
Out of curiosity how would batch muxing work? If you had a folder full of various files and streams, how would the batch muxing determine what gets muxed with what? Or are you just referring to batch muxing files from one container to another, rather than individual streams?
The only GUI I can think of off the top of my head that does batch demuxing is MKVCleaver, but obviously that only helps for MKV.
While I developed my own ability to batch files in MKVMerge with a program called MacroXpress, it was very cumbersome. Recently, I discovered “MKVBatch” which is a front end to MKVMerge. I don’t know how their code is setup, but it performs batch merging of codec, audio and chapter files (all previously extracted) just as you’d expect. It takes all such files in a folder and correctly muxes all of them, in individual streams, in one step.
I don't know how long it's been there because I don't remember seeing it before (although I rarely use OneClick), but one of the options in the "encode" drop down list is "never". It seems you need to have "show advanced settings" enabled down the bottom of the OneClick window to see it. Or you can create a OneClick preset with "never" as the default.
Yes, I have seen that “never” option from the ‘encode’ drop-down, but had assumed that it would simply remove the audio, as opposed to a passthru, based upon the wording. You’re right: it does retain the original audio.
Do you mean DGIndex or DGIndexNV?, because the former won't open MKVs.
I do mean DGIndex, not the NV version (which I don’t own and am only interested in indexing m2v’s anyway). I was expecting that the One-Click process, as part of the batch processing, would first extract the codecs from the MKV and then index them. I didn’t think that the indexer would open/extract the MKV container. So, my thinking was that the codec is extracted and then indexed by MeGUI, but that I should be able to select which indexer MeGUI would use on the codec after the extraction.
LigH
7th December 2016, 22:57
I was expecting that the One-Click process, as part of the batch processing, would first extract the codecs from the MKV and then index them.
"The codec" is a piece of software, and it is not included in an MKV. A video stream in a specific video format is probably included. That may be extracted if necessary and supported.
MPEG-2 video in MKV is not supported by DGMPGDec. FFMS2 and L-SMASH Works will support it without preparing the source file. Extracting a raw video stream from an MKV container instead is a severe effort, and handling raw video formats is sometimes less reliable than using it from within a container which has additional information about the content. Raw MPEG-2 is not a big issue. But raw AVC or HEVC may lack of some important attributes (like the frame rate).
If you need the raw video stream, you can probably use the tool "HD Stream Extractor"; but this is not automated in the One Click Encoder, apparently.
Danette
8th December 2016, 00:07
You're right LigH, about codecs. I was thinking the coding format, not the software.
Re:
MPEG-2 video in MKV is not supported by DGMPGDec. FFMS2 and L-SMASH Works will support it without preparing the source file. Extracting a raw video stream from an MKV container instead is a severe effort, and handling raw video formats is sometimes less reliable than using it from within a container which has additional information about the content.
I've read, over and over, that it's better to index the raw stream rather than doing it from within the container. Are you sure about your statement to the contrary? Can you point me to supporting discussion on it? I would be very interested to read it.
I'll take a look at "HD Stream Extractor", but I have also been using MKVCleaver for years and it seems to do a pretty good job. rt
LigH
8th December 2016, 00:25
It depends on both the video format and the handling software.
DGMPGDec supports MPEG-2 video both raw as well as in ProgramStream (e.g. VOB files) and TransportStream (with or without TS frame timestamps, 188 or 192 bytes) containers. But not the MKV container. DGMPGDec is so old, the MKV container format was not yet common in these times.
AVC or HEVC video streams may be handled raw as well as in TS or MP4 or MKV container by some source plugins for AviSynth. But the raw video stream may not contain some attributes a video tool would usually need to know. If I remember right, raw AVC may not contain the frame rate. When it is in a container, the container will preserve it. And MeGUI will remember it as long as it is processed in a job (e.g. if x264 creates a new raw AVC video stream, MeGUI will tell the MP4 or MKV multiplexer the frame rate of the source video).
hello_hello
8th December 2016, 19:50
I've read, over and over, that it's better to index the raw stream rather than doing it from within the container. Are you sure about your statement to the contrary? Can you point me to supporting discussion on it? I would be very interested to read it.
I can't point you to a discussion, but about the only time I've ever indexed raw video streams would be in the case of mpeg2 in an MKV, which I'd extract first. Either that or I'd open the MKV with TSMuxer and remux the video as a TS file first (DGIndex can open them).
I don't rip DVDs with MakeMKV though, so 99.999% of the time I'd use vob files as the source. For Bluray video I've always used the HD Streams Extractor to extract the video to an MKV for re-encoding.
Given MakeMKV is commonly use for ripping DVDs these days, maybe MeGUI needs to become more clever with MKV sources containing mpeg2 video. Most Avisynth GUI's assume NTSC/PAL mpeg2 will be in a DGIndex compatible container as that's how it's traditionally been done.
Technically there's probably no reason why L-Smash or FFMS2 can't be used to index MKVs containing mpeg2 video, but currently it doesn't handle those sources in an ideal way. Info here: http://forum.doom9.org/showthread.php?p=1788049#post1788049
Zathor
8th December 2016, 22:24
2679 [Update] improved updater to download appropriate architecture packages
2678 [AviSynthProfile] added option to treat sources as anime for deinterlacing
2677 [OneClick] fixed wrong track information in some use cases
2676 [x265] fixed duplicated custom command line values (regression of 2673)
2675 improved portable AviSynth runtime handling
The updater downloads now packages based on OS/MeGUI architecture. E.g. on x64 Windows the x64 mkvmerge package will be downloaded. Also ffmpeg & lsmash should be on an XP compatible build for XP systems. During the first run of the new process several files will be downloaded/applied, even if they are already available - this is intended.
Please check if the feature works as expected.
PS: The blocking for XP was a minimal work on top. XP is still not supported, but I thought it may not harm to block new updates properly :)
Zetti
8th December 2016, 23:23
Is it all available x64 versions or only a few versions like MKVToolNix, FLAC, LAME, OggEnc2 etc??
Zathor
8th December 2016, 23:34
MeGUI x64 (http://forum.doom9.org/showthread.php?t=153904)
It has also been updated today (link in the post is still the old one). There are however a few problems.
hello_hello
9th December 2016, 16:50
Please check if the feature works as expected.
PS: The blocking for XP was a minimal work on top. XP is still not supported, but I thought it may not harm to block new updates properly :)
On XP MeGUI went through a couple of update cycles, from what I could tell mostly downloading and installing the versions of tools it was currently using, except...
For the two current XP concerns, L-Smash and ffmpeg....
L-Smash was replaced with the version I was currently using which is fine because MeGUI couldn't know I'd already done so myself, but it appears ffmpeg 3.1.2 was replaced with version 3.0. The flavour I've been using recently is this one:
ffmpeg.static.2016-08-12-v3.1.2.32-bit.ffmpeg-static-xp-compatible (https://sourceforge.net/projects/ffmpegwindowsbi/)
Thanks.
PS. Will you have read this Zathor, or would you like me to summarise it and add it as an official SourceForge bug report?
http://forum.doom9.org/showthread.php?p=1789033#post1789033
Zathor
9th December 2016, 18:45
On XP MeGUI went through a couple of update cycles, from what I could tell mostly downloading and installing the versions of tools it was currently using, except...
For the two current XP concerns, L-Smash and ffmpeg....
L-Smash was replaced with the version I was currently using which is fine because MeGUI couldn't know I'd already done so myself, but it appears ffmpeg 3.1.2 was replaced with version 3.0. The flavour I've been using recently is this one:
ffmpeg.static.2016-08-12-v3.1.2.32-bit.ffmpeg-static-xp-compatible (https://sourceforge.net/projects/ffmpegwindowsbi/)
The 3.0 should be the last XP compatible build from Zeranoe. The same build has been around for some time on the dev servers for everyone so it should be "stable" so that it can be freezed forever. I do not plan to upload for XP anymore updates after that freezed state. I only want MeGUI to stay on a "working" level.
PS. Will you have read this Zathor, or would you like me to summarise it and add it as an official SourceForge bug report?
http://forum.doom9.org/showthread.php?p=1789033#post1789033
If that is not a problem for you, yes, but in this case it is not needed as I will restructure the x264 packages and will I am working on it I can also change x265 (again - I did know why I did not wanted to touch the --sar parameter)
Danette
9th December 2016, 19:48
It depends on both the video format and the handling software. DGMPGDec is so old, the MKV container format was not yet common in these times.
I can't point you to a discussion, but about the only time I've ever indexed raw video streams would be in the case of mpeg2 in an MKV, which I'd extract first. Either that or I'd open the MKV with TSMuxer and remux the video as a TS file first (DGIndex can open them).
Given MakeMKV is commonly use for ripping DVDs these days, maybe MeGUI needs to become more clever with MKV sources containing mpeg2 video. Most Avisynth GUI's assume NTSC/PAL mpeg2 will be in a DGIndex compatible container as that's how it's traditionally been done.
Much thanks to you both. Because of your help, the issues in my OP have been resolved.
I have hundreds of DVD's of NTSC shows I am in the process of backing up in x264. I have used MakeMKV for years for DVD's. I extract the files (m2v, ac3, xml) from those MKV's and have always used DGIndex, along with various AVS script to address the varying issues with telecine, interlacing, etc. and then x264 them. Then I remux.
Although I was uncomfortable with your thoughts about indexing from within the MKV container (as I mentioned), LigH, I went with your reputation and decided to buy DGDecNV. I've just finished some testing with it against the older process I used and you are right: the quality and size seems to be identical. So, no more manual demuxing and muxing. I can now use MeGUI One-Click for a truly one-click procedure using only the MKV container.
I agree with you, hello_hello, that MeGUI would do well to adapt as much as possible to MKV containers (although the process I'm using going forward certainly takes care of it). DVD's still dwarf BD's in production of, at least, TV shows and MakeMKV seems to be the easiest means to simplified backup.
Zathor
10th December 2016, 21:00
2687 [Update] added possibility to mark package architectures as "any"
2686 [VobSubber] switched to VobSub Ripper
forced subtitles will be extracted separately if available
the track language will be added if multiple track files are used
2685 [x265] switched to avs4x26x for x64 on an x86 OS
2684 [Presets] improved handling of preset selection/saving. Feature request #606
2683 [x264] fixed "force sar" option (regression of 2628). Bug #862
2682 [x264] + [x265] added support for commands leading with a single hyphen (e.g. -D)
2681 [x264] removed option to select 32bit x264 on a 64bit OS and merged the 8- and 10-bit packages
mini-moose
11th December 2016, 10:49
2687 [Update] added 2686 [VobSubber] switched to VobSub Ripper
forced subtitles will be extracted separately if available
the track language will be added if multiple track files are used
There is an issue I've known from using VSRip in the past. It has issues with extracting the entire vobsubs (only partial subs get extracted), when the movie vobs are not split into 1gb files but on big vob file.
It happened for me usually on feature movies (90mins+), have not encountered it for shorter videos such as tv episodes. This issue does not exist in Vobsub.
Also there seem to be an issue with the feature, megui crashed when no forced subs are found:
[Information] [12/11/2016 10:39:49 AM] Exception message: Could not find file 'G:\01_VTS_01_2_forced.sub'
-[NoImage] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
-[NoImage] at System.IO.FileInfo.get_Length()
-[NoImage] at MeGUI.VobSubIndexer.writeSubtitles()
-[NoImage] at MeGUI.VobSubIndexer.secondRunNeeded()
-[NoImage] at MeGUI.CommandlineJobProcessor`1.proc_Exited(Object sender, EventArgs e)
-[NoImage] at System.Diagnostics.Process.OnExited()
-[NoImage] at System.Diagnostics.Process.RaiseOnExited()
-[NoImage] at System.Diagnostics.Process.CompletionCallback(Object context, Boolean wasSignaled)
-[NoImage] at System.Threading._ThreadPoolWaitOrTimerCallback.WaitOrTimerCallback_Context(Object state, Boolean timedOut)
-[NoImage] at System.Threading._ThreadPoolWaitOrTimerCallback.WaitOrTimerCallback_Context_f(Object state)
-[NoImage] at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
-[NoImage] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
-[NoImage] at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)
--[Information] [12/11/2016 10:39:49 AM] Stacktrace
Fatal error pops up:
MeGUI encountered a fatal error and may not be able to proceed. Reason: Could not find file 'G:\01_VTS_01_2_forced.sub
That follows with a freeze and crash.
VSRip is also capable of extracting Closed Captions (SRT) streams. It does however produces 4-5 different files in different text codes (UTF, unicode etc), so that can be confusing.
LeMoi
11th December 2016, 13:51
[CODE]2687 [Update]
2681 [x264] removed option to select 32bit x264 on a 64bit OS and merged the 8- and 10-bit packages[/CODE
Since lastest update, i cannot use x264 encoder anymore, I have the following error while encoding a job:
[Error] [11/12/2016 13:40:50] Standard error stream
-[Information] [11/12/2016 13:40:52] raw [info]: 720x304p 1:1 @ 24000/1001 fps (cfr)
-[Warning] [11/12/2016 13:40:52] x264 [warning]: VBV maxrate specified, but no bufsize, ignored
-[Information] [11/12/2016 13:40:52] x264 [info]: using SAR=1/1
-[Information] [11/12/2016 13:40:52] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
-[Information] [11/12/2016 13:40:52] x264 [info]: profile Main, level 3.0
-[Information] [11/12/2016 13:40:52] x264 [info]: frame I:1 Avg QP:27.00 size: 3131
-[Information] [11/12/2016 13:40:52] x264 [info]: frame P:1 Avg QP:26.00 size: 19
-[Information] [11/12/2016 13:40:52] x264 [info]: frame B:2 Avg QP:27.50 size: 16
-[Information] [11/12/2016 13:40:52] x264 [info]: consecutive B-frames: 25.0% 0.0% 75.0% 0.0%
-[Information] [11/12/2016 13:40:52] x264 [info]: mb I I16..4: 94.7% 0.0% 5.3%
-[Information] [11/12/2016 13:40:52] x264 [info]: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.1% 0.0% 0.0% 0.0% 0.0% skip:99.9%
-[Information] [11/12/2016 13:40:52] x264 [info]: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:100.0%
-[Information] [11/12/2016 13:40:52] x264 [info]: final ratefactor: 17.61
-[Information] [11/12/2016 13:40:52] x264 [info]: coded y,uvDC,uvAC intra: 29.1% 5.8% 5.3% inter: 0.0% 0.0% 0.0%
-[Information] [11/12/2016 13:40:52] x264 [info]: i16 v,h,dc,p: 100% 0% 0% 0%
-[Information] [11/12/2016 13:40:52] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 75% 0% 25% 0% 0% 0% 0% 0% 0%
-[Information] [11/12/2016 13:40:52] x264 [info]: i8c dc,h,v,p: 5% 0% 95% 0%
-[Information] [11/12/2016 13:40:52] x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
-[Information] [11/12/2016 13:40:52] x264 [info]: kb/s:152.58
-[Information] [11/12/2016 13:40:52] encoded 4 frames, 30.08 fps, 152.58 kb/s
-[Warning] [11/12/2016 13:40:52] avs [warning]: Converting input clip to YV12
-[Error] [11/12/2016 13:40:52] avs [error]: }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}~~}}}}}}}}}}}}}}}}}}}}}}}}}}}}}~~}}}~~~}}}~~~~~~~~~~~~~~~~~~~€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€ occurred while reading frame 4
And if I try to re-enable a job I did yesterday with previous version, I have the following error:
--[Warning] [11/12/2016 13:47:27] Standard error stream
---[Information] [11/12/2016 13:47:30] raw [info]: 720x400p 1:1 @ 24000/1001 fps (cfr)
---[Warning] [11/12/2016 13:47:30] x264 [warning]: VBV maxrate specified, but no bufsize, ignored
---[Information] [11/12/2016 13:47:30] x264 [info]: using SAR=1/1
---[Information] [11/12/2016 13:47:30] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
---[Information] [11/12/2016 13:47:30] x264 [info]: profile Main, level 3.0
---[Information] [11/12/2016 13:47:30] x264 [info]: frame I:1 Avg QP:27.50 size: 13479
---[Information] [11/12/2016 13:47:30] x264 [info]: frame P:1 Avg QP:26.00 size: 145
---[Information] [11/12/2016 13:47:30] x264 [info]: frame B:1 Avg QP:29.00 size: 18
---[Information] [11/12/2016 13:47:30] x264 [info]: consecutive B-frames: 33.3% 66.7% 0.0% 0.0%
---[Information] [11/12/2016 13:47:30] x264 [info]: mb I I16..4: 57.9% 0.0% 42.1%
---[Information] [11/12/2016 13:47:30] x264 [info]: mb P I16..4: 0.4% 0.0% 0.0% P16..4: 1.6% 0.0% 0.0% 0.0% 0.0% skip:98.0%
---[Information] [11/12/2016 13:47:30] x264 [info]: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:100.0%
---[Information] [11/12/2016 13:47:30] x264 [info]: final ratefactor: 25.98
---[Information] [11/12/2016 13:47:30] x264 [info]: coded y,uvDC,uvAC intra: 60.9% 6.4% 6.4% inter: 0.2% 0.0% 0.0%
---[Information] [11/12/2016 13:47:30] x264 [info]: i16 v,h,dc,p: 100% 0% 0% 0%
---[Information] [11/12/2016 13:47:30] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 84% 3% 7% 3% 0% 0% 0% 1% 1%
---[Information] [11/12/2016 13:47:30] x264 [info]: i8c dc,h,v,p: 4% 0% 96% 0%
---[Information] [11/12/2016 13:47:30] x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
---[Information] [11/12/2016 13:47:30] x264 [info]: kb/s:872.22
---[Information] [11/12/2016 13:47:30] encoded 3 frames, 1.34 fps, 872.22 kb/s
--[Error] [11/12/2016 13:47:30] Process exits with error: 0xC0000005 STATUS_ACCESS_VIOLATION (-1073741819)
Did I miss something or some new setting?
EDIT : I tried another x264 setting to see if the problem was mine, but I still have an error:
-[Error] Log for job155 (video, MOVIE.avs -> )
--[Information] [11/12/2016 13:56:49] Started handling job
--[Information] [11/12/2016 13:56:49] Preprocessing
--[Information] [11/12/2016 13:56:49] Avisynth input script
---[NoImage] DirectShowSource("K:\BDMV\STREAM\00000.m2ts", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)
---[NoImage] crop(0, 140, 0, -142)
---[NoImage] BicubicResize(720,304,0,0.5)
--[Information] [11/12/2016 13:56:51] resolution: 720x304
--[Information] [11/12/2016 13:56:51] frame rate: 24000/1001
--[Information] [11/12/2016 13:56:51] aspect ratio: 45:19 (2.368)
--[Information] [11/12/2016 13:56:51] custom command line: --level 4.1 --bframes 3 --ref 4 --slices 4 --aud --nal-hrd vbr --b-pyramid strict --keyint 24 --min-keyint 2 --vbv-bufsize 30000 --vbv-maxrate 40000 --weightp 0 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709"
--[Information] [11/12/2016 13:56:51] Job command line: "C:\Program Files (x86)\MeGUI\tools\x264\avs4x26x.exe" --x26x-binary "C:\Program Files (x86)\MeGUI\tools\x264\x264.exe" --level 4.1 --bluray-compat --pass 1 --bitrate 669 --stats "G:\MOVIE\0_MOVIE.stats" --keyint 23 --open-gop --ref 4 --weightp 0 --slices 4 --vbv-bufsize 30000 --vbv-maxrate 40000 --fake-interlaced --colorprim smpte170m --transfer smpte170m --colormatrix smpte170m --pulldown 32 --level 4.1 --min-keyint 2 --sar 1:1 --output NUL "G:\MOVIE\MOVIE.avs"
--[Information] [11/12/2016 13:56:51] Process started
--[Information] [11/12/2016 13:56:51] Standard output stream
---[Information] [11/12/2016 13:57:03] avs [info]: AviSynth 2.58, build:Dec 22 2008 [08:46:51]
---[Information] [11/12/2016 13:57:03] avs [info]: Video resolution: 720x304
---[Information] [11/12/2016 13:57:03] avs [info]: Video framerate: 24000/1001
---[Information] [11/12/2016 13:57:03] avs [info]: Video framecount: 149894
---[Information] [11/12/2016 13:57:03] avs4x26x [info]: "C:\Program Files (x86)\MeGUI\tools\x264\x264.exe" - --level 4.1 --bluray-compat --pass 1 --bitrate 669 --stats G:\MOVIE\0_MOVIE.stats --keyint 23 --open-gop --ref 4 --weightp 0 --slices 4 --vbv-bufsize 30000 --vbv-maxrate 40000 --fake-interlaced --colorprim smpte170m --transfer smpte170m --colormatrix smpte170m --pulldown 32 --level 4.1 --min-keyint 2 --sar 1:1 --output NUL --frames 149894 --fps 24000/1001 --input-res 720x304 --input-csp i420
--[Error] [11/12/2016 13:56:51] Standard error stream
---[Information] [11/12/2016 13:56:53] raw [info]: 720x304p 1:1 @ 24000/1001 fps (cfr)
---[Information] [11/12/2016 13:56:53] x264 [info]: using SAR=1/1
---[Information] [11/12/2016 13:56:53] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
---[Information] [11/12/2016 13:56:53] x264 [info]: profile Main, level 4.1
---[Warning] [11/12/2016 13:57:03] avs [warning]: Converting input clip to YV12
---[Error] [11/12/2016 13:57:03] avs [error]: Error occurred while writing frame 61
---[Information] [11/12/2016 13:57:03] (Maybe x26x closed)
--[Error] [11/12/2016 13:57:03] Process exits with error: 0xC0000005 STATUS_ACCESS_VIOLATION (-1073741819)
--[Information] [11/12/2016 13:57:03] Job completed
Zathor
11th December 2016, 14:59
This should fix the issues:
2689 [VobSubber] improved error handling if forced subtitles are not found (regression of 2686)
added a warning if VOB file sizes above the specification limit are used
2688 [x264] fixed incorrect command line when using a x86 OS (regression of 2681)
LeMoi
11th December 2016, 17:11
Thanks for the update. Where can I get it? Using the development server in MEGui settings, latest one is 2687, not 2689!
Zathor
11th December 2016, 18:33
You have to wait up to 6 hours (depending on your last online update check) or you can get it here:
http://megui.org/auto/megui-core-2689-32.zip
LeMoi
11th December 2016, 19:41
Thanks for the link!
Unfortunately I still have an error with a new encode:
[Error] [11/12/2016 19:37:44] Standard error stream
-[Information] [11/12/2016 19:37:47] raw [info]: 720x304p 1:1 @ 24000/1001 fps (cfr)
-[Warning] [11/12/2016 19:37:47] x264 [warning]: VBV maxrate specified, but no bufsize, ignored
-[Information] [11/12/2016 19:37:47] x264 [info]: using SAR=1/1
-[Information] [11/12/2016 19:37:47] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
-[Information] [11/12/2016 19:37:47] x264 [info]: profile Main, level 3.0
-[Information] [11/12/2016 19:37:47] x264 [info]: final ratefactor: 24.01
-[Warning] [11/12/2016 19:37:47] avs [warning]: Converting input clip to YV12
-[Error] [11/12/2016 19:37:47] avs [error]: occurred while reading frame 0
And with the old one:
-[Error] [11/12/2016 19:38:34] Process exits with error: 0xC0000005 STATUS_ACCESS_VIOLATION (-1073741819)
Zathor
11th December 2016, 20:00
Please upload the full log
LeMoi
11th December 2016, 20:15
Here it is: [Error] Log
-[Information] Versions
--[Information] [11/12/2016 20:12:17] MeGUI: 2689
--[Information] [11/12/2016 20:12:17] Operating System: Windows 10 Home x64 (10.0.0.14393)
--[Information] [11/12/2016 20:12:17] .NET Framework: 4.0 (4.0.0.0)
--[Information] [11/12/2016 20:12:17] .NET Framework: 4.6.x (4.6.01586)
--[Information] [11/12/2016 20:12:19] AviSynth: 2.5.8.5 (21-12-2008)
--[Information] [11/12/2016 20:12:19] AviSynth portable: 2.6.0.6 (21-09-2015) (active)
--[Information] [11/12/2016 20:12:19] AvisynthWrapper: (02-01-2009)
--[Information] [11/12/2016 20:12:19] Haali Media Splitter: 1.13.138.14 (14-04-2013)
--[Information] [11/12/2016 20:12:19] Haali DSS2: (14-04-2013)
--[Information] [11/12/2016 20:12:19] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [11/12/2016 20:12:20] MediaInfo: 0.7.91.0 (01-12-2016)
--[Information] [11/12/2016 20:12:20] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [11/12/2016 20:12:20] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [11/12/2016 20:12:20] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [11/12/2016 20:12:20] 7z: 9.20 (18-11-2010)
-[Information] Update detection
--[Information] [11/12/2016 20:12:17] Using cached update config and server: http://megui.org/auto/
--[Information] [11/12/2016 20:12:17] No package requires an update
-[Error] Log for job156 (video, MOVIE.avs -> )
--[Information] [11/12/2016 20:12:33] Started handling job
--[Information] [11/12/2016 20:12:33] Preprocessing
--[Information] [11/12/2016 20:12:33] Avisynth input script
---[NoImage] DirectShowSource("K:\BDMV\STREAM\00000.m2ts", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)
---[NoImage] crop(0, 140, 0, -142)
---[NoImage] BicubicResize(720,304,0,0.5)
--[Information] [11/12/2016 20:12:38] resolution: 720x304
--[Information] [11/12/2016 20:12:38] frame rate: 24000/1001
--[Information] [11/12/2016 20:12:38] aspect ratio: 45:19 (2.368)
--[Information] [11/12/2016 20:12:38] Job command line: "C:\Program Files (x86)\MeGUI\tools\x264\avs4x26x.exe" --x26x-binary "C:\Program Files (x86)\MeGUI\tools\x264\x264.exe" --preset fast --pass 1 --bitrate 669 --stats "G:\MOVIE\0_MOVIE.stats" --keyint 240 --ref 5 --weightp 2 --qpmin 10 --qpmax 51 --vbv-maxrate 25000 --no-mbtree --rc-lookahead 40 --partitions all --sar 1:1 --output NUL "G:\MOVIE\MOVIE.avs"
--[Information] [11/12/2016 20:12:38] Process started
--[Information] [11/12/2016 20:12:38] Standard output stream
--[Warning] [11/12/2016 20:12:38] Standard error stream
---[Information] [11/12/2016 20:12:48] raw [info]: 720x304p 1:1 @ 24000/1001 fps (cfr)
---[Warning] [11/12/2016 20:12:48] x264 [warning]: VBV maxrate specified, but no bufsize, ignored
---[Information] [11/12/2016 20:12:48] x264 [info]: using SAR=1/1
---[Information] [11/12/2016 20:12:48] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
---[Information] [11/12/2016 20:12:48] x264 [info]: profile Main, level 3.0
---[Information] [11/12/2016 20:12:48] x264 [info]: frame I:1 Avg QP:27.00 size: 3131
---[Information] [11/12/2016 20:12:48] x264 [info]: frame P:2 Avg QP:24.00 size: 2055
---[Information] [11/12/2016 20:12:48] x264 [info]: frame B:5 Avg QP:27.00 size: 16
---[Information] [11/12/2016 20:12:48] x264 [info]: consecutive B-frames: 12.5% 0.0% 37.5% 50.0%
---[Information] [11/12/2016 20:12:48] x264 [info]: mb I I16..4: 94.7% 0.0% 5.3%
---[Information] [11/12/2016 20:12:48] x264 [info]: mb P I16..4: 27.1% 0.0% 0.0% P16..4: 11.2% 0.0% 0.0% 0.0% 0.0% skip:61.7%
---[Information] [11/12/2016 20:12:48] x264 [info]: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:100.0%
---[Information] [11/12/2016 20:12:48] x264 [info]: final ratefactor: 16.24
---[Information] [11/12/2016 20:12:48] x264 [info]: coded y,uvDC,uvAC intra: 39.2% 8.7% 7.3% inter: 2.3% 1.6% 1.2%
---[Information] [11/12/2016 20:12:48] x264 [info]: i16 v,h,dc,p: 100% 0% 0% 0%
---[Information] [11/12/2016 20:12:48] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 75% 0% 25% 0% 0% 0% 0% 0% 0%
---[Information] [11/12/2016 20:12:48] x264 [info]: i8c dc,h,v,p: 3% 0% 97% 0%
---[Information] [11/12/2016 20:12:48] x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
---[Information] [11/12/2016 20:12:48] x264 [info]: kb/s:175.58
---[Information] [11/12/2016 20:12:48] encoded 8 frames, 0.96 fps, 175.58 kb/s
--[Error] [11/12/2016 20:12:48] Process exits with error: 0xC0000005 STATUS_ACCESS_VIOLATION (-1073741819)
--[Information] [11/12/2016 20:12:48] Job completed
Zathor
11th December 2016, 20:28
And the exact same script with the BDMV file did work yesterday? I can encode without issues, but I do not use DirectShowSource. Could you please try another input filter like FFMS or another file?
LeMoi
11th December 2016, 23:46
I came back to latest stable release from sf.net, and the 1st pass went fine, but I got an error on 2nd pass.
I've tried 2 files but both of them were m2ts file, i'll try another source or filter to see...
EDIT: I just ran MEGui, it asked me to update to 2689 (while I already did manually 2 hours ago), I did the update and the encode finally started! I hope this time 2nd pass won't fail...
mini-moose
11th December 2016, 23:52
This should fix the issues:
2689 [VobSubber] improved error handling if forced subtitles are not found (regression of 2686)
added a warning if VOB file sizes above the specification limit are used
thanks Zathor. I'm not 100% sure when the file size becomes an issue to extract full subs, it only happened to me with full length movies really.
I can try and play around with some files and see if there is a cutoff point.
It appears to be extracting forced subs vobsubs now, whether there are or aren't any (0byte .sub files). Won't that be an issue?
i.e users adding empty subs to their files. If it also extract forced subs for all additional languages there could be a lot of those.
LigH
12th December 2016, 01:06
MeGUI still updates a lot faster when you hold down a mouse button in the updater window while it downloads and extracts. Doesn't matter which button, left or right. And it is very obvious for extracting, but also true for downloading. Without pressing a mouse button, the updater idles a lot.
Zathor
12th December 2016, 08:08
thanks Zathor. I'm not 100% sure when the file size becomes an issue to extract full subs, it only happened to me with full length movies really.
I can try and play around with some files and see if there is a cutoff point.
Thanks, that would be great
It appears to be extracting forced subs vobsubs now, whether there are or aren't any (0byte .sub files). Won't that be an issue?
i.e users adding empty subs to their files. If it also extract forced subs for all additional languages there could be a lot of those.
These files are already deleted. You do have the deletion of intermediate files enabled, don't you?
mini-moose
12th December 2016, 08:57
Thanks, that would be great
Good news. It appears I've been using v1.0.0.6 which has that bug. Was not aware there is a 1.0.0.7 beta (the one you're using) which does not. The warning can be lifted off then. Sorry for misleading.
These files are already deleted. You do have the deletion of intermediate files enabled, don't you?
I do not have that enabled in settings. I assumed it deletes stuff I may like to revisit or reuse, so I never had. For example, video only mkv/mp4 files, I may want to mux them again if I wanted to add or remove something from
the initial mux.
Trying it now, I see it does a nice cleanup. However when multi streams is enabled, all the various vobsubs outputs have the same size, which is identical to single file mode with all the streams included.
I tried a dvd with lots of lang streams. Single file for all is 25mb for .sub, split into langs, each .sub is 25mb too even though it only includes one lang. I'm guessing the pointers on .idx are just for the selected lang but the .sub
maintains the entire bitmap.
I tried a DVD with a closed captions stream in it, it seems the extraction routine goes: Demuxing closed captions -- demuxing vobsubs -- demuxing forced subs.
you end up with all the next files for the CC stream:
01_VTS_01_1.cc.raw
01_VTS_01_1.cc.srt
01_VTS_01_1.cc.utf16be.srt
01_VTS_01_1.cc.utf16le.srt
01_VTS_01_1.cc.utf8.srt
01_VTS_01_1_forced.cc.raw
01_VTS_01_1_forced.cc.srt
01_VTS_01_1_forced.cc.utf16be.srt
01_VTS_01_1_forced.cc.utf16le.srt
01_VTS_01_1_forced.cc.utf8.srt
That's with deletion of intermediate files enabled. I don't know if you wished to keep those or not. They can be useful, but not all of them are needed + CC never has forced subs, also extracting them adds quite a bit of time to the
process as VSRip runs the extraction process 3 times.
Glarioo
12th December 2016, 10:03
I did an x264 encode with the preset=slow setting. That setting now uses me=hex instead of me=umh. I think that also trellis is changed (2 - Always instead of 1 - Final MB). I just wondered why, i thought me=umh gives better quality than me=hex.
mini-moose
12th December 2016, 10:06
I did an x264 encode With the preset=slow setting. That setting now uses me=hex instead of me=umh. I think that also trellis is changed (2 - Always instead of 1 - Final MB). I just wondered why, i thought me=umh gives better quality than me=hex.
new preset slow is me=hex, trellis=2, b-adapt=1. Guess they figured it gives the same/better results. Or were "downgraded" to me=hex and b-adapt=1, cause trellis=2 slows down the encode by quite a bit.
LeMoi
12th December 2016, 11:06
Me again, still an error, 2nd pass didn't launch, here's the log:
[Error] Log
-[Information] Versions
--[Information] [11/12/2016 23:45:33] MeGUI: 2689
--[Information] [11/12/2016 23:45:33] Operating System: Windows 10 Home x64 (10.0.0.14393)
--[Information] [11/12/2016 23:45:33] .NET Framework: 4.0 (4.0.0.0)
--[Information] [11/12/2016 23:45:33] .NET Framework: 4.6.x (4.6.01586)
--[Information] [11/12/2016 23:45:33] AviSynth: 2.5.8.5 (21-12-2008)
--[Information] [11/12/2016 23:45:33] AviSynth portable: 2.6.0.6 (21-09-2015) (active)
--[Information] [11/12/2016 23:45:33] AvisynthWrapper: (02-01-2009)
--[Information] [11/12/2016 23:45:33] Haali Media Splitter: 1.13.138.14 (14-04-2013)
--[Information] [11/12/2016 23:45:33] Haali DSS2: (14-04-2013)
--[Information] [11/12/2016 23:45:33] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [11/12/2016 23:45:33] MediaInfo: 0.7.91.0 (01-12-2016)
--[Information] [11/12/2016 23:45:33] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [11/12/2016 23:45:33] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [11/12/2016 23:45:33] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [11/12/2016 23:45:33] 7z: 9.20 (18-11-2010)
-[Information] Update detection
--[Information] [11/12/2016 23:45:33] Using cached update config and server: http://megui.tmebi.de/test/
--[Information] [11/12/2016 23:45:33] No package requires an update
--[Information] [11/12/2016 23:45:48] No package requires an update
-[Warning] Log for job156 (video, MOVIE.avs -> )
--[Information] [11/12/2016 23:46:30] Started handling job
--[Information] [11/12/2016 23:46:30] Preprocessing
--[Information] [11/12/2016 23:46:30] Avisynth input script
---[NoImage] DirectShowSource("K:\BDMV\STREAM\00000.m2ts", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)
---[NoImage] crop(0, 140, 0, -142)
---[NoImage] BicubicResize(720,304,0,0.5)
--[Information] [11/12/2016 23:46:36] resolution: 720x304
--[Information] [11/12/2016 23:46:36] frame rate: 24000/1001
--[Information] [11/12/2016 23:46:36] aspect ratio: 45:19 (2.368)
--[Information] [11/12/2016 23:46:36] Job command line: "C:\Program Files (x86)\MeGUI\tools\x264\avs4x26x.exe" --x26x-binary "C:\Program Files (x86)\MeGUI\tools\x264\x264.exe" --preset fast --pass 1 --bitrate 669 --stats "G:\MOVIE\0_MOVIE.stats" --keyint 240 --ref 5 --weightp 2 --qpmin 10 --qpmax 51 --vbv-maxrate 25000 --no-mbtree --rc-lookahead 40 --partitions all --sar 1:1 --output NUL "G:\MOVIE\MOVIE.avs"
--[Information] [11/12/2016 23:46:36] Process started
--[Information] [11/12/2016 23:46:36] Standard output stream
---[Information] [12/12/2016 00:49:03] avs [info]: AviSynth 2.58, build:Dec 22 2008 [08:46:51]
---[Information] [12/12/2016 00:49:03] avs [info]: Video resolution: 720x304
---[Information] [12/12/2016 00:49:03] avs [info]: Video framerate: 24000/1001
---[Information] [12/12/2016 00:49:03] avs [info]: Video framecount: 149894
---[Information] [12/12/2016 00:49:03] avs4x26x [info]: "C:\Program Files (x86)\MeGUI\tools\x264\x264.exe" - --preset fast --pass 1 --bitrate 669 --stats G:\MOVIE\0_MOVIE.stats --keyint 240 --ref 5 --weightp 2 --qpmin 10 --qpmax 51 --vbv-maxrate 25000 --no-mbtree --rc-lookahead 40 --partitions all --sar 1:1 --output NUL --frames 149894 --fps 24000/1001 --input-res 720x304 --input-csp i420
--[Warning] [11/12/2016 23:46:36] Standard error stream
---[Information] [11/12/2016 23:46:43] raw [info]: 720x304p 1:1 @ 24000/1001 fps (cfr)
---[Warning] [11/12/2016 23:46:43] x264 [warning]: VBV maxrate specified, but no bufsize, ignored
---[Information] [11/12/2016 23:46:43] x264 [info]: using SAR=1/1
---[Information] [11/12/2016 23:46:43] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
---[Information] [11/12/2016 23:46:43] x264 [info]: profile Main, level 3.0
---[Information] [12/12/2016 00:48:59] x264 [info]: frame I:1245 Avg QP:16.56 size: 21153
---[Information] [12/12/2016 00:48:59] x264 [info]: frame P:39086 Avg QP:17.93 size: 7047
---[Information] [12/12/2016 00:48:59] x264 [info]: frame B:109563 Avg QP:19.48 size: 2115
---[Information] [12/12/2016 00:48:59] x264 [info]: consecutive B-frames: 1.9% 1.1% 2.1% 94.9%
---[Information] [12/12/2016 00:48:59] x264 [info]: mb I I16..4: 30.8% 0.0% 69.2%
---[Information] [12/12/2016 00:48:59] x264 [info]: mb P I16..4: 21.0% 0.0% 0.0% P16..4: 61.5% 0.0% 0.0% 0.0% 0.0% skip:17.4%
---[Information] [12/12/2016 00:48:59] x264 [info]: mb B I16..4: 5.1% 0.0% 0.0% B16..8: 26.9% 0.0% 0.0% direct:13.3% skip:54.8% L0:32.8% L1:41.9% BI:25.3%
---[Information] [12/12/2016 00:48:59] x264 [info]: final ratefactor: 19.57
---[Information] [12/12/2016 00:48:59] x264 [info]: coded y,uvDC,uvAC intra: 73.6% 22.7% 4.5% inter: 17.2% 6.3% 0.0%
---[Information] [12/12/2016 00:48:59] x264 [info]: i16 v,h,dc,p: 29% 19% 38% 14%
---[Information] [12/12/2016 00:48:59] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 19% 16% 7% 6% 7% 6% 6% 6%
---[Information] [12/12/2016 00:48:59] x264 [info]: i8c dc,h,v,p: 71% 12% 15% 2%
---[Information] [12/12/2016 00:48:59] x264 [info]: Weighted P-Frames: Y:5.8% UV:0.7%
---[Information] [12/12/2016 00:48:59] x264 [info]: kb/s:682.63
---[Information] [12/12/2016 00:48:59] encoded 149894 frames, 40.12 fps, 682.63 kb/s
---[Warning] [12/12/2016 00:49:03] avs [warning]: Converting input clip to YV12
--[Information] [12/12/2016 00:49:05] Postprocessing
---[Information] [12/12/2016 00:49:06] Deleting intermediate files
--[Information] [12/12/2016 00:49:06] Job completed
-[Error] Log for job157 (video, MOVIE.avs -> 0_MOVIE.mkv)
--[Information] [12/12/2016 00:49:07] Started handling job
--[Information] [12/12/2016 00:49:07] Preprocessing
--[Information] [12/12/2016 00:49:07] Avisynth input script
---[NoImage] DirectShowSource("K:\BDMV\STREAM\00000.m2ts", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)
---[NoImage] crop(0, 140, 0, -142)
---[NoImage] BicubicResize(720,304,0,0.5)
--[Information] [12/12/2016 00:49:18] resolution: 720x304
--[Information] [12/12/2016 00:49:18] frame rate: 24000/1001
--[Information] [12/12/2016 00:49:18] aspect ratio: 45:19 (2.368)
--[Information] [12/12/2016 00:49:18] Job command line: "C:\Program Files (x86)\MeGUI\tools\x264\avs4x26x.exe" --x26x-binary "C:\Program Files (x86)\MeGUI\tools\x264\x264.exe" --preset fast --pass 3 --bitrate 669 --stats "G:\MOVIE\0_MOVIE.stats" --keyint 240 --ref 5 --weightp 2 --qpmin 10 --qpmax 51 --vbv-maxrate 25000 --no-mbtree --rc-lookahead 40 --partitions all --sar 1:1 --output "G:\MOVIE\0_MOVIE.mkv" "G:\MOVIE\MOVIE.avs"
--[Information] [12/12/2016 00:49:18] Process started
--[Information] [12/12/2016 00:49:18] Standard output stream
---[Information] [12/12/2016 00:49:33] avs [info]: AviSynth 2.58, build:Dec 22 2008 [08:46:51]
---[Information] [12/12/2016 00:49:33] avs [info]: Video resolution: 720x304
---[Information] [12/12/2016 00:49:33] avs [info]: Video framerate: 24000/1001
---[Information] [12/12/2016 00:49:33] avs [info]: Video framecount: 149894
---[Information] [12/12/2016 00:49:33] avs4x26x [info]: "C:\Program Files (x86)\MeGUI\tools\x264\x264.exe" - --preset fast --pass 3 --bitrate 669 --stats G:\MOVIE\0_MOVIE.stats --keyint 240 --ref 5 --weightp 2 --qpmin 10 --qpmax 51 --vbv-maxrate 25000 --no-mbtree --rc-lookahead 40 --partitions all --sar 1:1 --output G:\MOVIE\0_MOVIE.mkv --frames 149894 --fps 24000/1001 --input-res 720x304 --input-csp i420
--[Error] [12/12/2016 00:49:18] Standard error stream
---[Information] [12/12/2016 00:49:32] raw [info]: 720x304p 1:1 @ 24000/1001 fps (cfr)
---[Warning] [12/12/2016 00:49:32] x264 [warning]: VBV maxrate specified, but no bufsize, ignored
---[Information] [12/12/2016 00:49:32] x264 [info]: using SAR=1/1
---[Information] [12/12/2016 00:49:32] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
---[Information] [12/12/2016 00:49:32] x264 [info]: profile High, level 3.0
---[Warning] [12/12/2016 00:49:33] avs [warning]: Converting input clip to YV12
---[Error] [12/12/2016 00:49:33] avs [error]: }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}~~}}}}}}}}}}}}}}}}}}}}}}}}}}}}}~~}}}~~~}}}~~~~~~~~~~~~~~~~~~~€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€ occurred while reading frame 0
--[Information] [12/12/2016 00:49:33] Job completed
1st pass, job 156, went fine, but not 2nd pass, job 157.
The job xml if it can help :
<?xml version="1.0"?>
<TaggedJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Job xsi:type="VideoJob">
<Input>G:\MOVIE\MOVIE.avs</Input>
<Output>G:\MOVIE\0_MOVIE.mkv</Output>
<FilesToDelete />
<Zones />
<DAR>
<AR>2.3684210526315789473684210526</AR>
<X>45</X>
<Y>19</Y>
</DAR>
<Settings xsi:type="x264Settings">
<VideoEncodingType>threepass2</VideoEncodingType>
<EncodingMode>migrated</EncodingMode>
<BitrateQuantizer>669</BitrateQuantizer>
<KeyframeInterval>250</KeyframeInterval>
<NbBframes>3</NbBframes>
<MinQuantizer>10</MinQuantizer>
<MaxQuantizer>51</MaxQuantizer>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>false</Trellis>
<CreditsQuantizer>40</CreditsQuantizer>
<Logfile>G:\MOVIE\0_MOVIE.stats</Logfile>
<VideoName />
<CustomEncoderOptions />
<MaxNumberOfPasses>3</MaxNumberOfPasses>
<NbThreads>0</NbThreads>
<x264PresetLevel>fast</x264PresetLevel>
<x264PsyTuning>NONE</x264PsyTuning>
<QuantizerCRF>768</QuantizerCRF>
<InterlacedMode>progressive</InterlacedMode>
<TargetDeviceXML>0</TargetDeviceXML>
<BlurayCompatXML>False</BlurayCompatXML>
<NoDCTDecimate>false</NoDCTDecimate>
<PSNRCalculation>false</PSNRCalculation>
<NoFastPSkip>false</NoFastPSkip>
<NoiseReduction>0</NoiseReduction>
<NoMixedRefs>false</NoMixedRefs>
<X264Trellis>1</X264Trellis>
<NbRefFrames>5</NbRefFrames>
<AlphaDeblock>0</AlphaDeblock>
<BetaDeblock>0</BetaDeblock>
<SubPelRefinement>6</SubPelRefinement>
<MaxQuantDelta>4</MaxQuantDelta>
<TempQuantBlur>0</TempQuantBlur>
<BframePredictionMode>1</BframePredictionMode>
<VBVBufferSize>-1</VBVBufferSize>
<VBVMaxBitrate>25000</VBVMaxBitrate>
<METype>1</METype>
<MERange>16</MERange>
<MinGOPSize>25</MinGOPSize>
<IPFactor>1.4</IPFactor>
<PBFactor>1.3</PBFactor>
<ChromaQPOffset>0</ChromaQPOffset>
<VBVInitialBuffer>0.9</VBVInitialBuffer>
<BitrateVariance>1.0</BitrateVariance>
<QuantCompression>0.6</QuantCompression>
<TempComplexityBlur>20</TempComplexityBlur>
<TempQuanBlurCC>0.5</TempQuanBlurCC>
<SCDSensitivity>40</SCDSensitivity>
<BframeBias>0</BframeBias>
<PsyRDO>1.0</PsyRDO>
<PsyTrellis>0</PsyTrellis>
<Deblock>true</Deblock>
<Cabac>true</Cabac>
<UseQPFile>false</UseQPFile>
<WeightedBPrediction>true</WeightedBPrediction>
<WeightedPPrediction>2</WeightedPPrediction>
<NewAdaptiveBFrames>1</NewAdaptiveBFrames>
<x264BFramePyramid>2</x264BFramePyramid>
<x264GOPCalculation>1</x264GOPCalculation>
<ChromaME>true</ChromaME>
<MacroBlockOptions>2</MacroBlockOptions>
<P8x8mv>true</P8x8mv>
<B8x8mv>true</B8x8mv>
<I4x4mv>true</I4x4mv>
<I8x8mv>true</I8x8mv>
<P4x4mv>true</P4x4mv>
<AdaptiveDCT>true</AdaptiveDCT>
<SSIMCalculation>false</SSIMCalculation>
<StitchAble>false</StitchAble>
<QuantizerMatrix>Flat (none)</QuantizerMatrix>
<QuantizerMatrixType>0</QuantizerMatrixType>
<DeadZoneInter>21</DeadZoneInter>
<DeadZoneIntra>11</DeadZoneIntra>
<X26410Bits>false</X26410Bits>
<OpenGop>False</OpenGop>
<X264PullDown>0</X264PullDown>
<SampleAR>0</SampleAR>
<ColorMatrix>0</ColorMatrix>
<ColorPrim>0</ColorPrim>
<Transfer>0</Transfer>
<AQmode>1</AQmode>
<AQstrength>1.0</AQstrength>
<QPFile>.qp</QPFile>
<Range>auto</Range>
<x264AdvancedSettings>true</x264AdvancedSettings>
<Lookahead>40</Lookahead>
<NoMBTree>false</NoMBTree>
<ThreadInput>true</ThreadInput>
<NoPsy>false</NoPsy>
<Scenecut>true</Scenecut>
<Nalhrd>0</Nalhrd>
<X264Aud>false</X264Aud>
<X264SlowFirstpass>false</X264SlowFirstpass>
<PicStruct>false</PicStruct>
<FakeInterlaced>false</FakeInterlaced>
<NonDeterministic>false</NonDeterministic>
<SlicesNb>0</SlicesNb>
<MaxSliceSyzeBytes>0</MaxSliceSyzeBytes>
<MaxSliceSyzeMBs>0</MaxSliceSyzeMBs>
<Profile>2</Profile>
<AVCLevel>L_UNRESTRICTED</AVCLevel>
<TuneFastDecode>false</TuneFastDecode>
<TuneZeroLatency>false</TuneZeroLatency>
</Settings>
</Job>
<RequiredJobNames>
<string>job156</string>
</RequiredJobNames>
<EnabledJobNames>
<string>job161</string>
</EnabledJobNames>
<Name>job157</Name>
<Status>ERROR</Status>
<Start>2016-12-12T00:49:18.4576006+01:00</Start>
<End>2016-12-12T00:49:33.9217905+01:00</End>
</TaggedJob>
Does the problem come from new x264 encoder?
Glarioo
12th December 2016, 11:18
new preset slow is me=hex, trellis=2, b-adapt=1. Guess they figured it gives the same/better results. Or were "downgraded" to me=hex and b-adapt=1, cause trellis=2 slows down the encode by quite a bit.
Found this on the Videohelp website.
http://forum.videohelp.com/threads/381653-x264-preset-slow-but-MediaInfo-shows-the-result-differently?mode=hybrid
There's a link to Videolan
http://git.videolan.org/?p=x264/x264-sandbox.git;a=commit;h=4e5adb87070c82b937c03e0cc030eae3578c251d
Adjust --preset slow
* Swap --me umh for --trellis 2. They have a similar effect on performance
but the latter gives slightly better results in most cases.
* Change --b-adapt from 2 to 1. Negligible difference in quality since the
b-adapt 1 improvements, but it's significantly faster.
Also remove a redundant assignment from veryfast (--me hex is set by default).
mini-moose
12th December 2016, 11:18
"C:\Program Files (x86)\MeGUI\tools\x264\avs4x26x.exe" --x26x-binary "C:\Program Files (x86)\MeGUI\tools\x264\x264.exe" --preset fast --pass 3
I've never done 3 passes, but shouldn't there be pass 2 first?
LeMoi
12th December 2016, 11:52
Indeed, I don't know why the command line shows pass3. The xml job says "<VideoEncodingType>threepass2</VideoEncodingType>", and for the 3rd pass it says "<VideoEncodingType>threepass3</VideoEncodingType>", but I don't know how the command line should look like
mini-moose
12th December 2016, 11:55
Indeed, I don't know why the command line shows pass3. The xml job says "<VideoEncodingType>threepass2</VideoEncodingType>", and for the 3rd pass it says "<VideoEncodingType>threepass3</VideoEncodingType>", but I don't know how the command line should look like
Try to do 2-pass instead of 3 pass and see if it works.
Also:
avs [info]: AviSynth 2.58, buildec 22 2008 [08:46:51]
why are you still using old AVS?
sneaker_ger
12th December 2016, 13:00
"C:\Program Files (x86)\MeGUI\tools\x264\avs4x26x.exe" --x26x-binary "C:\Program Files (x86)\MeGUI\tools\x264\x264.exe" --preset fast --pass 3
I've never done 3 passes, but shouldn't there be pass 2 first?
"--pass 3" does NOT mean 3rd pass.
"--pass 1" means "write a new stats file"
"--pass 2" means "read stats file, don't update stats file"
"--pass 3" means "read stats file, update stats file"
So if you were to do 5 passes you would do:
--pass 1
--pass 3
--pass 3
--pass 3
--pass 2
or:
--pass 1
--pass 3
--pass 3
--pass 3
--pass 3
"--pass 2" is not really needed except for debugging/review.
mini-moose
12th December 2016, 14:04
"--pass 3" does NOT mean 3rd pass.
"--pass 2" is not really needed except for debugging/review.
Thanks for the info. Good to know. so if you do 3-pass, on the 2nd pass 3 is where the actual video is being encoded?
LigH
12th December 2016, 14:11
No. If you do 3 passes, you will need
a first "--pass 1" to gather statistics,
a middle "--pass 3" to encode based on the first-pass statistics once and refine the statistics, and
a final pass to encode based on the refined statistics;
for the last pass, it doesn't matter much whether you prefer "--pass 3" (statistics are refined further) or "--pass 2" (statistics are not refined anymore) because you will probably delete the statistics file after the final pass created the video output. But you will keep the encoding result of this final 3rd pass.
LeMoi
12th December 2016, 14:16
I'm doing a clean reinstall and trying to encode with existing preset to see if the problem comes from my preset. I'm doing a 2-pass job, it's almost finished and well done.
I'll try with my own preset later and see if the problem i that my preset is not compatible with latest x264 anymore...
mini-moose
12th December 2016, 14:16
No. If you do 3 passes, you will need
a first "--pass 1" to gather statistics,
a middle "--pass 3" to encode based on the first-pass statistics once and refine the statistics, and
a final pass to encode based on the refined statistics;
for the last pass, it doesn't matter much whether you prefer "--pass 3" (statistics are refined further) or "--pass 2" (statistics are not refined anymore) because you will probably delete the statistics file after the final pass created the video output. But you will keep the encoding result of this final 3rd pass.
Thanks :)
LeMoi
12th December 2016, 17:39
Okay, when I installed latest stable release, it asked me to add "ConvertToYV12()" at the end of my script, which I didn't use to do before because it perfectly worked without it.
If I add this line, encode works fine, like it used to before the latest update... I don't know, maybe a change in the encoder, that used to allow scripts without ConvertToYV12() with DSS and don't anymore ?
Anyway, I think i'll have to add it every time from now to be able to encode like I used to!
mini-moose
12th December 2016, 18:26
Okay, when I installed latest stable release, it asked me to add "ConvertToYV12()" at the end of my script, which I didn't use to do before because it perfectly worked without it.
You mean that AVS Script Creator added that in the script tab? or how did it ask you to do that?
LeMoi
12th December 2016, 18:45
After I loaded the avs script, when I clicked 'queue' it asked me to convert to YUV12. It used to do so years ago but it worked fine without...
Zathor
12th December 2016, 22:12
Trying it now, I see it does a nice cleanup. However when multi streams is enabled, all the various vobsubs outputs have the same size, which is identical to single file mode with all the streams included.
Yes, this is intended as even when you select to have multiple files, that in the first pass only one file is created which will be splitted afterwards. Therefore all sub files have the same size. Otherwise I would have to run vsrip on each track twice (normal + forced) and that would need too much time. As a few hundred MB should not harm anyone today, this is the way to go.
I tried a DVD with a closed captions stream in it, it seems the extraction routine goes: Demuxing closed captions -- demuxing vobsubs -- demuxing forced subs.
you end up with all the next files for the CC stream:
01_VTS_01_1.cc.raw
01_VTS_01_1.cc.srt
01_VTS_01_1.cc.utf16be.srt
01_VTS_01_1.cc.utf16le.srt
01_VTS_01_1.cc.utf8.srt
01_VTS_01_1_forced.cc.raw
01_VTS_01_1_forced.cc.srt
01_VTS_01_1_forced.cc.utf16be.srt
01_VTS_01_1_forced.cc.utf16le.srt
01_VTS_01_1_forced.cc.utf8.srt
That's with deletion of intermediate files enabled. I don't know if you wished to keep those or not. They can be useful, but not all of them are needed + CC never has forced subs, also extracting them adds quite a bit of time to the
process as VSRip runs the extraction process 3 times.
This however is not intended. It seems none of my DVDs which I have tested has CC streams. I try to find some so that this can be deleted or not created in the first case.
After I loaded the avs script, when I clicked 'queue' it asked me to convert to YUV12. It used to do so years ago but it worked fine without...
That is the problem with DirectShowSource(). What has been working yesterday may produce tomorrow other results.
mini-moose
12th December 2016, 22:39
This however is not intended. It seems none of my DVDs which I have tested has CC streams. I try to find some so that this can be deleted or not created in the first case.
You will need an American DVD for that, I don't think any european DVD have CC. Not all American DVD have them either.
Those are not bad files as they are SRTs. But not all of them are useful. Maybe the UTF8 one can be useful to some.
If VSRip has commandline interface you might be able to choose which of the 3 functions it has can be ran.
I assume you saw the bit about the VSRip beta fixing the large files bug.
Zathor
12th December 2016, 23:19
Yes, I saw your message. Could you please try this build and check if the CC streams are properly deleted (only when deletion of intermediate files is enabled):
MeGUI Test (http://megui.org/megui_test.zip)
LigH
13th December 2016, 08:20
Regarding the idling updater: Do (any) you have any idea how one would in general push the message queue? Possibly by regularly calling ProcessMessages() in a main loop?
mini-moose
13th December 2016, 10:24
Could you please try this build and check if the CC streams are properly deleted (only when deletion of intermediate files is enabled
That build cleans up the CC files nicely.
Could you maybe change the feature so that in "Single File Output" the Forced Subs pass does not run?
If one wants it all in one idx/sub set, there is no need for a seperate one for just forced as they are all included in the single file already.
Question:
Noticed the move to avs4x26x from avs4x264mod. Is avs4x26x superior in some way or it's mostly for being more x265 friendly?
Zathor
13th December 2016, 21:10
Regarding the idling updater: Do (any) you have any idea how one would in general push the message queue? Possibly by regularly calling ProcessMessages() in a main loop?
Sorry, no clue. To be honest I do not care much as it works. This for me is not a bug, it may be a feature (change) request.
That build cleans up the CC files nicely.
Could you maybe change the feature so that in "Single File Output" the Forced Subs pass does not run?
If one wants it all in one idx/sub set, there is no need for a seperate one for just forced as they are all included in the single file already.
Maybe, not sure about that. How much time do both passes need for you on average DVDs?
Noticed the move to avs4x26x from avs4x264mod. Is avs4x26x superior in some way or it's mostly for being more x265 friendly?
It was already for a long, long time indeed avs4x26x - I had only to change the name so that no source code change was needed. As I had to do a few changes in that area I harmonized both encoders to use the same tool.
LigH
13th December 2016, 21:55
And how often do I have to request this feature? ... ;)
Well, I hope, any other programmer with generic knowledge in .NET programming can suggest an improvement.
mini-moose
13th December 2016, 22:05
Maybe, not sure about that. How much time do both passes need for you on average DVDs?
Looking at how the files are being written it goes in this order:
1) CC normal
2) Vobsubs normal
3) CC forced
4) Vobsubs forced
*CC when present on disc, otherwise 1+3 are not running. So about x2 or x4 the time I'd say.
I'm not sure how it works from megui, but from using the standalone tool, the forced subs part is a separate function you need to check and run, CC is identified auto and checked along with reset time (can be unchecked too). From what I can see megui runs it twice?:
-[Information] Log for job2 (sub, VTS_01_0.IFO -> 01_VTS_01_1.idx)
--[Information] [12/13/2016 10:00:06 AM] Started handling job
--[Information] [12/13/2016 10:00:06 AM] Preprocessing
--[Information] [12/13/2016 10:00:06 AM] VobSub configuration file
---[NoImage] Q:\VTS_01_0.IFO
---[NoImage] Q:\01_VTS_01_1
---[NoImage] 1
---[NoImage] 1
---[NoImage] ALL
---[NoImage] RESETTIME
---[NoImage] CLOSEIGNOREERRORS
---[NoImage] CLOSE
--[Information] [12/13/2016 10:00:06 AM] Job command line: "D:\megui\tools\vsrip\vsrip.exe" Q:\01_VTS_01_1.vobsub
--[Information] [12/13/2016 10:00:06 AM] Process started
--[Information] [12/13/2016 10:00:06 AM] Standard output stream
--[Information] [12/13/2016 10:00:06 AM] Standard error stream
--[Information] [12/13/2016 10:01:09 AM] VobSub configuration file
---[NoImage] Q:\VTS_01_0.IFO
---[NoImage] Q:\01_VTS_01_1_forced
---[NoImage] 1
---[NoImage] 1
---[NoImage] ALL
---[NoImage] FORCEDONLY
---[NoImage] RESETTIME
---[NoImage] CLOSEIGNOREERRORS
---[NoImage] CLOSE
--[Information] [12/13/2016 10:01:09 AM] Job command line: "D:\megui\tools\vsrip\vsrip.exe" Q:\01_VTS_01_1.vobsub
--[Information] [12/13/2016 10:01:09 AM] Process started
--[Information] [12/13/2016 10:01:09 AM] Standard output stream
--[Information] [12/13/2016 10:01:09 AM] Standard error stream
--[Information] [12/13/2016 10:02:08 AM] MediaInfo
---[Information] [12/13/2016 10:02:08 AM] File: Q:\01_VTS_01_1.idx
Reasons for my request
1) Forced subs are not needed if you do single file output.
2) I rather not use delete intermediate files by default.
3) Takes longer (not really a big issue).
Zathor
13th December 2016, 22:10
2690 improved x64 build
[AviSynth] replaced Yadif by Yadifmod2
Based on the changelog a simple one, but as several internal decisions for x64/x86 had to be changed, they may also have an (unwanted) effect to x86.
If someone would like to test MeGUI x64 - it should have now nearly all functionality of MeGUI x86. More details can be found here: MeGUI x64 (http://forum.doom9.org/showthread.php?t=153904)
EDIT: Also several plugins and packages have been updated / changed.
Zathor
13th December 2016, 22:13
And how often do I have to request this feature? ... ;)
Is this really a problem for you if it takes a few seconds or the double amount of a few seconds? :)
Zathor
13th December 2016, 22:21
Looking at how the files are being written it goes in this order:
1) CC normal
2) Vobsubs normal
3) CC forced
4) Vobsubs forced
*CC when present on disc, otherwise 1+3 are not running. So about x2 or x4 the time I'd say.
As I do not have a DVD with CC could you please try to replace the ALL in the configuration the track numbers? for that you have to uncheck the "keep all tracks" in the GUI. I would like to know if then also the CC information is demuxed.
mini-moose
14th December 2016, 00:04
As I do not have a DVD with CC could you please try to replace the ALL in the configuration the track numbers? for that you have to uncheck the "keep all tracks" in the GUI. I would like to know if then also the CC information is demuxed.
I changed Keep All to Select. It still extracts the CC.
If you instruct me how to do the extraction with commandline I can try and play around with it. I tried following the routine on megui logfiles and some advises I found online, but to no success.
Edit: I figured out how to run it but not been able to find a setting in config file that will just run the vobsubs and skip the CC part although it's perfectly possible on vsrip gui tool.
hello_hello
15th December 2016, 02:18
This is a copy of the following bug report:
https://sourceforge.net/p/megui/bugs/863/
The latest round of updates seem to have broken x265 encoding, maybe for x86 operating systems, or maybe just for XP. Should avs4x26x.exe be getting a mention in the command line?
[Error] Log
-[Information] Versions
--[Information] [15/12/16 11:31:43 AM] MeGUI: 2690
--[Information] [15/12/16 11:31:43 AM] Operating System: Windows XP Professional x86 SP3 (5.1.196608.2600)
--[Information] [15/12/16 11:31:43 AM] .NET Framework: 4.0 (4.0.30319)
--[Information] [15/12/16 11:31:44 AM] AviSynth: 2.6.0.6 (21-09-2015) (inactive)
--[Information] [15/12/16 11:31:44 AM] AviSynth portable: 2.6.0.6 (21-09-2015) (active)
--[Information] [15/12/16 11:31:44 AM] AvisynthWrapper: (02-01-2009)
--[Information] [15/12/16 11:31:44 AM] Haali Media Splitter: 1.13.138.14 (14-04-2013)
--[Information] [15/12/16 11:31:44 AM] Haali DSS2: (14-04-2013)
--[Information] [15/12/16 11:31:44 AM] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [15/12/16 11:31:44 AM] MediaInfo: 0.7.91.0 (01-12-2016)
--[Information] [15/12/16 11:31:44 AM] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [15/12/16 11:31:44 AM] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [15/12/16 11:31:44 AM] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [15/12/16 11:31:44 AM] 7z: 9.20 (18-11-2010)
-[Information] Update detection
--[Information] [15/12/16 11:31:43 AM] Using cached update config and server: http://megui.org/auto/
--[Information] [15/12/16 11:31:43 AM] No package requires an update
-[Error] Log for job1 (video, test.avs -> test.hevc)
--[Information] [15/12/16 11:33:25 AM] Started handling job
--[Information] [15/12/16 11:33:25 AM] Preprocessing
--[Information] [15/12/16 11:33:25 AM] Avisynth input script
---[NoImage] LoadPlugin("C:\Program Files\MeGUI\tools\lsmash\LSMASHSource.dll")
---[NoImage] LWLibavVideoSource("D:\test.lwi")
---[NoImage] crop(4, 2, -4, -2)
---[NoImage] Resize8(1280,720)
---[NoImage] Trim(0,500)
--[Information] [15/12/16 11:33:26 AM] resolution: 1280x720
--[Information] [15/12/16 11:33:26 AM] frame rate: 25/1
--[Information] [15/12/16 11:33:26 AM] aspect ratio: 16:9 (1.778)
--[Information] [15/12/16 11:33:26 AM] Job command line: "C:\Program Files\MeGUI\tools\x265\x86\x265.exe" --crf 23.0 --sar 1:1 --output "D:\test.hevc" "D:\test.avs"
--[Information] [15/12/16 11:33:26 AM] Process started
--[Information] [15/12/16 11:33:26 AM] Standard output stream
--[Error] [15/12/16 11:33:26 AM] Standard error stream
---[Error] [15/12/16 11:33:26 AM] x265 [error]: yuv: width, height, and FPS must be specified
---[Error] [15/12/16 11:33:26 AM] x265 [error]: unable to open input file <D:\test.avs>
--[Error] [15/12/16 11:33:26 AM] Process exits with error: 1
--[Information] [15/12/16 11:33:26 AM] Job completed
One minor thing... when opening the x265 encoder configuration and clicking "load defaults" the CRF value is set to 23, but the default x265 CRF value is 28.
Thanks.
LigH
15th December 2016, 08:20
The latest round of updates seem to have broken x265 encoding, maybe for x86 operating systems, or maybe just for XP. Should avs4x26x.exe be getting a mention in the command line?
In case of x264, the "pipe bridge" avs4x26x used to be only required for feeding 32-bit AviSynth output to a 64-bit encoder process. If a 32-bit encoder is used, there is no need for a pipe ... but only as long as the encoder could handle AviSynth scripts on their own (via AviSynth interface or at least VfW compatibility). Unfortunately, an unmodified x265 is not able yet. It can only handle raw video or Y4M.
__
P.S.: x265 2.1+70-78e1e1354a25 (https://www.mediafire.com/file/2dkjjg82gi2t7wi/x265_2.1+70-78e1e1354a25.7z) is a "merge with stable" build; prepare for v2.2 "soon™"!
Zathor
15th December 2016, 20:40
Oh my, I was not aware that avs input can still not be used properly and without a 32bit OS currently I had no chance to test it. Sorry, will be fixed soon.
kalehrl
17th December 2016, 21:45
When I add files using one click-encoder, a lot of jobs fail with a message like this:
D:\Dreambox\movie\projectx\656\xxxx\xxxx.mkv.lwi not moved to D:\Dreambox\movie\projectx\656\xxxx\3ffvhydb.fze\xxxx.mkv.lwi. error: The process cannot access the file 'D:\Dreambox\movie\projectx\656\xxxx\xxxx.mkv.lwi' because it is being used by another process.
--[Information] [16.12.2016. 20.01.02] Job completed
I can send you the log if needed.
Zathor
17th December 2016, 21:58
Yes, please send me the full log. Also try to switch to FFMS in the OneClick preset configuration as a workaround.
Zathor
18th December 2016, 21:45
When I add files using one click-encoder, a lot of jobs fail with a message like this:
D:\Dreambox\movie\projectx\656\xxxx\xxxx.mkv.lwi not moved to D:\Dreambox\movie\projectx\656\xxxx\3ffvhydb.fze\xxxx.mkv.lwi. error: The process cannot access the file 'D:\Dreambox\movie\projectx\656\xxxx\xxxx.mkv.lwi' because it is being used by another process.
--[Information] [16.12.2016. 20.01.02] Job completed
I can send you the log if needed.
Please extract this file into your MeGUI directory: MeGUI Debug (http://megui.org/megui_lsmash_debug.zip)
Start MeGUI, reproduce the problem, close MeGUI and send me the full log again please.
kalehrl
19th December 2016, 20:52
pm sent.
Thank you.
brunosso
19th December 2016, 22:02
Is possible for a feature request the option to join two or more videos? Thanks
Inviato dal mio HUAWEI VNS-L31 utilizzando Tapatalk
Zathor
19th December 2016, 22:31
pm sent.
Thank you.
I am sorry, but that log is sadly too long (~1500+) lines so that it is not possible for me to find the relevant information. Could you please only run one index job and nothing more in the log session?
Zathor
20th December 2016, 22:35
2695 improved redistributable handling
2694 [VobSubber] fixed error if output path contains blanks
removed 1GB warning
added CC files to the to be deleted intermediate files
2693 [AudioEncoder] default to LWLibavAudioSource()/LSMASHAudioSource()
added downmix option to 5.1
added proper LoadPlugin calls for TimeStrech()/TimeStretchPlugin() and SoxFilter()
x64: remove filter/functions where the not available plugins AudioLimiter.dll or SoxFilter.dll are required
2692 [qaac] removed --no-delay option if LC is not used (regression of 2377). Bug #865
2691 [x265] fixed wrong command line (regression of 2685). Bug #863
changed default --crf vaue to 28
@kalehrl: no time yet to have a look at your log
LouieChuckyMerry
21st December 2016, 03:41
2690 improved x64 build
[AviSynth] replaced Yadif by Yadifmod2
Based on the changelog a simple one, but as several internal decisions for x64/x86 had to be changed, they may also have an (unwanted) effect to x86.
If someone would like to test MeGUI x64 - it should have now nearly all functionality of MeGUI x86. More details can be found here: MeGUI x64 (http://forum.doom9.org/showthread.php?t=153904)
EDIT: Also several plugins and packages have been updated / changed.
Zathor: As always, thank you for maintaining MeGUI :) .
I've been using the standalone 32bit MeGUI (updating from the development server) with the 64bit x264 hack for years. Unfortunately, since your recent updates I'm no longer able to replace "x264-10b_64.exe" with Komisar's modded version (kMod) by renaming it and replacing the unmodded version in "MeGUI/Tools/x264_10b". As a test, I've also tried replacing "x264-10b.exe" with the kMod version, but any encoded video still uses the unmodded version (according to MediaInfo). Please, what's the current location of the "x264-10b_64.exe" or "x264-10b.exe" that the latest updated version of 32bit MeGUI uses?
Thanks.
hello_hello
21st December 2016, 07:46
LouieChuckyMerry,
It appears stuff got moved around recently. Both the eight and ten bit x264 encoders now reside in "MeGUI\tools\x264". The "MeGUI\tools\x264_10b" folder can be deleted.
mini-moose
21st December 2016, 12:10
[QUOTE=Zathor;1790527]2694 [VobSubber] fixed error if output path contains blanks
removed 1GB warning
added CC files to the to be deleted intermediate files
Thanks Zathor.
If it's possible to disable the forced subs routine for Single File Output, that would be greatly appreciated.
tebasuna51
21st December 2016, 12:28
2693 [AudioEncoder] default to LWLibavAudioSource()/LSMASHAudioSource()
added downmix option to 5.1
added proper LoadPlugin calls for TimeStrech()/TimeStretchPlugin() and SoxFilter()
x64: remove filter/functions where the not available plugins AudioLimiter.dll or SoxFilter.dll are required
2692 [qaac] removed --no-delay option if LC is not used (regression of 2377). Bug #865
Thanks Zathor!
Zathor
21st December 2016, 15:26
If it's possible to disable the forced subs routine for Single File Output, that would be greatly appreciated.
I had planned to do that for 2694 but because of the "emergency need" (missing blank support) I had to add the already finished vsrip changes to the repository a little bit sooner.
Thanks Zathor!
You are more than welcome!
To be honest most of the points are based upon your thoughts/recommendations :rolleyes:
LouieChuckyMerry
21st December 2016, 16:44
LouieChuckyMerry,
It appears stuff got moved around recently. Both the eight and ten bit x264 encoders now reside in "MeGUI\tools\x264". The "MeGUI\tools\x264_10b" folder can be deleted.
Thanks a bunch for that, hello_hello, I appreciate it :) . I'm certain I would've discovered this eventually, as my next course of action was to search the entire MeGUI folder for the x264 .exe ;) .
I think I remember reading recently in this thread (or the MeGUI General Questions and Troubleshooting Thread, I can't remember), that MeGUI has changed it's use of "avs4x26x.exe" such that it no longer requires the "avs4x26xmod.exe". Am I remembering correctly? Also, would this be the reason that the 64bit version of "x264-10b.exe" ("x264-10b_64.exe") is seemingly no longer needed? Thanks in advance for any clarity.
Zathor
21st December 2016, 19:23
I think I remember reading recently in this thread (or the MeGUI General Questions and Troubleshooting Thread, I can't remember), that MeGUI has changed it's use of "avs4x26x.exe" such that it no longer requires the "avs4x26xmod.exe". Am I remembering correctly? Also, would this be the reason that the 64bit version of "x264-10b.exe" ("x264-10b_64.exe") is seemingly no longer needed? Thanks in advance for any clarity.
avs4x26xmod.exe has been replaced by avs4x26x.exe, correct, but that was only a change in the name as avs4x26x.exe already had been used in the past. What you may want to know is:
- the 8-bit and 10-bit packages have been merged
- the 32bit and 64bit exe files however have been separated
- the 32bit package is downloaded and used on a 32bit OS (without avs4x26x), the 64bit package is used on 64bit OS (with avs4x26x when using the 32bit version of MeGUI, without when using the 65bit version)
==> you only have to replace the files in one directory - the x264 one
mini-moose
22nd December 2016, 11:06
I had planned to do that for 2694 but because of the "emergency need" (missing blank support) I had to add the already finished vsrip changes to the repository a little bit sooner.
Great, thanks Zathor. I didn't quite get what the blank thing issue is, but I assume something important.
LouieChuckyMerry
25th December 2016, 04:28
avs4x26xmod.exe has been replaced by avs4x26x.exe, correct, but that was only a change in the name as avs4x26x.exe already had been used in the past. What you may want to know is:
- the 8-bit and 10-bit packages have been merged
- the 32bit and 64bit exe files however have been separated
- the 32bit package is downloaded and used on a 32bit OS (without avs4x26x), the 64bit package is used on 64bit OS (with avs4x26x when using the 32bit version of MeGUI, without when using the 65bit version)
==> you only have to replace the files in one directory - the x264 one
Thank you very much for the information, Zathor :) .
LigH
25th December 2016, 19:50
using the 65bit version
:eek: :rolleyes: Is it time for new hardware again? :p
MXM2016
Glarioo
26th December 2016, 16:48
What is the advantage of the 64bit version version oppositte the 32bit? I've encode the same movie with both versions and the picture quality is the same. I do not see any difference. Used the same settings for x264 MKV.
LigH
26th December 2016, 17:31
You should certainly not expect any difference in quality.
The 64-bit CPU architecture is a bit more efficient (twice as wide and twice as many direct-access CPU registers), some encoders may work up to ~10% faster. But AviSynth used to be only available reliably in 32-bit code, and most plugins for AviSynth also existed in 32-bit code only. And you cannot call a 32-bit code DLL (like vanilla AviSynth 2.5 / 2.6) in a 64-bit code EXE. For x264 and x265, a helper application (avs4x26x) was called to pipe a stream of raw video from the AviSynth output into the encoder. If all used tools would be available in 64-bit code, making them work together would be easier and more efficient - thus faster. Now with the development of AviSynth+, chances are good that this will happen for MeGUI, as it already happened for StaxRip.
nandoom
26th December 2016, 20:42
Hello,
After looking up online, I came to know that PAL video is actually shot with 24fps but PAL DVDs made have 25fps with a pitched audio. I wonder a feature could be added in MeGUI to be able to encode PAL DVD video with 24fps with audio and subs sync accordingly.
Thanks
LigH
26th December 2016, 22:44
You cannot generalize this for every PAL production. "PAL speedup" happens often for original cinematic "film" material. But native PAL productions do exist as well.
Matching subtitle timecodes to the inverse (PAL/Film slowdown) is quite easily possible. But converting the audio will reduce the quality once more. Some people try to mix the video with NTSC audio tracks, but that may fail if you have different cutting in each production.
Glarioo
27th December 2016, 10:07
You should certainly not expect any difference in quality.
The 64-bit CPU architecture is a bit more efficient (twice as wide and twice as many direct-access CPU registers), some encoders may work up to ~10% faster. But AviSynth used to be only available reliably in 32-bit code, and most plugins for AviSynth also existed in 32-bit code only. And you cannot call a 32-bit code DLL (like vanilla AviSynth 2.5 / 2.6) in a 64-bit code EXE. For x264 and x265, a helper application (avs4x26x) was called to pipe a stream of raw video from the AviSynth output into the encoder. If all used tools would be available in 64-bit code, making them work together would be easier and more efficient - thus faster. Now with the development of AviSynth+, chances are good that this will happen for MeGUI, as it already happened for StaxRip.
Thanks for your explanation.
About StaxRip, it seems that it is possible that Stax76 may terminate the development of StaxRip.
http://forum.doom9.org/showthread.php?t=172068&page=84
hello_hello
27th December 2016, 13:58
After looking up online, I came to know that PAL video is actually shot with 24fps but PAL DVDs made have 25fps with a pitched audio. I wonder a feature could be added in MeGUI to be able to encode PAL DVD video with 24fps with audio and subs sync accordingly.
If it was filmed in a PAL country it could very well have been shot at 25fps.
As far as converting to 24fps though, for the video you can add AssumeFPS(24,1) to the end of the script MeGUI creates before encoding, or AssumeFPS(24000,1001) for 23.976fps, and the audio encoder configurations already have PAL/Film/NTSC conversion options (under Time Modification).
There's probably a way to change the frame rate of subtitles with some utility or another, although as I have no particular need for subtitles as a rule, if I'm changing the frame rate I don't bother with the extra work to keep them so I don't actually know. I guess any chapters would need adjusting too.
Weirdo
27th December 2016, 15:19
Process exits with error: 0xE06D7363 (-529697949). Something similar occurs with the development version (with the same source file, not all files).
[Error] Log
-[Information] Versions
--[Information] [27-Dec-16 15:11:14] MeGUI: 2624
--[Information] [27-Dec-16 15:11:14] Operating System: Windows 10 Professional x64 (10.0.0.14393)
--[Information] [27-Dec-16 15:11:14] .NET Framework: 4.0 (4.0.0.0)
--[Information] [27-Dec-16 15:11:14] .NET Framework: 4.6.x (4.6.01586)
--[Information] [27-Dec-16 15:11:14] AviSynth: 2.6.0.5 (20-02-2015)
--[Information] [27-Dec-16 15:11:14] AvisynthWrapper: (02-01-2009)
--[Information] [27-Dec-16 15:11:14] Haali Matroska Splitter not installed properly.
--[Information] [27-Dec-16 15:11:14] Therefore DSS2() will not and certain functions of FFVideoSource() and the HD Streams Extractor may not work.
--[Information] [27-Dec-16 15:11:14] Please download and install it from http://haali.su/mkv/
--[Information] [27-Dec-16 15:11:14] Haali DSS2: not installed
--[Information] [27-Dec-16 15:11:14] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [27-Dec-16 15:11:14] MediaInfo: 0.7.79.0 (02-11-2015)
--[Information] [27-Dec-16 15:11:14] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [27-Dec-16 15:11:14] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [27-Dec-16 15:11:14] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [27-Dec-16 15:11:14] 7z: 9.20 (18-11-2010)
-[Information] Update detection
--[Information] [27-Dec-16 15:11:14] Using cached update config and server: http://megui.org/auto/stable/
--[Information] [27-Dec-16 15:11:14] No package requires an update
--[Information] [27-Dec-16 15:13:02] There is 1 package which can be updated: x264 10bit
--[Information] [27-Dec-16 15:13:03] updating active package x264 10bit as it is missing or outdated
-[Information] AutoEncode job generation log
-[Information] AutoEncode job generation log
--[Information] [27-Dec-16 15:12:42] Split Size : null
--[Information] Eliminating duplicate filenames
---[Information] [27-Dec-16 15:12:57] Video output file: G:\Stories.mkv.264
---[Information] [27-Dec-16 15:12:57] File already exists. New video output filename: G:\Stories.mkv_0.264
---[Information] [27-Dec-16 15:12:57] Muxed output file: G:\Films\Stories.mkv
-[Error] Log for job1 (video, Stories.mkv.avs -> Stories.mkv_0.264)
--[Information] [27-Dec-16 15:13:02] Started handling job
--[Information] [27-Dec-16 15:13:12] Preprocessing
--[Information] [27-Dec-16 15:13:12] Avisynth input script
---[NoImage] # Set DAR in encoder to 79 : 39. The following line is for automatic signalling
---[NoImage] global MeGUI_darx = 79
---[NoImage] global MeGUI_dary = 39
---[NoImage] SetMTMode(5, 4)
---[NoImage] SetMemoryMax(1000)
---[NoImage] LoadPlugin("F:\Apps\Video tools\MeGUI\tools\lsmash\LSMASHSource.dll")
---[NoImage] LWLibavVideoSource("G:\Stories.mkv")
---[NoImage] # ConvertToYV12()
---[NoImage] SetMTMode(2)
---[NoImage] QTGMC( Preset="Slower" )
---[NoImage] #SelectEven() # Add this line to keep original frame rate, leave out for smoother doubled frame rate
---[NoImage] crop(10, 30, -10, -30)
---[NoImage] #resize
---[NoImage] #denoise
--[Information] [27-Dec-16 15:13:16] resolution: 700x420
--[Information] [27-Dec-16 15:13:16] frame rate: 60000/1001
--[Information] [27-Dec-16 15:13:16] aspect ratio: 79:39 (2.026)
--[Information] [27-Dec-16 15:13:16] Job command line: "F:\Apps\Video tools\MeGUI\tools\x264_10b\avs4x264mod.exe" -L "F:\Apps\Video tools\MeGUI\tools\x264_10b\x264-10b_64.exe" --preset slow --crf 18.5 --keyint 599 --no-mbtree --direct temporal --sar 79:65 --output "G:\Stories.mkv_0.264" "G:\Stories.mkv.avs"
--[Information] [27-Dec-16 15:13:16] Process started
--[Information] [27-Dec-16 15:13:16] Standard output stream
--[Information] [27-Dec-16 15:13:16] Standard error stream
---[Information] [27-Dec-16 15:13:22] raw [info]: 700x420p 79:65 @ 60000/1001 fps (cfr)
---[Information] [27-Dec-16 15:13:22] x264 [info]: using SAR=79/65
---[Information] [27-Dec-16 15:13:22] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
---[Information] [27-Dec-16 15:13:22] x264 [info]: profile High 10, level 3.1, 4:2:0 10-bit
---[Information] [27-Dec-16 16:05:20] x264 [info]: frame I:74 Avg QP:27.22 size: 33980
---[Information] [27-Dec-16 16:05:20] x264 [info]: frame P:16191 Avg QP:28.95 size: 5558
---[Information] [27-Dec-16 16:05:20] x264 [info]: frame B:19396 Avg QP:30.42 size: 1026
---[Information] [27-Dec-16 16:05:20] x264 [info]: consecutive B-frames: 27.1% 0.3% 2.3% 70.3%
---[Information] [27-Dec-16 16:05:20] x264 [info]: mb I I16..4: 12.5% 64.7% 22.8%
---[Information] [27-Dec-16 16:05:20] x264 [info]: mb P I16..4: 0.0% 0.3% 0.1% P16..4: 43.0% 14.2% 14.1% 0.0% 0.0% skip:28.3%
---[Information] [27-Dec-16 16:05:20] x264 [info]: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 38.3% 1.9% 0.4% direct: 0.5% skip:58.8% L0:34.2% L1:56.3% BI: 9.5%
---[Information] [27-Dec-16 16:05:20] x264 [info]: 8x8 transform intra:70.1% inter:77.1%
---[Information] [27-Dec-16 16:05:20] x264 [info]: direct mvs spatial:32.3% temporal:67.7%
---[Information] [27-Dec-16 16:05:20] x264 [info]: coded y,uvDC,uvAC intra: 86.3% 91.2% 70.7% inter: 16.8% 24.3% 2.0%
---[Information] [27-Dec-16 16:05:20] x264 [info]: i16 v,h,dc,p: 81% 4% 6% 10%
---[Information] [27-Dec-16 16:05:20] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 4% 3% 10% 12% 16% 9% 13% 7%
---[Information] [27-Dec-16 16:05:20] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 39% 4% 3% 8% 9% 14% 7% 11% 5%
---[Information] [27-Dec-16 16:05:20] x264 [info]: i8c dc,h,v,p: 23% 17% 42% 18%
---[Information] [27-Dec-16 16:05:20] x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
---[Information] [27-Dec-16 16:05:20] x264 [info]: ref P L0: 79.6% 11.1% 5.2% 2.5% 1.7% 0.0%
---[Information] [27-Dec-16 16:05:20] x264 [info]: ref B L0: 89.3% 9.0% 1.1% 0.5%
---[Information] [27-Dec-16 16:05:20] x264 [info]: ref B L1: 95.4% 4.6%
---[Information] [27-Dec-16 16:05:20] x264 [info]: kb/s:1511.37
---[Information] [27-Dec-16 16:05:20] encoded 35661 frames, 11.43 fps, 1511.37 kb/s
--[Error] [27-Dec-16 16:05:20] Process exits with error: 0xE06D7363 (-529697949)
--[Warning] [27-Dec-16 16:05:20] The 64 bit mode of x264 is enabled. Depending on the error it may help to disable it in the MeGUI settings.
--[Information] [27-Dec-16 16:05:20] Job completed
AVS:
# Set DAR in encoder to 79 : 39. The following line is for automatic signalling
global MeGUI_darx = 79
global MeGUI_dary = 39
SetMTMode(5, 4)
SetMemoryMax(1000)
LoadPlugin("F:\Apps\Video tools\MeGUI\tools\lsmash\LSMASHSource.dll")
LWLibavVideoSource("G:\Films\Stories.mkv")
# ConvertToYV12()
SetMTMode(2)
QTGMC( Preset="Slower" )
#SelectEven() # Add this line to keep original frame rate, leave out for smoother doubled frame rate
crop(10, 30, -10, -30)
#resize
#denoise
MediaInfo:
General
Unique ID : 98275363111946528611605529657693019740 (0x49EF257E7C93264CA7BFA873EB6D9E5C)
Complete name : G:\Films\Stories.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 1.14 GiB
Duration : 41 min 41 s
Overall bit rate mode : Variable
Overall bit rate : 3 921 kb/s
Encoded date : UTC 2016-12-25 21:38:24
Writing application : TMPGEnc MPEG Smart Renderer 5 Version 5.0.7.9
Writing library : TMPGEnc MPEG Smart Renderer 5 Version 5.0.7.9
Video
ID : 1
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : M=3, N=15
Format settings, picture structure : Frame
Codec ID : V_MPEG2
Codec ID/Info : MPEG 1 or 2 Video
Duration : 41 min 41 s
Bit rate mode : Variable
Bit rate : 3 651 kb/s
Maximum bit rate : 7 500 kb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Bottom Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.353
Time code of first frame : 00:00:00:00
Time code source : Group of pictures header
GOP, Open/Closed : Closed
Stream size : 1.06 GiB (93%)
Default : Yes
Forced : No
Color primaries : BT.601 NTSC
Transfer characteristics : BT.601
Matrix coefficients : BT.601
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 41 min 41 s
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 57.2 MiB (5%)
Language : English
Default : Yes
Forced : No
Pulp Catalyst
28th December 2016, 18:43
Hey,
will MeGUI ever support Vapoursynth....i know this would mean virtually a rewrite of the program, but Avisynth seems a redundant method now (multi-threading), i mean it's an obsolete and archaic system (please don't assassinate me for saying that).
But I've seen VapourSynth in action with Staxrip, for multi-threading, it really is incredible and very hands off for. And seems very thread safe compared to Avisynth.
mini-moose
29th December 2016, 21:55
Process exits with error: 0xE06D7363 (-529697949). Something similar occurs with the development version (with the same source file, not all files).
[Error] Log
-[Information] Versions
--[Information] [27-Dec-16 15:11:14] MeGUI: 2624
Not sure if that helps, but isn't version 2624 really old? MeGUI is currently at 2695. Maybe there were fixes for your problem since.
Weirdo
29th December 2016, 22:30
Not sure if that helps, but isn't version 2624 really old? MeGUI is currently at 2695. Maybe there were fixes for your problem since.
Actually, the latest stable version is indeed 2624 but as mentioned I've also tried the development version (currently 2679 I think).
EuropeanMan
3rd January 2017, 21:33
trying to update to 2679 isn't working for me :(
keeps saying CORE: CANNOT CREATE A FILE WHEN THAT FILE ALREADY EXISTS
please help
Zathor
3rd January 2017, 21:48
I do not have this problem, however extract this into your MeGUI directory: http://megui.org/auto/megui-core-2696-32.zip
EuropeanMan
3rd January 2017, 22:15
I somehow managed to scrounge together 2696 onto my laptop...then switched back to stable server...otherwise, it keeps trying to update 5 things which just aren't happening for whatever reason. i THINK the problem is on my laptop, which doesn't allow megui to write over the file...it's a permissions thing I guess??? and i'm not too windows 7 savvy to figure out how to fix that...heck, for the last 4 hours i've been googling on how i could save files onto my desktop...then changing permissions on folders :( currently encoding that small file we talked about on the other thread...almost done.
EuropeanMan
3rd January 2017, 22:49
Megui 2696 and I guess prior versions that I had from 2624 onwards
Yes, it's been more than a year and a half that I hadn't used this program. In the past, build 2525 was the last one I had used on an old laptop, whose HD is now an external HD on my current laptop which is hosting the 2696 build...and on 2525, when you encoded an XVID file, it was two passes/jobs...and it was done.
NOW I realise on both 2624, & 2696, that encoding the same takes 3 jobs??? the last being a muxing job by a process called ffmpeg. This last job I stalled/postponed. So after the first two jobs are complete, I have a file with an extension .m4v
This plays fine in VLC...no problems. In MediaINFO, it doesn't show the bitrate at all
https://i.imgsafe.org/c1aa301fc8.png
Also, I'm unsure as to why it STILL shows the Xvid Writing Library as 67???!!!
here is that file: https://www.sendspace.com/file/84ab3e
Now, once I begin the 3rd job...the MUXING section of the encode, it gets screwed up in playback!!! I'm truly frustrated
https://i.imgsafe.org/c1bc572d93.png
and here's the file: https://www.sendspace.com/file/51xxue
Lastly, it shows the bitrate as 143, when it was preset to 1999!!!
Preliminary log file only. During closing of MeGUI the well formed log file will be written.
-[Information] Versions
--[Information] [03-Jan-17 1:31:33 PM] MeGUI: 2696
--[Information] [03-Jan-17 1:31:33 PM] Operating System: Windows 7 Premium Edition x64 SP1 (6.1.65536.7601)
--[Information] [03-Jan-17 1:31:33 PM] .NET Framework: 4.0 (4.0.0.0)
--[Information] [03-Jan-17 1:31:33 PM] .NET Framework: 4.5.x (4.5.51209)
-[Information] Update detection
--[Information] [03-Jan-17 1:31:34 PM] Using cached update config and server: http://megui.org/auto/
--[Information] [03-Jan-17 1:31:34 PM] AviSynth+: 2.6.0.5 (03-01-2014) (active)
--[Information] [03-Jan-17 1:31:34 PM] AviSynth portable: 2.6.0.6 (21-09-2015) (inactive)
--[Information] [03-Jan-17 1:31:34 PM] AvisynthWrapper: (02-01-2009)
--[Information] [03-Jan-17 1:31:34 PM] Haali Media Splitter: 1.13.138.14 (14-04-2013)
--[Information] [03-Jan-17 1:31:34 PM] Haali DSS2: (14-04-2013)
--[Information] [03-Jan-17 1:31:34 PM] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [03-Jan-17 1:31:34 PM] MediaInfo: 0.7.91.0 (01-12-2016)
--[Information] [03-Jan-17 1:31:34 PM] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [03-Jan-17 1:31:34 PM] There is 1 package which can be updated: MeGUI
--[Information] [03-Jan-17 1:31:34 PM] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [03-Jan-17 1:31:34 PM] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [03-Jan-17 1:31:34 PM] 7z: 9.20 (18-11-2010)
--[Information] [03-Jan-17 1:31:37 PM] There is 1 package which can be updated: MeGUI
-[Information] Log for job1 (video, Master script.avs -> )
--[Information] [03-Jan-17 1:33:57 PM] Started handling job
--[Information] [03-Jan-17 1:33:57 PM] Preprocessing
-[NoImage] avisource("h:\\test.avi")
-[NoImage] #trim(4029,226032)
-[NoImage] trim(6000,7000)
-[NoImage] spline36resize(720,300)
-[NoImage] addborders(0,2,0,2)
-[NoImage] spline36resize(720,304)
-[NoImage] ConvertToYV12()
--[Information] [03-Jan-17 1:33:57 PM] Avisynth input script
--[Information] [03-Jan-17 1:33:58 PM] resolution: 720x304
--[Information] [03-Jan-17 1:33:58 PM] frame rate: 5000000/208333
--[Information] [03-Jan-17 1:33:58 PM] aspect ratio: 45:19 (2.368)
--[Information] [03-Jan-17 1:33:58 PM] Job command line: "C:\Users\Angel\Desktop\one\tools\xvid_encraw\xvid_encraw.exe" -i "C:\Users\Angel\Desktop\Master script.avs" -pass1 "C:\Users\Angel\Desktop\Master script.stats" -bitrate 1999 -turbo -qtype 1 -imin 1 -bmin 1 -pmin 1 -par 1
--[Information] [03-Jan-17 1:33:58 PM] Process started
--[Information] [03-Jan-17 1:33:58 PM] Standard output stream
--[Information] [03-Jan-17 1:33:59 PM] Standard error stream
---[Information] [03-Jan-17 1:34:12 PM] xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert
---[Information] [03-Jan-17 1:36:39 PM] Tot: enctime(ms) =11353.00, length(bytes) = 13723529
---[Information] [03-Jan-17 1:36:39 PM] Trying to retrieve width and height from input header
---[Information] [03-Jan-17 1:36:39 PM] Avg: enctime(ms) = 11.34, fps = 88.17, length(bytes) = 13709
---[Information] [03-Jan-17 1:36:39 PM] xvidcore build version: xvid-1.3.4
---[Information] [03-Jan-17 1:36:39 PM] I frames: 12 frames, size = 41637/ 499644, quants = 2 / 2.00 / 2
---[Information] [03-Jan-17 1:36:39 PM] Bitstream version: 1.3.4
---[Information] [03-Jan-17 1:36:39 PM] P frames: 433 frames, size = 25228/10923946, quants = 2 / 2.00 / 2
---[Information] [03-Jan-17 1:36:39 PM] Detected CPU flags: ASM MMX MMXEXT SSE SSE2 SSE3 3DNOW 3DNOWEXT TSC
---[Information] [03-Jan-17 1:36:39 PM] B frames: 556 frames, size = 4136/2299939, quants = 4 / 4.00 / 4
---[Information] [03-Jan-17 1:36:39 PM] Detected 2 cpus, using 2 threads.
--[Information] [03-Jan-17 1:36:39 PM] Postprocessing
---[Information] [03-Jan-17 1:36:39 PM] Deleting intermediate files
--[Information] [03-Jan-17 1:36:39 PM] Job completed
-[Information] Log for job2 (video, Master script.avs -> Master script.m4v)
--[Information] [03-Jan-17 1:36:40 PM] Started handling job
--[Information] [03-Jan-17 1:36:40 PM] Preprocessing
-[NoImage] avisource("h:\\test.avi")
-[NoImage] #trim(4029,226032)
-[NoImage] trim(6000,7000)
-[NoImage] spline36resize(720,300)
-[NoImage] addborders(0,2,0,2)
-[NoImage] spline36resize(720,304)
-[NoImage] ConvertToYV12()
--[Information] [03-Jan-17 1:36:40 PM] Avisynth input script
--[Information] [03-Jan-17 1:36:42 PM] resolution: 720x304
--[Information] [03-Jan-17 1:36:42 PM] frame rate: 5000000/208333
--[Information] [03-Jan-17 1:36:42 PM] aspect ratio: 45:19 (2.368)
--[Information] [03-Jan-17 1:36:42 PM] Job command line: "C:\Users\Angel\Desktop\one\tools\xvid_encraw\xvid_encraw.exe" -i "C:\Users\Angel\Desktop\Master script.avs" -o "C:\Users\Angel\Desktop\Master script.m4v" -pass2 "C:\Users\Angel\Desktop\Master script.stats" -bitrate 1999 -turbo -qtype 1 -imin 1 -bmin 1 -pmin 1 -par 1
--[Information] [03-Jan-17 1:36:42 PM] Process started
--[Information] [03-Jan-17 1:36:42 PM] Standard output stream
--[Information] [03-Jan-17 1:36:42 PM] Standard error stream
---[Information] [03-Jan-17 1:36:54 PM] xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert
---[Information] [03-Jan-17 1:39:02 PM] Trying to retrieve width and height from input header
---[Information] [03-Jan-17 1:39:02 PM] Tot: enctime(ms) =14496.00, length(bytes) = 10406474
---[Information] [03-Jan-17 1:39:02 PM] xvidcore build version: xvid-1.3.4
---[Information] [03-Jan-17 1:39:02 PM] Avg: enctime(ms) = 14.48, fps = 69.05, length(bytes) = 10396
---[Information] [03-Jan-17 1:39:02 PM] Bitstream version: 1.3.4
---[Information] [03-Jan-17 1:39:02 PM] I frames: 12 frames, size = 37180/ 446166, quants = 2 / 2.33 / 3
---[Information] [03-Jan-17 1:39:02 PM] Detected CPU flags: ASM MMX MMXEXT SSE SSE2 SSE3 3DNOW 3DNOWEXT TSC
---[Information] [03-Jan-17 1:39:02 PM] P frames: 433 frames, size = 18376/7957130, quants = 2 / 2.58 / 3
---[Information] [03-Jan-17 1:39:02 PM] Detected 2 cpus, using 2 threads.
---[Information] [03-Jan-17 1:39:02 PM] B frames: 556 frames, size = 3602/2003178, quants = 4 / 4.34 / 5
--[Information] [03-Jan-17 1:39:09 PM] Final statistics
---[Information] [03-Jan-17 1:39:09 PM] Video Bitrate Desired: 1999 kbit/s
---[Information] [03-Jan-17 1:39:09 PM] Video Bitrate Obtained (approximate): 1996 kbit/s
--[Information] [03-Jan-17 1:39:09 PM] MediaInfo
---[Information] [03-Jan-17 1:39:09 PM] File: C:\Users\Angel\Desktop\Master script.m4v
-[Information] Format: MPEG-4 Visual
-[Information] FormatString: MPEG-4 Visual
-[Information] FileSize: 10406474
-[Information] PlayTime:
---[Information] General
-[Information] ID:
-[Information] StreamOrder:
-[Information] Width: 720
-[Information] Height: 304
-[Information] FrameCount:
-[Information] FrameRate: 24.000
-[Information] FrameRateOriginal:
-[Information] FrameRateMode:
-[Information] ScanType: Progressive
-[Information] Codec: MPEG-4V
-[Information] CodecString: MPEG-4 Visual
-[Information] Bits Depth: 8
-[Information] Format: MPEG-4 Visual
-[Information] AspectRatio: 2.368
-[Information] AspectRatioString: 2.35:1
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Video
--[Information] [03-Jan-17 1:39:11 PM] Postprocessing
-[Information] [03-Jan-17 1:39:11 PM] Successfully deleted C:\Users\Angel\Desktop\Master script.stats
---[Information] [03-Jan-17 1:39:11 PM] Deleting intermediate files
--[Information] [03-Jan-17 1:39:11 PM] Job completed
-[Information] Log for job3 (mux, Master script.m4v -> Master script.avi)
--[Information] [03-Jan-17 1:45:58 PM] Started handling job
--[Information] [03-Jan-17 1:46:03 PM] Preprocessing
--[Information] [03-Jan-17 1:46:03 PM] MediaInfo
---[Information] [03-Jan-17 1:46:03 PM] File: C:\Users\Angel\Desktop\Master script.m4v
-[Information] Format: MPEG-4 Visual
-[Information] FormatString: MPEG-4 Visual
-[Information] FileSize: 10406474
-[Information] PlayTime:
---[Information] General
-[Information] ID:
-[Information] StreamOrder:
-[Information] Width: 720
-[Information] Height: 304
-[Information] FrameCount:
-[Information] FrameRate: 24.000
-[Information] FrameRateOriginal:
-[Information] FrameRateMode:
-[Information] ScanType: Progressive
-[Information] Codec: MPEG-4V
-[Information] CodecString: MPEG-4 Visual
-[Information] Bits Depth: 8
-[Information] Format: MPEG-4 Visual
-[Information] AspectRatio: 2.368
-[Information] AspectRatioString: 2.35:1
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Video
--[Information] [03-Jan-17 1:46:04 PM] Job command line: "C:\Users\Angel\Desktop\one\tools\ffmpeg\ffmpeg.exe" -y -i "C:\Users\Angel\Desktop\Master script.m4v" -vcodec copy -vtag XVID -r 24 "C:\Users\Angel\Desktop\Master script.avi"
--[Information] [03-Jan-17 1:46:06 PM] Process started
--[Information] [03-Jan-17 1:46:06 PM] Standard output stream
--[Information] [03-Jan-17 1:46:06 PM] Standard error stream
---[Information] [03-Jan-17 1:46:06 PM] ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
---[Information] [03-Jan-17 1:46:06 PM] built with gcc 5.4.0 (GCC)
---[Information] [03-Jan-17 1:46:06 PM] configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
---[Information] [03-Jan-17 1:46:06 PM] libavutil 55. 34.100 / 55. 34.100
---[Information] [03-Jan-17 1:46:06 PM] libavcodec 57. 64.101 / 57. 64.101
---[Information] [03-Jan-17 1:46:06 PM] libavformat 57. 56.100 / 57. 56.100
---[Information] [03-Jan-17 1:46:06 PM] libavdevice 57. 1.100 / 57. 1.100
---[Information] [03-Jan-17 1:46:06 PM] libavfilter 6. 65.100 / 6. 65.100
---[Information] [03-Jan-17 1:46:06 PM] libswscale 4. 2.100 / 4. 2.100
---[Information] [03-Jan-17 1:46:06 PM] libswresample 2. 3.100 / 2. 3.100
---[Information] [03-Jan-17 1:46:06 PM] libpostproc 54. 1.100 / 54. 1.100
---[Information] [03-Jan-17 1:46:07 PM] Input #0, m4v, from 'C:\Users\Angel\Desktop\Master script.m4v':
---[Information] [03-Jan-17 1:46:07 PM] Duration: N/A, start: 0.000000, bitrate: N/A
---[Information] [03-Jan-17 1:46:07 PM] Stream #0:0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 720x304 [SAR 1:1 DAR 45:19], 24.01 tbr, 1200k tbn, 24.01 tbc
---[Information] [03-Jan-17 1:46:07 PM] Output #0, avi, to 'C:\Users\Angel\Desktop\Master script.avi':
---[Information] [03-Jan-17 1:46:07 PM] Metadata:
---[Information] [03-Jan-17 1:46:07 PM] ISFT : Lavf57.56.100
---[Information] [03-Jan-17 1:46:07 PM] Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x304 [SAR 1:1 DAR 45:19], q=2-31, 24.01 tbr, 24 tbn, 24 tbc
---[Information] [03-Jan-17 1:46:07 PM] Stream mapping:
---[Information] [03-Jan-17 1:46:07 PM] Stream #0:0 -> #0:0 (copy)
---[Information] [03-Jan-17 1:46:07 PM] Press [q] to stop, [?] for help
---[Information] [03-Jan-17 1:46:07 PM] video:10163kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.286147%
--[Information] [03-Jan-17 1:46:07 PM] MediaInfo
---[Information] [03-Jan-17 1:46:07 PM] File: C:\Users\Angel\Desktop\Master script.avi
-[Information] Format: AVI
-[Information] FormatString: AVI
-[Information] FileSize: 10748446
-[Information] PlayTime: 00:09:42.708
---[Information] General
-[Information] ID: 0
-[Information] StreamOrder: 0
-[Information] Width: 720
-[Information] Height: 304
-[Information] FrameCount: 13985
-[Information] FrameRate: 24.000
-[Information] FrameRateOriginal:
-[Information] FrameRateMode:
-[Information] ScanType: Progressive
-[Information] Codec: XVID
-[Information] CodecString: XviD
-[Information] Bits Depth: 8
-[Information] Format: MPEG-4 Visual
-[Information] AspectRatio: 2.368
-[Information] AspectRatioString: 2.35:1
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Video
--[Information] [03-Jan-17 1:46:08 PM] Postprocessing
-[Information] [03-Jan-17 1:46:08 PM] Successfully deleted C:\Users\Angel\Desktop\Master script.m4v
---[Information] [03-Jan-17 1:46:08 PM] Deleting intermediate files
--[Information] [03-Jan-17 1:46:08 PM] Job completed
PLEASE HELP ME :( THANKS in advance
EuropeanMan
3rd January 2017, 23:17
Since I've figured out on my 64bit Win7 laptop, that the culprit is INDEED the latest ffmpeg tool, I replaced it with the one from my 2525 build, and now the result is perfect.
Can someone please explain WHY this works? Please note, and I don't know if the current ffmpeg is written for a 64bit computer, that the 32bit ffmpeg from the 2525 build works!!!
here is that build: https://www.sendspace.com/file/qyadpm
the version that did NOT work for me: ffmpeg-3.2.2-64.7z
I also still don't know why it states in MediaINFO that the writing library for XviD is still 67
hello_hello
4th January 2017, 03:23
I also still don't know why it states in MediaINFO that the writing library for XviD is still 67
https://forum.doom9.org/showthread.php?p=1791860#post1791860
bxyhxyh
4th January 2017, 08:23
I do rgb encodes with x264. Now I can't do it with megui because of this change and avs4x26x doesn't support rgb.
2681 [x264] removed option to select 32bit x264 on a 64bit OS and merged the 8- and 10-bit packages
Can you restore x264 32bit support back?
Is changelog working with 2696 btw?
LigH
4th January 2017, 08:28
What is an "RGB encode"? Do you create an AviSynth script which outputs RGB24, so that x264 has to convert it to YUV internally to be able to encode it at all?
bxyhxyh
4th January 2017, 08:33
Do you create an Avisynth script which outputs RGB24
Yes.
And with --input-csp rgb --output-csp rgb options, it works without converting it.
But avs4x26x doesn't support it, so it converts it to YUV, makes end result wrong.
With older versions, I just unchecked x64 support. It feeds to x264 32bit directly.
mini-moose
4th January 2017, 10:35
With the current versions, it's only possible to create .d2v using pgcdemux to extract files from a DVD first (when an ifo is present).
I usually extract the vobs myself before (to vob+ifo with only what I needed from the VTS).
I'ts not possible anymore to load the vob I pre-extracted and d2v it. Megui load the ifo and tries to extract a new vobs set even if I selected the vob and not the ifo. That fails with my old routine as the ifo contains all the VTS info but not all its parts.
Zathor
4th January 2017, 17:46
Small update:
2699 [VobSubber] added option to extract forced subtitles in dedicated file(s)
[OneClick] fixed wrong assignment of automatically detected forced IDX/SUB subtitles (regression of 2686)
2696 runtime files will always be copied
Zathor
4th January 2017, 17:50
With the current versions, it's only possible to create .d2v using pgcdemux to extract files from a DVD first (when an ifo is present).
No, pgcdemux will only be used when either a multi-pgc or multi-angle structure is found in the IFO of the corresponding VOB files. This is necessary to avoid a/v/s sync issues or unwanted content.
I usually extract the vobs myself before (to vob+ifo with only what I needed from the VTS).
How do you do that? If you tool also adjusts the IFO file everything is fine, if it is a 1:1 copy (waht I assume based on your description below), it must of course fail.
I'ts not possible anymore to load the vob I pre-extracted and d2v it. Megui load the ifo and tries to extract a new vobs set even if I selected the vob and not the ifo. That fails with my old routine as the ifo contains all the VTS info but not all its parts.
Remove/rename the IFO, then the PGC/Angle (and also language) information is not available anymore - or adjust your ripping process :)
Zathor
4th January 2017, 18:12
Yes.
And with --input-csp rgb --output-csp rgb options, it works without converting it.
But avs4x26x doesn't support it, so it converts it to YUV, makes end result wrong.
With older versions, I just unchecked x64 support. It feeds to x264 32bit directly.
There are at least two options what you can do/try:
- raise a feature request towards avs4x26x to support RGB
- use the MeGUI x64 build (or a 32bit OS) as in that case no avs4x26x is used
I will think about an option to disable all 64 bit packages on 64bit OS with MeGUI 32bit. Only to do that for x264 would make no sense as then once again a special handling for one package only would be added.
hello_hello
4th January 2017, 19:25
No, pgcdemux will only be used when either a multi-pgc or multi-angle structure is found in the IFO of the corresponding VOB files. This is necessary to avoid a/v/s sync issues or unwanted content.
I know very little about the DVD structure but it appears to me pcgdemux is used somewhat more enthusiastically than that. It's definitely being told to extract the video from the vob files in this case.
I ripped the DVD with DVDShrink in Re-Author mode by dragging just the movie title to DVDShrink's left pane and using the backup function. That's how I've being ripping for years.
-[Information] FileIndexer
--[Information] [05/01/17 4:52:59 AM] MediaInfo
---[Information] [05/01/17 4:52:59 AM] File: E:\Test\VTS_01_0.IFO
---[Information] General
----[Information] Format: DVD Video
----[Information] FormatString: DVD Video
----[Information] FileSize: 49152
----[Information] PlayTime: 01:46:35.080
----[Information] PGCCount: 1
----[Information] PGCNumber: 1
---[Information] Video
----[Information] ID: 224
----[Information] StreamOrder:
----[Information] Width: 720
----[Information] Height: 576
----[Information] FrameCount: 159877
----[Information] FrameRate: 25.000
----[Information] FrameRateOriginal:
----[Information] FrameRateMode:
----[Information] ScanType:
----[Information] Codec: MPEG-2V
----[Information] CodecString: MPEG-2 Video
----[Information] Bits Depth:
----[Information] Format: MPEG Video
----[Information] AspectRatio: 1.333
----[Information] AspectRatioString: 4:3
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 128 (0x80)
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode:
----[Information] Delay:
----[Information] Title:
----[Information] Language: en
----[Information] LanguageString: English
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] Log for job33 (ext, VTS_01_0.IFO -> Test_VTS_01_1_1.VOB)
--[Information] [05/01/17 5:07:04 AM] Started handling job
--[Information] [05/01/17 5:07:04 AM] Preprocessing
--[Information] [05/01/17 5:07:04 AM] Job command line: "C:\Program Files\MeGUI\tools\pgcdemux\pgcdemux.exe" -pgc 1 -noaud -nosub -customvob n,v,a,s,l "E:\Test\VTS_01_0.IFO" "D:\Test_VTS_01_1"
--[Information] [05/01/17 5:07:04 AM] Process started
--[Information] [05/01/17 5:07:04 AM] Standard output stream
--[Information] [05/01/17 5:07:04 AM] Standard error stream
--[Information] [05/01/17 5:07:44 AM] VOB file created: D:\Test_VTS_01_1_1.VOB
--[Information] [05/01/17 5:07:44 AM] VOB file created: D:\Test_VTS_01_1_2.VOB
--[Information] [05/01/17 5:07:44 AM] VOB file created: D:\Test_VTS_01_1_3.VOB
If it helps, here's what Handbrake makes of the ripped DVD folder.
[05:09:26] scan: DVD has 1 title(s)
[05:09:26] scan: scanning title 1
[05:09:26] scan: opening IFO for VTS 1
[05:09:26] scan: duration is 01:46:35 (6395080 ms)
[05:09:26] pgc_id: 1, pgn: 1: pgc: 01B03080
[05:09:26] scan: vts=1, ttn=1, cells=0->15, blocks=0->2557729, 2557730 blocks
[05:09:26] scan: checking audio 1
[05:09:26] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[05:09:26] scan: title 1 has 15 chapters
[05:09:26] scan: chap 1 c=0->0, b=0->56977 (56978), 126053 ms
[05:09:26] scan: chap 2 c=1->1, b=56978->223141 (166164), 394188 ms
[05:09:26] scan: chap 3 c=2->2, b=223142->476483 (253342), 595454 ms
[05:09:26] scan: chap 4 c=3->3, b=476484->617464 (140981), 369367 ms
[05:09:26] scan: chap 5 c=4->4, b=617465->766302 (148838), 391367 ms
[05:09:26] scan: chap 6 c=5->5, b=766303->895243 (128941), 338154 ms
[05:09:26] scan: chap 7 c=6->6, b=895244->1135434 (240191), 588251 ms
[05:09:26] scan: chap 8 c=7->7, b=1135435->1322396 (186962), 462197 ms
[05:09:26] scan: chap 9 c=8->9, b=1322397->1526597 (204201), 551455 ms
[05:09:26] scan: chap 10 c=10->10, b=1526598->1787531 (260934), 700298 ms
[05:09:26] scan: chap 11 c=11->11, b=1787532->2026189 (238658), 597455 ms
[05:09:26] scan: chap 12 c=12->12, b=2026190->2224881 (198692), 466208 ms
[05:09:26] scan: chap 13 c=13->13, b=2224882->2259598 (34717), 84035 ms
[05:09:26] scan: chap 14 c=14->14, b=2259599->2542745 (283147), 692295 ms
[05:09:26] scan: chap 15 c=15->15, b=2542746->2557729 (14984), 38296 ms
[05:09:26] scan: aspect = 1.33333
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
ERROR: dvdnav: Can not set dvd menu, No such menu or menu not reachable.
[05:09:26] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
[05:09:26] scan: title angle(s) 1
[05:09:26] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (Dolby Surround)
[05:09:26] libhb: scan thread found 1 valid title(s)
+ title 1:
+ vts 1, ttn 1, cells 0->15 (2557730 blocks)
+ duration: 01:46:35
+ size: 720x576, pixel aspect: 16/15, display aspect: 1.33, 25.000 fps
+ autocrop: 0/0/10/8
+ chapters:
+ 1: cells 0->0, 56978 blocks, duration 00:02:06
+ 2: cells 1->1, 166164 blocks, duration 00:06:34
+ 3: cells 2->2, 253342 blocks, duration 00:09:55
+ 4: cells 3->3, 140981 blocks, duration 00:06:09
+ 5: cells 4->4, 148838 blocks, duration 00:06:31
+ 6: cells 5->5, 128941 blocks, duration 00:05:38
+ 7: cells 6->6, 240191 blocks, duration 00:09:48
+ 8: cells 7->7, 186962 blocks, duration 00:07:42
+ 9: cells 8->9, 204201 blocks, duration 00:09:11
+ 10: cells 10->10, 260934 blocks, duration 00:11:40
+ 11: cells 11->11, 238658 blocks, duration 00:09:57
+ 12: cells 12->12, 198692 blocks, duration 00:07:46
+ 13: cells 13->13, 34717 blocks, duration 00:01:24
+ 14: cells 14->14, 283147 blocks, duration 00:11:32
+ 15: cells 15->15, 14984 blocks, duration 00:00:38
+ audio tracks:
+ 1, English (AC3) (Dolby Surround) (iso639-2: eng), 48000Hz, 448000bps
+ subtitle tracks:
HandBrake has exited.
I let DVDShrink rip the DVD as a single large vob file rather than splitting it. I don't think that makes a difference but I'll try another DVD. The one above didn't have subtitles so I'll rip one that does, then I can return later and complain about the subtitle handling in an accurate way. ;)
Thanks.
Zathor
4th January 2017, 19:58
I know very little about the DVD structure but it appears to me pcgdemux is used somewhat more enthusiastically than that. It's definitely being told to extract the video from the vob files in this case.
Yes, my bad. In the FileIndexer it uses pgcdemux when the pgc count is > 0 (so for all DVD sources - should have been > 1). OneClick does it correct and that is the tool I always use for my use daily use cases so this went unnoticed by me. Thank you very much for pointing this out with the log.
Update will be available shortly (2700 :D)
EDIT: 2700 is online
mini-moose
4th January 2017, 20:10
No, pgcdemux will only be used when either a multi-pgc or multi-angle structure is found in the IFO of the corresponding VOB files. This is necessary to avoid a/v/s sync issues or unwanted content.
A lot of VTS sets have extra 0:00 PGCs in addition to the main feature, e.g:
VTS_01 PGC 01 - 01:32:12.010 - (19 chapters)
VTS_01 PGC 02 - 00:00:00.500 - (1 chapters)
VTS_01 PGC 03 - 00:00:00.500 - (1 chapters)
VTS_01 PGC 04 - 00:00:15.500 - (4 chapters)
last one here has 100ms of what appears to be spanish dub credits. I also do it when there are multiple videos on the same VTS.
I can do the same using pgcdemux, but I'm used to do it on my own I guess :) with the older versions I could just load the vob and index it, now it will load the ifo and try to resplit it.
How do you do that? If you tool also adjusts the IFO file everything is fine, if it is a 1:1 copy (waht I assume based on your description below), it must of course fail.
Good ole dvddecrypter does it for example.
Remove/rename the IFO, then the PGC/Angle (and also language) information is not available anymore - or adjust your ripping process :)
Yeah, I know I can do that though it's a bit of a pain as I still need the ifo for extracting the subs.
I can change my routine but you get used to certain ones.
Zathor
4th January 2017, 20:18
A lot of VTS sets have extra 0:00 PGCs in addition to the main feature, e.g:
VTS_01 PGC 01 - 01:32:12.010 - (19 chapters)
VTS_01 PGC 02 - 00:00:00.500 - (1 chapters)
VTS_01 PGC 03 - 00:00:00.500 - (1 chapters)
VTS_01 PGC 04 - 00:00:15.500 - (4 chapters)
In some cases it may also be the other way around and the main movie is in the middle or end. Also series are often in multi-pgcs on the discs.
Sadly there is no way to detect if the source has already been preprocessed in a not correct way. If it would have been correctly processed the IFO should not contain more than one PGC or only the tracks which are really available in the VOBs.
EDIT: While thinking about it... I may disable the PGC/Angle detection if VOB files > 1024 MB are found. Would that help?
mini-moose
4th January 2017, 20:55
Sadly there is no way to detect if the source has already been preprocessed in a not correct way. If it would have been correctly processed the IFO should not contain more than one PGC or only the tracks which are really available in the VOBs.
Not sure about that. I believe the IFO itself doesn't get re-authored, so it will still have all the PGCs info on it.
The pgcdemux routine doesn't extract an ifo to the working directory so I can't say if pgcedit does it differently.
Part of reason of doing it like I do, is so I can sort it into a working dir/s, and then I can do the indexing and sub extracting all from there. While if I extract it with pgcdemux, I would have to go back to source files to reload the ifo to extract the subs. It can also be a pain if source is on an iso, as the default working path is same as source files.
I've tested with OCE now. It seems to be able to do all those functions at once. But only added the first 2 subs to the mux. I assume it's cause my setup is defaults to English and therefore the English subs were added?
If I want all of them I need to manually add any others. I don't always mux the subs into the container either, and that seems unavoidable with OCE if I want the subs extracted.
EDIT: While thinking about it... I may disable the PGC/Angle detection if VOB files > 1024 MB are found. Would that help?
I suppose it can make it easier for me. I output the vobs to one big file rather than multiple 1024mb files (others might do it differently though). Of course with mutlti angle/video/episodes, they could be under 1024mb too.
Zathor
4th January 2017, 21:02
One-Click encoder seems to be able to do all those functions at once. But only adds the first 2 subs to the mux. If I want all of them I need to manually add any others.
For me it adds all the subs for the languages I have enabled in the OneClick profile. Can you reproduce that and give me more information about your source & OneClick configuration?
I don't always mux the subs into the container either and that seems unavoidable with One-Click.
Maybe I do not get the point, but you can create also a configuration where no subtitle tracks are added at all. Also you can manually remove any subtitles you do not want (right click on the tab header).
mini-moose
4th January 2017, 21:24
For me it adds all the subs for the languages I have enabled in the OneClick profile. Can you reproduce that and give me more information about your source & OneClick configuration?
Maybe I do not get the point, but you can create also a configuration where no subtitle tracks are added at all. Also you can manually remove any subtitles you do not want (right click on the tab header).
Sorry if I'm being confusing. I often post and then edit while you might be looking at the unedited post :s
I've not used OCE for subextracting before so I might need to tweak profiles I did use. I did realize after posting that I can set to none.
The point is, that if I want the subs to be extracted in OCE, I would have to set them to be muxed. So it's either:
1) File indexer (load source ifo-->pgcdemux-->indexing), then go back to source, load ifo again and run vobsubber.
2) Use OCE to do all the above in one go but will have to mux the subs.
2699 [VobSubber] added option to extract forced subtitles in dedicated file(s)
Thanks for that one, Zathor!
hello_hello
4th January 2017, 21:33
When I ripped the folowing DVD a week ago and extracted the subtitles, MeGUI extracted them three times. Today it's only extracting them twice (I guess the subtitle handling has changed a little with version 2699), unless I check the "extract forced subtitles separately" option in Vobsubber, in which case I end up with the same files as before.
Test_VTS_01_1.idx
Test_VTS_01_1.sub
Test_VTS_01_1_0_English.idx
Test_VTS_01_1_0_English.sub
Test_VTS_01_1_forced.idx
Test_VTS_01_1_forced.sub
The first and second pair appear to be identical copies, while the "forced" subtitles are empty ("Test_VTS_01_1_forced.sub" is zero bytes in size). Vobsubber only shows a single subtitle stream. Is extracting it twice necessary and is there a way for MeGUI to check if forced subtitles exist before attempting to extract them?
The next problem is not MeGUI's fault as it happens when I extract the subtitles with vsrip myself, but after extracting them from the extras on the DVD I used for testing, they look like this. I re-authored a single DVD extra with DVDShrink so there's just a couple of ifo files and a vob file in the folder.
https://s27.postimg.org/prv5gta43/subs1.gif
The video itself is less than twelve minutes long. When I convert it to an MKV with Handbrake and get Handbrake to mux the subtitles into an MKV, they look like this after I extract them:
https://s27.postimg.org/mjqo3rnub/subs2.gif
Which is correct. Subtitle Edit also rips them correctly from the ifo file. The only clue I have so far is MPC-HC displays 20 minutes as the duration of the video when opening the ifo or vob file, when it should be about twelve.
MPC-BE and VLC both display the correct duration when opening the ifo file, but they both display a 20 min duration when opening the vob file. Logically it appears the subtitle timing must be stored in two places and in this case one them is wrong, but does anyone know how I can investigate this further, or should I just file it under "one of those things"?
Thanks.
Zathor
4th January 2017, 21:39
When I ripped this DVD a week ago and extracted the subtitles, MeGUI extracted them three times. Today it's only extracting them twice (I guess the subtitle handling has changed a little), unless I check the "extract forced subtitles separately" option in the file indexer, in which case I end up with the following files:
Toast1_VTS_01_1.idx
Toast1_VTS_01_1.sub
Toast1_VTS_01_1_0_English.idx
Toast1_VTS_01_1_0_English.sub
Toast1_VTS_01_1_forced.idx
Toast1_VTS_01_1_forced.sub
The first and second pair appear to be identical copies, while the "forced" subtitles are empty. The file indexer only shows a single subtitle stream but I don't know if extracting them twice is necessary.
MeGUI runs vsrip at maximum twice. Once for the normal extraction and once for the forced subtitle extraction which you now have to enable in VobSubber manually.
As you do not have enabled the "single output file" option, the files Toast1_VTS_01_1.* are not needed. I assume they have not been deleted as you have not enabled the option to remove intermediate files, correct?
There are no forced subtitles in the DVD in question. Is there any way for MeGUI to check if they exist before attempting to extract them?
No, I have to use vsrip for that. Could you please share the files with me so that I can check why they are shown? If they are empty (= no timestamps) MeGUI should delete them.
mini-moose
4th January 2017, 21:54
The next problem is not MeGUI's fault as it happens when I extract the subtitles with vsrip myself, but after extracting subtitles from the extras on the DVD I used for testing they look like this. I re-authored a single DVD extra with DVDShrink so there's just a couple of ifo files and a vob file in the folder.
https://s27.postimg.org/prv5gta43/subs1.gif
You must have not chosen the correct PGC when you ran VSRip on your own. Judging by the 12mins start timecode, it appears you may have used the "play all" pgc, which led to your subs starting in the wrong time.
The video itself is less than twelve minutes long. When I convert it to an MKV with Handbrake and get Handbrake to mux the subtitles into an MKV, they look like this after I extract them:
https://s27.postimg.org/mjqo3rnub/subs2.gif
Which is correct. Subtitle Edit also rips them correctly from the ifo file. The only clue I have so far is MPC-HC displays 20 minutes as the duration of the video when opening the ifo or vob file, when it should be about twelve.
MPC-BE and VLC both display the correct duration when opening the ifo file, but they both display a 20 min duration when opening the vob file. Logically it appears the subtitle timing must be stored in two places and in this case one them is wrong, but does anyone know how I can investigate this further, or should I just file it under "one of those things"?
There might be some 15milisecond chapter at the end of the vob, I'm not entirely sure what those are for but they are very common. They could sometimes cause the video to appear longer than it is.
If you play it though with mpc, what happens after 12mins? does it keep playing or stops?
hello_hello
4th January 2017, 22:03
Zathor, I mentioned this in the text file included with the samples I uploaded here (https://sourceforge.net/p/megui/feature-requests/596/) for you, but in case you didn't get to that yet.....
I extract the audio from this MKV:
General
Unique ID : 207719713466905909570113506023949172250 (0x9C455C9329FE9F47B982E81989237E1A)
Complete name : E:\test.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 550 MiB
Duration : 45 min
Overall bit rate : 1 703 kb/s
Encoded date : UTC 2017-01-01 20:17:11
Writing application : mkvmerge v9.7.1 ('Pandemonium') 32bit
Writing library : libebml v1.3.4 + libmatroska v1.4.5
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 9 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 45 min
Bit rate : 1 254 kb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.151
Stream size : 394 MiB (72%)
Writing library : x264 core 104 r1681 84a051f
Encoding settings : cabac=1 / ref=9 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=64 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=9 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=1254 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.601 NTSC
Transfer characteristics : BT.709
Matrix coefficients : BT.601
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 45 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Compression mode : Lossy
Stream size : 145 MiB (26%)
Language : English
Default : Yes
Forced : No
Text
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English
Default : No
Forced : No
MeGUI gives it the following file name:
Test - [0] English.ac3
Is the number in the name [0] supposed to indicate the number of the audio stream in the MKV?
When I extract audio from an MKV with 2 audio streams, the file indexer shows them as stream numbers 2 and 3, but they're extracted as streams 0 and 1. Is that expected behaviour?
Cheers.
hello_hello
4th January 2017, 22:15
You must have not chosen the correct PGC when you ran VSRip on your own. Judging by the 12mins start timecode, it appears you may have used the "play all" pgc, which led to your subs starting in the wrong time.
After I re-authored with DVDShrink there was definitely only one PGC.
There might be some 15milisecond chapter at the end of the vob, I'm not entirely sure what those are for but they are very common. They could sometimes cause the video to appear longer than it is.
If you play it though with mpc, what happens after 12mins? does it keep playing or stops?
The video is exactly 12 minutes and 13 seconds long (I opened it with DGIndex to check) and the last chapter is at 00:12:12.520. Aside from being annoying, that's not caused a playback problem before.
When playing the vob file with MPC-HC it jumps straight from 12 minutes 13 seconds to the "end" at about the 20 minute mark.
Zathor
4th January 2017, 22:19
The point is, that if I want the subs to be extracted in OCE, I would have to set them to be muxed. So it's either:
1) File indexer (load source ifo-->pgcdemux-->indexing), then go back to source, load ifo again and run vobsubber.
2) Use OCE to do all the above in one go but will have to mux the subs.
Sorry, I still do not get it :confused: Why do you have to mux the subtitles manually in 2)? They will be automatically muxed by OCE into the output file. Please explain in more detail what 2) is about.
MeGUI gives it the following file name:
Test - [0] English.ac3
Is the number in the name [0] supposed to indicate the number of the audio stream in the MKV?
When I extract audio from an MKV with 2 audio streams, the file indexer shows them as stream numbers 2 and 3, but they're extracted as streams 0 and 1. Is that expected behaviour?
[0] is the track number. Depending on the tool it may be the overall track number (then usually video comes first, then audio then subtitles) or the number of the individual type only (e.g. audio) - also it can happen that the index starts at 0 or 1.
So yes, this is expected and should not cause any issues.
Zathor
4th January 2017, 22:21
After I re-authored with DVDShrink there was definitely only one PGC.
Out of interest could you try it please directly with the DVD source (not shrinked, remuxed, stripped, ...)? I would like to know if then the same (wrong) timestamps will appear.
mini-moose
4th January 2017, 22:23
The video is exactly 12 minutes and 13 seconds long (I opened it with DGIndex to check) and the last chapter is at 00:12:12.520. Aside from being annoying, that's not caused a playback problem before.
When playing the vob file with MPC-HC it jumps straight from 12 minutes 13 seconds to the "end" at about the 20 minute mark.
Best bet would be what I mentioned about the extra chapter at the end. Looks like this:
https://s24.postimg.org/e8929lac5/cell.png
mini-moose
4th January 2017, 22:34
Sorry, I still do not get it :confused: Why do you have to mux the subtitles manually in 2)? They will be automatically muxed by OCE into the output file. Please explain in more detail what 2) is about.
I don't want to mux them (at least not always).
What I meant is if I want to do the indexing and subextracting in one go, I could then use OCE, but in order to extract them with it, they must be set to be muxed.
Many thanks for your patience. I'm just used to my old routine. It's possible I'm the only one bothered with those changes.
hello_hello
4th January 2017, 22:42
As you do not have enabled the "single output file" option, the files Toast1_VTS_01_1.* are not needed. I assume they have not been deleted as you have not enabled the option to remove intermediate files, correct?
Yes, the option is disabled. It's not possible to extract them with the correct name in the first place and avoid the intermediate copy? It's no big deal. I just wondered why it was happening.
No, I have to use vsrip for that. Could you please share the files with me so that I can check why they are shown? If they are empty (= no timestamps) MeGUI should delete them.
I'll have to do it a bit later (the real world calls) but did you want the extracted idx/sub files or the original ifo/vob files?
They certainly appear to be empty. I opened the extracted idx file with subresync and it didn't display anything. When I open the original ifo/vob files with Subtitle Edit, the option to only show forced subtitles is unavailable, so it doesn't think there are any.
Actually, looking at the log file again, MeGUI agrees, but they're not being deleted. Are the empty forced subtitles counted as intermediate files?
-[Information] Log for job33 (sub, VTS_01_0.IFO -> Test2_VTS_01_1.idx)
--[Information] [05/01/17 8:38:45 AM] Started handling job
--[Information] [05/01/17 8:38:45 AM] Preprocessing
--[Information] [05/01/17 8:38:45 AM] VobSub configuration file
---[NoImage] E:\Test2\VTS_01_0.IFO
---[NoImage] D:\Test2_VTS_01_1
---[NoImage] 1
---[NoImage] 1
---[NoImage] 0
---[NoImage] RESETTIME
---[NoImage] CLOSEIGNOREERRORS
---[NoImage] CLOSE
--[Information] [05/01/17 8:38:45 AM] Job command line: "C:\Program Files\MeGUI\tools\vsrip\vsrip.exe" "D:\Test2_VTS_01_1.vobsub"
--[Information] [05/01/17 8:38:45 AM] Process started
--[Information] [05/01/17 8:38:45 AM] Standard output stream
--[Information] [05/01/17 8:38:45 AM] Standard error stream
--[Information] [05/01/17 8:38:50 AM] Subtitle file created: Test2_VTS_01_1_0_English.sub
--[Information] [05/01/17 8:38:50 AM] VobSub configuration file
---[NoImage] E:\Test2\VTS_01_0.IFO
---[NoImage] D:\Test2_VTS_01_1_forced
---[NoImage] 1
---[NoImage] 1
---[NoImage] 0
---[NoImage] FORCEDONLY
---[NoImage] RESETTIME
---[NoImage] CLOSEIGNOREERRORS
---[NoImage] CLOSE
--[Information] [05/01/17 8:38:50 AM] Job command line: "C:\Program Files\MeGUI\tools\vsrip\vsrip.exe" "D:\Test2_VTS_01_1.vobsub"
--[Information] [05/01/17 8:38:50 AM] Process started
--[Information] [05/01/17 8:38:50 AM] Standard output stream
--[Information] [05/01/17 8:38:50 AM] Standard error stream
--[Information] [05/01/17 8:38:54 AM] no forced subtitles found
--[Information] [05/01/17 8:38:54 AM] MediaInfo
---[Information] [05/01/17 8:38:54 AM] File: D:\Test2_VTS_01_1.idx
---[Information] General
----[Information] Format:
----[Information] FormatString:
----[Information] FileSize: 13719
----[Information] PlayTime:
--[Information] [05/01/17 8:38:55 AM] Postprocessing
--[Information] [05/01/17 8:38:55 AM] Job completed
mini-moose
4th January 2017, 22:56
Yes, the option is disabled. It's not possible to extract them with the correct name in the first place and avoid the intermediate copy?
I don't love deleting working files either, as I believe this also deletes video-only encoded files (the video.mkv/mp4 that was encoded and then muxed). Sometimes one would want to remux for some reason but files are gone.
They certainly appear to be empty. I opened the extracted idx file with subresync and it didn't display anything. When I open the original ifo/vob files with Subtitle Edit, the option to only show forced subtitles is unavailable, so it doesn't think there are any.
Actually, looking at the log file again, MeGUI agrees, but they're not being deleted. Are the empty forced subtitles counted as intermediate files?
Empty subs are deleted for me.
Keep in mind that Forced subs could be for any of the languages. It might appear empty when you view the first stream on idx, but there could be forced for another language.
Zetti
4th January 2017, 23:28
FLAC v1.3.2 is released.
https://xiph.org/flac/changelog.html
hello_hello
4th January 2017, 23:33
Out of interest could you try it please directly with the DVD source (not shrinked, remuxed, stripped, ...)? I would like to know if then the same (wrong) timestamps will appear.
This is where my understand of the DVD structure is lacking. In re-author mode DVDShrink just displays title numbers, as does MPC-HC when View/Information is enabled. That's how I know which titles to re-author, by playing each episode with MPC-HC and noting the title numbers. How does everybody else do it, if they want to rip just a single episode, for example?
Anyway, I was able to find the correct PCG due to it's duration (DVDShrink and MPC-HC display it as Title 27). I ripped the subtitles directly from the disc with MeGUI, Unfortunately the timings were still wrong, but it must be something peculiar to this DVD. I don't think I've ever had this problem before.
https://s30.postimg.org/m9ds2j0bl/PCG9.gif
https://s30.postimg.org/nzwt40hup/PCG9b.gif
mini-moose
5th January 2017, 11:55
Zathor, I'm trying File Indexer with pgcdemux now.
Couple of questions:
1) It doesn't extract the chapters (another thing I always do with pre-extracting vobs on my own). The chapters are extracted on OCE though.
2) There is an option with DGIndex to choose which audios to keep, but it's greyed out (I think it's been like that for a long time?) :
https://s23.postimg.org/899ffb20b/pgc.png
OCE and subs:
You said I can add edit a profile to include more/all subs.
From what I can see, if I want to include all subs I need to add all the languages on the langs menu?
hello_hello
6th January 2017, 22:33
Zathor, I'm trying File Indexer with pgcdemux now.
Couple of questions:
1) It doesn't extract the chapters (another thing I always do with pre-extracting vobs on my own). The chapters are extracted on OCE though.
Yes, now the File Indexer is PGC aware, it'd be nice if it could be configured to extract all the required streams. Although as it uses DGIndex to extract the audio and index, I don't know how hard it'd be to implement.
2) There is an option with DGIndex to choose which audios to keep, but it's greyed out (I think it's been like that for a long time?) :
It's been greyed out for quite a while. I've wondered about that myself, but because I only ever keep the required audio streams when ripping/re-authoring, I generally don't need to select specific ones, so I've kept forgetting to mention it.
Zathor
8th January 2017, 11:58
FLAC v1.3.2 is released.
Thanks, uploaded
What I meant is if I want to do the indexing and subextracting in one go, I could then use OCE, but in order to extract them with it, they must be set to be muxed.
Ah, so you area searching for a way to only extract with OCE. Yes, this is not directly possible. As you mentioned you have to create a profile where video encoding is disabled & all audio processing is set to "never encode". That way everything will be extracted and muxed again - if you do not run the mux steps you have your extracted files.
Yes, the option is disabled. It's not possible to extract them with the correct name in the first place and avoid the intermediate copy?
If you have selected to use independent files for each track: no
I'll have to do it a bit later (the real world calls) but did you want the extracted idx/sub files or the original ifo/vob files? They certainly appear to be empty. I opened the extracted idx file with subresync and it didn't display anything. When I open the original ifo/vob files with Subtitle Edit, the option to only show forced subtitles is unavailable, so it doesn't think there are any. Actually, looking at the log file again, MeGUI agrees, but they're not being deleted. Are the empty forced subtitles counted as intermediate files?
Correct, so I do not need the files anymore.
I'm trying File Indexer with pgcdemux now.
1) It doesn't extract the chapters (another thing I always do with pre-extracting vobs on my own). The chapters are extracted on OCE though.
Correct, you have to use either OCE or the ChapterCreator for that. The FileIndexer is not a "demux everything tool".
2) There is an option with DGIndex to choose which audios to keep, but it's greyed out (I think it's been like that for a long time?) :
Thanks, was a regression of a recent change. Will be changed in 2701.
OCE and subs:
You said I can add edit a profile to include more/all subs.
From what I can see, if I want to include all subs I need to add all the languages on the langs menu?
Yes, or no selection at all (no entry, no even [none]) and then the option "languages to select if selection does not match" to all. But yes, an [all] option would make more sense.
mini-moose
8th January 2017, 14:54
Ah, so you area searching for a way to only extract with OCE. Yes, this is not directly possible. As you mentioned you have to create a profile where video encoding is disabled & all audio processing is set to "never encode". That way everything will be extracted and muxed again - if you do not run the mux steps you have your extracted files.
Exactly.
Tried OCE with encode phases disabled. Sadly, it won't work for what I wanted.
nandoom
9th January 2017, 04:43
I wonder if a thumbnail/screenshot creation tool ( configurable ) could be integrated in MeGUI. It would be a nice feature to have :)
Thanks
hello_hello
15th January 2017, 07:42
Is anyone here using MeGUI for 2 pass x264 encoding on a 64bit Windows?
There's a log file attached to a post at VideoHelp here (http://forum.videohelp.com/threads/382119-MeGUI-Only-Running-First-Pass?p=2473967&viewfull=1#post2473967) which seems to indicate the command line is broken. If you're around Zathor, could you please take a quick look?
Thanks.
Zathor
15th January 2017, 12:19
Is anyone here using MeGUI for 2 pass x264 encoding on a 64bit Windows?
There's a log file attached to a post at VideoHelp here (http://forum.videohelp.com/threads/382119-MeGUI-Only-Running-First-Pass?p=2473967&viewfull=1#post2473967) which seems to indicate the command line is broken. If you're around Zathor, could you please take a quick look?
It does work for me.
Sadly the person there does not post a full log including the versions stuff. Also it seems to me that the first pass for him/her fails with
---[Error] [15/01/2017 7:47:47 AM] x264 [error]: can't parse qpfile for frame 0
Therefore the first pass is detected as with errors and the second job wont start. See here for a potential solution:
https://forum.doom9.org/showthread.php?t=167736
Zathor
15th January 2017, 16:02
2702 [x265] added the cutree file to the intermediate file set. Bug #869
2701 [FileIndexer] fixed unable to select specific audio tracks to be demuxed from a DVD source with DG Indexer (regression of 2668)
hello_hello
17th January 2017, 19:52
Sadly the person there does not post a full log including the versions stuff. Also it seems to me that the first pass for him/her fails with
---[Error] [15/01/2017 7:47:47 AM] x264 [error]: can't parse qpfile for frame 0
Therefore the first pass is detected as with errors and the second job wont start. See here for a potential solution:
https://forum.doom9.org/showthread.php?t=167736
Yeah it turned out to be caused by the qpfile error. I thought the first pass had run though and there was a problem with the second pass and it didn't appear to be related to the qpfile problem. I guess I was wrong about that.
Thanks.
kuchikirukia
23rd January 2017, 13:58
Taking a look at the "Add pre-rendering job", it looks like ffmpeg is running the huffyuv encode in the same thread as Avisynth. (opening in process explorer, I don't see anything that looks like a separate thread.) Since Avisynth is single-thread limited, can the encode be split out into its own thread?
LigH
23rd January 2017, 14:04
Only if ffmpeg can create separate threads for reading the input and encoding it. AviSynth will then be used by ffmpeg, not by MeGUI.
The ffmpeg option "-threads auto" should enable multithreading in general.
kuchikirukia
23rd January 2017, 14:51
Only if ffmpeg can create separate threads for reading the input and encoding it. AviSynth will then be used by ffmpeg, not by MeGUI.
The ffmpeg option "-threads auto" should enable multithreading in general.
Just looked at the command line and it's set to -threads 0, which I take it should do it. So I guess it's unsupported?
[Information] [1/23/2017 1:02:48 AM] Job command line: "C:\Users\Documents\MeGUI\tools\ffmpeg\ffmpeg.exe" -y -i "C:\Users\Documents\4.avs" -c:v ffvhuff -threads 0 -sn -an -context 1 -vstrict -2 -pred 2 "C:\Users\Documents\hfyu_4.avi"
I guess I'll be running some test later to see if lossless x264 works better.
kalehrl
6th February 2017, 19:29
Has anyone noticed that MeGUI has become slower when creating and saving avisynth scripts?
There is a delay of 6, 7 seconds during which time MeGUI becomes unresponsive and you can't click any button.
Taurus
6th February 2017, 20:40
Has anyone noticed that MeGUI has become slower when creating and saving avisynth scripts?
There is a delay of 6, 7 seconds during which time MeGUI becomes unresponsive and you can't click any button.
No!:o
Just out of curiosity:
Which indexer did you use?
Tried all available, just the normal pause at the indexing stage.
Avisource, directshowsource and dss2 should load almost instantly.
hello_hello
6th February 2017, 20:41
Has anyone noticed that MeGUI has become slower when creating and saving avisynth scripts?
There is a delay of 6, 7 seconds during which time MeGUI becomes unresponsive and you can't click any button.
Yeah.... if you're referring to loading them into the video section and adding them to the job queue. At one stage Zathor removed some of the checking MeGUI does (I believe) and it became faster, but for some reason it appears to be getting progressively slower again, especially when there's slow filtering such as QTGMC in a script, and for whatever reason it seems to be slower when L-Smash is used for indexing than when ffms2 is used, which is kind of annoying given ffms2 and the script creator don't play nice together. Six or seven seconds is probably longer then the delay I experience, but it'd be several seconds.... however many that is. ;)
A couple of times I've loaded a script into the video section and clicked the Queue button before MeGUI had finished whatever checking it does, and ended up with the previous script added to the job queue only with the name of the current script as the output file.... or something like that.... but I learned to be a bit more patient after that did my head in.
LigH
6th February 2017, 20:49
The index files are in different formats, I believe (one binary, one in plain text), thus have different sizes. Also don't forget, one of them may only index audio streams when audio is indexed first, the other instead may always; but I can't keep in mind which does what.
hello_hello
6th February 2017, 22:24
MeGUI tells ffms2 to only index the video when there's no audio selected in the file indexer or when the audio is being extracted. L-Smash has no such option and always indexes each stream.
LouieChuckyMerry
7th February 2017, 04:10
A couple of times I've loaded a script into the video section and clicked the Queue button before MeGUI had finished whatever checking it does, and ended up with the previous script added to the job queue only with the name of the current script as the output file.... or something like that.... but I learned to be a bit more patient after that did my head in.
The same type of thing has happened to me in the past, so I was forced to learn (at least a bit of) patience. Thanks MeGUI!
kalehrl
7th February 2017, 14:09
The biggest "freezes" are when saving avisynth scripts and queueing video files to be encoded.
StainlessS
7th February 2017, 14:31
So long as AVS files exist, and nothing special is required in MeGUI, could try MeGUI AutoEncode Batcher,
just select a bunch of existing avs in FileSelector, click OK button and go to the pub, no patience required (unless you order Guiness).
here:- https://forum.doom9.org/showthread.php?t=163343&highlight=Megui+autoencode+Batcher
EDIT: In avs scripts, can use eg RT_Stats RT_SignalDar(4.0/3.0) or RT_SignalDar2(16,9) to auto set
Display aspect Ratio in avs and pass it on to MeGUI without having to set manually in MeGUI.
EDIT: From RT_Stats Docs
RT_SignalDAR2(int darx,int dary)
As for RT_SignalDAR() except it allows setting of numerator and denominator individually.
Signal DAR to MEGUI. Sets Global vars MeGUI_darX and MeGUI_darY which are read during MEGUI loading of AVS file.
Zathor
7th February 2017, 22:59
MeGUI has to check the AVS file and has therefore to open it in several internal steps. If you have a script which need a long time for that, you will have those delays.
kalehrl
8th February 2017, 09:05
There aren't any heavy filters, just source, resize, minimal noise denoise.
I remember MeGUI being faster in the recent past.
LigH
8th February 2017, 10:11
Well possible that MeGUI now ships more (and more complex) plugins which are scanned for functions each time a script is opened (and if your AV guard is active, it may scan their DLLs as well)...
hello_hello
8th February 2017, 10:42
(MeGUI 2702)
I disabled my Avisynth auto-loading plugin folder and indexed a 720p video twice (1280x536). Nothing fancy. Something I encoded myself with the x264 Slow preset and Tune Film.
Script one:
LoadPlugin("C:\Program Files\MeGUI\tools\lsmash\LSMASHSource.dll")
LWLibavVideoSource("D:\Video.mkv.lwi")
Script two:
LoadPlugin("C:\Program Files\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("E:\video.mkv", cachefile="D:\video.mkv.ffindex", fpsnum=24000, fpsden=1001, threads=1)
I didn't time it exactly..... 1 Mississippi, 2 Mississippi..... but the first script takes around three seconds to load into the video section (preview disabled) and it's repeatable. That's the time from double clicking on the script after opening the "Open Avisynth Script" window, to the cursor changing from busy back to a pointy thing. During that time Task Manager said MeGUI's memory usage went from just under 50000k to about 75000k and back (I'd been running some encodes, but they'd finished). CPU usage hits 25%, so I guess that's a single core of my old Q9450 working hard.
Script 2 takes CPU usage to 6%, if memory usage increases it decreases again too quickly for the human eye, and it loads too fast for me to time.
So at least I wasn't imagining the L-Smash thing, which gets noticeably worse with fancy Avisynth filtering, but maybe someone else who isn't running XP and the last XP friendly version of L-Smash can try the same thing to see if the result is similar. If it is, I don't know if MeGUI or L-Smash would be to blame. I'd assume the latter, but what do I know....
Edit: I enabled the auto preview when loading scripts and tried again. Around 5 seconds for the preview to display after loading the first script, and something approaching one second for the second script.
And one last look-see, a quick encode of the first 10000 frames using each script.
Script 1:
[Information] [08/02/17 9:02:13 PM] encoded 10000 frames, 40.57 fps, 1934.23 kb/s
Script 2:
[Information] [08/02/17 9:07:29 PM] encoded 10000 frames, 41.01 fps, 1934.23 kb/s
So it's possibly not a decoding speed issue, although I think it is time for a faster computer. Hurry up AMD, I want to see what Zen is like first.
Zathor
9th February 2017, 22:43
Do you have the same loading times with these scripts in e.g. VirtualDub?
hello_hello
10th February 2017, 15:26
I can't check that properly today as I'm in the middle of a run of encodes, but I'll test and report back tomorrow(ish),
hello_hello
12th February 2017, 14:16
Do you have the same loading times with these scripts in e.g. VirtualDub?
I guess nobody wants to test a newer L-Smash, but yes..... it's slower loading a script using LWLibavVideoSource with VirtualDub than with FFVideoSource. Maybe not quite as much difference in speed, but I assume VirtualDub doesn't have any checking to do.
nandoom
12th February 2017, 19:56
Forgive me if this has been answered before. I wonder if it is possible to add AvsP plugin in MeGUI so one can able to edit an avs? I think this will be an awesome addition.
Thanks
hello_hello
13th February 2017, 21:50
Forgive me if this has been answered before. I wonder if it is possible to add AvsP plugin in MeGUI so one can able to edit an avs? I think this will be an awesome addition.
What about copying and pasting the script into MeGUI's script creator?
You'll have to specify the input video first, but you can use Lsmash and DGindex index files for the input video, or ffms2 index files if they're in the same folder as the source, so you don't have to index again, and once the video has opened you can copy and paste the rest of the script into the script creator to edit it.
Another method is to load the script into the video section and open the preview. Edit the script with Notepad, save the changes, and click the reload button at the bottom of the preview window to see them. You can keep Notepad and the preview open as you do it. No need to close either till you're done.
nandoom
14th February 2017, 23:01
Yes, those are the ways that I know to edit an avs file. However it requires you to manually edit ( not bad thing at all ) and you got to know the right text for any new arguments you might want to add. The script creator doesn't populate the script parameters in the respective tabs after pasting the script. The AvsP offers more controls, options, tools. So I just thought the AvsP integration would be an awesome feature to add on. I understand that it's easier to say than done. Of course, the developers would better and would know the feasibility of the integration. So I thought to ask away.
StainlessS
18th February 2017, 10:46
Display Aspect Ratio bug.
Avisource("Test.avi")
Trim(1000,-200)
BilinearResize(720,480)
MeGUI_darX = 16 MeGUI_darY = 9
return last
MeGUI Development Output file DAR 16:10 (ERROR)
MeGUI Stable Output file DAR 16:9
Logs + MediaInfo for both:- http://www.mediafire.com/file/8fipgotylx1mp8w/MeGUI_DAR_Error.zip
EDIT: Both versions MeGUI current.
EDIT:
[Information] Log
...
----[Information] Format: AVS
----[Information] AspectRatio: 16:9
----[Information] AspectRatioString:
...
-[Information] Log for job2 (video, _TEST.avs -> _TEST-Video.264)
--[Information] [18/02/2017 09:32:02] Started handling job
--[Information] [18/02/2017 09:32:02] Preprocessing
--[Information] [18/02/2017 09:32:02] Avisynth input script
---[NoImage] Avisource("Test.avi")
---[NoImage] Trim(1000,-200)
---[NoImage] BilinearResize(720,480)
---[NoImage] MeGUI_darX = 16 MeGUI_darY = 9
---[NoImage] return last
--[Information] [18/02/2017 09:32:03] resolution: 720x480
--[Information] [18/02/2017 09:32:03] frame rate: 24/1
--[Information] [18/02/2017 09:32:03] aspect ratio: 16:9 (1.778)
--[Information] [18/02/2017 09:32:03] Job command line: "C:\NON-INSTALL\MeGUI\tools\x264\x264.exe" --profile main --preset fast
\ --crf 21.5 --keyint 240 --qpmin 10 --qpmax 51 --sar 16:15 --output "C:\Z\_TEST-Video.264" "D:\_TEST.avs"
--[Information] [18/02/2017 09:32:03] Process started
--[Information] [18/02/2017 09:32:03] Standard output stream
--[Information] [18/02/2017 09:32:03] Standard error stream
---[Information] [18/02/2017 09:32:04] avs [info]: 720x480p 16:15 @ 24/1 fps (cfr)
---[Information] [18/02/2017 09:32:04] x264 [info]: using SAR=16/15
...
----[Information] Width: 720
----[Information] Height: 480
----[Information] FrameCount: 200
----[Information] FrameRate: 24.000
----[Information] FrameRateOriginal:
----[Information] FrameRateMode:
----[Information] ScanType: Progressive
----[Information] Codec: AVC
----[Information] CodecString: AVC
----[Information] Bits Depth: 8
----[Information] Format: AVC
----[Information] AspectRatio: 1.600
----[Information] AspectRatioString: 16:10
----[Information] Delay:
EDIT: Can someone else reproduce and verify above results. (should get same with ColorBars.ConvertToYV12.BilinearResize etc).
EDIT: Eg
Global MeGUI_darX = 16 Global MeGUI_darY = 9
return ColorBars(Pixel_Type="YV12",Width=720,height=480).Trim(0,-200)
Should have set the MeGUI_darX and MeGUI_darY as Globals, but makes no difference to ERROR results.
Zathor
20th February 2017, 22:17
Thanks for the report, StainlessS. It should be fixed:
2706 [x264] fixed wrong SAR values in some cases (regression of 2683)
[x265] added 16:15 to the predefined --sar values
2705 [HD Streams Extractor] improved input/output folder selection
2704 [ChapterCreator] removed an internal md5 hash function to be FIPS compliant. #Bug 873
hello_hello
26th February 2017, 19:18
MeGUI 2706 is still displaying incorrect resizing in the script creator when anamorphic encoding is enabled.
- Open a 4:3 PAL DVD, Input DAR 4:3.
- Without cropping or resizing enabled, the resize section displays 720x576.
- Enable cropping and crop 20 pixels from both left and right, and 16 pixels from both top and bottom.
- The remaining video is 680x544
- Enable anamorphic encoding, and select "encode non-mod16" (silly name). The resizing now displays 640x512. It's not being added to the script incorrectly though.
- The "resize to selected mod" option at least lets you resize it back to 680x544, and the resizing doesn't change to red until it exceeds 680x544, so that's okay.
Oddly, if the "resize to selected mod" option is selected, and you switch to "encode non-mod16", the width in the resizing field very briefly displays 680, before it changes back to 640 again.
Sharc
26th February 2017, 20:09
Never mind, I am just occasionally asking myself: Is it really more difficult to understand resizing basics and do the resizing manually, writing your own simple script, or try to understand, hangle through and trust all the tickboxes, tabs, options and windows of advanced GUIs ..... rant closed :devil:
hello_hello
27th February 2017, 16:42
Never mind, I am just occasionally asking myself: Is it really more difficult to understand resizing basics and do the resizing manually, writing your own simple script, or try to understand, hangle through and trust all the tickboxes, tabs, options and windows of advanced GUIs ..... rant closed :devil:
I find it is, especially if you're encoding a bunch of related videos with different cropping required, but you want them all cropped neatly and resized to the same resolution and/or aspect ratio.
Often I'll crop a section of a video differently, and the aspect error calculator makes it easy to crop cleanly and resize to the same resolution as the rest of the video.
Plus.... for an anamorphic output, even if you don't resize, if you want exactly 4:3 or 16:9 you can switch to square pixel resizing, crop and resize to exactly 4:3 or 16:9, then switch to anamorphic encoding and you'll know the cropping is correct to still give you a 4:3 or 16:9 output. Saves having to do pixel aspect ratio calculations.
It's also easy to create custom input display aspect ratios and when you change the input DAR, all the usual calculations are based on that.
Having said all that, I recently created an Avisynth script function (my first) for auto-cropping and resizing based on the cleverness AutoGK was endowed with, only allowing full user control over the output aspect ratio. It not overly complicated and seems to work as intended so far.
CropResize Script (http://forum.videohelp.com/threads/382601-CropResize-Script)
MeGUI's cropping and resizing is working fine, but for some reason when resizing is disabled it displays an incorrect post cropping resolution in the resize fields when anamorphic encoding without resizing is enabled.
hello_hello
27th February 2017, 17:28
Someone found a bug in the latest flac. https://sourceforge.net/p/flac/bugs/453/
In case it'd be an idea to update MeGUI's version, there's a patch on the above sourceforge page, or there's a patched exe in the Foobar2000 Encoder Pack 2017-02-13.
http://www.foobar2000.org/encoderpack
hello_hello
6th March 2017, 06:12
There appears to be an odd encoding speed bug when encoding audio with the FDKAAC encoder. I haven't been able to find the cause as yet, but the details are in the post linked to below. I strongly suspect it's something to do with the encoder not handling 32 bit input well. So far, if I add ConvertAudioTo32bit() to the script and open it with foobar2000, FDKAAC encoding speed drops dramatically, but QAAC still encodes at the normal speed.
I'm not sure if the same applies to 32 bit float though because the foobar2000 AVS input plugin doesn't seem to accept it, but if I remember correctly, FDKAAC downsamples to 16 bit before encoding, in which case it'd probably be an idea to convert the audio to 16 bit for FDKAAC encoding anyway.
https://forum.doom9.org/showthread.php?p=1799699#post1799699
dissory
10th March 2017, 23:21
I've been using MeGUI and found the one-click profile really helpful. One thing I noticed was that when transcoding audio e.g. FLAC -> AAC within video files, it doesn't retain attributes such as audio title name or language in the new video file with the transcoded audio. I'm not sure if the same happens with video but it does with audio.
Is it possible to make it so the attributes/metadata of the original audio stream are also transferred to the transcoded stream?
stax76
11th March 2017, 12:11
This could be interesting: https://youtu.be/AEFQL1LM-wI?t=156
Zathor
13th March 2017, 11:50
This could be interesting: https://youtu.be/AEFQL1LM-wI?t=156
Not sure if this will work with .NET 4.0
In any case I have now installed VS 2017 and will play a bit with it. First build based on 2017 is online:
2707 [Update] x86: added option to use x86 tools on a x64 system
This will also be the next "stable" build if no (major) issues arise.
stax76
13th March 2017, 12:40
Not sure if this will work with .NET 4.0
I think there is a small chance that it will work with 4.0. So far I've not found more details about it, he mentioned it requires the next Windows point release, as far as I know it's called the creator's update and the release is scheduled for this or next month.
hello_hello
18th March 2017, 22:40
2707 [Update] x86: added option to use x86 tools on a x64 system
This will also be the next "stable" build if no (major) issues arise.
Have you had a look at this Zathor?
https://forum.doom9.org/showthread.php?p=1798800#post1798800
Cheers.
bxyhxyh
20th March 2017, 19:44
2707 [Update] x86: added option to use x86 tools on a x64 system
Where is the option? I can't find something like checkbox.
dissory
25th March 2017, 08:08
I've been using MeGUI and found the one-click profile really helpful. One thing I noticed was that when transcoding audio e.g. FLAC -> AAC within video files, it doesn't retain attributes such as audio title name or language in the new video file with the transcoded audio. I'm not sure if the same happens with video but it does with audio.
Is it possible to make it so the attributes/metadata of the original audio stream are also transferred to the transcoded stream?
@Zathor
Is this something possible by MeGUI?
LigH
25th March 2017, 09:58
This would probably require
a) a common way for many audio formats to read out such metadata in a similar way (does MediaInfo support that?);
b) support of the target container to store such metadata per stream; MeGUI is mainly a converter for media formats containing video, using container formats to keep sync with audio.
IMHO: If you want to convert audio only, without related video stream, an audio-only converter like BeHappy (based on the same AviSynth engine as MeGUI) would be the better tool to possibly create metadata in a target audio-only format.
tebasuna51
25th March 2017, 12:40
IMHO: If you want to convert audio only, without related video stream, an audio-only converter like BeHappy (based on the same AviSynth engine as MeGUI) would be the better tool to possibly create metadata in a target audio-only format.
BeHappy, or Audio section in MeGUI, can't do the job because AviSynth audio decoders ignore any metadata tag's in audio source.
I recommend Foobar2000 to transcode audio only preserving tag's.
Other cuestion is track attributes, like title and languaje, than can be stored in mkv container.
Then, maybe, a one-click recode from mkv to mkv can read title and languaje with MediaInfo and restore the values in MkvMerge last pass.
LigH
25th March 2017, 12:51
AviSynth alone may ignore such metadata; but I wonder if it could be read by the calling application using a MediaInfo DLL, and then added to the CLI encoder's parameter set.
tebasuna51
25th March 2017, 13:51
Maybe MeGUI, not BeHappy because don't use MediaInfo at all.
BTW is a hard job know all metadata tag's than each audio code can support at input source (and what are reported by MediaInfo), and how convert to metadata tag's supported by output code.
This job is already done in Foobar2000, lets MeGUI for other questions.
EDIT:
And not all encoders have the parameters to include tags, Qaac can use:
--album <string> --band <string> --title <string> --track <number[/total]> --artist <string> --date <string> --comment <string> ...
But NeroAacEnc don't have any parameter for that.
Using NeroAacEnc with Foobar2000 the tags are added after the encode automatically.
LigH
25th March 2017, 17:28
Nero has a separate tagging tool...
OK, back to MeGUI already.
Zathor
26th March 2017, 14:59
MeGUI 2706 is still displaying incorrect resizing in the script creator when anamorphic encoding is enabled.
- Open a 4:3 PAL DVD, Input DAR 4:3.
- Without cropping or resizing enabled, the resize section displays 720x576.
- Enable cropping and crop 20 pixels from both left and right, and 16 pixels from both top and bottom.
- The remaining video is 680x544
- Enable anamorphic encoding, and select "encode non-mod16" (silly name). The resizing now displays 640x512. It's not being added to the script incorrectly though.
- The "resize to selected mod" option at least lets you resize it back to 680x544, and the resizing doesn't change to red until it exceeds 680x544, so that's okay.
Oddly, if the "resize to selected mod" option is selected, and you switch to "encode non-mod16", the width in the resizing field very briefly displays 680, before it changes back to 640 again.
Thanks, I have fixed that in my local branch. I you have better name for "encode non-mod16" I love to hear that.
Zathor
26th March 2017, 17:53
Where is the option? I can't find something like checkbox.
"Options\Settings\External Program Configuration\Use x64 tools if possible"
However you will see it only if you use an x64 OS with MeGUI x86.
2709 [HD Streams Extractor] fixed extraction of DTS Express tracks. Bug #871
fixed extraction of E-AC3 with core tracks. Bug #870
2708 [AVS Script Creator] improved video refresh/preview behaviour. Bug #853
fixed sometimes wrongly shown resize values if "encode non-mod16" is used (regression of 2357)
tebasuna51
27th March 2017, 13:09
2709 [HD Streams Extractor]
fixed extraction of E-AC3 with core tracks. Bug #870
The problems with this are because eac3to bugs, not related with MeGUI.
There are 2 kind of EAC3 tracks: without core (see track 2 in log) and with core (track 3).
-[Information] Log for job8 (ext, Eac30.m2ts -> tmp)
--[Information] [27/03/2017 12:35:48] Started handling job
--[Information] [27/03/2017 12:35:48] Preprocessing
--[Information] [27/03/2017 12:35:48] Job command line: "D:\Programa\megui\tools\eac3to\eac3to.exe" "D:\tmp\Eac30.m2ts" 2:"D:\tmp\T2_Audio - English.eac3" 3:"D:\tmp\T3_Audio - Spanish.eac3" -core -progressnumbers
--[Information] [27/03/2017 12:35:48] Process started
--[Information] [27/03/2017 12:35:48] Standard output stream
---[Information] [27/03/2017 12:35:49] M2TS, 1 video track, 2 audio tracks, 0:01:23, 24p /1.001
---[Information] [27/03/2017 12:35:49] 1: h264/AVC, 1080p24 /1.001 (16:9)
---[Information] [27/03/2017 12:35:49] 2: E-AC3, English, 5.1 channels, 640kbps, 48kHz
---[Information] [27/03/2017 12:35:49] 3: E-AC3, Spanish, 7.1 channels, 768kbps, 48kHz, dialnorm: -27dB
---[Information] [27/03/2017 12:35:49] (core: AC3, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB)
---[Information] [27/03/2017 12:35:49] a02 Extracting audio track number 2...
---[Information] [27/03/2017 12:35:49] a03 Extracting audio track number 3...
---[Information] [27/03/2017 12:35:49] a03 Extracting E-AC3 core...
---[Information] [27/03/2017 12:35:49] a03 Removing AC3 dialog normalization...
---[Information] [27/03/2017 12:35:49] a02 Creating file "D:\tmp\T2_Audio - English.eac3"...
---[Information] [27/03/2017 12:35:49] a03 Creating file "D:\tmp\T3_Audio - Spanish.eac3"...
---[Information] [27/03/2017 12:35:50] Video track 1 contains 1996 frames.
---[Information] [27/03/2017 12:35:50] eac3to processing took 1 second.
---[Information] [27/03/2017 12:35:50] Done.
--[Information] [27/03/2017 12:35:48] Standard error stream
--[Information] [27/03/2017 12:35:50] Postprocessing
--[Information] [27/03/2017 12:35:50] Job completed
The correct way to extract these tracks with HD Streams Extractor is the showed in the attached image.
Track 2: Extract As: EAC3 [if you add -core is ignored] -> The output is a EAC3 stream.
Track 3: Extract As: EAC3 +Options: -core -> The output is a AC3 stream even with extension .eac3.
You can decode/recode Track 2 (Other value in Extract As)
Any attempt to decode/recode Track 3 without the -core parameter can finish with a ERROR.
You can decode/recode only the core of Track 3.
----------------------------------------------
Now the same tracks in mkv container.
The unique option with these tracks in mkv container is extract them.
We can ignore the eac3to messages:
Bitstream parsing for tracks 2 and 3 failed. <WARNING>
Demuxing these tracks may still produce correct results - or not. <WARNING>
The outputs are bit-identical to obtained with mkvextract.
Can't be decoded, or recoded or extract the core of track 3. Only extract as is.
The problem is: MeGUI - HD Streams Extractor don't offer the option Extract As: EAC3
All options than offer don't work at all.
Zathor
27th March 2017, 22:21
Thank you very much for the details, Tebasuna, it is very much appreciated!
I have to check what I can do. One option may be to default the extract type of E-AC3 tracks to ac3 and use for that always the -core option.
tebasuna51
28th March 2017, 00:08
One option may be to default the extract type of E-AC3 tracks to ac3 and use for that always the -core option.
Nope. Default must be eac3, but you can add always the -core most the times ignored:
eac3to Eac30.m2ts 2: output.eac3 [-core] -> OK eac3 output
eac3to Eac30.m2ts 2: output.ac3 [-core] -> OK recoded to ac3
eac3to Eac30.m2ts 3: output.eac3 -core -> OK AC3.eac3 output
eac3to Eac30.m2ts 3: output.eac3 -> ERROR
eac3to Eac30.m2ts 3: output.ac3 -> ERROR
eac3to Eac30.m2ts 3: output.ac3 -core -> usseless, recoded core
eac3to Eac30.mkv 2: output.eac3 [-core] -> OK eac3 output
eac3to Eac30.mkv 3: output.eac3 [-core] -> OK eac3 output
eac3to Eac30.mkv 2: output.ac3 [-core] -> ERROR
eac3to Eac30.mkv 3: output.ac3 [-core] -> ERROR
Zathor
1st April 2017, 17:13
Thanks!
2711 [x265] removed the option to enable x265 as it is now always enabled
2710 [HD Streams Extractor] extract E-AC3 by default with -core (workaround for a eac3to issue). Bug #870
Changed handling of unknown/unsupported tracks
mini-moose
2nd April 2017, 08:25
Thanks!
2711 [x265] removed the option to enable x265 as it is now always enabled
2710 [HD Streams Extractor] extract E-AC3 by default with -core (workaround for a eac3to issue). Bug #870
Changed handling of unknown/unsupported tracks
TSMuxer seems to be able to extract the full E-AC3, don't know how easy it is to implement and 2nd tool into an eac3to feature.
tebasuna51
3rd April 2017, 11:13
TSMuxer seems to be able to extract the full E-AC3, don't know how easy it is to implement and 2nd tool into an eac3to feature.
The main problem with this kind of E-AC3:
3: E-AC3, Spanish, 7.1 channels, 768kbps, 48kHz, dialnorm: -27dB
(core: AC3, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB)
is if there are a free decoder than can decode the full E-AC3 (7.1), is usseless extract it full if only can decode the 'core'.
By the moment ffmpeg only can decode the 'core':
Stream mapping:
Stream #0:2 -> #0:0 (eac3 (native) -> pcm_s24le (native))
Output #0, w64, to 'D:\tmp\Back\Eac30.m2ts_.w64':
Metadata:
encoder : Lavf57.66.105
Stream #0:0(spa): Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 5.1(side), s32, 6912 kb/s
Metadata:
encoder : Lavc57.83.101 pcm_s24le
[eac3 @ 000000000057f840] Dependent substream decoding is not implemented. Update your FFmpeg version to the newest one from Git. If the pro
blem still occurs, it means that your file has a feature which has not been implemented.
[eac3 @ 000000000057f840] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-deve
l mailing list. (ffmpeg-devel@ffmpeg.org)
WorBry
4th April 2017, 00:17
I've just updated to MeGUI 2714 from the Development Update Server.
Now, when attempting to use the File Indexer tool (or AVS Script Creator) with any of the available indexers (DGIndexIM, DGIndexNV, FFMSIndex, L-Smash Works) I am getting this fatal exception when starting the queue job:
http://i.imgur.com/7fB0yP4.png
I'm running on Win10 x64.
Zathor
4th April 2017, 07:23
Replace your MeGUI.exe with these two files http://megui.org/megui_test.zip
Then please reproduce the error and post/upload the full log file.
WorBry
4th April 2017, 15:33
Well since booting my PC today I haven't encountered the issue again, as yet. So I'm not sure what caused it. I just know that after the fatal error first appeared (and I can't recall with what input file) I got the same error with every video file I tested (except avi). What does that kind of error normally point to ?
locotus
4th April 2017, 18:44
Well since booting my PC today I haven't encountered the issue again, as yet. So I'm not sure what caused it. I just know that after the fatal error first appeared (and I can't recall with what input file) I got the same error with every video file I tested (except avi). What does that kind of error normally point to ?
Perhaps you can find the log in: Megui>logs.
WorBry
4th April 2017, 21:35
Yes, here's the log for the first job after updating to MeGUI 2714:
Preliminary log file only. During closing of MeGUI the well formed log file will be written.
-[Information] Versions
--[Information] [2017-04-03 12:02:22 AM] MeGUI: 2714
--[Information] [2017-04-03 12:02:22 AM] Operating System: Windows 10 Home x64 (10.0.0.14393)
--[Information] [2017-04-03 12:02:22 AM] .NET Framework: 4.0 (4.0.0.0)
--[Information] [2017-04-03 12:02:22 AM] .NET Framework: 4.6.x (4.6.01586)
-[Information] Update detection
--[Information] [2017-04-03 12:02:22 AM] Using cached update config and server: http://megui.org/auto/
--[Information] [2017-04-03 12:02:22 AM] AviSynth: 2.6.0.6 (31-03-2015) (active)
--[Information] [2017-04-03 12:02:22 AM] AviSynth portable: 2.6.0.6 (21-09-2015) (inactive)
--[Information] [2017-04-03 12:02:22 AM] AvisynthWrapper: (02-01-2009)
--[Information] [2017-04-03 12:02:22 AM] Haali Media Splitter: 1.13.138.14 (14-04-2013)
--[Information] [2017-04-03 12:02:22 AM] Haali DSS2: (14-04-2013)
--[Information] [2017-04-03 12:02:22 AM] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [2017-04-03 12:02:22 AM] No package requires an update
--[Information] [2017-04-03 12:02:22 AM] MediaInfo: 0.7.94.0 (30-03-2017)
--[Information] [2017-04-03 12:02:22 AM] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [2017-04-03 12:02:22 AM] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [2017-04-03 12:02:22 AM] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [2017-04-03 12:02:22 AM] 7z: 9.20 (18-11-2010)
-[Information] FileIndexer
--[Information] [2017-04-03 12:04:12 AM] MediaInfo
---[Information] [2017-04-03 12:04:12 AM] File: X:\HFG30 H264 Test\HFG30 Test Resolve CFFS1 transcode export Resolve CFFS1 to Handbrake Unrestricted CRF 16.mp4
-[Information] Format: MPEG-4
-[Information] FormatString: MPEG-4
-[Information] FileSize: 48289603
-[Information] PlayTime: 00:00:12.480
---[Information] General
-[Information] ID: 1
-[Information] StreamOrder: 0
-[Information] Width: 1920
-[Information] Height: 1080
-[Information] FrameCount: 374
-[Information] FrameRate: 29.970
-[Information] FrameRateOriginal:
-[Information] FrameRateMode: CFR
-[Information] ScanType: Progressive
-[Information] Codec: AVC
-[Information] CodecString: AVC
-[Information] Bits Depth: 8
-[Information] Format: AVC
-[Information] AspectRatio: 1.778
-[Information] AspectRatioString: 16:9
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Video
-[Information] Log for job40 (idx, HFG30 Test Resolve CFFS1 transcode export Resolve CFFS1 to Handbrake Unrestricted CRF 16.mp4 -> HFG30 Test Resolve CFFS1 transcode export Resolve CFFS1 to Handbrake Unrestricted CRF 16.dgi)
--[Information] [2017-04-03 12:04:18 AM] Started handling job
--[Information] [2017-04-03 12:04:18 AM] Preprocessing
--[Information] [2017-04-03 12:04:18 AM] Job command line: "C:\Program Files (x86)\MeGUI\tools\dgindexnv\dgindexnv.exe" -i "X:\HFG30 H264 Test\HFG30 Test Resolve CFFS1 transcode export Resolve CFFS1 to Handbrake Unrestricted CRF 16.mp4" -o "X:\HFG30 H264 Test\HFG30 Test Resolve CFFS1 transcode export Resolve CFFS1 to Handbrake Unrestricted CRF 16.dgi" -e -h -a
--[Information] [2017-04-03 12:04:19 AM] Process started
--[Information] [2017-04-03 12:04:19 AM] Standard output stream
--[Information] [2017-04-03 12:04:19 AM] Standard error stream
---[Information] [2017-04-03 12:04:21 AM] Project
--[Information] [2017-04-03 12:04:22 AM] MediaInfo
---[Information] [2017-04-03 12:04:22 AM] File: X:\HFG30 H264 Test\HFG30 Test Resolve CFFS1 transcode export Resolve CFFS1 to Handbrake Unrestricted CRF 16.dgi
---[Information] Indexed File: X:\HFG30 H264 Test\HFG30 Test Resolve CFFS1 transcode export Resolve CFFS1 to Handbrake Unrestricted CRF 16.mp4
-[Information] Format: MPEG-4
-[Information] FormatString: MPEG-4
-[Information] FileSize: 48289603
-[Information] PlayTime: 00:00:12.480
---[Information] General
-[Information] ID: 1
-[Information] StreamOrder: 0
-[Information] Width: 1920
-[Information] Height: 1080
-[Information] FrameCount: 374
-[Information] FrameRate: 29.970
-[Information] FrameRateOriginal:
-[Information] FrameRateMode: CFR
-[Information] ScanType: Progressive
-[Information] Codec: AVC
-[Information] CodecString: AVC
-[Information] Bits Depth: 8
-[Information] Format: AVC
-[Information] AspectRatio: 1.778
-[Information] AspectRatioString: 16:9
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Video
--[Information] [2017-04-03 12:04:22 AM] Postprocessing
-[Error] Unhandled error
-[NoImage] Value of '90000' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
-[NoImage] Parameter name: Value
--[Information] [2017-04-03 12:04:22 AM] Exception message
-[NoImage] at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
-[NoImage] at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
-[NoImage] at System.Windows.Forms.Control.Invoke(Delegate method)
-[NoImage] at MeGUI.core.util.Util.ThreadSafeRun(Control c, MethodInvoker m)
-[NoImage] at MeGUI.dgiIndexJobPostProcessor.postprocess(MainForm mainForm, Job ajob)
-[NoImage] at MeGUI.core.gui.JobWorker.postprocessJob(Job job)
-[NoImage] at MeGUI.core.gui.JobWorker.<>c__DisplayClass57_0.<UpdateGUIStatus>b__0()
-[NoImage] at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
-[NoImage] at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
-[NoImage] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
-[NoImage] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
-[NoImage] at System.Threading.ThreadHelper.ThreadStart()
--[Information] [2017-04-03 12:04:22 AM] Stacktrace
--[Information] [2017-04-03 12:04:22 AM] Inner exception: null
mini-moose
5th April 2017, 11:20
The main problem with this kind of E-AC3:
3: E-AC3, Spanish, 7.1 channels, 768kbps, 48kHz, dialnorm: -27dB
(core: AC3, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB)
is if there are a free decoder than can decode the full E-AC3 (7.1)
Yes, I tried just that kind of E-AC3 with TSMuxer. It gives out an .AC3 file that is bigger in size than core and bigger than the useless one (recode from core to 640).
Mediainfo seems to be unable to see it as 7.1, but if I run eac3to on it it reports it to be E-AC3 with core.
Another person showed it here:
https://sourceforge.net/p/megui/bugs/870/#ce55
tuanden0
5th April 2017, 12:47
I got this error in meGUI but i don't know how to fix it :(
Process exits with error: 0xC0000374 (-1073740940)
Here is my script
LWLibavVideoSource("E:\Download\video_1.mkv")
AssumeFPS(24000, 1001)
FFT3dFilter(sigma=3.2, bt=1, ncpu=4)
deband=flash3kyuu_deband(dither_algo=1)
diff=mt_makediff(last,deband)
diff_blur=diff.blur(1.0)
mt_makediff(diff_blur,U=2,V=2)
aWarpSharp(depth=12,thresh=0.2,cm=1)
LSFmod()
Prefetch(4)
Here is my x264 setting
--level 4.1 --preset veryslow --tune film --crf 24.0 --bframes 8 --qcomp 0.75 --aq-strength 0.45 --merange 32 --nr 1000 --subme 9 --trellis 1 --psy-rd 0.20:0.115 --no-fast-pskip --aq-mode 3 --deadzone-inter 6 --deadzone-intra 6 --sar 1:1 --output "E:\Download\video_1.264" "E:\Download\video_1.avs"
StainlessS
5th April 2017, 13:53
@tuanden0
Heap Corruption Exception 0xC0000374
Basic fault finding to narrow the problem down, try disabling lines in your script until problem goes away.
OR, disable all except source filter, and enable one at a time until problem appears.
You are in the best position to do this.
tuanden0
5th April 2017, 14:26
@tuanden0
Heap Corruption Exception 0xC0000374
Basic fault finding to narrow the problem down, try disabling lines in your script until problem goes away.
OR, disable all except source filter, and enable one at a time until problem appears.
You are in the best position to do this.
:thanks: StainlessS
My problem fixed, my HDD has broken :(
bamsebo
17th April 2017, 10:39
Having just updated MeGUI to the latest versions I get this error after using to successfully index a ts file:
[Error] MediaInfo
--[Error] [17-04-2017 11:28:23] Error parsing media file D:\TVRecording\Recordings\Det stærke køn\Det stærke køn_DR2_03-10_19-55-04.avs
---[NoImage] Plugin C:\Program Files (x86)\MeGUI\tools\dgindexnv\DGDecodeNV.dll is not an AviSynth 2.5 plugin.
---[NoImage] (D:\TVRecording\Recordings\Det stærke køn\Det stærke køn_DR2_03-10_19-55-04.avs, line 1)
Any ideas of what I can do to correct this?
thanks
Barry
LigH
17th April 2017, 13:07
Which version of AviSynth is used by MeGUI? Unfortunately, you cropped off the first lines of your log with the system analysis.
DGDecodeNV.dll may now use AviSynth 2.6 headers to be compatible with AviSynth+. But not sure if that causes issues on AviSynth 2.5.x with exactly this error message.
Groucho2004
17th April 2017, 13:08
Plugin C:\Program Files (x86)\MeGUI\tools\dgindexnv\DGDecodeNV.dll is not an AviSynth 2.5 plugin.
Avisynth 2.5.x cannot load 2.6 plugins. Update your Avisynth version to 2.6 (or AVS+).
bamsebo
17th April 2017, 13:41
many thanks for your help, yes that was the problem still on version 2.5, now with 2.6 all good.
Groucho2004
17th April 2017, 13:49
DGDecodeNV.dll may now use AviSynth 2.6 headers to be compatible with AviSynth+.
DGDecodeNV.dll is a 2.6 plugin and has been since r2052. However, AVS+ works with 2.5 plugins, there is no compatibility issue.
But not sure if that causes issues on AviSynth 2.5.x with exactly this error message.
That error message is exclusive to Avisynth 2.5.x.
LigH
17th April 2017, 14:53
Then it was possibly VapourSynth. I remember that Donald Graft had to decide either-or.
Zathor
20th April 2017, 15:12
2715 had been released as a stable build a few days ago (as you can see above).
2718 [FFMS Indexer] enabled AVI file handling
2717 [AviSynth Wrapper] improved error handling
2716 [VideoEncoder] extended avs log information
The included AviSynth has been updated to AviSynth+ r2455 and the wrapper did get a slight update as well. Please report any problems.
LigH
20th April 2017, 15:21
Please remember that indexing a keyframe-only AVI is not recommendable, it will take ages and produce huge index files... handling AVI files with little or no compression should really prefer AviSource.
Zathor
20th April 2017, 15:25
It has only been enabled again to be selected in the file indexer. Default still is L-SMASH. It is up to the user to skip the indexing.
kuchikirukia
23rd April 2017, 15:22
Any idea why running FRAPS would give this error when trying to start MeGUI?
Win10, MeGUI 2624
https://picload.org/image/rclipiwi/untitled.png
(search terms)
There is already another instance of the application running
E: does it in 2715 as well. If FRAPS is running it won't start MeGUI.
sumirecccp
24th April 2017, 06:25
BUG:auto-detect display aspect ratio will still take effect even choosing the "keep input resolution" option, and "display aspect ratio" is in gray.
I use one 720x480 DVD VOB source, and use avisynth profile to crop the borders, and resize to 640x480, (keep input resolution is in check and display aspect ratio is in gray),but it will still produce a wrong ratio, 16:9.
when check off the "keep input resolution" ,and modify the display aspect ratio to 4:3, then check on "keep input resolution", it will be correct 4:3.
please fix this problem.
this problem did't happen in build 2680.
sumirecccp
24th April 2017, 07:03
[Information] Log for job34 (oneclick, VTS_01_PGC_02_1.VOB -> )
-[Information] [2017/04/24 13:34:30] Started handling job
-[Information] [2017/04/24 13:34:30] Preprocessing
-[Information] [2017/04/24 13:34:30] Processing thread started
-[Information] [2017/04/24 13:34:30] Desired size:
-[Information] [2017/04/24 13:34:30] Split size:
-[Information] [2017/04/24 13:34:30] Aspect ratio: 16:9 (1.778)
-[Information] [2017/04/24 13:34:31] Input resolution: 720x480
-[Information] [2017/04/24 13:34:31] Desired maximum width: 720
-[Information] [2017/04/24 13:34:31] Output resolution: 720x480
-[Information] [2017/04/24 13:34:31] Automatic deinterlacing: False
-[Information] [2017/04/24 13:34:31] Generated Avisynth script
--[NoImage] global MeGUI_darx = 16
--[NoImage] global MeGUI_dary = 9
--[NoImage] LoadPlugin("E:\D\software\megui\tools\dgindex\DGDecode.dll")
--[NoImage] DGDecode_mpeg2source("F:\DVD_VOLUME\VIDEO_TS\euxbygrn.pir\VTS_01_PGC_02_1.d2v")
--[NoImage] #deinterlace
--[NoImage] LoadPlugin("E:\D\software\megui\tools\avisynth_plugin\TIVTC.dll")
--[NoImage] #tfm(order=-1).tdecimate(mode=1,hybrid=1)
--[NoImage] tfm(order=-1).tdecimate(hybrid=1)
--[NoImage] #crop
--[NoImage] autocrop(mode=0,threshold=50,samples=10)
--[NoImage] #resize
--[NoImage] lanczos4resize(640,480)
--[NoImage] #denoise
-[Information] Eliminating duplicate filenames
--[Information] [2017/04/24 13:34:32] Video output file: F:\DVD_VOLUME\VIDEO_TS\euxbygrn.pir\VTS_01_PGC_02_1_Video.hevc
--[Information] [2017/04/24 13:34:32] Muxed output file: F:\DVD_VOLUME\VIDEO_TS\VTS_01_PGC_02_1.mp4
--[Information] [2017/04/24 13:34:32] File already exists. New muxed output filename: F:\DVD_VOLUME\VIDEO_TS\VTS_01_PGC_02_1_1.mp4
--[Information] [2017/04/24 13:34:32] Encodable audio stream 0: F:\DVD_VOLUME\VIDEO_TS\euxbygrn.pir\VTS_01_PGC_02_1 T80 2_0ch 192Kbps DELAY 0ms_audio.m4a
-[Information] [2017/04/24 13:34:33] Postprocessing
--[Information] [2017/04/24 13:34:33] Deleting intermediate files
-[Information] [2017/04/24 13:34:33] Job completed
locotus
24th April 2017, 17:04
Hi all, DVD indexing seems to be boken on 2718.
Log up to aborting:
Preliminary log file only. During closing of MeGUI the well formed log file will be written.
-[Information] Versions
--[Information] [4/24/2017 10:51:34 AM] MeGUI: 2718
--[Information] [4/24/2017 10:51:34 AM] Operating System: Windows 10 Home x64 (10.0.0.14393)
--[Information] [4/24/2017 10:51:34 AM] .NET Framework: 4.0 (4.0.0.0)
--[Information] [4/24/2017 10:51:34 AM] .NET Framework: 4.6.x (4.6.01586)
-[Information] Update detection
--[Information] [4/24/2017 10:51:35 AM] Using cached update config and server: http://megui.org/auto/
--[Information] [4/24/2017 10:51:35 AM] AviSynth: 2.5.7.0 (31-12-2006) (inactive)
--[Information] [4/24/2017 10:51:35 AM] AviSynth+ portable: 0.1 (16-03-2017) (active)
--[Information] [4/24/2017 10:51:35 AM] AvisynthWrapper: 1.0.2717.0 (20-04-2017)
--[Information] [4/24/2017 10:51:35 AM] Haali Media Splitter: 1.13.138.14 (14-04-2013)
--[Information] [4/24/2017 10:51:35 AM] Haali DSS2: (14-04-2013)
--[Information] [4/24/2017 10:51:35 AM] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [4/24/2017 10:51:35 AM] MediaInfo: 0.7.94.0 (30-03-2017)
--[Information] [4/24/2017 10:51:35 AM] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [4/24/2017 10:51:35 AM] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [4/24/2017 10:51:35 AM] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [4/24/2017 10:51:35 AM] 7z: 9.20 (18-11-2010)
--[Information] [4/24/2017 10:51:35 AM] No package requires an update
-[Information] FileIndexer
--[Information] [4/24/2017 10:51:52 AM] MediaInfo
---[Information] [4/24/2017 10:51:52 AM] File: C:\Conversion\Working Here\The Great Moment (1944) DVDRip\VIDEO_TS\VTS_01_0.IFO
-[Information] Format: DVD Video
-[Information] FormatString: DVD Video
-[Information] FileSize: 55296
-[Information] PlayTime: 01:20:56.533
-[Information] PGCCount: 1
-[Information] PGCNumber: 1
---[Information] General
-[Information] ID: 224
-[Information] StreamOrder:
-[Information] Width: 720
-[Information] Height: 480
-[Information] FrameCount: 145550
-[Information] FrameRate: 29.970
-[Information] FrameRateOriginal:
-[Information] FrameRateMode:
-[Information] ScanType:
-[Information] Codec: MPEG-2V
-[Information] CodecString: MPEG-2 Video
-[Information] Bits Depth:
-[Information] Format: MPEG Video
-[Information] AspectRatio: 1.333
-[Information] AspectRatioString: 4:3
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Video
-[Information] ID: 128 (0x80)
-[Information] StreamOrder:
-[Information] Format: AC-3
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 kHz
-[Information] Channels: 2
-[Information] ChannelsString: 2 channels
-[Information] ChannelPositionsString2:
-[Information] BitRateMode:
-[Information] Delay:
-[Information] Title:
-[Information] Language: en
-[Information] LanguageString: English
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Audio
-[Information] ID:
-[Information] StreamOrder: 0
-[Information] Codec:
-[Information] CodecString: Vobsub
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString: English
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Text
-[Information] ID:
-[Information] StreamOrder: 1
-[Information] Codec:
-[Information] CodecString: Vobsub
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString: Spanish
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Text
-[Information] Log for job1 (idx, VTS_01_1.VOB -> The Great Moment (1944) DVDRip_VTS_01_1.d2v)
--[Information] [4/24/2017 10:51:59 AM] Started handling job
--[Information] [4/24/2017 10:51:59 AM] Preprocessing
--[Information] [4/24/2017 10:51:59 AM] Job command line: "C:\MeGui\tools\dgindex\dgindex.exe" -SD=< -AIF=<C:\Conversion\Working Here\The Great Moment (1944) DVDRip\VIDEO_TS\VTS_01_1.VOB< -OF=<C:\En proceso\The Great Moment (1944) DVDRip_VTS_01_1< -FO=0 -exit -hide -OM=2
--[Information] [4/24/2017 10:51:59 AM] Process started
--[Information] [4/24/2017 10:51:59 AM] Standard output stream
--[Information] [4/24/2017 10:51:59 AM] Standard error stream
Genu29
25th April 2017, 08:40
Hello everyone, I am looking for help to decide which values I have to set to convert my SVHS-AVI PAL video files to MKV thru MEGUI from a size point of view. My target is Smart TV player (or Android box tv or PC) and I would like to see these files as 16:9.
Source files are SVHS-AVI PAL, 720x576, 5:4, interlaced, 25FPS, acquired with VirtualDub/HuffYUV (no filters), color space YUY2, audio is PCM (48kHz, 16bits, 2 channels).
I have to crop the bottom because of SVHS noise and thru AVS script interface I crop 18 at the bottom and resolution parameters shows to 712x552; then I changed input DAR from 5:4 to ITU 4:3, but when I played on Smart TV was showed with black bars. If I use Input DAR ITU 16:9 the I see it as 16;9 on Smart TV player. May you would suggest best values to use ? Should I use ITU 4:3, ITU 16:9 or stay with 5:4 ?
Many thanks for help
kuchikirukia
28th April 2017, 18:04
There seems to be some bottleneck when indexing with DGIndex through MeGUI.
Machine 1 (hyperthreaded quad, so 12.5% CPU util for max single threaded):
MeGUI 2624: 26MB/s. 4.5% CPU util
DGIndex GUI: 100MB/s, 11% CPU util (hard drive max read)
Machine 2 (quad core)
MeGUI 2715: 44MB/s, 13% CPU util
DGIndex GUI: 150MB/s, 30% CPU util
LigH
28th April 2017, 18:11
Indexing mainly means seeking on the harddisk. And it depends a lot on the material.
kuchikirukia
28th April 2017, 18:19
Indexing mainly means seeking on the harddisk. And it depends a lot on the material.
It's indexing the same material on the same drives with the same indexer. I have 10 episodes ripped, and alternating down the line (to avoid caching), MeGUI calling DGIndex far slower than using DGIndex's GUI. No audio, no demuxing.
Try it yourself.
LigH
28th April 2017, 21:08
Well, you reported "different machines", so I assumed "different hardware", comparing the speed on one machine with the speed on the other. My mistake... :o
Now I see the differences you mean ... between CLI mode and interactive mode on the same machine each. Now that's interesting. I wonder if it might be related to MeGUI capturing the CLI output.
...
And this reminds me on the discovery that the updater advances a lot faster when you hold a mouse button while it progresses. As if there is a lot of useless idling in .NET GUI's, and flooding the event loop with mouse events pushes it.
Zathor
29th April 2017, 20:32
2722 [Main] if not at least AviSynth 2.6 is installed the portable build will be used
improved AviSynth logging
2720 [AviSynth Wrapper] added functions to detect AviSynth details
2719 [AviSynth Wrapper] updated wrapper to interface 3
Zathor
29th April 2017, 20:45
Any idea why running FRAPS would give this error when trying to start MeGUI?
Win10, MeGUI 2624
(search terms)
There is already another instance of the application running
E: does it in 2715 as well. If FRAPS is running it won't start MeGUI.
MeGUI searches at start for a second process with GetProcessesByName() which is using the same file path. So FRAPS seems to report wrong information for that function.
BUG:auto-detect display aspect ratio will still take effect even choosing the "keep input resolution" option, and "display aspect ratio" is in gray. Could you describe in more detail what you are doing? E.g. are you using OneClick, ...?
Hi all, DVD indexing seems to be boken on 2718.
I do not see an erro in the log.But does it happen also with other sources?
There seems to be some bottleneck when indexing with DGIndex through MeGUI.
Machine 1 (hyperthreaded quad, so 12.5% CPU util for max single threaded):
MeGUI 2624: 26MB/s. 4.5% CPU util
DGIndex GUI: 100MB/s, 11% CPU util (hard drive max read)
Machine 2 (quad core)
MeGUI 2715: 44MB/s, 13% CPU util
DGIndex GUI: 150MB/s, 30% CPU util
Please try to run the command line which MeGUI is using manually in a command prompt. Based on that we can see if the difference is between MeGUI and DGIndex GUI or DGIndex CLI and DGIndex GUI.
kuchikirukia
29th April 2017, 22:29
Please try to run the command line which MeGUI is using manually in a command prompt. Based on that we can see if the difference is between MeGUI and DGIndex GUI or DGIndex CLI and DGIndex GUI.
"The system cannot find the file specified"
The command line it says it uses is apparently not the command line it actually uses.
E: Ahhh... now I see, it's putting "<" in place of brackets
MeGUI:
57MB/s
18% CPU util
DGIndex CLI:
170MB/s
30% CPU util
Zathor
30th April 2017, 00:10
Could you upload please a complete log?
kuchikirukia
30th April 2017, 01:42
Could you upload please a complete log?
-[Information] Log for job70 (idx, 8_track1_eng.mpg -> 8_track1_eng.d2v)
--[Information] [4/29/2017 5:23:02 PM] Started handling job
--[Information] [4/29/2017 5:23:02 PM] Preprocessing
--[Information] [4/29/2017 5:23:02 PM] Job command line: "C:\Program Files (x86)\MeGUI\tools\dgindex\dgindex.exe" -SD=< -AIF=<D:\Video\8_track1_eng.mpg< -OF=<D:\Video\8_track1_eng< -FO=0 -exit -hide -OM=0
--[Information] [4/29/2017 5:23:02 PM] Process started
--[Information] [4/29/2017 5:23:02 PM] Standard output stream
--[Information] [4/29/2017 5:23:02 PM] Standard error stream
--[Information] [4/29/2017 5:23:28 PM] Running auto force film
---[Information] [4/29/2017 5:23:28 PM] Film percentage: -1
--[Information] [4/29/2017 5:23:28 PM] Postprocessing
---[Information] [4/29/2017 5:23:28 PM] Deleting intermediate files
----[Information] [4/29/2017 5:23:28 PM] Successfully deleted D:\Video\8_track1_eng.log
--[Information] [4/29/2017 5:23:28 PM] Job completed
hello_hello
30th April 2017, 02:52
kuchikirukia,
Would disabling the "force film" setting completely in MeGUI's options make a difference?
kuchikirukia
30th April 2017, 03:42
I have an encode in progress so I can't restart it, but after flipping it it isn't showing up in the log, and still getting 56MB/s.
-[Information] Log for job4 (idx, 8_track1_eng.mpg -> 8_track1_eng.d2v)
--[Information] [4/29/2017 10:37:18 PM] Started handling job
--[Information] [4/29/2017 10:37:18 PM] Preprocessing
--[Information] [4/29/2017 10:37:18 PM] Job command line: "C:\Program Files (x86)\MeGUI\tools\dgindex\dgindex.exe" -SD=< -AIF=<D:\Video\8_track1_eng.mpg< -OF=<D:\Video\8_track1_eng< -FO=0 -exit -hide -OM=0
--[Information] [4/29/2017 10:37:18 PM] Process started
--[Information] [4/29/2017 10:37:18 PM] Standard output stream
--[Information] [4/29/2017 10:37:18 PM] Standard error stream
--[Information] [4/29/2017 10:37:43 PM] Postprocessing
---[Information] [4/29/2017 10:37:43 PM] Deleting intermediate files
----[Information] [4/29/2017 10:37:43 PM] Successfully deleted D:\Video\8_track1_eng.log
--[Information] [4/29/2017 10:37:43 PM] Job completed
E: and on restart, still the same.
raymondjpg
30th April 2017, 07:17
The latest version 2722 of MeGUI is outputting MKV files with only limited metadata for the video stream when opened with MediaInfo. Demuxing the output from MeGUI with MKVExtract GUI2 and remuxing with MKVToolNix GUI restores full video stream information when opened with MediaInfo.
It is as if MeGUI has intervened somehow with an mkvmerge command line switch to limit metadata. Is this so, and if so is there somewhere in the options to restore full video stream information in MKV output? Or is this a bug with the latest version 2722 of MeGUI?
sneaker_ger
30th April 2017, 07:29
Are you using x265 and is MeGUI using mkvmerge 11.0.0? There is a bug in mkvmerge 11.0.0 "stable" that can corrupt HEVC headers. Replace mkvmerge 11.0.0 stable with the latest pre-build (https://mkvtoolnix.download/windows/pre/).
raymondjpg
30th April 2017, 08:01
Are you using x265 and is MeGUI using mkvmerge 11.0.0? There is a bug in mkvmerge 11.0.0 "stable" that can corrupt HEVC headers. Replace mkvmerge 11.0.0 stable with the latest pre-build (https://mkvtoolnix.download/windows/pre/).
Yes and Yes. Thanks for the heads up.
Zathor
30th April 2017, 09:12
Are you using x265 and is MeGUI using mkvmerge 11.0.0? There is a bug in mkvmerge 11.0.0 "stable" that can corrupt HEVC headers. Replace mkvmerge 11.0.0 stable with the latest pre-build (https://mkvtoolnix.download/windows/pre/).
Thanks for the hint, I reverted to 10.0 for the moment.
I have an encode in progress so I can't restart it, but after flipping it it isn't showing up in the log, and still getting 56MB/s.
Could you please upload a full log? I need also the version chapter and the mediainfo.
hello_hello
30th April 2017, 09:30
MeGUI still seems to be using an outdated version of FluxSmooth (version 1.1a rather than 1.1b).
http://avisynth.nl/index.php/FluxSmooth
Zathor
30th April 2017, 14:02
MeGUI still seems to be using an outdated version of FluxSmooth (version 1.1a rather than 1.1b).
http://avisynth.nl/index.php/FluxSmooth
Thanks, updated - also TIVTC: https://github.com/pinterf/TIVTC/releases
kuchikirukia
30th April 2017, 19:58
[Information] Log
-[Information] Versions
--[Information] [4/30/2017 2:54:58 PM] MeGUI: 2715
--[Information] [4/30/2017 2:54:58 PM] Operating System: Windows 10 Home x64 (10.0.0.14393)
--[Information] [4/30/2017 2:54:58 PM] .NET Framework: 4.0 (4.0.0.0)
--[Information] [4/30/2017 2:54:58 PM] .NET Framework: 4.6.x (4.6.01586)
--[Information] [4/30/2017 2:54:58 PM] AviSynth: 2.6.0.5 (20-02-2015) (active)
--[Information] [4/30/2017 2:54:58 PM] AviSynth portable: 2.6.0.6 (30-04-2017) (inactive)
--[Information] [4/30/2017 2:54:58 PM] AvisynthWrapper: (30-04-2017)
--[Information] [4/30/2017 2:54:58 PM] Haali Media Splitter: 1.13.138.14 (14-04-2013)
--[Information] [4/30/2017 2:54:58 PM] Haali DSS2: (14-04-2013)
--[Information] [4/30/2017 2:54:58 PM] ICSharpCode.SharpZipLib: 0.85.5.452 (30-04-2017)
--[Information] [4/30/2017 2:54:58 PM] MediaInfo: 0.7.94.0 (30-04-2017)
--[Information] [4/30/2017 2:54:58 PM] MediaInfoWrapper: 0.7.61.0 (30-04-2017)
--[Information] [4/30/2017 2:54:58 PM] MessageBoxExLib: 1.0.2218.28317 (30-04-2017)
--[Information] [4/30/2017 2:54:58 PM] SevenZipSharp: 0.64.3890.29348 (30-04-2017)
--[Information] [4/30/2017 2:54:58 PM] 7z: 9.20 (30-04-2017)
-[Information] Update detection
--[Information] [4/30/2017 2:54:58 PM] Automatic update is disabled
--[Information] [4/30/2017 2:54:58 PM] Using cached update config and server: http://megui.org/auto/stable/
--[Information] [4/30/2017 2:54:58 PM] No package requires an update
-[Information] FileIndexer
--[Information] [4/30/2017 2:55:15 PM] MediaInfo
---[Information] [4/30/2017 2:55:15 PM] File: D:\Video\9_track1_eng.mpg
---[Information] General
----[Information] Format: MPEG Video
----[Information] FormatString: MPEG Video
----[Information] FileSize: 1701505334
----[Information] PlayTime:
---[Information] Video
----[Information] ID:
----[Information] StreamOrder:
----[Information] Width: 720
----[Information] Height: 480
----[Information] FrameCount:
----[Information] FrameRate: 29.970
----[Information] FrameRateOriginal:
----[Information] FrameRateMode:
----[Information] ScanType: Interlaced
----[Information] Codec: MPEG-2V
----[Information] CodecString: MPEG-2 Video
----[Information] Bits Depth: 8
----[Information] Format: MPEG Video
----[Information] AspectRatio: 1.333
----[Information] AspectRatioString: 4:3
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
-[Information] Log for job15 (idx, 9_track1_eng.mpg -> 9_track1_eng.d2v)
--[Information] [4/30/2017 2:55:25 PM] Started handling job
--[Information] [4/30/2017 2:55:25 PM] Preprocessing
--[Information] [4/30/2017 2:55:25 PM] Job command line: "C:\Program Files (x86)\MeGUI\tools\dgindex\dgindex.exe" -SD=< -AIF=<D:\Video\9_track1_eng.mpg< -OF=<D:\Video\9_track1_eng< -FO=0 -exit -hide -OM=0
--[Information] [4/30/2017 2:55:25 PM] Process started
--[Information] [4/30/2017 2:55:25 PM] Standard output stream
--[Information] [4/30/2017 2:55:25 PM] Standard error stream
--[Information] [4/30/2017 2:55:53 PM] Postprocessing
---[Information] [4/30/2017 2:55:53 PM] Deleting intermediate files
----[Information] [4/30/2017 2:55:53 PM] Successfully deleted D:\Video\9_track1_eng.log
--[Information] [4/30/2017 2:55:53 PM] Job completed
kuchikirukia
30th April 2017, 21:08
I figured it out. MeGUI sets DGIndex to run in low priority. Even without CPU and disk in use it still slows waaaaaaaaaaaaaaay down compared to Normal.
This doesn't affect LSMASH or ffindex.
-When I set DGindex GUI to Low priority through Task Manager, the Base Priority and Dynamic Priority change, but I/O stays at normal and it indexes at full speed.
-When MeGUI is doing the indexing, DGIndex.exe's I/O priority is Low by default.
It does appear to be the I/O priority killing it since reading from RAM MeGUI indexes at 30% CPU util on Low. (same percentage as Normal priority).
Oh, and why is MeGUI pinging 127.0.0.1 when it indexes with LSMASH?
sumirecccp
1st May 2017, 04:09
>>Zathor, yes, i'm using one click encoder, to encode (or batch encode) some 16:9 VOBS. I want use avisynth profile to cut the blackborder, and output 640x480 mp4.
and when I drag the file to one-click encoder, the "display aspect autio" will auto become 16:9(when the "keep input resolution" is in gray), and it will output an 640x480,16:9 mp4.
my avisynth is like this:
<input>
<deinterlace>
LoadPlugin("E:\D\software\megui\tools\avisynth_plugin\TIVTC.dll")
#tfm(order=-1).tdecimate(mode=1,hybrid=1)
tfm(order=-1).tdecimate(hybrid=1)
<crop>
autocrop(mode=0,threshold=50,samples=10)
<resize>
lanczos4resize(640,480)
<denoise>
hello_hello
1st May 2017, 12:09
sumirecccp,
Seems like MeGUI is trying to save you from yourself. You can't just resize a 16:9 picture to 4:3 dimensions without squishing it. You need to crop a fair bit of picture from each side so what's left is 4:3, or resize it to 4:3 dimensions and set a 16:9 aspect ratio (as it seems MeGUI is doing).
Assuming it's a 16:9 NTSC DVD and there's no top and bottom cropping required, to get to 4:3 you need to do this, rather than just resize:
Crop(90,0,-90,0)
lanczos4resize(640,480)
Or if you're using autocrop.dll rather than MeGUI's auto-cropping, set the appropriate aspect ratio so it crops to 4:3. You'd need to do it like this (I'm pretty sure) to compensate for the fact the DVD doesn't have square pixels, then resize it to 4:3 dimensions:
autocrop(mode=0,threshold=50,samples=10,aspect=1.125)
lanczos4resize(640,480)
OneClick may still change the display aspect ratio (I'm not sure how OneClick works as I don't use it), but try it without OneClick first to see what happens.
Or (shameless plug) try this script (https://forum.videohelp.com/threads/382888-CropResizeBorder-script). It uses autocrop.dll to do the cropping, but hopefully it'll crop and resize with less aspect error than using autocrop.dll on it's own, as above.
tebasuna51
1st May 2017, 12:48
BUG:auto-detect display aspect ratio will still take effect even choosing the "keep input resolution" option, and "display aspect ratio" is in gray.
I use one 720x480 DVD VOB source, and use avisynth profile to crop the borders, and resize to 640x480, (keep input resolution is in check and display aspect ratio is in gray),but it will still produce a wrong ratio, 16:9.
when check off the "keep input resolution" ,and modify the display aspect ratio to 4:3, then check on "keep input resolution", it will be correct 4:3.
>>Zathor, yes, i'm using one click encoder, to encode (or batch encode) some 16:9 VOBS. I want use avisynth profile to cut the blackborder, and output 640x480 mp4.
and when I drag the file to one-click encoder, the "display aspect autio" will auto become 16:9(when the "keep input resolution" is in gray), and it will output an 640x480,16:9 mp4.
my avisynth is like this:
I'm not a 'One Click Encoder' mode user, but I have some questions (maybe a full log of the encode can clarify the problem)
- If your input is "16:9 VOBS", your output must be 16:9 even if your output is 640x480 pixels (here help the full log to see what hapens). A 640x480,16:9 mp4 can be correct.
- Seems there are some problem with "keep input resolution" and your AviSynth profile "640x480 auto 50 td" (the template than you show?). Both are incompatible.
BTW my recomendation for recode DVD input with x264 or x265 is use 'Autocrop' and 'Anamoph output' without Resize.
sumirecccp
1st May 2017, 14:56
hello_hello, tebasuna51, I tried your solutions but none works, it still output 640x480,16:9 mp4. the "display aspect autio" will still effect even when it's gray.
but I'm very sure build 2624 will output 640x480,4:3 mp4.
you may download 2624 at https://sourceforge.net/projects/megui/files/megui-stable/
and I uploaded the example vob here:
https://mega.nz/#!5sgDQIyQ!w9x-gq8IM3c9PpPilAXGv093P42A5psdw_EPM7X1hZ4
Zathor
1st May 2017, 22:13
I figured it out. MeGUI sets DGIndex to run in low priority. Even without CPU and disk in use it still slows waaaaaaaaaaaaaaay down compared to Normal.
This doesn't affect LSMASH or ffindex.
When "idle" priority is selected it will also set I/O priority to idle so this is correct.
Oh, and why is MeGUI pinging 127.0.0.1 when it indexes with LSMASH?
I had to cheat a bit and needed a running process for the job progress while the index is performed in a MeGUI thread without process.
>>Zathor, yes, i'm using one click encoder, to encode (or batch encode) some 16:9 VOBS. I want use avisynth profile to cut the blackborder, and output 640x480 mp4.
and when I drag the file to one-click encoder, the "display aspect autio" will auto become 16:9(when the "keep input resolution" is in gray), and it will output an 640x480,16:9 mp4.
my avisynth is like this:
<input>
<deinterlace>
LoadPlugin("E:\D\software\megui\tools\avisynth_plugin\TIVTC.dll")
#tfm(order=-1).tdecimate(mode=1,hybrid=1)
tfm(order=-1).tdecimate(hybrid=1)
<crop>
autocrop(mode=0,threshold=50,samples=10)
<resize>
lanczos4resize(640,480)
<denoise>
I still do not get what you try to do and may miss some information. Is it possible that you upload beside the sample the log file and also all your profiles (select "file\export presets" in MeGUI)? Also MeGUI may have problems as you select that no cropping should be performed and you do have an autocrop in your script. Therefore all AR calculations may be off. Why do you not use the MeGUI crop function?
sumirecccp
2nd May 2017, 06:30
>>Zathor, I'm not very sure why you can't understand my meaning.
so, here is a VOB sample in 16:9 with border:
https://mega.nz/#!5sgDQIyQ!w9x-gq8IM3c9PpPilAXGv093P42A5psdw_EPM7X1hZ4
and when use build 2624 one-click encoder with my avisynth profile, it will out put a 640x480,4:3 mp4. It's what my want.
https://mega.nz/#!B85DSarJ!leteVasSiGl7PvUvi4Am1ON778z05QQDpIhz0KcdD_k
but when use build 2722, it will out put a 640x480,16:9 mp4. I don't want this.
https://mega.nz/#!JtwBnRxJ!0QHo6tqvB0JQL-zPhF5oebSbd-514E4vFN9yhYHjJts
and your request logs & profiles here:
https://mega.nz/#!Iw4FVLpA!1kF1Xit5K5-JJSg9qYXk3gXbL4tOwO6LEkN7uhgcrLs https://mega.nz/#!dsoW3LIZ!6jBRnIydO4dvD8JdrFYn2RrQgg0_6gLMrM7TwJbvq8c
so, I wanna I can disable "auto detect display aspect autio".
hello_hello
2nd May 2017, 20:00
Zathor,
If you'd care to play follow the links and update YadifMod2, apparently there's a newer version than the one MeGUI is using, although unfortunately if you check the newer dll's properties it shows it's version 0.0.2, when apparently it's actually version 0.2. MeGUI is currently using version 0.0.4, I believe.
The newer version was built by real.finder from the source at github and can be found here:
https://forum.doom9.org/showpost.php?p=1798117&postcount=36
Here's real.finder explaining the story:
https://forum.doom9.org/showthread.php?p=1805827#post1805827
https://forum.doom9.org/showthread.php?p=1805931#post1805931
And here's the updated changelog/readme:
https://github.com/chikuzen/yadifmod2/blob/7156fbe5b5327ee61d7d8abb419f277bc1a4edf4/avisynth/readme.md#changelog
Cheers.
Is it possible to change the order of preference of source filters in the File Indexer (e.g. always FFMS2 over L-SMASH Source)?
Also asked in the VideoHelp forum (https://forum.videohelp.com/threads/383449-FFVideoSource-vs-LWLibavVideoSource) by someone else...
hello_hello
3rd May 2017, 10:45
LigH,
What type of files are you indexing? Multiple types, or something in particular? For me, when opening MKV sources at least, the indexer defaults to L-Smash.
Edit, sorry I misread your post. I thought you were saying it's currently defaulting to ffms2, not that you want it to.
I'd like MeGUI to remember the last indexer I selected for a particular file type (rather than set a default) so if I used ffms2 to index an MKV last, it'd default to ffms2 for the next MKV I index etc. Same for the option to demux audio. I'd reeeeeaaaaaallllly love it if MeGUI remembered the last choice there.
hello_hello
3rd May 2017, 11:03
Zathor,
One day when you're bored, could a little change be made to the OneClick encoder configuration?
When you open an audio/video encoder configuration, the list of encoder presets is down the bottom, so if you have "show advanced settings enabled" (x264 configuration) you can switch tabs and the selected preset stays at the bottom of the configuration window. That way you can select a preset no matter which tab is selected, and the settings naturally change accordingly.
For some reason the OneClick profile list is glued to the first tab. I know there's only a couple of tabs in the OneClick encoder configuration, but still, it'd make life easier if it was tab independent too. Long post short.... could the "show advanced settings" drop down list swap places with the OneClick Profile drop down list?
Cheers.
PS when you edit an encoder preset and just wish it to be saved to scratchpad, is it really necessary for MeGUI to ask twice if you want to update the preset or save the changes to scrachpad. The old system of simply clicking yes to update the preset, or no to have the changes saved to scratchpad, was better IMHO. Less annoying, at least....
kalehrl
3rd May 2017, 11:19
Previously, I was able to copy the contents of an avisynth script created by MeGUI in AvsPmod to preview the script and make further adjustments.
Now, when I click the preview button, it complains no matter what source filter I choose:
http://i65.tinypic.com/qn41ok.jpg
Groucho2004
3rd May 2017, 11:35
Previously, I was able to copy the contents of an avisynth script created by MeGUI in AvsPmod to preview the script and make further adjustments.
Now, when I click the preview button, it complains no matter what source filter I choose:
http://i65.tinypic.com/qn41ok.jpgOne reason for this error message is trying to load a 64 bit plugin into 32 bit Avisynth.
hello_hello
3rd May 2017, 12:15
If Lsmash is working fine for MeGUI maybe try coping msvcr120.dll (or whichever version it is) from the MeGUI\tools\lsmash folder into the AvsPmod folder, or if you haven't, try rebooting. I occasionally have a bunch of encodes running in the queue, and suddenly all new jobs fail with an error because a plugin won't load. It usually happens the other way around for me.... a script won't open with MeGUI but it will with another program, however a reboot fixes it. Or try re-installing the correct flavour of the Microsoft Visual C++ Redistributable.
http://avisynth.nl/index.php/LSMASHSource
Or try opening the script another way. MPC-HC or VirtualDub etc.
What happens if you open the existing script with AvsPmod, rather than copying the contents to create a new one?
MeGUI recently switched to Avisynth+ (development update server). Which version do you have installed and what's the whole script? I shouldn't matter, but maybe there's something going on there if MeGUI is using it's own portable Avisynth, which obviously AvsPmod won't be.
Groucho2004
3rd May 2017, 12:57
If Lsmash is working fine for MeGUI maybe try coping msvcr120.dll (or whichever version it is) from the MeGUI\tools\lsmash folder into the AvsPmod folder, or if you haven't, try rebooting. I occasionally have a bunch of encodes running in the queue, and suddenly all new jobs fail with an error because a plugin won't load. It usually happens the other way around for me.... a script won't open with MeGUI but it will with another program, however a reboot fixes it. Or try re-installing the correct flavour of the Microsoft Visual C++ Redistributable.That error message is not related to missing dependencies.
hello_hello
3rd May 2017, 13:21
So if he's running 32 bit MeGUI and Lsmash is working when he loads a script in MeGUI, what's the cause?
Groucho2004
3rd May 2017, 13:27
So if he's running 32 bit MeGUI and Lsmash is working when he loads a script in MeGUI, what's the cause?He creates the script in megui and tries to load/preview it in Avspmod. At least that's how I interpret his post. I don't know what megui does with plugin paths so Avspmod might load plugins from a different directory.
When running the script inside MeGUI, MeGUI will possibly use its own AviSynth environment with own plugins.
AvsPmod runs outside MeGUI and will use a system-wide AviSynth installation with default plugin locations. So it's quite probable that one has to make all plugins working in MeGUI also work outside of it.
Groucho2004
3rd May 2017, 13:30
Previously, I was able to copy the contents of an avisynth script created by MeGUI in AvsPmod to preview the script and make further adjustments.
Now, when I click the preview button, it complains no matter what source filter I choose:
http://i65.tinypic.com/qn41ok.jpgOne thing you could try:
Run AVSMeter with the switch "-avsinfo". See if that throws any errors.
hello_hello
3rd May 2017, 13:33
Yeah but I'd assume he has 32 bit Avisynth installed, and he's using 32 bit MeGUI, so everything should be 32 bit, but maybe that's not the case and he switched to 64 bit MeGUI (although he didn't mention it). I guess we'll have to wait and see. I thought x64 MeGUI was still kind of experimental, but maybe more people are using it now.
hello_hello
3rd May 2017, 14:39
My turn for some MeGUI torture. :)
The folder containing ffms2.dll at the top, MPC-HC happily opening the script in question (which MeGUI created) at the bottom, and MeGUI having a hissy in the middle. MeGUI and MPC-HC both using the "installed" Avisynth. Anyone know what error=0x8 means?
Fortunately no reboot required this time. Just shutting down and restarting MeGUI. Computers.....
https://s11.postimg.org/6v54g36bn/megui_unable.gif
Groucho2004
3rd May 2017, 15:15
My turn for some MeGUI torture. :)
The folder containing ffms2.dll at the top, MPC-HC happily opening the script in question (which MeGUI created) at the bottom, and MeGUI having a hissy in the middle. MeGUI and MPC-HC both using the "installed" Avisynth. Anyone know what error=0x8 means?
Fortunately no reboot required this time. Just shutting down and restarting MeGUI. Computers.....
https://s11.postimg.org/6v54g36bn/megui_unable.gifSame advice as above (post #5457).
Also: https://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs.85).aspx
tebasuna51
3rd May 2017, 15:16
... tebasuna51, I tried your solutions but none works, it still output 640x480,16:9 mp4.
My solution implies don't Resize, if your output is 640x480 is not my solution.
I encode this sample with:
- Auto detected display aspect ratio -> Input DAR: ITU 16:9 NTSC (1.823169)
- Clever anamorphic...: Encode non-mod16
- Autocrop (without resize)
-[Information] Log for job25 (video, VTS_01_PGC_02_1.avs -> VTS_01_PGC_02_1.264)
...
--[Information] [03/05/2017 14:14:59] Avisynth input script
---[NoImage] # Set DAR in encoder to 137 : 100. The following line is for automatic signalling
---[NoImage] global MeGUI_darx = 137
---[NoImage] global MeGUI_dary = 100
...
---[NoImage] crop(94, 4, -94, -4)
--[Information] [03/05/2017 14:15:00] resolution: 532x472
--[Information] [03/05/2017 14:15:00] aspect ratio: 137:100 (1.370)
--[Information] [03/05/2017 14:15:00] Job command line: ... --sar 8083:6650 ...
And I obtain a output DAR 646x472
But I think than is not the exact DAR of this sample.
Then I do other encode with:
- Selecting Generic non-ITU Input DAR: 16:9 (1.77778)
- Clever anamorphic...: Encode non-mod16
- Autocrop (without resize)
-[Information] Log for job27 (video, VTS_01_PGC_02_1.avs -> VTS_01_PGC_02_1.264)
...
--[Information] [03/05/2017 14:29:23] Avisynth input script
---[NoImage] # Set DAR in encoder to 131 : 98. The following line is for automatic signalling
---[NoImage] global MeGUI_darx = 131
---[NoImage] global MeGUI_dary = 98
...
---[NoImage] crop(94, 4, -94, -4)
--[Information] [03/05/2017 14:29:24] resolution: 532x472
--[Information] [03/05/2017 14:29:24] aspect ratio (avs): 131:98 (1.337)
--[Information] [03/05/2017 14:29:24] aspect ratio (job): 137:100 (1.370)
--[Information] [03/05/2017 14:29:24] Job command line: ... --sar 8083:6650 ...
And I obtain a wrong output DAR 646x472 like with job25
@Zathor
For what the change of aspect ratio (avs) 1,337 to the undesired aspect ratio (job) 1.370?
With a --sar near 32:27 we can obtain a correct output DAR 630x472
kalehrl
3rd May 2017, 18:45
He creates the script in megui and tries to load/preview it in Avspmod. At least that's how I interpret his post. I don't know what megui does with plugin paths so Avspmod might load plugins from a different directory.
That's what I've been trying to do.
One thing you could try:
Run AVSMeter with the switch "-avsinfo". See if that throws any errors.
This is the output:
PS C:\Users\kaleh\Desktop\AVSMeter254> .\avsmeter -avsinfo
AVSMeter 2.5.4 (x86) - Copyright (c) 2012-2017, Groucho2004
VersionString: AviSynth 2.60, build:Mar 31 2015 [16:38:54]
VersionNumber: 2.60
File version: 2.6.0.6
Interface Version: 6
Multi-threading support: No
Avisynth.dll location: C:\WINDOWS\SysWOW64\avisynth.dll
Avisynth.dll time stamp: 2015-03-31, 06:40:58 (UTC)
PluginDir2_5 (HKLM, x86): C:\Program Files (x86)\AviSynth\plugins
[CPP 2.5 / 32 Bit plugins]
C:\Program Files (x86)\AviSynth\plugins\FFT3dGPU.dll [0.8.2.0]
C:\Program Files (x86)\AviSynth\plugins\mvtools2.dll [2.6.0.5]
[CPP 2.6 / 32 Bit plugins]
C:\Program Files (x86)\AviSynth\plugins\DirectShowSource.dll [2.6.0.3]
C:\Program Files (x86)\AviSynth\plugins\KNLMeansCL.dll
C:\Program Files (x86)\AviSynth\plugins\masktools2.dll [2.1.0.0]
C:\Program Files (x86)\AviSynth\plugins\nnedi3.dll [0.9.4.20]
C:\Program Files (x86)\AviSynth\plugins\RgTools.dll
C:\Program Files (x86)\AviSynth\plugins\TCPDeliver.dll [2.6.0.7]
PS C:\Users\kaleh\Desktop\AVSMeter254>
If Lsmash is working fine for MeGUI maybe try coping msvcr120.dll (or whichever version it is) from the MeGUI\tools\lsmash folder into the AvsPmod folder, or if you haven't, try rebooting. I occasionally have a bunch of encodes running in the queue, and suddenly all new jobs fail with an error because a plugin won't load. It usually happens the other way around for me.... a script won't open with MeGUI but it will with another program, however a reboot fixes it. Or try re-installing the correct flavour of the Microsoft Visual C++ Redistributable.
http://avisynth.nl/index.php/LSMASHSource
Or try opening the script another way. MPC-HC or VirtualDub etc.
What happens if you open the existing script with AvsPmod, rather than copying the contents to create a new one?
MeGUI recently switched to Avisynth+ (development update server). Which version do you have installed and what's the whole script? I shouldn't matter, but maybe there's something going on there if MeGUI is using it's own portable Avisynth, which obviously AvsPmod won't be.
None of this worked - copying the files into avspmod, rebooting. MPC HC throws the same error. I believe I have the 32bit version of MeGUI.
Taurus
3rd May 2017, 19:40
Did you shorten the avsinfo log?
LSMASHSource.dll is missing in the "normal" plugin dir...
If MeGui is looking in it's own plugin folder, make sure all required plugins are available.
Or make a "repair" update within Megui's updater.
Right click in options/update on LSMASHSource. Choose "force reinstall", press update...
Is there a mark in Extra Configuration / "always use the inluded avisynth"?
I dont use the build-in avisynth routines,
so please let us know what's your gameplay :D
kalehrl
3rd May 2017, 19:50
LSMASHSource.dll is missing from the plugins dir but in the script it is loaded from the megui folder.
I tried the "repair" option but it didn't fix the problem.
"always use the inluded avisynth" isn't marked.
Megui is using the system avisynth according to its log:
--[Information] AviSynth Wrapper
---[Information] [3.5.2017. 20.47.09] Version: 1.0.2721.0
---[Information] [3.5.2017. 20.47.09] Date: 29-04-2017
---[Information] [3.5.2017. 20.47.09] Interface: 3
--[Information] AviSynth
---[Information] [3.5.2017. 20.47.09] File Version: 2.6.1.0
---[Information] [3.5.2017. 20.47.09] Date: 17-05-2016
---[Information] [3.5.2017. 20.47.09] Name: Avisynth 2.6
---[Information] [3.5.2017. 20.47.09] Version: AviSynth 2.61, build:May 17 2016 [16:06:18] VC2008Exp
---[Information] [3.5.2017. 20.47.09] AviSynth+: false
---[Information] [3.5.2017. 20.47.09] MT: false
---[Information] [3.5.2017. 20.47.09] Status: active
--[Information] AviSynth portable
---[Information] [3.5.2017. 20.47.09] File Version: 0.1
---[Information] [3.5.2017. 20.47.09] Date: 16-03-2017
---[Information] [3.5.2017. 20.47.09] Name: AviSynth+ 0.1 (r2455, MT, i386)
---[Information] [3.5.2017. 20.47.09] Status: inactive
In the meantime I downloaded the latest avisynth alpha and installed it.
Groucho2004
3rd May 2017, 21:40
@kalehrl
Are you by any chance using the 64 bit version of Avspmod? That would provoke the same error message.
LouieChuckyMerry
4th May 2017, 02:25
PS when you edit an encoder preset and just wish it to be saved to scratchpad, is it really necessary for MeGUI to ask twice if you want to update the preset or save the changes to scrachpad. The old system of simply clicking yes to update the preset, or no to have the changes saved to scratchpad, was better IMHO. Less annoying, at least....
+1. That's been in the back of my head for a couple-three months now, thanks for the prod ;) .
hello_hello
4th May 2017, 10:47
kalehrl,
Have you tried copying the lsmash dll to the installed Avisynth plugin folder? As long as it's the same version MeGUI uses, duplicating plugins like that shouldn't do any harm (I have quite a few of MeGUI's plugins copied to the "installed" Avisynth plugin folder).
Theoretically it should still produce the same error, but with LSmash in the auto-loading plugins directory, you can delete the LSmash loadplugin line from the script so it's not still being loaded from the MeGUI plugins folder and if it auto-loads okay, problem solved, well..... problem worked around, maybe..... it'd still be nice to know why it's happening. You could do the same with any other plugins that've stopped working with Avspmod, if there's others.
hello_hello
4th May 2017, 11:17
Same advice as above (post #5457).
Also: https://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs.85).aspx
Interesting. According to that, I must have run out of memory.
Which I kind of have been. Normally while MeGUI is running an encode I can create and preview another script, but lately with any CPU intensive filtering in the script (QTGMC, RMLogo etc) if I try to play/preview the script it only gets through a few frames and then MeGUI has a hissy, complaining about being out of memory. Then it disables the "improve AVS opening" option for the current session, which I'm fairly certain never achieves anything when there's a problem, so I have to go into options and enable it again. I must have done that 20 times in the last few days. Automatically disabling the "improve AVS opening" option every time there's a light shower within a hundred miles is sooooooooo annoying. At least for me.
Anyhow, I wasn't doing anything I don't normally do. When the error started there weren't any encodes running at all. Given simply restarting MeGUI fixed the problem I assume MeGUI must be holding onto memory unnecessarily, or something to that effect. If it was a plugin using lots of memory, shouldn't it be freed when the encoding finishes? I'll have to start keeping an eye on memory usage to see what's happening.
Maybe I need to have a cleanup. It's been at least four years since I installed XP and created an image, and I've not been to Windows Update since, or defragged any of the drives, or done any sort of maintenance, and this PC runs 24/7. It might be time for a reset. VirtualDubMod seems to think so. It started complaining a week ago when I open it, then it works normally anyway. OpenCL.dll is in the same place it's always been. Computers.....
https://s27.postimg.org/d86two7pv/VDM.gif
Groucho2004
4th May 2017, 11:45
Do you need two versions of masktools2? It appears you have two versions from the info you posted.Where are you seeing that?
hello_hello
4th May 2017, 12:21
Where are you seeing that?
Whoops. My Bad. He has MVTools2 and MaskTools2. I misread it.
hello_hello
4th May 2017, 12:53
Here's a quote from a post in the VideoHelp forum yesterday. Seems it's the same problem kalehrl is having.
If midts quoted the error message correctly it's a different one this time. https://forum.videohelp.com/threads/383449-FFVideoSource-vs-LWLibavVideoSource#post2484868
I tried with both 32/64 versions of VirtualDub 1.10.4 and I get avisynth open failure: loadplugin: unable to load ffms2.dll (or lsmashsource.dll) error=0xc1 with x32 and same errors with x64 build.
Odd..... could a Windows Update have broken something?
kalehrl, I can't remember.... which flavour of Windows are you using? I'm just wondering if maybe that's something you have in common. midts is using Win10 x64.
Groucho2004
4th May 2017, 13:05
Computers.....Don't blame computers, in 95% of the cases it's PEBCAC. :D
Microsoft Windows - System Error Codes (https://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs.85).aspx)
ERROR_BAD_EXE_FORMAT
193 (0xC1)
%1 is not a valid Win32 application
Possibly because it's a Win64 DLL.
So it's quite probable that each version of the script loads each wrong DLL version.
I hope that AVSMeter64.exe -avsinfo -l and AVSMeter64.exe script.avs tells us more.
hello_hello
4th May 2017, 13:22
Don't blame computers, in 95% of the cases it's PEBCAC. :D
I don't know.... I'm pretty sure computers are quite vindictive. Or maybe it's built into Windows. My latest example...
My USB3 hard drive, which has disconnected and reconnected intermittently since the day I put a USB3 card in this PC (USB2 is fine) is now working reliably and no longer disconnecting. That's either because I replaced the mouse, or it's one of those bizarre coincidences computers enjoy inflicting on users to mess with their heads and send them down the wrong problem solving path. Who'd have guessed? The mouse was working fine until a couple of weeks ago.
https://forum.videohelp.com/threads/383456-USB3-drive-not-disconnecting-any-more
hello_hello
4th May 2017, 13:43
Microsoft Windows - System Error Codes (https://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs.85).aspx)
Possibly because it's a Win64 DLL.
kalehrl says he's 32 bit everywhere (Avisynth, MeGUI etc), unless there's a 64 bit Avspmod?
I'm sure I've seen that error message before, when there's been a missing dependency, or MeGUI is having a hissy. I know that's not what it means, but I'm still sure I've seen it.
I was under the impression Avisynth plays some type of error message lotto, and due to the law of averages it'll be the correct error message a certain percentage of the time. :)
Does Avisynth "standard" have identical error messages to Avisynth+? Are they the same error message for every flavour of Windows?
I ask, because when I deliberately replaced ffms2 with a 64 bit version and loaded it in a script (XP, AVISynth standard), this is the error message I was offered (when I didn't specifically load ffms2 in the script because it was in the plugins folder, the error message was "there's no such function as.....")
https://s28.postimg.org/f2y6uc46l/error.gif
kalehrl
4th May 2017, 14:41
@kalehrl
Are you by any chance using the 64 bit version of Avspmod? That would provoke the same error message.
The about says Windows X86-64 so it should be 32bit. There is no 64bit version to download.
kalehrl,
Have you tried copying the lsmash dll to the installed Avisynth plugin folder? As long as it's the same version MeGUI uses, duplicating plugins like that shouldn't do any harm (I have quite a few of MeGUI's plugins copied to the "installed" Avisynth plugin folder).
Theoretically it should still produce the same error, but with LSmash in the auto-loading plugins directory, you can delete the LSmash loadplugin line from the script so it's not still being loaded from the MeGUI plugins folder and if it auto-loads okay, problem solved, well..... problem worked around, maybe..... it'd still be nice to know why it's happening. You could do the same with any other plugins that've stopped working with Avspmod, if there's others.
I copied it but it throws the same error. I tried erasing the complete line and also using the path to it in avisynth folder but the error is the same.
Here's a quote from a post in the VideoHelp forum yesterday. Seems it's the same problem kalehrl is having.
If midts quoted the error message correctly it's a different one this time. https://forum.videohelp.com/threads/383449-FFVideoSource-vs-LWLibavVideoSource#post2484868
Odd..... could a Windows Update have broken something?
kalehrl, I can't remember.... which flavour of Windows are you using? I'm just wondering if maybe that's something you have in common. midts is using Win10 x64.
I'm using Windows 10 Pro 64bit updated recently to Redstone 2.
Groucho2004
4th May 2017, 14:47
The about says Windows X86-64 so it should be 32bit.That's the 64 bit version.
There is no 64bit version to download.See above.
The about says Windows X86-64 so it should be ...
64-bit code when it's executed with a 64-bit Python interpreter.
Groucho2004
4th May 2017, 15:10
Does Avisynth "standard" have identical error messages to Avisynth+?
No.
Are they the same error message for every flavour of Windows?Should be, at least for the NT 5.x and 6.x versions.
hello_hello
4th May 2017, 15:35
Don't forget kalehrl has tried opening the scripts with MPC-HC and the problem persisted, so it mightn't be Avspmod specific, unless he has the 64 bit flavour of MPC-HC and it can't open scripts if Avisynth is 32 bit. Can it open them if Avisynth is 32 bit? I don't actually know.
hello_hello
4th May 2017, 15:41
Should be, at least for the NT 5.x and 6.x versions.
I have some encodes running so I'll have to do it tomorrow, but I might try the same test with x64 LSmash to see if it produces a different error message. It occurred to me that midts and I were seeing the same error message when ffms2 wouldn't load, whereas kalehrl was trying to load LSmash and the error message was different.
Not that it'd help to fix anything, but I'm curious now.
Groucho2004
4th May 2017, 15:50
I have some encodes running so I'll have to do it tomorrow, but I might try the same test with x64 LSmash to see if it produces a different error message. It occurred to me that midts and I were seeing the same error message when ffms2 wouldn't load, whereas kalehrl was trying to load LSmash and the error message was different.
Not that it'd help to fix anything, but I'm curious now.How is this related to error messages thrown by Windows?
hello_hello
4th May 2017, 16:51
midts can't load ffms2. It results in an error message. I couldn't load ffms2 when I switched it for the 64 bit version (naturally) but the error message was the same as it was for midts.
kalehrl can't load Lsmash. His error message was different (not a 32 bit application). I'm curious to see if when I change Lsmash to 64 bit and try to load it, I get them same error message as I did for ffms2, or if I get the same error message as kalehrl.
ie If 64 bit ffms2 and 64 bit Lsmash result in different error messages. That's all.
Groucho2004
4th May 2017, 16:59
midts can't load ffms2. It results in an error message. I couldn't load ffms2 when I switched it for the 64 bit version (naturally) but the error message was the same as it was for midts.
kalehrl can't load Lsmash. His error message was different (not a 32 bit application). I'm curious to see if when I change Lsmash to 64 bit and try to load it, I get them same error message as I did for ffms2, or if I get the same error message as kalehrl.
ie If 64 bit ffms2 and 64 bit Lsmash result in different error messages. That's all.I think you're getting the error messages that various Avisynth versions produce mixed up with the error codes thrown by Windows. Windows just produces a code (0x1C, for example). The application that catches the error (usually via GetLastError()) is responsible for formatting it into a user readable format (usually via FormatMessage()). Unfortunately, many programs just throw the error code at the user who then has to figure out what it means.
hello_hello
4th May 2017, 17:36
I see..... I think. :)
So you're saying Windows can produce an error message such as 0xC1, and Avisynth will translate it into something else, such as "not a 32 bit application"?
Because the error message Avisynth displayed was 0xC1 for ffms2 x64, in my case.
Edit. Now I see, 0xC1 is the error code for "not a 32 bit application", but for some reason Avisynth isn't translating it.
Cheers.
kalehrl
4th May 2017, 19:55
That's the 64 bit version.
See above.
OMG this is so embarrassing!
You are right!
I've been using the 64bit AvspMod that I updated some time ago without even testing it at that time. I believe I downloaded the updated 64bit version from this forum.
Now, when I needed to do some encoding, I forgot all about the damn update and that it could be the cause of the problem. I downloaded the official version from the github and it works. I'm sorry for wasting everybody's time. Thank you all for your help. These post, which are not really related to MeGUI, could be deleted if an admin thinks so.
Zathor
4th May 2017, 21:32
so, here is a VOB sample in 16:9 with border:
https://mega.nz/#!5sgDQIyQ!w9x-gq8IM3c9PpPilAXGv093P42A5psdw_EPM7X1hZ4
and when use build 2624 one-click encoder with my avisynth profile, it will out put a 640x480,4:3 mp4. It's what my want.
https://mega.nz/#!B85DSarJ!leteVasSiGl7PvUvi4Am1ON778z05QQDpIhz0KcdD_k
but when use build 2722, it will out put a 640x480,16:9 mp4. I don't want this.
https://mega.nz/#!JtwBnRxJ!0QHo6tqvB0JQL-zPhF5oebSbd-514E4vFN9yhYHjJts
so, I wanna I can disable "auto detect display aspect autio".
I have tested it. My results:
2624 + 2722 produce the same "wrong" mp4 file with 16:9 AR. For me this is clear as MeGUI tries to keep up with the detected input AR of 16:9. Btw that is what will be selected in the OneClick settings: the INPUT aspect ratio. MeGUI assumes that the output AR must be the same as the input AR (if anamorph encoding is selected, otherwise 1:1 will be used as PAR). As you are changing the output in the script (autocrop & resize) MeGUI does not know that the input AR is not valid anymore for the output. Two suggestions to make it work:
- Do not resize - encode anamorph as the pixel information will be retained (as Tebasuna suggested)
- If you really want to resize: disbale the usage of ITU values in the settings, remove your resize & autocrop from the avs profile, enable the resize in the OneClick profile incl. autocrop together with a maximum width of 640. In my tests I ended up with a suare pixel 640:480 = 4:3 encode.
hello_hello
4th May 2017, 21:47
Is it possible MeGUI gets carried away with the file locking. This is all the same source file, and after the encode had finished. Why a source file is often locked by x264 before the script is encoded is something else I don't understand. If it wasn't for Unlocker I'd be living in a padded room by now.
https://s18.postimg.org/cp2080km1/unlocker.gif
And then MeGUI went and out-did itself, although that was a test script so admittedly I encoded it three times.
https://s22.postimg.org/8isqquo1t/unlocker2.gif
Zathor
4th May 2017, 22:04
But I think than is not the exact DAR of this sample.
Then I do other encode with:
- Selecting Generic non-ITU Input DAR: 16:9 (1.77778)
- Clever anamorphic...: Encode non-mod16
- Autocrop (without resize)
And I obtain a wrong output DAR 646x472 like with job25
@Zathor
For what the change of aspect ratio (avs) 1,337 to the undesired aspect ratio (job) 1.370?
With a --sar near 32:27 we can obtain a correct output DAR 630x472
How have you done that? I just did a manual encode (File Indexer, AVS Script Creator, X264) with your settings above and the output did had the correct AR.
Zathor
4th May 2017, 22:10
Is it possible MeGUI gets carried away with the file locking. This is all the same source file, and after the encode had finished. Why a source file is often locked by x264 before the script is encoded is something else I don't understand. If it wasn't for Unlocker I'd be living in a padded room by now.
And then MeGUI went and out-did itself, although that was a test script so admittedly I encoded it three times.
Hard to guess. MeGUI itself should not have any file handles open to those files. Two exceptions: AVS scripts opened by MeGUI or mediainfo information.
Could you please replace your megui.exe with these files? http://megui.org/megui_test.zip
In the log tab you will find a new "AviSynth" chapter where you can see when MeGUI uses avisynth and if it will be closed properly. if the encode is finished the last entry there should be that the count of avisynth sessions is 0 = no file lock.
EDIT: I uploaded another debug build. Btw. you can also try the new worker settings if you like. The window is not polished at all yet, but workers are started based on the rules on that page.
hello_hello
5th May 2017, 12:30
Thanks. I'll give it a spin after the current bunch of encoding jobs have finished. Probably tomorrow at this rate.
Mind you, a few days ago I tried moving the d2v files from six completed jobs but I couldn't because they were all locked, then the next few were movable, then a couple not, and sometimes it doesn't happen for days, so it's fairly intermittent. I'll keep my eye on the log file though and let you know what it contains when it happens next.
Cheers.
tebasuna51
5th May 2017, 13:01
How have you done that? I just did a manual encode (File Indexer, AVS Script Creator, X264) with your settings above and the output did had the correct AR.
I located the bug (at least in my side).
Beggining with Settings -> Main Configuration -> Use ITU Aspect Ratio NOT CHECKED
Now detected Input DAR is 16:9 (1.77778)
-[Information] Log for job1 (video, VTS_01_PGC_02_1.avs -> VTS_01_PGC_02_14.mkv)
---[NoImage] # Set DAR in encoder to 131 : 98. The following line is for automatic signalling
---[NoImage] global MeGUI_darx = 131
---[NoImage] global MeGUI_dary = 98
...
---[NoImage] crop(94, 4, -94, -4)
--[Information] [05/05/2017 13:13:25] resolution: 532x472
--[Information] [05/05/2017 13:13:25] aspect ratio: 131:98 (1.337)
--[Information] [05/05/2017 13:13:25] Job command line: ... --sar 7729:6517...
All correct.
Now manually select Input DAR in AviSynth Script creator to ITU 16:9 NTSC (1.823169)
-[Information] Log for job2 (video, VTS_01_PGC_02_1.avs -> VTS_01_PGC_02_15.mkv)
---[NoImage] # Set DAR in encoder to 137 : 100. The following line is for automatic signalling
---[NoImage] global MeGUI_darx = 137
---[NoImage] global MeGUI_dary = 100
---[NoImage] crop(94, 4, -94, -4)
--[Information] [05/05/2017 13:17:53] resolution: 532x472
--[Information] [05/05/2017 13:17:53] aspect ratio (avs): 137:100 (1.370)
--[Information] [05/05/2017 13:17:53] aspect ratio (job): 131:98 (1.337)
--[Information] [05/05/2017 13:17:53] Job command line: ... --sar 7729:6517...
The avs is correct but the job obey the Main Configuration instead the manual user selection.
Just the same (see previous post) if beggining with Settings -> Main Configuration -> Use ITU Aspect Ratio CHECKED
Full logs of both ways:
sumirecccp
5th May 2017, 18:32
thank you for Zathor and tebasuna51 for testing.
The best way to solve this problem I think is to add a "DAR select menu" on the one-click configuration dialog, so we can choose or ignore the DAR manually.
It's very useful in batch VOB converting I think.
tebasuna51 if you know megui's author please tell him this request.
https://image.ibb.co/eJa0J5/QQ_20170506012849.jpg
stax76
5th May 2017, 19:08
@sumirecccp
It can take time until attachments get approved, to show an image instantly you can use a image hoster like postimage.
megui is maintained by Zathor.
hello_hello
6th May 2017, 04:47
I located the bug (at least in my side).
Aren't they both wrong?
I think you're at least partly a victim of MeGUI's option for anamorphic aspect ratio fudging, which is 1% by default, although I don't know what it aims for when fudging is enabled. It's probably of no use unless you want to aim for a nice 4:3 or 16:9 aspect ratio, but for other aspect ratios I can't see much reason not to be accurate about it.
Anyway, I applied your cropping and checked the script.
Non ITU:
global MeGUI_darx = 2128
global MeGUI_dary = 1593
(1.3358)
SAR: 32:27
ITU:
global MeGUI_darx = 54720
global MeGUI_dary = 39943
(1.3670)
SAR: 5760:4739.
That's the old ITU SAR I MeGUI still uses, so it's what it should be.
https://forum.doom9.org/showthread.php?p=1058927#post1058927
If I change the option to 1%, I get display aspect ratios of 131:98 and 137:100 as you did.
SARs 7729:6517 & 8083:6650 respectively when I encoded them.
When you ran the encodes, did you resave/edit the script and add it to the queue without first reloading it into the Avsiynth script section (was it already loaded), or did you at least usie the "re-open video preview" button? Because that might explain the same SAR each time. Once you've loaded a script into the video section and MeGUI's done it's checking, it seems to stay married to that display aspect ratio if you don't reload the script. I'm not sure if it works exactly the same way for anamorphic encoding, but if you had a non anamorphic script outputting 640x480 (for example) and edited the resizing to 656x480 without reloading it (just for example) I'm pretty sure MeGUI will go all anamorphic & try to "correct it" to 4:3 by changing the SAR.
Off the top of my head, I can't think of another likely explanation, especially given for your previous test it used SAR 8083:6650 both times.
sumirecccp
6th May 2017, 06:08
@sumirecccp
It can take time until attachments get approved, to show an image instantly you can use a image hoster like postimage.
megui is maintained by Zathor.
thank you , edited.
hello_hello
6th May 2017, 07:42
thank you for Zathor and tebasuna51 for testing.
The best way to solve this problem I think is to add a "DAR select menu" on the one-click configuration dialog, so we can choose or ignore the DAR manually.
It's very useful in batch VOB converting I think.
The only way for an Output DAR option not to distort the encodes by different amounts would be for MeGUI to make sure they're all cropped to the same aspect ratio.
I had a cunning plan, but it was slightly thwarted by MeGUI in the end. Still workable though.
By somewhat of a coincidence (there's no guarantee the auto-cropping will be the same each time) applying your autocrop settings to your sample manages to give you exactly 4:3, if you assume a generic PAR/SAR of 32:27.
Autocrop defaults to a mod4 width and mod2 height when cropping (I forgot about that till after I finished playing around so didn't change it myself), however to ensure it's 4:3 each time, you should still set the correct aspect ratio, and if you're going to set a cropping aspect ratio, you might as well make it mod2 for some extra resizing accuracy if you resize afterwards.
If the source PAR is 32:27, that'll be:
Autocrop(mode=1, wMultOf=2, threshold=50, samples=10, aspect=1.125)
Otherwise, and it might be more correct, if you use the mpeg4 SAR of 40:33, the aspect will be:
Autocrop(mode=1, wMultOf=2, threshold=50, samples=10, aspect=1.1)
Here's the difference for your sample (without wMultOf=2):
Aspect 1.125 vs Aspect 1.1
https://s3.postimg.org/iumi60hi7/1125.jpg (https://postimg.org/image/iumi60hi7/) https://s3.postimg.org/76sgbgsdb/image.jpg (https://postimg.org/image/76sgbgsdb/)
The cropping/resolution mightn't always be the same, but the display aspect ratio should be.
Follow autocrop with resizing to 4:3 dimensions in your template if you want to resize, as you're doing.
Autocrop(mode=0, wMultOf=2, threshold=50, samples=10, aspect=1.125)
Spline36Resize(640,480)
Create an encoder preset with the "force SAR" option set to 1:1 under the Misc tab for x264, or add --sar 1:1 to the custom command line section for x265 and save the encoder preset as part of your OneClick profile. That fixes the encoding, and it doesn't seem to matter if "keep input resolution" etc are enabled or not, but the muxing.... not so much....
--[Information] [06/05/17 3:42:10 PM] Avisynth input script
---[NoImage] global MeGUI_darx = 16
---[NoImage] global MeGUI_dary = 9
---[NoImage] LoadPlugin("C:\Program Files\MeGUI\tools\dgindex\DGDecode.dll")
---[NoImage] DGDecode_mpeg2source("D:\aseauczn.pgj\VTS_01_PGC_02_1.d2v")
---[NoImage] Autocrop(mode=0,threshold=50,samples=10, aspect=1.1)
---[NoImage] Spline36Resize(640,480)
--[Information] [06/05/17 3:42:10 PM] resolution: 640x480
--[Information] [06/05/17 3:42:10 PM] frame rate: 30000/1001
--[Information] [06/05/17 3:42:10 PM] frames: 1550
--[Information] [06/05/17 3:42:10 PM] aspect ratio: 16:9 (1.778)
--[Information] [06/05/17 3:42:11 PM] custom command line: --sar 1:1
--[Information] [06/05/17 3:42:11 PM] Job command line: "C:\Program Files\MeGUI\tools\x265\avs4x26x.exe" --x26x-binary "C:\Program Files\MeGUI\tools\x265\x86\x265.exe" --preset superfast --sar 1:1 --output "D:\aseauczn.pgj\VTS_01_PGC_02_1_Video.hevc" "D:\aseauczn.pgj\VTS_01_PGC_02_1.avs"
--[Information] [06/05/17 3:42:11 PM] Process started
--[Information] [06/05/17 3:42:11 PM] Standard output stream
---[Information] [06/05/17 3:42:47 PM] avs [info]: AviSynth 2.60, build:Mar 31 2015 [16:38:54]
---[Information] [06/05/17 3:42:47 PM] avs [info]: Video colorspace: YV12
---[Information] [06/05/17 3:42:47 PM] avs [info]: Video resolution: 640x480
---[Information] [06/05/17 3:42:47 PM] avs [info]: Video framerate: 30000/1001
---[Information] [06/05/17 3:42:47 PM] avs [info]: Video framecount: 1550
---[Information] [06/05/17 3:42:47 PM] avs4x26x [info]: "C:\Program Files\MeGUI\tools\x265\x86\x265.exe" - --preset superfast --sar 1:1 --output D:\aseauczn.pgj\VTS_01_PGC_02_1_Video.hevc --frames 1550 --fps 30000/1001 --input-res 640x480 --input-csp i420
--[Warning] [06/05/17 3:42:11 PM] Standard error stream
---[Information] [06/05/17 3:42:11 PM] yuv [info]: 640x480 fps 30000/1001 i420p8 sar 1:1 unknown frame count
Unfortunately it's the muxing that lets the team down.
--[Information] [06/05/17 3:45:43 PM] Job command line: "C:\Program Files\MeGUI\tools\mkvmerge\mkvmerge.exe" -o "D:\VTS_01_PGC_02_1.mkv" --aspect-ratio 0:16/9 --default-duration 0:29.97fps "--compression" "0:none" -d "0" --no-chapters -A -S "D:\aseauczn.pgj\VTS_01_PGC_02_1_Video.hevc" --engage no_cue_duration --engage no_cue_relative_position --ui-language en
I can't think of a reason why MeGUI should specify an aspect ratio when muxing with MKVToolNix. The SAR is always written to the video stream, and when it is, MKVToolNix uses it to set the correct display aspect ratio automatically, so it only seems like potential for something to go wrong.
All is not lost though. Until you've convinced Zathor to remove the aspect ratio from the muxing command line, set MeGUI to not delete temporary files, find the encoded hevc stream, open it with MKVToolNix GUI, click the "start multiplexing button" (add the extracted audio first etc if you wish) and in no time you'll have a 4:3 MKV.
If you want to use anamorphic encoding without any resizing instead and still output 4:3, remove the resizing from your template and add the appropriate SAR to the command line. ie:
Autocrop(mode=0, wMultOf=2, threshold=50, samples=10, aspect=1.125).Spline36Resize(640,480) for --sar 1:1
Autocrop(mode=0, threshold=50, samples=10, aspect=1.125) for --sar 32:27
Autocrop(mode=0, threshold=50, samples=10, aspect=1.1) for --sar 40:33
Whichever you use, you'll just have to mux the output hevc file yourself so MeGUI can't set the wrong MKV aspect ratio, but it should be encoded correctly.
The aspect ratio for cropping is easy to work out once you've picked a source PAR/SAR. I go with mpeg4 or generic PARs as they're easier to remember than ITU, and they can be found under "force SAR" in MeGUI's x264 configuration.
(4 / 3) / (32 / 27) = 1.125
How to set aspect properly (https://forum.doom9.org/showthread.php?p=1058927#post1058927)
tebasuna51
6th May 2017, 10:42
The best way to solve this problem I think is to add a "DAR select menu" on the one-click configuration dialog, so we can choose or ignore the DAR manually.
Like I say I never use One-click encode, then I don't know if that can help or not.
But I don't understand for what you check 'Keep Input Resolution (disable crop & resize)' when you seems use a AviSynth Profile than make a crop and a resize:
tfm(order=-1).tdecimate(hybrid=1)
autocrop(mode=0,threshold=50,samples=10)
lanczos4resize(640,480)
What happens if you uncheck 'Keep Input Resolution (disable crop & resize)'? Maybe the Input DAR is ignored.
Aren't they both wrong?
...
When you ran the encodes, did you resave/edit the script and add it to the queue without first reloading it into the Avsiynth script section (was it already loaded), or did you at least usie the "re-open video preview" button?
See the full log's.
First log procedure:
1) Open MeGUI
2) Settings -> Main Configuration -> Use ITU Aspect Ratio NOT CHECKED
3) Load .d2v in Avs Script Creator, encode with detected Input DAR 16:9 (1.77778)
The AR 1.337 is not changed.
4) Again Load .d2v in Avs Script Creator, manually select Input DAR in AviSynth Script creator to ITU 16:9 NTSC (1.823169)
5) New encode, the avs AR 1.370 is changed to 1.337.
6) Close MeGUI
Second log procedure:
1) Open MeGUI
2) Settings -> Main Configuration -> Use ITU Aspect Ratio CHECKED
3) Load .d2v in Avs Script Creator, encode with detected Input DAR ITU 16:9 NTSC (1.823169)
The AR 1.370 is not changed.
4) Again Load .d2v in Avs Script Creator, manually select Input DAR in AviSynth Script creator to DAR 16:9 (1.77778)
5) New encode, the avs AR 1.337 is changed to 1.370.
I think you're at least partly a victim of MeGUI's option for anamorphic aspect ratio fudging, which is 1% by default,...
I know, the question is not related with exact sar's to use, is for what MeGUI change the avs aspect ratio.
hello_hello
6th May 2017, 10:53
A couple more muxing thoughts....
I ask, because I discovered x264 is very good a variable frame rate encoding so I've been using TIVTC to create a timecodes file for NTSC sources, then it's simply a matter of adding the timecodes file to the x264 command line. It's surprisingly easy. So much so, it's a wonder no Avisynth GUIs have implemented a VFR mode (that I know of), but once again I can't let MeGUI mux the output because it adds a frame rate to the mkvmerge command line. Does that have a purpose, at least when the encoder is writing the output directly to MKV?
And I think sometimes it adds the frame rate like this --default-duration 0:29.97fps and sometimes in this format --default-duration 0:3000/1001, but I can't remember when exactly.
I am pretty sure the PAR of the original .vob sample is 32:27.
The source is hard telecined, possibly with broken pattern (I didn't fully check though). Because of the interlaced frames, vertical resizing should be avoided unless proper IVTC is applied.
So my proposed script for an anamorphic 4:3 picture would be (without IVTC):
crop(94,0,-94,0)
spline36resize(710,480) #don't resize vertically
addborders(4,0,6,0) #pad to 720 width
Encode this with --tff --sar 8:9 (=0.8888... generic NTSC for DAR 4:3)
Zathor
6th May 2017, 11:17
I located the bug (at least in my side).
Beggining with Settings -> Main Configuration -> Use ITU Aspect Ratio NOT CHECKED
Now detected Input DAR is 16:9 (1.77778)
All correct.
Now manually select Input DAR in AviSynth Script creator to ITU 16:9 NTSC (1.823169)
The avs is correct but the job obey the Main Configuration instead the manual user selection.
Just the same (see previous post) if beggining with Settings -> Main Configuration -> Use ITU Aspect Ratio CHECKED
I just tested it myself and sadly I cannot reproduce it. I did what you wrote and - as not mentioned by you - I did the first AVS, closed the AVS creator, queued the encoding, let it finish, started the AVS creator again (reused existing d2v), created the second AVS, closed the AVS creator, queued the encoding. Both have their correct ARs. No difference between the jobs and the files AR.
EDIT: Bug found - it appears only if the setting "show video preview after avisynth script selection" is unchecked.
EDIT2: fixed
Zathor
6th May 2017, 11:20
A couple more muxing thoughts....
I ask, because I discovered x264 is very good a variable frame rate encoding so I've been using TIVTC to create a timecodes file for NTSC sources, then it's simply a matter of adding the timecodes file to the x264 command line. It's surprisingly easy. So much so, it's a wonder no Avisynth GUIs have implemented a VFR mode (that I know of), but once again I can't let MeGUI mux the output because it adds a frame rate to the mkvmerge command line. Does that have a purpose, at least when the encoder is writing the output directly to MKV?
And I think sometimes it adds the frame rate like this --default-duration 0:29.97fps and sometimes in this format --default-duration 0:3000/1001, but I can't remember when exactly.
All these fps/AR settings get applied to the muxers as for some input formats there are/were problems to be detected by the muxers resulting in wrong files. I am not sure if this is still true today. If not I can remove those forced settings at least for the formats/input files we now it works for.
Please keep in mind that we have four muxers and an "unlimited" count of input formats (while only 4 types are encoded by MeGUI, way more can be muxed e.g. into mkv).
stax76
6th May 2017, 12:05
All these fps/AR settings get applied to the muxers as for some input formats there are/were problems to be detected by the muxers resulting in wrong files. I am not sure if this is still true today. If not I can remove those forced settings at least for the formats/input files we now it works for.
Please keep in mind that we have four muxers and an "unlimited" count of input formats (while only 4 types are encoded by MeGUI, way more can be muxed e.g. into mkv).
I use MediaInfo to check if the input has fps metadata.
If MediaInfo.GetFrameRate(p.VideoEncoder.OutputPath, 0) = 0 Then
args.Append(" --default-duration 0:" + p.Script.GetFramerate.ToString("f6", CultureInfo.InvariantCulture) + "fps")
End If
MediaInfo code to get the frame rate:
Function GetFrameRate(Optional defaultValue As Double = 25) As Double
Dim num = GetVideo("FrameRate_Num").ToInt
Dim den = GetVideo("FrameRate_Den").ToInt
If num > 0 AndAlso den > 0 Then Return num / den
Dim ret = GetVideo("FrameRate")
If ret = "" Then ret = GetVideo("FrameRate_Original")
If ret = "" Then ret = GetVideo("FrameRate_Nominal")
If ret.IsDouble Then Return ret.ToDouble Else Return defaultValue
End Function
I believe most tools create fps metadata, one tool that don't is VCEEnc because of the VCE SDK.
Zathor
6th May 2017, 12:16
I use MediaInfo to check if the input has fps metadata.
I believe most tools create fps metadata, one tool that don't is VCEEnc because of the VCE SDK.
Thanks, yes, MeGUI does it the same way with MediaInfo. However you still do not know if the muxer uses also the media information of the source file. E.g. HEVC was not parsed for some time by the muxers to my knowledge even as it could be added.
Zathor
6th May 2017, 12:35
I ask, because I discovered x264 is very good a variable frame rate encoding so I've been using TIVTC to create a timecodes file for NTSC sources, then it's simply a matter of adding the timecodes file to the x264 command line. It's surprisingly easy. So much so, it's a wonder no Avisynth GUIs have implemented a VFR mode (that I know of)
Could you please share more details about that? e.g. sample file(s),...
hello_hello
6th May 2017, 12:39
Like I say I never use One-click encode, then I don't know if that can help or not.
But I don't understand for what you check 'Keep Input Resolution (disable crop & resize)' when you seems use a AviSynth Profile than make a crop and a resize:
tfm(order=-1).tdecimate(hybrid=1)
autocrop(mode=0,threshold=50,samples=10)
lanczos4resize(640,480)
What happens if you uncheck 'Keep Input Resolution (disable crop & resize)'? Maybe the Input DAR is ignored.
I don't think the "keep input resolution" option should have anything to do with the aspect ratio directly. It seems to just disable cropping and resizing. Maybe I don't use OneClick enough myself, so I don't understand why it also greys out the InputDAR option.
It'd be like opening a source in the script creator and being able to set a different InputDAR when resizing is enabled, but you're stuck with the InputDAR detected by MeGUI if you disable resizing. The same applies to the anamorphic option. I don't understand why "keep input resolution" greys it out if all it should do is disable auto-cropping and auto-resizing.
I guess ideally OneClick would work the same way as creating a script with the Script Creator, using the InputDAR as the basis for it's calculations according to the script output. I guess that's what it does when OneClick is auto cropping and resizing, but it's oblivious to any changes in resolution or aspect ratio inflicted on the video by an Avisynth profile.
My main motivation for creating this script (https://forum.videohelp.com/threads/382888-CropResizeBorder-script) was to make it easy to crop and resize to a specific output resolution/aspect ratio automatically for batch encoding, pretty much what sumirecccp wants to do with his auto-cropping, I assume, and it works a treat as long as I create individual scripts and load them for batch encoding rather than add it to an Avisynth profile for OneClick.
It be great if a GUI could do the same.... here's a bunch of files I want cropped to exactly 16:9 and resized to 960x540... as opposed to copping varying amounts of back and outputting whatever resolution/aspect ratio happens to remain.
See the full log's.
Yeah, I see what you mean and it appears Zathor's outdone himself and fixed it already. :)
hello_hello
6th May 2017, 12:42
Could you please share more details about that? e.g. sample file(s),...
Certainly. I'll wonder off and find some old scripts and return shortly.
Before I go.......
I also don't use OneClick enough to have discovered which settings in the Avisynth profile configuration effect the OneClick encoder. For instance if you create an Avisynth profile with anamorphic encoding enabled and select it as the Avisynth profile for OneClick, but leave anamorphic encoding unchecked in the OneClick configuration, which setting wins? That sort of thing....
Cheers.
Zathor
6th May 2017, 14:21
I also don't use OneClick enough to have discovered which settings in the Avisynth profile configuration effect the OneClick encoder. For instance if you create an Avisynth profile with anamorphic encoding enabled and select it as the Avisynth profile for OneClick, but leave anamorphic encoding unchecked in the OneClick configuration, which setting wins? That sort of thing....
Good point! I will modify it in the way that the AVS profile will enable the OneClick anamorphic setting if enabled in the AVS profile. But maybe the best way is to completly remove the anamorphic checkbox and only to use it from within the AVS profile. Any thoughts?
Regarding the "keep input resolution": To be honest the settings of the Display Aspect Ratio and anamorphic get in any case applied if if disabled. I will change that as well yo that you can modify the checkbox / AR selection.
hello_hello
6th May 2017, 14:46
Could you please share more details about that? e.g. sample file(s),...
Hopefully this essay won't make it look hard. I'm just being thorough. ;)
When I referred to VFR and TIVTC, I was referring to encoding any hybrid NTSC DVD. A combination of "film" and "video". TIVTC mostly outputs two constant frame rates. 23.976 and 29.970. There's plugins such as Dedup for producing timecodes files and removing as many duplicate frames as possible, but that's all they do.
If you're not fond of TIVTC's de-interlacing, I'm fairly sure you can still create a second de-interlaced clip for it to use.
I'm yet to find a way to IVTC the film parts and de-interlace the video parts to 60fps, although I'm not sure that's a big deal. If a source was predominantly interlaced I'd probably be inclined to de-interlace it all with QTGMC to 60fps and be done with it.
If I'm doing a bunch of encodes, my method is to create two scripts for each encode in advance, the first only with TIVTC for outputting the metrics files (I'll call it script A) and the second with TIVTC and whatever filtering for encoding (I'll call it script B). The trick is to be organised and name all the input/output metrics files in the scripts in logical way, so then it's just a matter of adding "script A" for encode one to the job queue as an analysis pass, "script B" for encode one as a normal encode, "script A" for encode two as an analysis pass, "script B" for encode two and so on...
Once the scripts are created the tedious part is having to open the x264 encoder configuration before adding each encoding script to the queue to change the name of the timecodes file to match the name of the timecodes file in the script.
Analysis and encoding scripts for a single job:
Analysis pass:
TFM(Output="D:\TFM Episode 1.txt")
TDecimate(Mode=4, Hybrid=2, Output="D:\TDecimate Episode 1.txt")
Encoding:
TFM(Input="D:\TFM Episode 1.txt")
TDecimate(Mode=5, Hybrid=2, Input="D:\TDecimate Episode 1.txt", TFMIn="D:\TFM Episode 1.txt", mkvOut="D:\Timecodes Episode 1.txt")
Before adding the second script to the job queue, the following would be added to the custom command line in the x264 encoder configuration:
--tcfile-in "D:\Timecodes Episode 1.txt"
That's pretty much it. None of the output files have to exist, including timecodes file for x264. TIVTC creates it as soon as the encoding script is opened. I always have x264 writing directly to an MKV so I don't know if it can work the same way when outputting raw avc.
The MeGUI "gotcha".....
Mainly due to it's checking of scripts as you add them to the queue. When you add an analysis script to the queue MeGUI does it's checking thing, and TFM and TDecimate spit out their respective metrics files, but only for the first few frames. When you run the analysis pass they're over-written with full versions, however... if the analysis pass has already run and you're silly enough to add the script to the job queue again, or have the audacity to open it an the preview etc, the complete metrics file will be over-written and you have to run the analysis pass again.
That's not a big deal because it's fairly fast. The problem is not realising it's happened before running the encoding pass, which will end up a mess. I'm pretty sure TDecimate has a setting to prevent that, but if memory serves it also prevents the loading of scripts in batch mode the way I described. I'd have to re-check those details.
TIVTC outputs a constant frame rate for Avisynth. I'm fairly sure it uses the average frame rate. Therefore if you leave the keyint settings up to MeGUI, they'll be set according to that frame rate. Personal preference.... I change the GOP calculation setting to fixed and set keyint to 240, or 250, or 300, depending on the mood I'm in.
An alternative is to not give x264 the timecodes file and simply encode at a fixed frame rate and add the timecodes file when muxing, but as x264 is frame rate aware, the resulting bitrate can be a little different for a given CRF value. I've not looked closely for quality differences but I assume x264 distributes the bits differently in VFR mode.
Encoding other VFR sources in VFR mode is a breeze if they're MKVs or something that can be remuxed as MKVs.
Remux, extract the video time codes, add them to the x264 command line and encode.
hello_hello
6th May 2017, 16:24
Good point! I will modify it in the way that the AVS profile will enable the OneClick anamorphic setting if enabled in the AVS profile. But maybe the best way is to completly remove the anamorphic checkbox and only to use it from within the AVS profile. Any thoughts?
To be honest 90% of my OneClick usage has been in the last couple of days, but I did find it a little frustrating at times.
By that, I mean MeGUI's encoder configurations have me well trained, so after opening OneClick and changing a setting and closing it, I kept forgetting it'd revert back to the way it was configured by the current OneClick profile. Quite a few times I unintentionally encoded with the wrong encoder configuration, or the wrong Avisynth profile etc, especially as some of those settings aren't visible initially.
Personally I think if the OnceClick configuration was much the same as the encoder configurations.... advanced options under tabs, no configuration within a configuration.... that's what configuring a OneClick profile seems like to me.... but a preset list at the bottom, and MeGUI asking twice if you want to update the profile or save it to scratchpad would give it quite a familiar feel. I know the configuration within the configuration works that way, but it just feels to me like the whole lot should be a single window.
For the Avisynth profile thing... I came up with various ideas but in the end decided they were bad, and part of the problem may be there's too many ways to change settings, so I kept going back to merging OneClick's configuration within a configuration into a single OneClick configuration, and maybe a better way to unite it with the Script Creator's Avisynth Profile Configuration will become more obvious.
For example, at the moment you can open the Avisynth profile configuration from both the OneClick/Advanced Config tab/Avisynth Profile/ Config button and also from the OneClick/Profile Configuration/Avisynth Profile Config button....
I don't know why, but having a Go button rather than a Queue button in the OneClick root configuration window makes me smile....
I still haven't managed to get around to playing with your MeGUI test build. Tomorrow....
tebasuna51
6th May 2017, 18:51
EDIT: Bug found - it appears only if the setting "show video preview after avisynth script selection" is unchecked.
EDIT2: fixed
Yes, I have "Show video preview after avisynth script selection" unchecked.
Thanks.
Zathor
6th May 2017, 19:10
2726 [OneClick] removed the "Anamorph Output" option in the OneClick profile. Please use the anamorphic encoding options in the AviSynth profile instead.
2725 [Main] fixed wrong AR of a "video encoding" queued job in rare cases (regression of 2610)
2724 [OneClick] cosmetic fix as sometimes even with "don't encode video" some video processing options were not disabled
2723 [OneClick] improved error handling of invalid AviSynth scripts
I still haven't managed to get around to playing with your MeGUI test build. Tomorrow....
Take your time. Btw I upload (at least until the new feature will be merged) always the test/debug builds in parallel to the normal builds.
And thanks for the VFR explanation! Do you have a sample file available?
sumirecccp
6th May 2017, 19:30
hi zathor, I test the build 2726 but it will crash when processing one-click profile.
https://preview.ibb.co/dn8wrQ/QQ_20170507022536.jpg
LOG:
Preliminary log file only. During closing of MeGUI the well formed log file will be written.
-[Information] Versions
--[Information] [2017/05/07 2:26:21] MeGUI: 2726
--[Information] [2017/05/07 2:26:21] Operating System: Windows 10 Enterprise x64 (10.0.0.15063)
--[Information] [2017/05/07 2:26:21] .NET Framework: 4.0 (4.0.0.0)
--[Information] [2017/05/07 2:26:21] .NET Framework: 4.7 (4.7.02046)
-[Information] Update detection
--[Information] [2017/05/07 2:26:21] Automatic update is disabled
--[Information] [2017/05/07 2:26:21] Using cached update config and server: http://megui.tmebi.de/test/
--[Information] [2017/05/07 2:26:21] Haali Media Splitter: 1.13.138.14 (14-04-2013)
--[Information] [2017/05/07 2:26:21] Haali DSS2: not installed
--[Information] [2017/05/07 2:26:21] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [2017/05/07 2:26:21] MediaInfo: 0.7.95.0 (04-05-2017)
--[Information] [2017/05/07 2:26:21] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [2017/05/07 2:26:21] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [2017/05/07 2:26:21] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [2017/05/07 2:26:21] 7z: 9.20 (18-11-2010)
-[Information] [2017/05/07 2:26:21] Version: 1.0.2721.0
-[Information] [2017/05/07 2:26:21] Date: 29-04-2017
-[Information] [2017/05/07 2:26:21] Interface: 3
--[Information] AviSynth Wrapper
--[Information] [2017/05/07 2:26:21] No package requires an update
-[Information] [2017/05/07 2:26:21] File Version: 2.6.0.5
-[Information] [2017/05/07 2:26:21] Date: 20-02-2015
-[Information] [2017/05/07 2:26:21] Name: Avisynth 2.6
-[Information] [2017/05/07 2:26:22] Version: AviSynth 2.60, build:Feb 20 2015 [03:16:45]
-[Information] [2017/05/07 2:26:22] AviSynth+: false
-[Information] [2017/05/07 2:26:22] MT: true
-[Information] [2017/05/07 2:26:22] Status: inactive
--[Information] AviSynth
-[Information] [2017/05/07 2:26:22] File Version: 0.1
-[Information] [2017/05/07 2:26:22] Date: 16-03-2017
-[Information] [2017/05/07 2:26:22] Name: AviSynth+ 0.1 (r2455, MT, i386)
-[Information] [2017/05/07 2:26:22] Version: AviSynth+ 0.1 (r2455, MT, i386)
-[Information] [2017/05/07 2:26:22] AviSynth+: true
-[Information] [2017/05/07 2:26:22] MT: true
-[Information] [2017/05/07 2:26:22] Status: active
--[Information] AviSynth portable
-[Information] OneClick
--[Information] [2017/05/07 2:27:04] MediaInfo
---[Information] [2017/05/07 2:27:04] File: F:\DVD_VOLUME\VIDEO_TS\VTS_01_PGC_02_1.VOB
-[Information] Format: MPEG-PS
-[Information] FormatString: MPEG-PS
-[Information] FileSize: 36626432
-[Information] PlayTime: 00:00:51.718
---[Information] General
-[Information] ID: 224
-[Information] StreamOrder:
-[Information] Width: 720
-[Information] Height: 480
-[Information] FrameCount: 1550
-[Information] FrameRate: 29.970
-[Information] FrameRateOriginal:
-[Information] FrameRateMode:
-[Information] ScanType: Interlaced
-[Information] Codec: MPEG-2V
-[Information] CodecString: MPEG-2 Video
-[Information] Bits Depth: 8
-[Information] Format: MPEG Video
-[Information] AspectRatio: 1.778
-[Information] AspectRatioString: 16:9
-[Information] Delay: 280.633
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Video
-[Information] ID: 189-128
-[Information] StreamOrder: 0
-[Information] Format: AC-3
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 kHz
-[Information] Channels: 2
-[Information] ChannelsString: 2 channels
-[Information] ChannelPositionsString2: 2/0/0
-[Information] BitRateMode: CBR
-[Information] Delay: 280.633
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
-[Information] [2017/05/07 2:27:04] The language information is not available for this track. The default MeGUI language has been selected.
---[Information] Audio
--[Information] [2017/05/07 2:27:12] Video: F:\DVD_VOLUME\VIDEO_TS\VTS_01_PGC_02_1.VOB
--[Information] [2017/05/07 2:27:12] Audio: F:\DVD_VOLUME\VIDEO_TS\VTS_01_PGC_02_1.VOB ([80] - AC-3 - 2 channels / 48.0 kHz / Japanese)
-[Information] Log for job1 (idx, VTS_01_PGC_02_1.VOB -> VTS_01_PGC_02_1.d2v)
--[Information] [2017/05/07 2:27:18] Started handling job
--[Information] [2017/05/07 2:27:18] Preprocessing
--[Information] [2017/05/07 2:27:18] Job command line: "E:\D\software\megui\tools\dgindex\dgindex.exe" -SD=< -AIF=<F:\DVD_VOLUME\VIDEO_TS\VTS_01_PGC_02_1.VOB< -OF=<F:\DVD_VOLUME\VIDEO_TS\depvgcfg.azo\VTS_01_PGC_02_1< -FO=0 -exit -hide -OM=2
--[Information] [2017/05/07 2:27:18] Process started
--[Information] [2017/05/07 2:27:18] Standard output stream
--[Information] [2017/05/07 2:27:18] Standard error stream
--[Information] [2017/05/07 2:27:21] Running auto force film
---[Information] [2017/05/07 2:27:21] Film percentage: -1
--[Information] [2017/05/07 2:27:21] Postprocessing
-[Information] [2017/05/07 2:27:21] Successfully deleted F:\DVD_VOLUME\VIDEO_TS\VTS_01_PGC_02_1.log
---[Information] [2017/05/07 2:27:21] Deleting intermediate files
--[Information] [2017/05/07 2:27:21] Job completed
-[Information] Log for job2 (oneclick, VTS_01_PGC_02_1.VOB -> )
--[Information] [2017/05/07 2:27:21] Started handling job
--[Information] [2017/05/07 2:27:21] Preprocessing
--[Information] [2017/05/07 2:27:21] Processing thread started
--[Information] [2017/05/07 2:27:21] Desired size:
--[Information] [2017/05/07 2:27:21] Split size:
Zathor
6th May 2017, 20:12
I am not able to reproduce that. Could you please upload your OneClick profile? Export it please with File\Export Presets
sumirecccp
7th May 2017, 05:09
I am not able to reproduce that. Could you please upload your OneClick profile? Export it please with File\Export Presets
Oh sorry, I checked the "always use the included avisynth" incorrectly.
2726 will output 640x480,4:3 mp4 when choose INPUT DAR 4:3. but it will only take effect in single file mode.
when use foldermode/multi file mode, it will still output auto-detect 16:9 mp4.
https://image.ibb.co/iOZdo5/QQ_20170507120743.jpg
Zathor
7th May 2017, 10:51
Oh sorry, I checked the "always use the included avisynth" incorrectly.
:confused: It should not crash in any case. What have you changed so that it does not crash anymore or what was the reason for your crash?
2726 will output 640x480,4:3 mp4 when choose INPUT DAR 4:3. but it will only take effect in single file mode.
when use foldermode/multi file mode, it will still output auto-detect 16:9 mp4.
That is expected as you cannot choose the AR in the OneClick profile (yet).
sumirecccp
7th May 2017, 12:56
Zathor, I did't change anything except "always use the included avisynth" in settings.
after uncheck it, it works well again.
>>I am not able to reproduce that. Could you please upload your OneClick profile? Export it please with File\Export Presets
the preset is as the same as before, I did't change anything
>>That is expected as you cannot choose the AR in the OneClick profile (yet).
Hope you can add that function in future build.
Zathor
7th May 2017, 17:06
Zathor, I did't change anything except "always use the included avisynth" in settings.
after uncheck it, it works well again.
So it seems to be then a crash in AviSynth and not in MeGUI. Nevertheless it is strange.
@all: I rewrote the aspect ratio handling a bit. Please test as always. There will be some use cases which I did not had the chance to test.
2631 [OneClick] added aspect ratio selection to the OneClick profile
input aspect ratio can always be selected
if an input aspect ratio will be selected this will be forced
the aspect ratio will not be forced by the muxer if the video track has been encoded
cosmetics
2630 [AutoEncode] do not force the aspect ratio to be written by the muxer as it is available in the video stream
2629 [Muxer] added/improved aspect ratio writing (all muxers except the AVI muxer)
for the M2TS muxer only some input video types are supported
improved logging
2628 [VideoEncoder] forced aspect ratio to be written to the encoding
if not available in the job the avs aspect ratio information will be used
2627 [Worker] priority changes will also be applied to child processes. Feature request #615
sumirecccp
7th May 2017, 23:04
>>Zathor
check "always use the included avisynth" in settings will bring a crash: wait for other person's test, I think it should not be the avisynth's ploblem because it crashes at oneclick profile creation step
build 2631:works fine, it will output 640x480x4:3 mp4 at batch mode.
advice: I think there should be a "disable/ignore input DAR" option here,
https://image.ibb.co/ngBB85/QQ_20170508054054.jpg
Like if I have 2 avs, and one I want to output 1712*720 and another one 640x388, etc...
Bugs in Extra IO:
https://image.ibb.co/bPzET5/QQ_20170508055347.jpg
If I have two VOBS, file name like"VTS_01_PGC_02_1.VOB" and "VTS_01_PGC_03_1.VOB", and two cheapter files like "VTS_01_PGC_02 - Chapter Information - OGG.txt" and "VTS_01_PGC_03 - Chapter Information - OGG.txt".
and I want to encode "VTS_01_PGC_03_1.VOB". the one click encoder will auto load the chapter file "VTS_01_PGC_02 - Chapter Information - OGG.txt" ,but not the "VTS_01_PGC_03 - Chapter Information - OGG.txt" .
also there should be a "X" clear button so I could delete the chapter file.
hello_hello
8th May 2017, 01:42
Today I realised what it is that bugs me the most about the double confirmation dialogue, aside from the fact there's two of them.
I'm not sure I've lined them up exactly, but it's close enough.
Of course normally they're in the same position vertically on the screen as they appear one after the other.
https://s27.postimg.org/90jvtdon7/confim2.jpg
If you're not careful with cursor placement, after the second popup message replaces the first, clicking "No" can become clicking "Yes" or clicking "No" can become clicking "Cancel", so there's two confirmation dialogues with required reading (I was fine with one but my brain doesn't seem to have enough memory for retaining two) and cursor placement needs to move up to a conscious level where it can be adjusted to compensate for button drift.
Maybe it's just me, but the second or two all that takes feels like hard work. :)
hello_hello
8th May 2017, 02:00
sumirecccp's post reminded me of something.
The subtitle section in the script creator is equally stubborn when it comes to removing subtitles from scripts. There's no way to "clear" the subtitle field once they've been added, short of shutting down the script creator and starting again.
I don't think any of the "x" buttons in OneClick or AudoEncode are Woking for me. They seem unable to clear anything.
Zathor
8th May 2017, 07:48
>>Zathor
check "always use the included avisynth" in settings will bring a crash: wait for other person's test, I think it should not be the avisynth's ploblem because it crashes at oneclick profile creation step
I do not have that problem at all with the included avisynth build and your profile. I may upload a debug build later for you to test to see where it will crash.
Bugs in Extra IO:
If I have two VOBS, file name like"VTS_01_PGC_02_1.VOB" and "VTS_01_PGC_03_1.VOB", and two cheapter files like "VTS_01_PGC_02 - Chapter Information - OGG.txt" and "VTS_01_PGC_03 - Chapter Information - OGG.txt".
and I want to encode "VTS_01_PGC_03_1.VOB". the one click encoder will auto load the chapter file "VTS_01_PGC_02 - Chapter Information - OGG.txt" ,but not the "VTS_01_PGC_03 - Chapter Information - OGG.txt" .
It should only autoload in the case it has been or will be created by MeGUI. You only have the VOB + TXT in the directory or the whole structure (+ IFOs...).
I don't think any of the "x" buttons in OneClick or AudoEncode are Woking for me. They seem unable to clear anything.
If you (incl. sumirecccp) tell me which X does not work or is missing I will check it.
Today I realised what it is that bugs me the most about the double confirmation dialogue, aside from the fact there's two of them.
Maybe it's just me, but the second or two all that takes feels like hard work. :)
It is not so easy to change as both are needed for some uses cases and only in one specfic use case you see both.
sumirecccp
8th May 2017, 07:57
>>I do not have that problem at all with the included avisynth build and your profile.
ok,waiting.
>>It should only autoload in the case it has been or will be created by MeGUI. You only have the VOB + TXT in the directory or the whole structure (+ IFOs...).
only have VOB+txt in the directory, you can copy VTS_01_PGC_02_1.VOB I uploaded before and rename it with VTS_01_PGC_03_1.VOB and test for it.
>>If you (incl. sumirecccp) tell me which X does not work or is missing I will check it.
I mean a button like this:
https://image.ibb.co/cv8BrQ/QQ_20170508145521.jpg
https://image.ibb.co/nDBWrQ/QQ_20170508145631.jpg
https://image.ibb.co/bRpvJ5/QQ_20170508145735.jpg
Zathor
8th May 2017, 17:16
>>I do not have that problem at all with the included avisynth build and your profile.
ok,waiting.
Here it is: http://megui.org/megui_debug.zip
EDIT: Extract both files into your MeGUI directory. It should still crash, but the log should show me more information.
StainlessS
8th May 2017, 17:49
If you (incl. sumirecccp) tell me which X does not work or is missing I will check it.
Dont know if this is one that HH is talking about, but, 2nd Dialog box in post 5521, little 'x' close dialog icon is disabled (greyed out).
sumirecccp
8th May 2017, 18:59
>>zathor
Preliminary log file only. During closing of MeGUI the well formed log file will be written.
-[Information] Versions
--[Information] [2017/05/09 2:06:33] MeGUI: 2732
--[Information] [2017/05/09 2:06:33] Operating System: Windows 10 Enterprise x64 (10.0.0.15063)
--[Information] [2017/05/09 2:06:33] .NET Framework: 4.0 (4.0.0.0)
--[Information] [2017/05/09 2:06:33] .NET Framework: 4.7 (4.7.02046)
-[Information] Update detection
--[Information] [2017/05/09 2:06:33] Automatic update is disabled
--[Information] [2017/05/09 2:06:33] Haali Media Splitter: 1.13.138.14 (14-04-2013)
--[Information] [2017/05/09 2:06:33] Using cached update config and server: http://megui.tmebi.de/test/
--[Information] [2017/05/09 2:06:33] Haali DSS2: not installed
--[Information] [2017/05/09 2:06:33] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [2017/05/09 2:06:33] MediaInfo: 0.7.95.0 (04-05-2017)
--[Information] [2017/05/09 2:06:33] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [2017/05/09 2:06:33] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [2017/05/09 2:06:33] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [2017/05/09 2:06:33] 7z: 9.20 (18-11-2010)
-[Information] [2017/05/09 2:06:33] Version: 1.0.2721.0
-[Information] [2017/05/09 2:06:33] Date: 29-04-2017
-[Information] [2017/05/09 2:06:33] Interface: 3
--[Information] AviSynth Wrapper
--[Information] [2017/05/09 2:06:34] There is 1 package which can be updated: x265
-[Information] [2017/05/09 2:06:34] File Version: 2.6.0.5
-[Information] [2017/05/09 2:06:34] Date: 20-02-2015
-[Information] [2017/05/09 2:06:34] Name: Avisynth 2.6
-[Information] [2017/05/09 2:06:34] Version: AviSynth 2.60, build:Feb 20 2015 [03:16:45]
-[Information] [2017/05/09 2:06:34] AviSynth+: false
-[Information] [2017/05/09 2:06:34] MT: true
-[Information] [2017/05/09 2:06:34] Status: inactive
--[Information] AviSynth
-[Information] [2017/05/09 2:06:34] File Version: 0.1
-[Information] [2017/05/09 2:06:34] Date: 16-03-2017
-[Information] [2017/05/09 2:06:34] Name: AviSynth+ 0.1 (r2455, MT, i386)
-[Information] [2017/05/09 2:06:34] Version: AviSynth+ 0.1 (r2455, MT, i386)
-[Information] [2017/05/09 2:06:34] AviSynth+: true
-[Information] [2017/05/09 2:06:34] MT: true
-[Information] [2017/05/09 2:06:34] Status: active
--[Information] AviSynth portable
-[Information] OneClick
--[Information] [2017/05/09 2:06:43] MediaInfo
---[Information] [2017/05/09 2:06:43] File: F:\DVD_VOLUME\VIDEO_TS\VTS_01_PGC_02_1.VOB
-[Information] Format: MPEG-PS
-[Information] FormatString: MPEG-PS
-[Information] FileSize: 36626432
-[Information] PlayTime: 00:00:51.718
---[Information] General
-[Information] ID: 224
-[Information] StreamOrder:
-[Information] Width: 720
-[Information] Height: 480
-[Information] FrameCount: 1550
-[Information] FrameRate: 29.970
-[Information] FrameRateOriginal:
-[Information] FrameRateMode:
-[Information] ScanType: Interlaced
-[Information] Codec: MPEG-2V
-[Information] CodecString: MPEG-2 Video
-[Information] Bits Depth: 8
-[Information] Format: MPEG Video
-[Information] AspectRatio: 1.778
-[Information] AspectRatioString: 16:9
-[Information] Delay: 280.633
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Video
-[Information] ID: 189-128
-[Information] StreamOrder: 0
-[Information] Format: AC-3
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 kHz
-[Information] Channels: 2
-[Information] ChannelsString: 2 channels
-[Information] ChannelPositionsString2: 2/0/0
-[Information] BitRateMode: CBR
-[Information] Delay: 280.633
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
-[Information] [2017/05/09 2:06:46] The language information is not available for this track. The default MeGUI language has been selected.
---[Information] Audio
--[Information] [2017/05/09 2:06:53] Video: F:\DVD_VOLUME\VIDEO_TS\VTS_01_PGC_02_1.VOB
--[Information] [2017/05/09 2:06:53] Audio: F:\DVD_VOLUME\VIDEO_TS\VTS_01_PGC_02_1.VOB ([80] - AC-3 - 2 channels / 48.0 kHz / Japanese)
-[Information] Log for job3 (idx, VTS_01_PGC_02_1.VOB -> VTS_01_PGC_02_1.d2v)
--[Information] [2017/05/09 2:06:59] Started handling job
--[Information] [2017/05/09 2:06:59] Preprocessing
--[Information] [2017/05/09 2:06:59] Job command line: "E:\D\software\megui\tools\dgindex\dgindex.exe" -SD=< -AIF=<F:\DVD_VOLUME\VIDEO_TS\VTS_01_PGC_02_1.VOB< -OF=<F:\DVD_VOLUME\VIDEO_TS\iziwdfnu.2ow\VTS_01_PGC_02_1< -FO=0 -exit -hide -OM=2
--[Information] [2017/05/09 2:06:59] Process started
--[Information] [2017/05/09 2:06:59] Standard output stream
--[Information] [2017/05/09 2:06:59] Standard error stream
--[Information] [2017/05/09 2:07:06] Running auto force film
---[Information] [2017/05/09 2:07:06] Film percentage: -1
--[Information] [2017/05/09 2:07:06] Postprocessing
-[Information] [2017/05/09 2:07:06] Successfully deleted F:\DVD_VOLUME\VIDEO_TS\VTS_01_PGC_02_1.log
---[Information] [2017/05/09 2:07:06] Deleting intermediate files
--[Information] [2017/05/09 2:07:06] Job completed
-[Information] Log for job4 (oneclick, VTS_01_PGC_02_1.VOB -> )
--[Information] [2017/05/09 2:07:06] Started handling job
--[Information] [2017/05/09 2:07:06] Preprocessing
--[Information] [2017/05/09 2:07:06] Processing thread started
--[Information] [2017/05/09 2:07:06] Desired size:
--[Information] [2017/05/09 2:07:06] Split size:
--[Information] [2017/05/09 2:07:06] DEBUG: 1
-[Information] AviSynth
-[NoImage] LoadPlugin("E:\D\software\megui\tools\dgindex\DGDecode.dll")
-[NoImage] DGDecode_Mpeg2Source("F:\DVD_VOLUME\VIDEO_TS\iziwdfnu.2ow\VTS_01_PGC_02_1.d2v")
-[NoImage] 場所 System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
-[NoImage] 場所 System.Environment.get_StackTrace()
-[NoImage] 場所 MeGUI.AviSynthClip.HandleAviSynthWrapperDLL(Boolean bUnload, String script) 場所 D:\MEGUI\MeGUI_debug\packages\tools\avscreator\AvisynthWrapper.cs:行 633
-[NoImage] 場所 MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace) 場所 D:\MEGUI\MeGUI_debug\packages\tools\avscreator\AvisynthWrapper.cs:行 542
-[NoImage] 場所 MeGUI.AviSynthScriptEnvironment.ParseScript(String script, AviSynthColorspace forceColorspace) 場所 D:\MEGUI\MeGUI_debug\packages\tools\avscreator\AvisynthWrapper.cs:行 83
-[NoImage] 場所 MeGUI.AvsFile..ctor(String script, Boolean parse) 場所 D:\MEGUI\MeGUI_debug\packages\reader\avs\AvsReader.cs:行 92
-[NoImage] 場所 MeGUI.AvsFile.ParseScript(String scriptBody) 場所 D:\MEGUI\MeGUI_debug\packages\reader\avs\AvsReader.cs:行 84
-[NoImage] 場所 MeGUI.d2vFile..ctor(String fileName) 場所 D:\MEGUI\MeGUI_debug\packages\reader\d2v\d2vReader.cs:行 90
-[NoImage] 場所 MeGUI.OneClickPostProcessing.createAVSFile(String indexFile, String inputFile, Nullable`1 AR, Int32 desiredOutputWidth, LogItem _log, AviSynthSettings avsSettings, Boolean autoDeint, VideoCodecSettings settings, Boolean autoCrop, Boolean keepInputResolution, Boolean useChaptersMarks) 場所 D:\MEGUI\MeGUI_debug\packages\tools\oneclick\OneClickPostProcessing.cs:行 562
-[NoImage] 場所 MeGUI.OneClickPostProcessing.StartPostProcessing() 場所 D:\MEGUI\MeGUI_debug\packages\tools\oneclick\OneClickPostProcessing.cs:行 284
-[NoImage] 場所 System.Threading.ThreadHelper.ThreadStart_Context(Object state)
-[NoImage] 場所 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
-[NoImage] 場所 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
-[NoImage] 場所 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
-[NoImage] 場所 System.Threading.ThreadHelper.ThreadStart()
--[Information] [2017/05/09 2:07:06] sessions open: 1, id: 600580
but there're not a directory named D:\MEGUI\MeGUI_debug\packages\tools\avscreator\
Not on your PC. I believe that's the location of Zathor's sources.
Zathor
8th May 2017, 20:17
Dont know if this is one that HH is talking about, but, 2nd Dialog box in post 5521, little 'x' close dialog icon is disabled (greyed out).
I assume not, however that second X is also gone as the dialogue in this use case is gone:
2635 [MP4 Muxer] write always aspect ratio information to preserve anamorphic information. Bug #837
2634 [Profile] removed redundant second warning when changing a profile which should be saved to the scratchpad. Feature request #606
2633 [OneClick] added button to clear the working directory path and the chapters file
[AVS Script Creator] added button to clear the subtitle file
[Muxer] added button to clear the chapter file
Zathor
8th May 2017, 20:24
LoadPlugin("E:\D\software\megui\tools\dgindex\DGDecode.dll")
DGDecode_Mpeg2Source("F:\DVD_VOLUME\VIDEO_TS\iziwdfnu.2ow\VTS_01_PGC_02_1.d2v")
Thanks, so it does crash when opening the basic avs script. Could you add those two lines into an AVS script and open it in the AVS script creator? What happens?
Use for your tests this new version: http://megui.org/megui_debug.zip
sumirecccp
8th May 2017, 21:29
>>zathor
[Error] Log
-[Information] Versions
--[Information] [2017/05/09 4:21:41] MeGUI: 2732
--[Information] [2017/05/09 4:21:41] Operating System: Windows 10 Enterprise x64 (10.0.0.15063)
--[Information] [2017/05/09 4:21:41] .NET Framework: 4.0 (4.0.0.0)
--[Information] [2017/05/09 4:21:41] .NET Framework: 4.7 (4.7.02046)
--[Information] [2017/05/09 4:21:41] Haali Media Splitter: 1.13.138.14 (14-04-2013)
--[Information] [2017/05/09 4:21:41] Haali DSS2: not installed
--[Information] [2017/05/09 4:21:41] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [2017/05/09 4:21:41] MediaInfo: 0.7.95.0 (04-05-2017)
--[Information] [2017/05/09 4:21:41] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [2017/05/09 4:21:41] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [2017/05/09 4:21:41] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [2017/05/09 4:21:41] 7z: 9.20 (18-11-2010)
--[Information] AviSynth Wrapper
---[Information] [2017/05/09 4:21:41] Version: 1.0.2721.0
---[Information] [2017/05/09 4:21:41] Date: 29-04-2017
---[Information] [2017/05/09 4:21:41] Interface: 3
--[Information] AviSynth
---[Information] [2017/05/09 4:21:41] File Version: 2.6.0.5
---[Information] [2017/05/09 4:21:41] Date: 20-02-2015
---[Information] [2017/05/09 4:21:41] Name: Avisynth 2.6
---[Information] [2017/05/09 4:21:41] Version: AviSynth 2.60, build:Feb 20 2015 [03:16:45]
---[Information] [2017/05/09 4:21:41] AviSynth+: false
---[Information] [2017/05/09 4:21:41] MT: true
---[Information] [2017/05/09 4:21:41] Status: inactive
--[Information] AviSynth portable
---[Information] [2017/05/09 4:21:41] File Version: 0.1
---[Information] [2017/05/09 4:21:41] Date: 16-03-2017
---[Information] [2017/05/09 4:21:41] Name: AviSynth+ 0.1 (r2455, MT, i386)
---[Information] [2017/05/09 4:21:41] Version: AviSynth+ 0.1 (r2455, MT, i386)
---[Information] [2017/05/09 4:21:41] AviSynth+: true
---[Information] [2017/05/09 4:21:41] MT: true
---[Information] [2017/05/09 4:21:41] Status: active
-[Information] Update detection
--[Information] [2017/05/09 4:21:41] Automatic update is disabled
--[Information] [2017/05/09 4:21:41] Using cached update config and server: http://megui.tmebi.de/test/
--[Information] [2017/05/09 4:21:41] There is 1 package which can be updated: x265
-[Information] AviSynth
--[Information] [2017/05/09 4:21:50] sessions open: 1, id: 234156
---[NoImage] F:\DVD_VOLUME\VIDEO_TS\New AviSynth Script.avs
---[NoImage] 場所 System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
---[NoImage] 場所 System.Environment.get_StackTrace()
---[NoImage] 場所 MeGUI.AviSynthClip.HandleAviSynthWrapperDLL(Boolean bUnload, String script)
---[NoImage] 場所 MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace)
---[NoImage] 場所 MeGUI.AviSynthScriptEnvironment.OpenScriptFile(String filePath, AviSynthColorspace forceColorspace)
---[NoImage] 場所 MeGUI.AvsFile..ctor(String script, Boolean parse)
---[NoImage] 場所 MeGUI.AvsFile.OpenScriptFile(String fileName)
---[NoImage] 場所 MeGUI.MediaInfoFile.CorrectSourceInformation(MediaInfo& oInfo, String strFile, LogItem infoLog, Int32 iPGCNumber, Int32 iAngleNumber)
---[NoImage] 場所 MeGUI.MediaInfoFile.GetSourceInformation(String file, LogItem oLog, Int32 iPGCNumber, Int32 iAngleNumber)
---[NoImage] 場所 MeGUI.MediaInfoFile..ctor(String file, Int32 iPGCNumber, Int32 iAngleNumber)
---[NoImage] 場所 MeGUI.MediaInfoFile..ctor(String file)
---[NoImage] 場所 MeGUI.MainForm.openFile(String file, MediaInfoFile& iFile)
---[NoImage] 場所 MeGUI.VideoEncodingComponent.videoInput_FileSelected(FileBar sender, FileBarEventArgs args)
---[NoImage] 場所 MeGUI.FileBar.triggerEvent()
---[NoImage] 場所 MeGUI.FileBar.setFilename(String filename)
---[NoImage] 場所 MeGUI.core.util.DragDropUtil.<>c__DisplayClass2_0.<RegisterSingleFileDragDrop>b__1(Object sender, DragEventArgs e)
---[NoImage] 場所 System.Windows.Forms.Control.OnDragDrop(DragEventArgs drgevent)
---[NoImage] 場所 System.Windows.Forms.Control.System.Windows.Forms.IDropTarget.OnDragDrop(DragEventArgs drgEvent)
---[NoImage] 場所 System.Windows.Forms.DropTarget.System.Windows.Forms.UnsafeNativeMethods.IOleDropTarget.OleDrop(Object pDataObj, Int32 grfKeyState, POINTSTRUCT pt, Int32& pdwEffect)
---[NoImage] 場所 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
---[NoImage] 場所 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
---[NoImage] 場所 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
---[NoImage] 場所 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
---[NoImage] 場所 System.Windows.Forms.Application.Run(Form mainForm)
---[NoImage] 場所 MeGUI.MainForm.Main(String[] args)
--[Information] [2017/05/09 4:21:50] sessions open: 0, id: 234156, close: True
---[NoImage] 場所 System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
---[NoImage] 場所 System.Environment.get_StackTrace()
---[NoImage] 場所 MeGUI.AviSynthClip.HandleAviSynthWrapperDLL(Boolean bUnload, String script)
---[NoImage] 場所 MeGUI.AviSynthClip.Dispose(Boolean disposing)
---[NoImage] 場所 MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace)
---[NoImage] 場所 MeGUI.AviSynthScriptEnvironment.OpenScriptFile(String filePath, AviSynthColorspace forceColorspace)
---[NoImage] 場所 MeGUI.AvsFile..ctor(String script, Boolean parse)
---[NoImage] 場所 MeGUI.AvsFile.OpenScriptFile(String fileName)
---[NoImage] 場所 MeGUI.MediaInfoFile.CorrectSourceInformation(MediaInfo& oInfo, String strFile, LogItem infoLog, Int32 iPGCNumber, Int32 iAngleNumber)
---[NoImage] 場所 MeGUI.MediaInfoFile.GetSourceInformation(String file, LogItem oLog, Int32 iPGCNumber, Int32 iAngleNumber)
---[NoImage] 場所 MeGUI.MediaInfoFile..ctor(String file, Int32 iPGCNumber, Int32 iAngleNumber)
---[NoImage] 場所 MeGUI.MediaInfoFile..ctor(String file)
---[NoImage] 場所 MeGUI.MainForm.openFile(String file, MediaInfoFile& iFile)
---[NoImage] 場所 MeGUI.VideoEncodingComponent.videoInput_FileSelected(FileBar sender, FileBarEventArgs args)
---[NoImage] 場所 MeGUI.FileBar.triggerEvent()
---[NoImage] 場所 MeGUI.FileBar.setFilename(String filename)
---[NoImage] 場所 MeGUI.core.util.DragDropUtil.<>c__DisplayClass2_0.<RegisterSingleFileDragDrop>b__1(Object sender, DragEventArgs e)
---[NoImage] 場所 System.Windows.Forms.Control.OnDragDrop(DragEventArgs drgevent)
---[NoImage] 場所 System.Windows.Forms.Control.System.Windows.Forms.IDropTarget.OnDragDrop(DragEventArgs drgEvent)
---[NoImage] 場所 System.Windows.Forms.DropTarget.System.Windows.Forms.UnsafeNativeMethods.IOleDropTarget.OleDrop(Object pDataObj, Int32 grfKeyState, POINTSTRUCT pt, Int32& pdwEffect)
---[NoImage] 場所 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
---[NoImage] 場所 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
---[NoImage] 場所 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
---[NoImage] 場所 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
---[NoImage] 場所 System.Windows.Forms.Application.Run(Form mainForm)
---[NoImage] 場所 MeGUI.MainForm.Main(String[] args)
--[Information] [2017/05/09 4:21:50] sessions open: 1, id: 230854
---[NoImage] F:\DVD_VOLUME\VIDEO_TS\New AviSynth Script.avs
---[NoImage] 場所 System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
---[NoImage] 場所 System.Environment.get_StackTrace()
---[NoImage] 場所 MeGUI.AviSynthClip.HandleAviSynthWrapperDLL(Boolean bUnload, String script)
---[NoImage] 場所 MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace)
---[NoImage] 場所 MeGUI.AviSynthScriptEnvironment.OpenScriptFile(String filePath, AviSynthColorspace forceColorspace)
---[NoImage] 場所 MeGUI.AvsFile..ctor(String script, Boolean parse)
---[NoImage] 場所 MeGUI.AvsFile.OpenScriptFile(String fileName)
---[NoImage] 場所 MeGUI.MainForm.openFile(String file, MediaInfoFile& iFile)
---[NoImage] 場所 MeGUI.VideoEncodingComponent.videoInput_FileSelected(FileBar sender, FileBarEventArgs args)
---[NoImage] 場所 MeGUI.FileBar.triggerEvent()
---[NoImage] 場所 MeGUI.FileBar.setFilename(String filename)
---[NoImage] 場所 MeGUI.core.util.DragDropUtil.<>c__DisplayClass2_0.<RegisterSingleFileDragDrop>b__1(Object sender, DragEventArgs e)
---[NoImage] 場所 System.Windows.Forms.Control.OnDragDrop(DragEventArgs drgevent)
---[NoImage] 場所 System.Windows.Forms.Control.System.Windows.Forms.IDropTarget.OnDragDrop(DragEventArgs drgEvent)
---[NoImage] 場所 System.Windows.Forms.DropTarget.System.Windows.Forms.UnsafeNativeMethods.IOleDropTarget.OleDrop(Object pDataObj, Int32 grfKeyState, POINTSTRUCT pt, Int32& pdwEffect)
---[NoImage] 場所 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
---[NoImage] 場所 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
---[NoImage] 場所 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
---[NoImage] 場所 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
---[NoImage] 場所 System.Windows.Forms.Application.Run(Form mainForm)
---[NoImage] 場所 MeGUI.MainForm.Main(String[] args)
--[Information] [2017/05/09 4:21:51] sessions open: 0, id: 230854, close: True
---[NoImage] 場所 System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
---[NoImage] 場所 System.Environment.get_StackTrace()
---[NoImage] 場所 MeGUI.AviSynthClip.HandleAviSynthWrapperDLL(Boolean bUnload, String script)
---[NoImage] 場所 MeGUI.AviSynthClip.Dispose(Boolean disposing)
---[NoImage] 場所 MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace)
---[NoImage] 場所 MeGUI.AviSynthScriptEnvironment.OpenScriptFile(String filePath, AviSynthColorspace forceColorspace)
---[NoImage] 場所 MeGUI.AvsFile..ctor(String script, Boolean parse)
---[NoImage] 場所 MeGUI.AvsFile.OpenScriptFile(String fileName)
---[NoImage] 場所 MeGUI.MainForm.openFile(String file, MediaInfoFile& iFile)
---[NoImage] 場所 MeGUI.VideoEncodingComponent.videoInput_FileSelected(FileBar sender, FileBarEventArgs args)
---[NoImage] 場所 MeGUI.FileBar.triggerEvent()
---[NoImage] 場所 MeGUI.FileBar.setFilename(String filename)
---[NoImage] 場所 MeGUI.core.util.DragDropUtil.<>c__DisplayClass2_0.<RegisterSingleFileDragDrop>b__1(Object sender, DragEventArgs e)
---[NoImage] 場所 System.Windows.Forms.Control.OnDragDrop(DragEventArgs drgevent)
---[NoImage] 場所 System.Windows.Forms.Control.System.Windows.Forms.IDropTarget.OnDragDrop(DragEventArgs drgEvent)
---[NoImage] 場所 System.Windows.Forms.DropTarget.System.Windows.Forms.UnsafeNativeMethods.IOleDropTarget.OleDrop(Object pDataObj, Int32 grfKeyState, POINTSTRUCT pt, Int32& pdwEffect)
---[NoImage] 場所 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
---[NoImage] 場所 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
---[NoImage] 場所 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
---[NoImage] 場所 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
---[NoImage] 場所 System.Windows.Forms.Application.Run(Form mainForm)
---[NoImage] 場所 MeGUI.MainForm.Main(String[] args)
-[Error] MediaInfo
--[Error] [2017/05/09 4:21:50] Error parsing media file F:\DVD_VOLUME\VIDEO_TS\New AviSynth Script.avs
---[NoImage] System exception - Access Violation
---[NoImage] (F:\DVD_VOLUME\VIDEO_TS\New AviSynth Script.avs, line 1)
Zathor
8th May 2017, 21:51
So it does crash there as well? Then it is an incompatibility outside of MeGUI which I cannot influence. Interestingly it does crash for you, while it does not crash for me.
sumirecccp
8th May 2017, 22:02
>>Zathor
let other people to test it too. I have no ploblem with "always use included avisynth" unchecked, but will crash when it is checked.
MeGUI x64 always wants to reinstalling DGIndexIM. Why is that so?
MeGUI x86 is not affected.
hello_hello
9th May 2017, 20:16
If you (incl. sumirecccp) tell me which X does not work or is missing I will check it.
Maybe we were talking about different X buttons.
Are these ones supposed to do something? They don't seem to clear anything for me. Same in AutoEncode. I think the X button in the audio section in the main window works.
https://s27.postimg.org/9zq4gnl5v/Onc_Click.gif
I never used the OCE ... but maybe they are used to remove accidently added streams? So they only work when you clicked the '+' tab at least once? I don't have any material here right now...
Zathor
9th May 2017, 20:57
I never used the OCE ... but maybe they are used to remove accidently added streams? So they only work when you clicked the '+' tab at least once? I don't have any material here right now...
They have been used to clean the "name" information in ancient times. I have them now removed in OneClick + the Muxers as they are useless.
Thanks to Morku + hello_hello:
2637 [Muxer] + [OneClick] removed unnecessary "X" buttons
2636 [Update] x64: fixed detection of the DGIndexIM package
Btw.. hello_hello, did you had time to test the "test" build?
hello_hello
9th May 2017, 21:58
Btw.. hello_hello, did you had time to test the "test" build?
No, sorry, I've been visiting the real world, but I'll switch over to it now and report back with any exciting discoveries.
Cheers.
Zathor
9th May 2017, 22:26
No, sorry, I've been visiting the real world, but I'll switch over to it now and report back with any exciting discoveries.
Hope you enjoyed the real world. Take your time!
dissory
10th May 2017, 12:23
I've been using MeGUI and found the one-click profile really helpful. One thing I noticed was that when transcoding audio e.g. FLAC -> AAC within video files, it doesn't retain attributes such as audio title name or language in the new video file with the transcoded audio. I'm not sure if the same happens with video but it does with audio.
Is it possible to make it so the attributes/metadata of the original audio stream are also transferred to the transcoded stream?
Zathor
10th May 2017, 15:36
Could you upload a sample file please?
hello_hello
10th May 2017, 23:00
Zathor,
I've briefly played around with the test version of MeGUI 2737 you linked to.
So far it's been behaving itself in respect to locking files..... naturally.... but the new Worker setup (which I'm still trying to get my head around) appears to have broken the right click "run in new temporary worker" option, which is killing me, and a little request while you're at it if I may.....
When right clicking on a job in the queue, each right click options effect only the selected job(s), aside from Abort. It aborts all running jobs which has caught me out a few times because it's inconsistent behaviour and I've clicked through the prompt without thinking. I think the same applies to the buttons at the bottom of the queue window.
I'll keep playing, eagerly awaiting the addition of a "pause" button for encoding in the next update. ;)
Cheers.
Zathor
10th May 2017, 23:22
So far it's been behaving itself in respect to locking files..... naturally.... but the new Worker setup (which I'm still trying to get my head around) appears to have broken the right click "run in new temporary worker" option, which is killing me, and a little request while you're at it if I may.....
Thanks for the feedback. The "temporary worker" issue is unintentional - I will have a look tomorrow and (hopefully) fix it.
When right clicking on a job in the queue, each right click options effect only the selected job(s), aside from Abort. It aborts all running jobs which has caught me out a few times because it's inconsistent behaviour and I've clicked through the prompt without thinking. I think the same applies to the buttons at the bottom of the queue window.
I'll keep playing, eagerly awaiting the addition of a "pause" button for encoding in the next update. ;)
Yes, I will have a look as well at the abort button. The confusion may be that abort is intended for the worker and the others for jobs. But as mentioned, I will check it.
Pause is a different story.
StainlessS
11th May 2017, 00:05
awaiting the addition of a "pause" button for encoding in the next update. ;)
Pause is a different story.
+1 on the Pause button (many moons been wantin' that) , but, how you gonna pause eg x264.exe ?,
On Sinclair QL (circa 1984/85) a task could be indefinitely suspended, perhaps Windows has not yet reached that maturity.
EDIT: QL Rom, ~24->26KB[EDIT: Maybe 28KB], totally preemptive multitasking OS, with builtin Pascal like, Super Basic lang, and rudimentary
windowing system, totally written by one man, ie Tony Tebby, Sinclair's head engineer at the time (Later left Sinclair and started QJump software).
dissory
11th May 2017, 03:50
Could you upload a sample file please?
The files I have are somewhat large so it will take me quite long to upload.
Is it possible the input and transcoded output file mediainfos will help you?
Zathor
11th May 2017, 07:07
The files I have are somewhat large so it will take me quite long to upload.
Is it possible the input and transcoded output file mediainfos will help you?
Let us try it.
Zathor
11th May 2017, 20:23
So far it's been behaving itself in respect to locking files..... naturally.... but the new Worker setup (which I'm still trying to get my head around) appears to have broken the right click "run in new temporary worker" option, which is killing me, and a little request while you're at it if I may.....
I had now the chance to test it myself. Temporary Workers still work as long as the rule set is fullfiled. I assume you want to overrule the rule set with temporary workers?
hello_hello
11th May 2017, 22:04
Zathor,
I don't know it it's my XP PC or not but if you'd care to look.....
Today I was opening a bunch of files in succession with the file indexer, pasting the same text into the script creator, and occasionally clicking the preview button before saving the script and adding it to the queue. I was indexing the jobs five at a time (in succession, so the result was five instances of the script creator open with a preview), pasting the desired text into each, clicking save to close and add to the queue, then indexing the next five. They were low resolution sources. I did that for 20 or so source files until MeGUI clapped out with an error message saying ffms2 couldn't be loaded due to lack of memory when I tried to index.
From there it'd do very little. It threw an out of memory error when I tried to save the log file and when I shut it down so it didn't write a log that was even remotely useful, but I did manage to manually copy a slab of entries from the "Avisynth" section and I checked a bunch of the previously opened source files and they were mostly locked. The Avisynth entries in the log specifying "closed" were few and far between (I should have taken a screenshot of that too). The part of the log file I copied doesn't seem to contain any.
If nothing seems obvious I wouldn't stress too much. This PC's overdue for a reformat. I could probably even use a downgrade to Windows 7 while I'm at it, but in case it's an obvious bug and fixable....
The zip file just includes the section of log file I managed to salvage and a screenshot. http://www.filedropper.com/meguilog
Zathor
11th May 2017, 22:07
New test build uploaded.
- temporary workers ignore now the worker rule set
- jobs can be suspended (and then resumed :))
The suspend feature is a "quicky". While it does seem to work - I have tested audio & video encodings - any kind of deeper test or polishing is missing. E.g. currently it is only available from within the progress window. However any kind of feedback is appreciated!
hello_hello
11th May 2017, 22:20
I had now the chance to test it myself. Temporary Workers still work as long as the rule set is fullfiled. I assume you want to overrule the rule set with temporary workers?
Yeah. I'm just used to being able to switch to the job queue and right click to run a job regardless of the worker situation and what's already running. It'd be good if temporary workers continued to work independently of the normal workers, but maybe I just need to understand the new setup better. I right clicked as usual to see a "no jobs waiting" message (or something along those lines) instead of the job in question just running as it normally would, especially as I was just trying to run an analysis pass (to find a hybrid NTSC source) while an encode was running.
So the maximum parallel jobs for a particular type/worker (one that's running) limits the temporary worker's ability to run new jobs?
I haven't played with it much yet but what if I have a worker configured for 2 parallel encoding jobs. Is there any way to only run one using that worker so I can then run a second encoding job in a temporary worker at my leisure, or will I need to create another worker?
Zathor
11th May 2017, 22:21
Today I was opening a bunch of files in succession with the file indexer, pasting the same text into the script creator, and occasionally clicking the preview button before saving the script and adding it to the queue. I was indexing the jobs five at a time (in succession, so the result was five instances of the script creator open with a preview), pasting the desired text into each, clicking save to close and add to the queue, then indexing the next five. They were low resolution sources. I did that for 20 or so source files until MeGUI clapped out with an error message saying ffms2 couldn't be loaded due to lack of memory when I tried to index.
Based on the screenshot you really run out of memory. However based on the log - if the last entry is the recent one - no avisynth thread was open at that time as the number of sessions was 0. It may be a memory leak in one of the avisynth plugins (e.g. ffms2). You can try to open again a number of avisynth threads and watch nearby the memory usage. When you close an avisynth thread the memory should go down again.
Zathor
11th May 2017, 22:23
So the maximum parallel jobs for a particular type/worker (one that's running) limits the temporary worker's ability to run new jobs?
I haven't played with it much yet but what if I have a worker configured for 2 parallel encoding jobs. Is there any way to only run one using that worker so I can then run a second encoding job in a temporary worker at my leisure, or will I need to create another worker?
No, as written above this was a not desired feature (or bug) and a new build is already available where you can start as many temporary worker as you would like ignoring the automatic worker rules.
hello_hello
11th May 2017, 22:23
The suspend feature is a "quicky". While it does seem to work - I have tested audio & video encodings - any kind of deeper test or polishing is missing. E.g. currently it is only available from within the progress window. However any kind of feedback is appreciated!
I'll have to play with that one a bit later but personally the only type of job I'm particularly interested in pausing is a video encoding one. The rest aren't usually CPU intensive or time consuming enough that it's an issue to wait until they finish in order to do something else.
hello_hello
11th May 2017, 22:28
Based on the screenshot you really run out of memory. However based on the log - if the last entry is the recent one - no avisynth thread was open at that time as the number of sessions was 0.
Yeah, I shut the two open instances of the script creator down before taking the screen shot to see if I'd get any memory back.
Any hints in that log file regarding locked source files?
It may be a memory leak in one of the avisynth plugins (e.g. ffms2). You can try to open again a number of avisynth threads and watch nearby the memory usage. When you close an avisynth thread the memory should go down again.
I'll give it a try, although that'll probably be a job for tomorrow so I can get something achieved today.
Cheers.
Zathor
11th May 2017, 22:49
Any hints in that log file regarding locked source files?
Sadly not
hello_hello
11th May 2017, 23:04
Based on the screenshot you really run out of memory. However based on the log - if the last entry is the recent one - no avisynth thread was open at that time as the number of sessions was 0. It may be a memory leak in one of the avisynth plugins (e.g. ffms2). You can try to open again a number of avisynth threads and watch nearby the memory usage. When you close an avisynth thread the memory should go down again.
I've saved the log file to date and I'm running some encodes but would this be normal? Seems the trick might be to not add too many jobs in succession before starting an encode so I can have some memory back.
After indexing the first file (ffms2) and adding the job to the queue.
https://s2.postimg.org/ezoygquc9/memory1.gif
After indexing and adding the sixth job:
https://s2.postimg.org/9pjzpga3d/memory2.gif
Immediately after starting encoding by right clicking on the last added job and selecting "run in temporary worker"
https://s2.postimg.org/dafv8oemx/memory3.gif
After MeGUI has added a job to the queue does the source file normally remain locked? I don't recall that being the case but the reason for the steps above was also to see if the files will be unlocked when encoding is done.... in an hour or so.... as according to Unlocker MeGUI has locked each one several times.
https://s2.postimg.org/k9tx81el5/unlocker.gif
I'll report back....
hello_hello
12th May 2017, 00:20
Here's a full log file Zather, http://www.filedropper.com/meguilogs
after having encoded the sixth file I added to the queue in my previous memory tests. After encoding finished, I checked that file with with Unlocker:
https://s16.postimg.org/bgy2qg3c5/Unlocker.gif
If the log file doesn't tell you anything, I'll just keep giving Unlocker a workout.
PS. I had intended to index each job, save the script, then add it to the queue for encoding before moving onto the next one, but I forgot to add the first two scripts to the queue until I'd indexed the third source file because I was busy watching memory usage, if that helps clarify the order I did things.
Thanks for all the hard work!
hello_hello
12th May 2017, 00:43
Zathor, I had a quick play with the new "suspend" function..... WhoooooHooooo!!!
A couple of thoughts, although you've probably thought them already....
The clock should stop and the fps guesstimate should do likewise.
Actually I'd like to see the fps guestimate far more responsive to changes in encoding speed. Currently if encoding speed was to drop by 50% it'd take minutes to be reflected in the progress window, but anyway....
WhoooooHooooo!!! Thanks Zathor!
Both latest builds from dev server of MeGUI x32 and x64 crash when applying m2PA=true to your avs script and hitting Preview. MeGUI eats 100% CPU until it crashes.
Most basic scripts e.g.
LoadPlugin("ffms2.dll")
FFVideoSource("video.mkv", cachefile="video.ffindex", fpsnum=30000, fpsden=1001)
LoadPlugin("TIVTC.dll")
tdecimate(mode=2, rate=25, m2PA=true)
How do I fix/debug this?
Zathor
12th May 2017, 11:20
Please post the "versions" part of the log. Also try to run that AVS e.g. in VirtualDub (if you have AviSynth installed)
Please post the "versions" part of the log. Also try to run that AVS e.g. in VirtualDub (if you have AviSynth installed)
You're right, Vdub also crash. So what's going on? How do I apply m2PA=true?
Zathor
12th May 2017, 12:37
Are you using the new TIVTC from the recent avisynth_plugins pack of MeGUI = 1.0.8? If yes there may be the chance that printerf can fix it. Please post your problem here:
https://forum.doom9.org/showthread.php?t=82264&page=66
or send him a PM.
Groucho2004
12th May 2017, 12:41
You're right, Vdub also crash. So what's going on? How do I apply m2PA=true?
Define crash. Is there an error message? Have you read the documentation for m2PA? Here:
m2PA -
Will override the default read-ahead maximum of 100 for mode 2. This will allow the
one pass mode (metrics not available from an input file) to produce the same results
as if the metrics were available.
**NOTE: the cycle size could very well be in the 1000's or 10000's, so there is the
possibility setting m2PA=true could mean the processing will stall for quite
some time (5-10 minutes or more) when a new cycle starts!!! Please check the
largest cycle size that will be used using debug=true before setting m2PA=true!
true = override the default maximum
false = don't
Default: false (bool)
Run the script with AVSMeter and check memory usage.
hello_hello
12th May 2017, 16:56
You're right, Vdub also crash. So what's going on? How do I apply m2PA=true?
Is it crashing or just appearing to freeze because it's taking a long time to open? When m2PA=true it can take a while to open, and each time it reaches the end of a particular cycle everything will come to a halt again until it's analysed the next one.
You could swap TIVTC.dll for the old and well tested version to see what happens (assuming your MeGUI setup is using the far more recent version 1.06 or 1.08). http://avisynth.nl/index.php/TIVTC
Probably best not to apply m2PA=true though. Use a metrics file instead. It's easy enough.
LoadPlugin("ffms2.dll")
FFVideoSource("video.mkv", cachefile="video.ffindex", fpsnum=30000, fpsden=1001)
LoadPlugin("TIVTC.dll")
tdecimate(mode=4, Output="D:\some file.txt")
Create something like the above script and add it to the job queue using the "Queue Analysis Pass" button. Run it and the metrics file will be created. An analysis pass is pretty quick. Probably not any slower than using m2PA=true without a metrics file but usually more convenient.
Then modify the above script to the following and add it to the job queue for encoding:
LoadPlugin("ffms2.dll")
FFVideoSource("video.mkv", cachefile="video.ffindex", fpsnum=30000, fpsden=1001)
LoadPlugin("TIVTC.dll")
tdecimate(mode=2, rate=25, Input="D:\some file.txt")
When you add the analyses job/script to the queue, MeGUI checks it and an incomplete metrics file will be created. It'll be over-written when the analyses pass is run, but when that's completed, be careful not to load or preview the analyses script again or the metrics file will be be over-written with an incomplete version when MeGUI checks the script and you'll need to run the analysis pass again.
As a side note, if the source is 29.970fps as your script indicates, it more likely that you'd want to decimate it to 23.976fps. I'm not saying that's definitely the case, just that it's more common.
Does anybody else see the x265 encoder running under normal priority (8) even though priority is set to low in the status window, and avs4x26x.exe is running with low (4) priority? It's hard to see, but looking in process explorer it might be that avs4x26x is started in normal/8, but then switches to 4 just after x265 is started. Using MeGUI 2637.
edit: Feature request - it would be good if the file indexer could handle filenames that include the pgc number when extracted with dvdencrypter. Not often needed, but it would be convenient.
dissory
13th May 2017, 15:05
One example (where 'Title' property of audio streams are not transferred to the transcoded output file):
Zathor
13th May 2017, 18:43
One example (where 'Title' property of audio streams are not transferred to the transcoded output file):
Thanks, it is fixed in 2638 (not online yet).
Does anybody else see the x265 encoder running under normal priority (8) even though priority is set to low in the status window, and avs4x26x.exe is running with low (4) priority? It's hard to see, but looking in process explorer it might be that avs4x26x is started in normal/8, but then switches to 4 just after x265 is started. Using MeGUI 2637.
Which build are you using? This should have changed in 2627.
Feature request - it would be good if the file indexer could handle filenames that include the pgc number when extracted with dvdencrypter. Not often needed, but it would be convenient.
More details please :)
/.../
Which build are you using? This should have changed in 2627.
More details please :)
Using build 2637.
When extracting in ifo mode with dvddecrypter, normally the files look like:
VTS_01_0.IFO ; VTS_01_1.VOB ; VTS_01 - Chapter Information - OGG.txt ; VTS_01 - Stream Information.txt
When pgc numbers are included, the files are:
VTS_01_0.IFO ; VTS_01_PGC_01_1.VOB ; VTS_01_PGC_01 - Chapter Information - OGG.txt ; VTS_01_PGC_01 - Stream Information.txt
and when trying to use the file indexer on files ripped with pgc numbers included, opening VTS_01_0.IFO the file indexer can't find the VTS_01_PGC_01_1.VOB file.
Zathor
13th May 2017, 21:03
Using build 2637.
Then please in more details what you see when and how the default priority is configured (low?).
Because for me it does work. I have default priority to low, all processes start with low. If I then switch in the progress window to normal all 3 processes switch to normal.
Maybe it helps when you post your log (versions part).
[Information] Versions
-[Information] [2017-05-13 19:22:27] MeGUI: 2737
-[Information] [2017-05-13 19:22:27] Operating System: Windows 10 Home x64 (10.0.0.14393)
-[Information] [2017-05-13 19:22:27] .NET Framework: 4.0 (4.0.0.0)
-[Information] [2017-05-13 19:22:27] .NET Framework: 4.6.x (4.6.01586)
-[Information] [2017-05-13 19:22:27] Haali Media Splitter: 1.13.138.14 (14-04-2013)
-[Information] [2017-05-13 19:22:27] Haali DSS2: (14-04-2013)
-[Information] [2017-05-13 19:22:27] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
-[Information] [2017-05-13 19:22:27] MediaInfo: 0.7.95.0 (04-05-2017)
-[Information] [2017-05-13 19:22:27] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
-[Information] [2017-05-13 19:22:27] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
-[Information] [2017-05-13 19:22:27] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
-[Information] [2017-05-13 19:22:27] 7z: 9.20 (18-11-2010)
-[Information] AviSynth Wrapper
--[Information] [2017-05-13 19:22:27] Version: 1.0.2721.0
--[Information] [2017-05-13 19:22:27] Date: 29-04-2017
--[Information] [2017-05-13 19:22:27] Interface: 3
-[Information] AviSynth
--[Information] [2017-05-13 19:22:27] not installed
-[Information] AviSynth portable
--[Information] [2017-05-13 19:22:27] File Version: 0.1
--[Information] [2017-05-13 19:22:27] Date: 16-03-2017
--[Information] [2017-05-13 19:22:27] Name: AviSynth+ 0.1 (r2455, MT, i386)
--[Information] [2017-05-13 19:22:30] Version: AviSynth+ 0.1 (r2455, MT, i386)
--[Information] [2017-05-13 19:22:30] AviSynth+: true
--[Information] [2017-05-13 19:22:30] MT: true
--[Information] [2017-05-13 19:22:30] Status: active
http://i.imgur.com/j2spcoi.png
Sorry, it was build 2737 apparently. I looked around for the version number and the changelog listed 2637 at the top, so I thought it was that. (And now, exactly _now_ I see that the version number is visible in the window title...)
The conhost process have always been priority 4 before when I have looked, don't know why that is different now on the screenshot - weird. When starting a separate encode in a temperary worker, avs4x26x runs in 4, conhost 4, and x265 in 8.
The processes all change priority immediately and to the intended value when switching in the drop down menu. For how long have that setting changed the priority instantly? Surely it hasn't "always" been like that? I haven't touched the priority setting after the latest upgrade anyway, probably not at all for several months, but I'm sure the encoders have been running at low all the time before.
Zathor
13th May 2017, 23:32
SInce 2727 also child processes will change the priority. however for me also the first job startup is already correct.
LouieChuckyMerry
15th May 2017, 04:33
Zathor: :thanks:
olmicx
15th May 2017, 07:38
Hello
How can i add this settings? I using Megui 2525. Can you help me please?
aq=3:0.80 / aq-sensitivity=10.00 / aq-factor=1.00:1.00:1.00 / aq2=0 / aq3=0
sneaker_ger
15th May 2017, 07:46
Those options are not part of the vanilla x264 that comes with MeGUI. Probably something like (outdated?) x264 tMod (https://astrataro.wordpress.com/category/encode/x264/x264-bin/) was used. You need to replace x264, not let MeGUI overwrite it and manually set those custom command-line options.
1) Why use an outdated MeGUI version? Switch the update server to "development" to get the most current.
2) Which encoder do these options belong to? Neither x264 nor x265, as far as I read in their documentation (at least unmodified versions).
olmicx
15th May 2017, 09:05
1) Why use an outdated MeGUI version? Switch the update server to "development" to get the most current.
2) Which encoder do these options belong to? Neither x264 nor x265, as far as I read in their documentation (at least unmodified versions).
1) Upgraded 2715
2) Some of the groups (TayTO, EDP, WiKi, EPiC) using this settings on their movie sharings. Because of that i want to test this settings. If there is good effects on quality i am going to use this settings too
hello_hello
15th May 2017, 09:09
Hello
How can i add this settings? I using Megui 2525. Can you help me please?
aq=3:0.80 / aq-sensitivity=10.00 / aq-factor=1.00:1.00:1.00 / aq2=0 / aq3=0
AQ mode 3 was added to the vanilla x264 years ago https://mailman.videolan.org/pipermail/x264-devel/2014-December/010949.html
but it seems to have been somewhat ignored. It's never been added to MeGUI's encoder configuration. You can only select Adaptive Quantiser Mode - Disabled (0), Variance AQ (1) or Auto-Variance AQ (2).
aq=3:0.80 should be easy enough to achieve by adding --aq-mode 3 to the custom command line section of the encoder configuration and setting Adaptive Quantiser Strength to 0.8 under the rate control tab. When you'd want to do either, I'm not sure, but that's how you'd do it.
I agree the rest of the settings are specific to an old, modded version of x264. https://forum.doom9.org/showthread.php?t=170599
They're not settings the vanilla x264 writes. If they're still relevant they're obviously not user-adjustable.
tebasuna51
15th May 2017, 11:06
1) Upgraded 2715
2) Some of the groups (TayTO, EDP, WiKi, EPiC) using this settings on their movie sharings. Because of that i want to test this settings. If there is good effects on quality i am going to use this settings too
The current MeGUI version is 2737 and x264 r2744 (Komisar).
You can test aq=3:0.80, like hello_hello say:
--aq-mode 3 --aq-strength 0.8
but, AFAIK, than:
/ aq-sensitivity=10.00 / aq-factor=1.00:1.00:1.00 / aq2=0 / aq3=0
aren't supported by x264 r2744 (Komisar), you need replace it.
olmicx
15th May 2017, 12:00
The current MeGUI version is 2737 and x264 r2744 (Komisar).
You can test aq=3:0.80, like hello_hello say:
--aq-mode 3 --aq-strength 0.8
but, AFAIK, than:
/ aq-sensitivity=10.00 / aq-factor=1.00:1.00:1.00 / aq2=0 / aq3=0
aren't supported by x264 r2744 (Komisar), you need replace it.
This groups used x264 core 148 r2705+54 9f484c1 t_mod_Custom [8-bit@all X86_64]
Where can i download this x264 version?
Moviez Release (https://forum.doom9.org/forum-rules.htm) groups?! ... Ask them.
hello_hello
15th May 2017, 16:20
r2705 seems a bit old, but try here: https://github.com/jpsdr/x264/releases
Zathor
15th May 2017, 21:46
2741 [MediaInfo] fixed chapter detection
prevent MediaInfo from locking the GUI
2740 [OneClick] disable controls while input detection is ongoing
2739 [MediaInfo] removed the external dependency to MediaInfoWrapper.dll
2738 [OneClick] fixed detection of audio track names
Zetti
16th May 2017, 00:43
Could you maybe add these DGIndexNV commands:
DGDenoise()
DGSharpen()
DGTelecide()
DGDecimate()
DGBob()
Barough
16th May 2017, 02:05
@Zathor
QAAC v2.63 is out
https://sites.google.com/site/qaacpage/news
https://sites.google.com/site/qaacpage/cabinet
dissory
16th May 2017, 18:14
Thanks, it is fixed in 2638 (not online yet).
Thanks, can see the title now.
Also with the files mediainfos I posted before, the input file is FLAC1, FLAC2, AAC but output becomes FLAC1-transcoded, AAC, FLAC2-transcoded?
Is there a reason why the audio tracks shift position in the output file? If not, would be nice to keep it in the same positions as the input file
Zathor
18th May 2017, 20:24
@Zathor
QAAC v2.63 is out
https://sites.google.com/site/qaacpage/news
https://sites.google.com/site/qaacpage/cabinet
Thanks, updated
raymondjpg
19th May 2017, 01:49
Thanks, updated
I am getting audio breakup when multiplexing HE-AAC encoded with QAAC.exe v2.63 and HEVC in MeGUI. I downloaded v2.63 from another source with the same result. I have gone back to the QAAC backup in MeGUI, which is I think v2.62, and no problems.
The author of qaac shall know about your experience then...
raymondjpg
19th May 2017, 10:33
The author of qaac shall know about your experience then...
Not unless they look here. I couldn't find any way to notify the author on the Google site.
Barough
19th May 2017, 10:38
Not unless they look here. I couldn't find any way to notify the author on the Google site.
Check @ the bottom of the QAAC Home page and you'll find nu774's email addy.
raymondjpg
19th May 2017, 10:53
Check @ the bottom of the QAAC Home page and you'll find nu774's email addy.
I have posted in the hydrogenaudio forum, as indicated on the QAAC Home page. Also emailed once I found the address.
And he has a bug tracker in his github repo (https://github.com/nu774/qaac).
raymondjpg
19th May 2017, 13:31
I have posted in the hydrogenaudio forum, as indicated on the QAAC Home page. Also emailed once I found the address.
Got a response to the email "Thanks, should be fixed in 2.64."
Zathor
19th May 2017, 14:11
Thanks for the report. I had after your first report enabled 2.62 again and will later-on enable 2.64.
Zetti
19th May 2017, 16:20
2.64 is released.
https://sites.google.com/site/qaacpage/news/qaacrelease264refalac164
Vincent Vega
19th May 2017, 17:16
i'm encoding 6ch dts to 2ch lc-aac (fdkaac 32bit exe, v0.6.3, fdkaac_autobuild-master), decoder is LWLibavAudioSource().
win10 x64, megui 2741, all updates, uses its avs+ portable.
its so-o-o slow, megui only uses 12% cpu, fdkaac 1-2% cpu (6700k).
anything i can do to speed it up?
PS:
i also wanted to build and try fdkaac 64bit exe.
media-autobuild_suite-master is the only option for that, right?
but it fails to create 64bit compiler, one of the files doesn't pass signature check. so no luck with that either.
Zathor
19th May 2017, 18:13
Small one:
2743 [Worker] improved child process priority handling
2742 [Main] improved OS detection
raymondjpg
20th May 2017, 01:27
Thanks for the report. I had after your first report enabled 2.62 again and will later-on enable 2.64.
QAAC.exe 2.64 appears to be working fine without audio breakup problems when HE-AAC is multiplexed with HEVC. Thanks to everyone.
wthreex
20th May 2017, 19:35
Hi, I have a powerfull dedicated server, so i should run +4 worker for use maximum cpu usage, But I got this error eachtime:
https://picload.org/thumbnail/riddrgga/capture.jpg (https://picload.org/view/riddrgga/capture.png.html)
I am very familiar with this error, this error forced us to close MeGui but when i click OK/Close this error, Megui completely crash and not responding , but H.264 encoders stuck in the processores in task manager and we should stop them! look at this pics so i clicked "OK" and then:
https://picload.org/thumbnail/riddrgii/capture.jpg (https://picload.org/view/riddrgii/capture.png.html)
Well have no choice and click "Close Program" and Megui is completely closed but look at this , x264 enocder still being worked out in task manager and uses cpu but the application is closed :
https://picload.org/image/riddrrdi/capture.png (https://picload.org/view/riddrrdi/capture.png.html)
When this error occurs ? i tell you! I wish I could say clearly
i have 4 worker , and 20 job is "waiting" for encoding , i postponded 19 job and click start in megui , No problem so far at this time, look at this , We look forward too end first worker but , when first worker on 99% and ready too mux audi and video , i change status another jobs to "waiting" And at the same time we hit Start and another worker waking up, Exactly at this moment ,i got this god damn fatal error ! i use dev update and last update, i got more thant this error to the previous, For God's sake, fix error, And finally sorry for my english. and thanks,
Zathor
20th May 2017, 20:02
i'm encoding 6ch dts to 2ch lc-aac (fdkaac 32bit exe, v0.6.3, fdkaac_autobuild-master), decoder is LWLibavAudioSource().
win10 x64, megui 2741, all updates, uses its avs+ portable.
its so-o-o slow, megui only uses 12% cpu, fdkaac 1-2% cpu (6700k).
anything i can do to speed it up?
PS:
i also wanted to build and try fdkaac 64bit exe.
media-autobuild_suite-master is the only option for that, right?
but it fails to create 64bit compiler, one of the files doesn't pass signature check. so no luck with that either.
Sorry, no clue. I am not using fdkaac myself. What about qaac? Do you have there the same speed?
Hi, I have a powerfull dedicated server, so i should run +4 worker for use maximum cpu usage, But I got this error eachtime:
Please post your log
wthreex
20th May 2017, 20:45
Sorry, no clue. I am not using fdkaac myself. What about qaac? Do you have there the same speed?
Please post your log
I grab this log when i got this error and megui still runing :
log file is here :
https://www.mediafire.com/?iuel1f4njwc3csf
Zathor
20th May 2017, 20:56
Thx, I have not located the exact error reason yet. Could you please use the debug build and post the log again when the error happens?
http://megui.org/megui_debug.zip
wthreex
20th May 2017, 22:11
Replaced, and it happened again :
http://www.mediafire.com/file/on8amjtj7ehol6t/logagain.log
search "Unhandled error" in log file
-[Error] Unhandled error
--[Information] [5/20/2017 10:58:09 PM] Exception message: Adding the specified count to the semaphore would cause it to exceed its maximum count.
--[Information] [5/20/2017 10:58:09 PM] Stacktrace
---[NoImage] at System.Threading.Semaphore.Release(Int32 releaseCount)
---[NoImage] at System.Threading.Semaphore.Release()
---[NoImage] at MeGUI.core.gui.JobWorker.startNextJobInQueue()
---[NoImage] at MeGUI.core.gui.JobWorker.<>c__DisplayClass57_0.<UpdateGUIStatus>b__0()
---[NoImage] at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
---[NoImage] at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
---[NoImage] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
---[NoImage] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
---[NoImage] at System.Threading.ThreadHelper.ThreadStart()
Zathor
20th May 2017, 22:24
Are you sure that you have copied both files? There should have been line numbers.
Vincent Vega
20th May 2017, 23:09
Sorry, no clue. I am not using fdkaac myself. What about qaac? Do you have there the same speed?
yes i just tried both megui x86 and x64 with 64bit qaac, same result.
total cpu usage during encoding no more than 17-18%, is that normal?
i decode dts, downmix to stereo, normalize and encode to aac.
are there any settings i can change on my side, or improvements be made on yours to utilize (more of) the remaining ~5/6 of cpu power?
where are software bottlenecks in this usage scenario?]
below is from the tests, with cpu usage and number of threads reported by task manager:
-[NoImage] ClearAutoloadDirs()
-[NoImage] AddAutoloadDir("C:\Users\.....\MeGUI_x86\tools\avs\plugins")
-[NoImage] LoadPlugin("C:\Users\.....\MeGUI_x86\tools\lsmash\LSMASHSource.dll")
-[NoImage] LWLibavAudioSource("I:\T2_Audio - English.dts")
-[NoImage] # detected channels: 6
-[NoImage] # detected channel positions: 3/2/0.1
-[NoImage] LoadPlugin("C:\Users\.....\MeGUI_x86\tools\avisynth_plugin\AudioLimiter.dll")
-[NoImage] c6_stereo(ConvertAudioToFloat(last))
-[NoImage] Normalize()
-[NoImage] return last
Job command line: C:\Users\.....\MeGUI_x86\tools\qaac\qaac.exe --ignorelength --threading -V 127 --no-delay - -o "I:\T2_Audio - English_x86.m4a"
megui 2743 32bit 29threads 13% of 4ghz
qaac 2.64 64bit 2threads 2% of 4ghz
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
-[NoImage] ClearAutoloadDirs()
-[NoImage] AddAutoloadDir("C:\Users\.....\MeGUI-x64\tools\avs\plugins")
-[NoImage] LoadPlugin("C:\Users\.....\MeGUI-x64\tools\lsmash\LSMASHSource.dll")
-[NoImage] LWLibavAudioSource("I:\T2_Audio - English.dts")
-[NoImage] # detected channels: 6
-[NoImage] # detected channel positions: 3/2/0.1
-[NoImage] c6_stereo(ConvertAudioToFloat(last))
-[NoImage] Normalize()
-[NoImage] return last
Job command line: C:\Users\.....\MeGUI-x64\tools\qaac\qaac.exe --ignorelength --threading -V 127 --no-delay - -o "I:\T2_Audio - English_x64.m4a"
megui 2743 64bit 18threads 12% of 4ghz
qaac 2.64 64bit 2threads 3% of 4ghz
Barough
21st May 2017, 01:42
MKVToolNix v12.0.0 is released.
Sent from my SM-G935F via Tapatalk
I just discovered that some of my encodes muxed with the mp4 muxer have been stripped of encoder library and encoder settings info, checking with MediaInfo. This seems to happen when I use the muxer manually - files encoded with AutoEncode or One-Click still have this info intact.
Using MeGUI 2743 development server, mp4box 0.7.0 rev3 (gpac)
sneaker_ger
24th May 2017, 08:02
Post log + sample.
wthreex
24th May 2017, 16:09
Not responding without any error on MeGUI 2743.
Zathor
24th May 2017, 17:41
Not responding without any error on MeGUI 2743.
Not good, could you please redownload the debug build again? I have updated it to 2745:
http://megui.org/megui_debug.zip
wthreex
24th May 2017, 21:03
Not good, could you please redownload the debug build again? I have updated it to 2745:
http://megui.org/megui_debug.zip
Ok :
https://picload.org/thumbnail/riagpiwi/capture.jpg (https://picload.org/view/riagpiwi/capture.png.html)
God no, Why it just happening to me?
Zathor
24th May 2017, 21:10
Anything in the log? Could you post it please in any case?
EDIT: New debug build online. Please try that one.
wthreex
24th May 2017, 21:55
No Nothing, ok
Zathor
25th May 2017, 20:44
No Nothing, ok
I have uploaded once again a new debug build. It should now finally be fixed. Could you please test it and report back?
hello_hello
25th May 2017, 21:46
This is probably not MeGUI specific, and it's not even encoding related, but because it bothered me again and sometimes makes me want to cry and MeGUI is involved, I thought I'd ask here.
If I open the following script in notepad (it has empty lines)
GreyScale()
QTGMC(Preset="fast")
SRestore(thresh=44, speed=1, cache=10)
crop(4, 2, -4, -6)
Resize8(640,468)
gradfun3()
and place the cursor at the beginning of the the crop line, and drag it down until the empty line below the resizer is highlighted, when I right click and cut, I'm left with this:
GreyScale()
QTGMC(Preset="fast")
SRestore(thresh=44, speed=1, cache=10)
gradfun3()
Which is good, I think.
When I do the same thin in MeGUI's script creator.
GreyScale()
QTGMC(Preset="fast")
SRestore(thresh=44, speed=1, cache=10)
gradfun3()
As it turns out, the forum message box leaves an extra blank line too.
When I do it the other way around and paste (putting the cursor before Gradfun3 and clicking paste) if I've cut from notepad the result is exactly the same when pasting back into notepad or the script creator.
GreyScale()
QTGMC(Preset="fast")
SRestore(thresh=44, speed=1, cache=10)
crop(4, 2, -4, -6)
Resize8(640,468)
gradfun3()
All good, but if I'd cut the same lines from the script creator and pasted them back, in both notepad and the script creator it'd look like this (assuming the lines were once again evenly spaced before pasting):
GreyScale()
QTGMC(Preset="fast")
SRestore(thresh=44, speed=1, cache=10)
crop(4, 2, -4, -6)
Resize8(640,468)
gradfun3()
I guess Notepad, Wordpad and Metapad (which I use more) copy the line break from an empty line when it's highlighted, but the script creator (and this forum) require you to also highlight the beginning of the following line to copy the line break from an empty line.
Is there a correct way, or a preferred way? Because I'm not sure what'll be copied any more and my life's become a relentless stress of extra blank lines and missing line breaks I'm forever having to fix. :)
Zathor
26th May 2017, 14:12
2748 [HD Streams Extractor] added detection of "core/embedded" tracks
removed the DTSHD "extract as" option
added the DTS_CORE "extract as" option
added settings menu:
- added option to select by default the (non-)HD tracks (defaults to non-HD)
- moved the language track selection option from the settings into the new menu
- added settings to inlcude the encoding and/or all demuxer "extract as" options
AAC encoding is only available if neroaacenc.exe is found in the eac3to directory
2747 [Worker] improved handling of multiple worker instances. part II
2746 [Worker] improved handling of multiple worker instances
2745 [Main] added option to extend logging
2744 [Worker] improved child process priority handling. part II
Zetti
26th May 2017, 23:04
x264 r2833 kmod is released.
http://komisar.gin.by/
hello_hello
27th May 2017, 15:59
Zathor,
After updating MeGUI to 2748 and x264 to r2833, MeGUI claimed it couldn't find 10 bit x264 & embarked on a never ending request to install it. Even when I told it not to, every time I started an encoding job the updater would open and try to re-install it. I'm using the 8 bit version though. I just thought I'd mention that in case it's not expected behaviour, but the x86 version of 10 bit x264 is named "x264-10b.exe.exe".
Removing the additional ".exe" from the file name stopped MeGUI from wanting to re-install it.
Thanks.
Taurus
27th May 2017, 17:17
@hello_hello:
hmmh,
just updated to 2748 and no sign of the curiosities you discovered.
There must be something weird on your side...
hello_hello
28th May 2017, 06:10
Taurus,
Maybe it's been fixed already or you're using a 64 bit Windows, but the curiosities were baked into the 32 bit, x264, 7z update file. ;)
https://s21.postimg.org/coe2lk1sn/update.gif
Taurus
28th May 2017, 06:54
Yes, I'm on a 64 bit platform.
https://s13.postimg.org/rx5z9hrv7/x264.png (https://postimg.org/image/rx5z9hrv7/) <-look here
ryszardzonk
28th May 2017, 08:47
Zathor,
After updating MeGUI to 2748 and x264 to r2833, MeGUI claimed it couldn't find 10 bit x264 & embarked on a never ending request to install it. Even when I told it not to, every time I started an encoding job the updater would open and try to re-install it. I'm using the 8 bit version though. I just thought I'd mention that in case it's not expected behaviour, but the x86 version of 10 bit x264 is named "x264-10b.exe.exe".
Removing the additional ".exe" from the file name stopped MeGUI from wanting to re-install it.
Thanks.
I have stumbled upon exactly same thing. Being on Windows 7 32bit update installed files as "x264-10b.exe.exe" and it also installed it in the "x264" dir not in the "x264_10b" dir. Leaving new file in the "x264" dir and renaming it to ""x264-10b.exe" fixed the problem of missing x264 binary.
T...but the curiosities were baked into the 32 bit, x264, 7z update file. ;)
So it seems to be a mistake made by the one who uploaded the update package.
hello_hello
28th May 2017, 10:45
I have stumbled upon exactly same thing. Being on Windows 7 32bit update installed files as "x264-10b.exe.exe" and it also installed it in the "x264" dir not in the "x264_10b" dir. Leaving new file in the "x264" dir and renaming it to ""x264-10b.exe" fixed the problem of missing x264 binary.
"Installing in the x264 directory" is normal now. You can delete the old "x264_10b" folder. Both x264 versions are in the "x264-2833-32.7z" file in the update cache folder and the update.xml file indicates it just gets extracted to the x264 folder.
I don't know how MeGUI determined the 10bit x264 was missing (or thought it was missing because it was incorrectly named), and therefore wanted to keep re-installing it. Obviously it did though.
bxyhxyh
28th May 2017, 20:28
Every time I uncheck and check "Use x64tools if possible" option, it "extracts" the tools.
Does it have to re-extract them everytime I switch between 32-bit and 64-bit?
Looks like a bug to me.
kuchikirukia
29th May 2017, 01:05
Could we not have the entire "Add pre-rendering job" text be an active selection area for the checkbox? I find myself accidentally clicking there and wasting hours filling my drive a little too often.
Barough
29th May 2017, 10:59
Zeranoe's FFmpeg v3.3.1 is available now
https://ffmpeg.zeranoe.com/builds/
Zetti
1st June 2017, 18:30
MediaInfo v0.7.96 is released.
olmicx
3rd June 2017, 14:04
Hello,
I have a few questions about DXVA. Can you help me if you know about that?
I did not select Macroblocks P4x4 value and it seen as Mediainfo analyse=0x3:0x113 before.
And REF value calculated with that formula:
12288*1024 / (width*height*1,5)
But now all of the groups (TayTO, EDP, WiKi, EPiC, HDMANIACS...) using this settings (ALL analyse=0x3:0x133) on their movie sharings.
Macroblocks part selected ass ALL (analyse=0x3:0x133)
I wonder that will there be any problem if i select Macroblocks ALL for DXVA
Thanks
wthreex
3rd June 2017, 22:40
We have 2audio at the same time like this :
#1: English 1.0ch FLAC
#2: English 1.0ch AAC @ 192 Kbps (Commentary by Michael Powell and Martin Scorsese)
if we encode with "nero aac", Megui choose "Commentary track" for defaul track audio, when this happened ? when commentary track and audio encoder is = AAC
This is one of the oldest bug in megui, and hope the problem is resolved in future updates. thanks.
Zathor
4th June 2017, 10:03
After updating MeGUI to 2748 and x264 to r2833, MeGUI claimed it couldn't find 10 bit x264 & embarked on a never ending request to install it. Even when I told it not to, every time I started an encoding job the updater would open and try to re-install it. I'm using the 8 bit version though. I just thought I'd mention that in case it's not expected behaviour, but the x86 version of 10 bit x264 is named "x264-10b.exe.exe".
Removing the additional ".exe" from the file name stopped MeGUI from wanting to re-install it.
Thanks, fixed
Zathor
4th June 2017, 10:08
Every time I uncheck and check "Use x64tools if possible" option, it "extracts" the tools.
Does it have to re-extract them everytime I switch between 32-bit and 64-bit?
This is necessary as the 32bit and 64bit share usually the same file name. So if you select 32bit the 32bit ones have to be extracted (+ downloaded if not available yet). If you switch to 64bit the 64bit files have to extracted to replace the 32bit ones. Out of interest - why do you switch between them so often?
Could we not have the entire "Add pre-rendering job" text be an active selection area for the checkbox? I find myself accidentally clicking there and wasting hours filling my drive a little too often.
What do you mean with "active selection"? A message box to pop-up as a warning? Or to hide it by default?
Zeranoe's FFmpeg v3.3.1 is available now
https://ffmpeg.zeranoe.com/builds/
MediaInfo v0.7.96 is released.
Thanks, updated!
We have 2audio at the same time like this :
#1: English 1.0ch FLAC
#2: English 1.0ch AAC @ 192 Kbps (Commentary by Michael Powell and Martin Scorsese)
if we encode with "nero aac", Megui choose "Commentary track" for defaul track audio, when this happened ? when commentary track and audio encoder is = AAC
This is one of the oldest bug in megui, and hope the problem is resolved in future updates. thanks.
Please provide more details. I do not know where you do have that problem (OneClick) and how to reproduce it. Also a (small) sample file would be nice.
dissory
4th June 2017, 11:23
@Zathor,
Is this something that can be fixed regarding the shift in audio track positions?
Also with the files mediainfos I posted before, the input file is FLAC1, FLAC2, AAC but output becomes FLAC1-transcoded, AAC, FLAC2-transcoded?
Is there a reason why the audio tracks shift position in the output file? If not, would be nice to keep it in the same positions as the input file
Zathor
4th June 2017, 13:50
@Zathor,
Is this something that can be fixed regarding the shift in audio track positions?
How is it shown in the OneClick GUI? Are the tracks there in your desired order?
if yes, please upload a (short) sample file with your MeGUI profiles.
Zathor
4th June 2017, 20:39
2754 [MKV Info] switched to the JSON format as the old switch is deprecated (requires mkvmerge 9.7+)
2753 [Chapter] improved chapter handling
all MediaInfo supported files and TXT/XML files can be used as chapter files
!!! existing jobs have to be recreated as otherwise the chapter information will not be added !!!
[Muxer] use chapter information from the input video file if available
[Muxer] + [OneClick] disable/enable the chapter selection box based upon the selected container and device type
2752 [MKV Muxer] ignore invalid subtitle files
2751 [HD Streams Extractor] improved handling of audio tracks with unknown parameters
2750 [Worker] fixed rare invisible progress window (regression of 2743)
2749 [Update] fixed a rare crash when a restart is required and MeGUI is already closed
Especially please test the chapter handling. I could likely not test all use cases.
locotus
6th June 2017, 01:16
Hi all:
Seems that after the last couples of updates downmix multichannel to stereo is
somehow deprecated, although conversion don't crash it last forever and must be cancel.
No problem in doing the downmix outside Megui, with the Eac3to in Megui folder.
Thanks.
Zathor
6th June 2017, 06:45
Thanks for the report. Could you please post a log and/or more details? I did several 5.1 to 2.0 encodes and all of them worked.
locotus
6th June 2017, 09:59
Here the log for the audio part of the encoding: (1st part)
-[Information] Log for job5 (audio, Audio File 1 - [0] English.dts -> Audio File 1 - [0] English.ac3)
--[Information] [6/5/2017 9:43:07 PM] Started handling job
--[Information] [6/5/2017 9:43:07 PM] Preprocessing
--[Information] [6/5/2017 9:43:07 PM] MediaInfo
---[Information] [6/5/2017 9:43:07 PM] File: C:\En Proceso\Audio File 1 - [0] English.dts
---[Information] General
----[Information] Format: DTS
----[Information] FormatString: DTS
----[Information] FileSize: 540955374
----[Information] PlayTime: 01:35:35.776
---[Information] Audio
----[Information] ID:
----[Information] StreamOrder:
----[Information] Format: DTS
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
----[Information] [6/5/2017 9:43:07 PM] The language information is not available for this track. The default MeGUI language has been selected.
--[Information] [6/5/2017 9:43:07 PM] Trying to open the file with LWLibavAudioSource()
--[Information] [6/5/2017 9:43:15 PM] Successfully opened the file with LWLibavAudioSource()
--[Information] [6/5/2017 9:43:23 PM] AviSynth script
---[NoImage] ClearAutoloadDirs()
---[NoImage] AddAutoloadDir("C:\MeGui\tools\avs\plugins")
---[NoImage] LoadPlugin("C:\MeGui\tools\lsmash\LSMASHSource.dll")
---[NoImage] LWLibavAudioSource("C:\En Proceso\Audio File 1 - [0] English.dts")
---[NoImage] # detected channels: 6
---[NoImage] # detected channel positions: 3/2/0.1
---[NoImage] LoadPlugin("C:\MeGui\tools\avisynth_plugin\AudioLimiter.dll")
---[NoImage] c6_stereo(ConvertAudioToFloat(last))
---[NoImage] Normalize()
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[NoImage] return last
---[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> stereo + LFE
---[NoImage] function c6_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] lf = GetChannel(a, 4)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] fl_sl = MixAudio(fl, sl, 0.2929, 0.2929)
---[NoImage] fr_sr = MixAudio(fr, sr, 0.2929, 0.2929)
---[NoImage] fc_lf = MixAudio(fc, lf, 0.2071, 0.2071)
---[NoImage] l = MixAudio(fl_sl, fc_lf, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_sr, fc_lf, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,SL,SR or L,R,LFE,SL,SR-> Stereo
---[NoImage] function c5_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] fl_sl = MixAudio(fl, sl, 0.3694, 0.3694)
---[NoImage] fr_sr = MixAudio(fr, sr, 0.3694, 0.3694)
---[NoImage] l = MixAudio(fl_sl, fc, 1.0, 0.2612)
---[NoImage] r = MixAudio(fr_sr, fc, 1.0, 0.2612)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,LFE,S -> Stereo
---[NoImage] function c52_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] lf = GetChannel(a, 4)
---[NoImage] bc = GetChannel(a, 5)
---[NoImage] fl_bc = MixAudio(fl, bc, 0.3205, 0.2265)
---[NoImage] fr_bc = MixAudio(fr, bc, 0.3205, 0.2265)
---[NoImage] fc_lf = MixAudio(fc, lf, 0.2265, 0.2265)
---[NoImage] l = MixAudio(fl_bc, fc_lf, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_bc, fc_lf, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels Quadro L,R,SL,SR -> Stereo
---[NoImage] function c4_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] sl = GetChannel(a, 3)
---[NoImage] sr = GetChannel(a, 4)
---[NoImage] l = MixAudio(fl, sl, 0.5, 0.5)
---[NoImage] r = MixAudio(fr, sr, 0.5, 0.5)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels L,R,C,LFE or L,R,S,LFE or L,R,C,S -> Stereo
---[NoImage] function c42_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] lf = GetChannel(a, 4)
---[NoImage] fc_lf = MixAudio(fc, lf, 0.2929, 0.2929)
---[NoImage] l = MixAudio(fl, fc_lf, 0.4142, 1.0)
---[NoImage] r = MixAudio(fr, fc_lf, 0.4142, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 3 Channels L,R,C or L,R,S or L,R,LFE -> Stereo
---[NoImage] function c3_stereo(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] l = MixAudio(fl, fc, 0.5858, 0.4142)
---[NoImage] r = MixAudio(fr, fc, 0.5858, 0.4142)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic
---[NoImage] function c6_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
---[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic
---[NoImage] function c5_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
---[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic
---[NoImage] function c52_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
---[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
---[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,LFE,S -> Dolby ProLogic
---[NoImage] function c53_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] bc = GetChannel(a, 5)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
---[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
---[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic
---[NoImage] function c4_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] sl = GetChannel(a, 3)
---[NoImage] sr = GetChannel(a, 4)
---[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
---[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
---[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels L,R,LFE,S -> Dolby ProLogic
---[NoImage] function c42_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] bc = GetChannel(a, 4)
---[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
---[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels L,R,C,S -> Dolby ProLogic
---[NoImage] function c43_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] bc = GetChannel(a, 4)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
---[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
---[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 3 Channels L,R,S -> Dolby ProLogic
---[NoImage] function c3_dpl(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] bc = GetChannel(a, 3)
---[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
---[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic II
---[NoImage] function c6_dpl2(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 5)
---[NoImage] sr = GetChannel(a, 6)
---[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
---[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
---[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic II
---[NoImage] function c5_dpl2(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] fc = GetChannel(a, 3)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
---[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
---[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
---[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
---[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
---[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic II
---[NoImage] function c52_dpl2(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] sl = GetChannel(a, 4)
---[NoImage] sr = GetChannel(a, 5)
---[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
---[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
---[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
---[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
---[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic II
---[NoImage] function c4_dpl2(clip a)
---[NoImage] {
---[NoImage] fl = GetChannel(a, 1)
---[NoImage] fr = GetChannel(a, 2)
---[NoImage] sl = GetChannel(a, 3)
---[NoImage] sr = GetChannel(a, 4)
---[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
---[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
---[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
---[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
---[NoImage] return MergeChannels(l, r)
---[NoImage] }
--[Information] [6/5/2017 9:43:23 PM] Command line used: -i - -y -acodec ac3 -ab 192k "{0}"
--[Information] [6/5/2017 9:43:23 PM] AviSynth script environment opened
--[Information] [6/5/2017 9:43:32 PM] Script loaded
--[Information] [6/5/2017 9:43:32 PM] Output Decoder
---[Information] [6/5/2017 9:43:32 PM] Channels: 2
---[Information] [6/5/2017 9:43:32 PM] Bits per sample: 16
---[Information] [6/5/2017 9:43:32 PM] Sample rate: 48000
--[Information] [6/5/2017 9:43:32 PM] Job command line: C:\MeGui\tools\ffmpeg\ffmpeg.exe -i - -y -acodec ac3 -ab 192k "C:\En proceso\Audio File 1 - [0] English.ac3"
--[Information] [6/5/2017 9:43:32 PM] Process started
--[Information] [6/5/2017 9:43:32 PM] Standard output stream
--[Information] [6/5/2017 9:43:32 PM] Standard error stream
---[Information] [6/5/2017 9:43:32 PM] ffmpeg version 3.3.1 Copyright (c) 2000-2017 the FFmpeg developers
---[Information] [6/5/2017 9:43:32 PM] built with gcc 6.3.0 (GCC)
---[Information] [6/5/2017 9:43:32 PM] configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
---[Information] [6/5/2017 9:43:32 PM] libavutil 55. 58.100 / 55. 58.100
---[Information] [6/5/2017 9:43:32 PM] libavcodec 57. 89.100 / 57. 89.100
---[Information] [6/5/2017 9:43:32 PM] libavformat 57. 71.100 / 57. 71.100
---[Information] [6/5/2017 9:43:32 PM] libavdevice 57. 6.100 / 57. 6.100
---[Information] [6/5/2017 9:43:32 PM] libavfilter 6. 82.100 / 6. 82.100
---[Information] [6/5/2017 9:43:32 PM] libswscale 4. 6.100 / 4. 6.100
---[Information] [6/5/2017 9:43:32 PM] libswresample 2. 7.100 / 2. 7.100
---[Information] [6/5/2017 9:43:32 PM] libpostproc 54. 5.100 / 54. 5.100
---[Information] [6/5/2017 9:50:01 PM] Guessed Channel Layout for Input Stream #0.0 : stereo
---[Information] [6/5/2017 9:50:01 PM] Input #0, wav, from 'pipe:':
---[Information] [6/5/2017 9:50:01 PM] Duration: N/A, bitrate: 1536 kb/s
---[Information] [6/5/2017 9:50:01 PM] Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
locotus
6th June 2017, 10:01
Here the 2nd and final part:
---[Information] [6/5/2017 9:50:01 PM] Stream mapping:
---[Information] [6/5/2017 9:50:01 PM] Stream #0:0 -> #0:0 (pcm_s16le (native) -> ac3 (native))
---[Information] [6/5/2017 9:50:01 PM] Output #0, ac3, to 'C:\En proceso\Audio File 1 - [0] English.ac3':
---[Information] [6/5/2017 9:50:01 PM] Metadata:
---[Information] [6/5/2017 9:50:01 PM] encoder : Lavf57.71.100
---[Information] [6/5/2017 9:50:01 PM] Stream #0:0: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
---[Information] [6/5/2017 9:50:01 PM] Metadata:
---[Information] [6/5/2017 9:50:01 PM] encoder : Lavc57.89.100 ac3
---[Information] [6/5/2017 10:08:41 PM] video:0kB audio:108934kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
--[Information] [6/5/2017 10:08:41 PM] Aborting...
--[Information] Deleting aborted output
---[Information] [6/5/2017 10:08:41 PM] Delete aborted output set: True
--[Information] [6/5/2017 10:08:41 PM] Job completed
--[Information] [6/5/2017 10:08:41 PM] Current job was aborted
Zathor
6th June 2017, 21:47
Mhm, for me it does work. However it seems to be a bit slow. Could you please upload also your "versions" block of the log?
locotus
6th June 2017, 22:46
Here the version block.
Information] Log
-[Information] Versions
--[Information] MeGUI: 2755 x86
--[Information] System Information
---[Information] Operating System: Windows 10 Home 1607 x64 (10.0.14393.1198)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.7 (4.7.02053)
--[Information] Component Information
---[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
---[Information] Haali DSS2: (14-04-2013)
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
---[Information] MediaInfo: 0.7.96.0 (01-06-2017)
---[Information] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
---[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.2721.0
----[Information] Date: 29-04-2017
----[Information] Interface: 3
---[Information] AviSynth
----[Information] File Version: 2.5.8.5
----[Information] Date: 21-12-2008
----[Information] Name: Avisynth 2.5
----[Information] Version: AviSynth 2.58, build:Dec 22 2008 [08:46:51]
----[Information] AviSynth+: false
----[Information] MT: false
----[Information] Status: Installed AviSynth build is out of date.
---[Information] AviSynth portable
----[Information] File Version: 0.1
----[Information] Date: 03-06-2017
----[Information] Name: AviSynth+ 0.1 (r2504, MT, i386)
----[Information] Version: AviSynth+ 0.1 (r2504, MT, i386)
----[Information] AviSynth+: true
----[Information] MT: true
----[Information] Status: active
-[Information] Update detection
--[Information] [6/5/2017 7:04:33 PM] Using cached update config and server: http://megui.org/auto/
--[Information] [6/5/2017 7:04:33 PM] No package requires an update
--[Information] [6/5/2017 10:33:59 PM] Marked file as obsolete: megui-core-2754-32.7z
Thunderbolt8
7th June 2017, 01:55
would it be possible to implement better x265 GUI support? currently you can only choose between the presents or use the cmd line. there are no nice windows with knobs to play with (for people unfamiliar with the cmd line options) like there are in case with x264
I believe, previously Zathor hesitated to implement more basic parameters while x265 was in heavy development, and the set of command line options changing a lot. Already in v2.4 now, I hope that the most common parameters are quite stable now, I would dare him to be a little bolder too. ;)
sneaker_ger
7th June 2017, 09:30
It doesn't really make much sense. There are a bazillion "knobs". People who are too lazy to read the documentation and just want "to play" will only shoot themselves in the foot.
Then why did it make sense to support so many for x264?
I don't recommend to implement all of them. There is still the "custom command line". But a few commonly used, similar to x264, could be added?
sneaker_ger
7th June 2017, 09:52
Then why did it make sense to support so many for x264?
Who said it did? :p
(though I believe x265 is more complicated than x264)
Thunderbolt8
7th June 2017, 16:41
It doesn't really make much sense. There are a bazillion "knobs". People who are too lazy to read the documentation and just want "to play" will only shoot themselves in the foot.well "to play" was rather poorly worded. Im just looking for some rather basic stuff like deblocking options to set, number of reference frames and blu-ray compatibility. these could be useful even for people knowing not that much about encoding.
hello_hello
7th June 2017, 19:02
I'll confess I like the way the advanced options are implemented in the x264 encoder configuration, because when you change a speed preset or tuning etc the appropriate advanced options are changed to their new defaults, making it easy to see which settings they use. If ever I need to know for some reason but I can't remember, that's where I look.
LouieChuckyMerry
10th June 2017, 18:02
Hi Zathor, I hope you're well :) . Please, would you return "L-SMASH Works" as an indexing option for VC-1 video? It used to be possible but currently it's grayed-out. Thank you.
Zathor
11th June 2017, 12:03
Please, would you return "L-SMASH Works" as an indexing option for VC-1 video? It used to be possible but currently it's grayed-out. Thank you.
Sadly it is disabled as it is not working anymore:
https://github.com/VFR-maniac/L-SMASH-Works/issues/58
LouieChuckyMerry
11th June 2017, 18:34
Sadly it is disabled as it is not working anymore:
https://github.com/VFR-maniac/L-SMASH-Works/issues/58
That's interesting. Some years ago (Edit: it was May 2015) when I first tried to encode VC-1 video with MeGUI I had trouble with both FFMS and L-SMASH. Muxing the VC-1 as an .mkv led to artifacts in the output using either indexer. However, after much trial and error, I learned that muxing VC-1 as a .ts file then indexing with L-SMASH output artifact-free video (not the case with VC-1/.ts and FFMS; this output still had artifacts). So that's been my goto method for VC-1 sources. It's been about a year since last I did this, but a couple new-to-me Blu-rays are VC-1 and I'm again encountering artifacts using FFMS and .mkv. I realize that this isn't an issue with MeGUI, and it might not even be an issue with FFMS but instead an issue with my specific setup (multi-threading, perhaps?). If it comes to it I could single-thread any new VC-1 sources, but I'd prefer not to. Is there any way in MeGUI you can still have VC-1 video defualt to FFMS but also allow L-SMASH as an option? I find myself curious to check if VC-1/.ts/L-SMASH still works for me. Or is there any way you know to index a VC-1/.ts with L-SMASH independent of MeGUI (not to veer off-topic ;) ). Thanks for your help.
hello_hello
11th June 2017, 19:44
LouieChuckyMerry,
Both FFMs and L-Smash will index automatically if no index file is found. Simply create a script yourself such as
LWLibavVideoSource("D:\video.mkv")
and video.mkv will be indexed the first time you run it.
Are you limiting ffms2 to a single thread (there's an option in MeGUI's settings)? In my experience it fixes a lot of ffms2 problems. ie
FFVideoSource("D:\video.mkv", threads=1)
and remove any fpsnum & fpsden stuff MeGUI is adding to the script for ffms2 if you haven't tried it already.
LouieChuckyMerry
11th June 2017, 20:44
LouieChuckyMerry,
Both FFMs and L-Smash will index automatically if no index file is found. Simply create a script yourself such as
LWLibavVideoSource("D:\video.mkv")
and video.mkv will be indexed the first time you run it.
I'll try this as soon as I can demux then remux the videos as .ts files. Thanks :) .
Update: After indexing several of the VC-1/.ts files with FFMS, then changing the "LoadPlugin()" line from ffms2.dll to LSMASHSource.dll and the "FFVideoSource" to "LWLibavVideoSource", I ran some 2000 frame Trim tests. The results are great, no artifacts. So, as a workaround I created a new profile by adding these lines to an existing profile and renaming it accordingly. I still hope that Zathor is willing to return "LSMASHWorks" as a non-default option for VC-1 video :) .
Are you limiting ffms2 to a single thread (there's an option in MeGUI's settings)? In my experience it fixes a lot of ffms2 problems. ie
FFVideoSource("D:\video.mkv", threads=1)
and remove any fpsnum & fpsden stuff MeGUI is adding to the script for ffms2 if you haven't tried it already.
FFMS is limited to a single thread and I'll run a Trim test with the fpsnum and fpsden and threads additions removed. Thanks for the idea.
Update: I'll run some tests ASAP and post the results.
UpdateUpdate: I was finally able to run some tests. An FFMS/.ts combination resulted in much more (and worse) artifacts, with or without the fpsnum and fpsden and threads addition; an FFMS/.mkv combination resulted in the same artifacts (and frequency), with or without the fpsnum and fpsden and threads addition. Also, the results were the same regardless of indexing the source with video and audio or only video. Still, thanks for the thought :) . Ahhh, were you suggesting removing the "fpsnum" and "fpsden" additions but keeping the "threads" bit?
Zetti
25th June 2017, 13:11
MKVToolNix v13.0.0 is released.
Morku
25th June 2017, 14:54
MeGUI sometimes completly crash for me when I encode some audiofiles.
It does preparation fine, the encode is fine, even the final outputfile is complete and plays fine, but the finish step makes MeGUI crash. For some reason not always.
Currently I observe it for mp3 and ac3 output and 32-Bit and 64-Bit version of MeGUI.
The log is not that helpful, it ends at the encoding step:
--[Information] [25.06.2017 14:05:16] AviSynth script
--[Information] [25.06.2017 14:05:17] Command line used: -V0 - "{0}"
--[Information] [25.06.2017 14:05:17] AviSynth script environment opened
--[Information] [25.06.2017 14:05:17] Script loaded
--[Information] [25.06.2017 14:05:17] Output Decoder
---[Information] [25.06.2017 14:05:17] Channels: 2
---[Information] [25.06.2017 14:05:17] Bits per sample: 16
---[Information] [25.06.2017 14:05:17] Sample rate: 48000
--[Information] [25.06.2017 14:05:17] Job command line: D:\Sonstiges\Videotools\MeGUI\tools\lame\lame.exe -V0 - "G:\file.mp3"
--[Information] [25.06.2017 14:05:17] Process started
--[Information] [25.06.2017 14:05:17] Standard output stream
--[Information] [25.06.2017 14:05:17] Standard error stream
---[Information] [25.06.2017 14:05:34] LAME 3.99.5 64bits (http://lame.sf.net)
---[Information] [25.06.2017 14:05:34] CPU features: SSE (ASM used), SSE2 (ASM used)
---[Information] [25.06.2017 14:05:34] polyphase lowpass filter disabled
---[Information] [25.06.2017 14:05:34] Encoding <stdin> to G:\file.mp3
---[Information] [25.06.2017 14:05:34] Encoding as 48 kHz j-stereo MPEG-1 Layer III VBR(q=0)
So maybe the Crashdmp ist somehow more helpful. I uploaded here:
https://www.dropbox.com/s/nyseurmttn0pfc6/MeGUI.exe.13204.dmp?dl=1
The avs Script just looks like that:
avisource("utvideo.avi").Assumetff()
ConvertToYV12()
__film = last
__t0 = __film.trim(67380, 75020)
__t0
Zathor
25th June 2017, 22:07
MKVToolNix v13.0.0 is released.
Thanks, uploaded
MeGUI sometimes completly crash for me when I encode some audiofiles.
It does preparation fine, the encode is fine, even the final outputfile is complete and plays fine, but the finish step makes MeGUI crash. For some reason not always.
Currently I observe it for mp3 and ac3 output and 32-Bit and 64-Bit version of MeGUI.
Could you please upload also your full log or at least the versions block?
Morku
25th June 2017, 22:20
Sure. It's from a "well closed MeGUI", because logfiles when MeGUI crashs contains 'Preliminary log file only. During closing of MeGUI the well formed log file will be written.'
[Information] Log
-[Information] Versions
--[Information] MeGUI: 2755 x64
--[Information] System Information
---[Information] Operating System: Windows 10 Professional 1703 x64 (10.0.15063.413)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.7 (4.7.02046)
--[Information] Component Information
---[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
---[Information] Haali DSS2: not installed
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
---[Information] MediaInfo: 0.7.96.0 (01-06-2017)
---[Information] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
---[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.2721.0
----[Information] Date: 29-04-2017
----[Information] Interface: 3
---[Information] AviSynth
----[Information] File Version: 0.1
----[Information] Date: 08-06-2017
----[Information] Name: AviSynth+ 0.1 (r2506, MT, x86_64)
----[Information] Version: AviSynth+ 0.1 (r2506, MT, x86_64)
----[Information] AviSynth+: true
----[Information] MT: true
----[Information] Status: active
---[Information] AviSynth portable
----[Information] File Version: 0.1
----[Information] Date: 08-06-2017
----[Information] Name: AviSynth+ 0.1 (r2506, MT, x86_64)
----[Information] Status: inactive
Barough
29th June 2017, 17:52
Official Opus-tools v0.1.10-9-gbd65450 (using libopus 1.2.1) windows binaries
Win64 build:
https://ci.appveyor.com/api/buildjobs/pd5jp1d0dv3ml1w7/artifacts/opus-tools.zip
Win32 build:
https://ci.appveyor.com/api/buildjobs/0532d1twvfk2gwqm/artifacts/opus-tools.zip
olmicx
30th June 2017, 17:19
Hello Zathor:
I wanting use Xvid 2009-05-30 (1.2.2+vaq) version. How can i use this version for Megui 2755?
Barough
30th June 2017, 17:47
Just exchange the xvid exe with the 1 u wanna use
Sent from my SM-G935F via Tapatalk
olmicx
30th June 2017, 18:53
Just exchange the xvid exe with the 1 u wanna use
Sent from my SM-G935F via Tapatalk
i changed xvid_encraw.exe (MeGUI-2755-32\tools\xvid_encraw).
But Megui Error:
xvid_encraw.exe has stopped working
Maybe there is different solution
Barough
30th June 2017, 19:09
Beats me then...... been ages since i encoded any xvid with megui or anything else for that matter.
Sent from my SM-G935F via Tapatalk
hello_hello
1st July 2017, 06:41
The Script Creator's Preview's frame count and duration calculations are off by a frame. The frame numbers and timings are correct, but the totals are a frame short.
http://preview.ibb.co/bS2Z05/preview.gif
I normally wouldn't have noticed or cared, but I've been encoding some BBC NTSC videos where I'd been de-interlacing the video sections and deblending the 25fps sections with SRestore and encoding as VFR. I was using MeGUI's preview to check the SRestore sections had much the same duration as if I'd simply de-interlaced, then adjusting the Trim lengths a little if need be. ie
Yadif(mode=1)
Trim(1,114).SRestore()
Would ideally have the same duration as:
Yadif(mode=1)
Trim(1,114).SelectEven()
For that example I think MeGUI's preview said the difference was 11ms while Avisynth says 19ms. Not much variation there I'll admit, but it can add up and I'd been so anal about it, only to put Info() at the end of a script and discover MeGUI had been fibbing.
Zathor
1st July 2017, 16:23
2760 [OneClick] cosmetics
2759 [OneClick] improved handling of audio tracks:
- FLAC encodings use the HD track instead of the core if possible. Feature request #610
- fixed demux of multiple audio tracks using the same input track (eac3to only)
- fixed handling of TrueHD+AC3 tracks if using an intermediate MKV file
2758 [Muxer] removed dtshd and dtsma file extension and added eac3 and thd+ac3 file extension where suitable
[MediaInfo] improved audio codec/type detection
2757 [L-SMASH Indexer] improved error handling
2756 [Chapter] added a workaround for MediaInfo sometimes not detecting all chapters in MPLS files (regression of 2753)
olmicx
1st July 2017, 18:39
Hello Zathor reply please.. really important
I wanting use Xvid 2009-05-30 (1.2.2+vaq) version. How can i use this version for Megui 2755?
tebasuna51
1st July 2017, 18:53
Hello Zathor reply please.. really important
I wanting use Xvid 2009-05-30 (1.2.2+vaq) version. How can i use this version for Megui 2755?
If is really important put the full log of your crash (to know OS, script and command line parameters) and a link to the Xvid version than want use (I don't found that old version).
olmicx
2nd July 2017, 00:29
If is really important put the full log of your crash (to know OS, script and command line parameters) and a link to the Xvid version than want use (I don't found that old version).
There is error at HVS Masking: Lumi setting. I using Megui 2760.
I changed xvid_encraw folder with this link
http://megui.tmebi.de/test/xvid_encraw-2009-05-30.zip
[Error] Log
-[Information] Versions
--[Information] MeGUI: 2760 x86
--[Information] System Information
---[Information] Operating System: Windows Server 2012 R2 Standard x64 (6.3.0.9600)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.6.x (4.6.01055)
--[Information] Component Information
---[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
---[Information] Haali DSS2: (14-04-2013)
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
---[Information] MediaInfo: 0.7.97.0 (29-06-2017)
---[Information] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
---[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.2721.0
----[Information] Date: 29-04-2017
----[Information] Interface: 3
---[Information] AviSynth
----[Information] File Version: 2.6.0.6
----[Information] Date: 31-03-2015
----[Information] Name: Avisynth 2.6
----[Information] Version: AviSynth 2.60, build:Mar 31 2015 [16:38:54]
----[Information] AviSynth+: false
----[Information] MT: false
----[Information] Status: active
---[Information] AviSynth portable
----[Information] File Version: 2.6.0.6
----[Information] Date: 21-09-2015
----[Information] Name: Avisynth 2.6
----[Information] Status: inactive
-[Information] Update detection
--[Information] [2.7.2017 02:10:50] Automatic update is disabled
--[Information] [2.7.2017 02:10:50] Using cached update config and server: http://megui.org/auto/
--[Information] [2.7.2017 02:10:50] There are 3 packages which can be updated: AviSynth plugins, AviSynth portable, Xvid
-[Information] Log for job4 (video, VTS_01_1.avs -> )
--[Information] [2.7.2017 02:11:56] Started handling job
--[Information] [2.7.2017 02:11:56] Preprocessing
--[Information] [2.7.2017 02:11:56] AviSynth input script
---[NoImage] LoadPlugin("C:\Users\Administrator\Desktop\MeGUI-2760-32 X121UOF\tools\dgindex\DGDecode.dll")
---[NoImage] DGDecode_mpeg2source("C:\Users\Administrator\Desktop\NYZGL\VIDEO_TS\VTS_01_1.d2v", info=3)
---[NoImage] LoadPlugin("C:\Users\Administrator\Desktop\MeGUI-2760-32 X121UOF\tools\avisynth_plugin\ColorMatrix.dll")
---[NoImage] ColorMatrix(hints=true, threads=0)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] Spline36Resize(720,400) # Spline36 (Neutral)
---[NoImage] #denoise
--[Information] [2.7.2017 02:11:57] resolution: 720x400
--[Information] [2.7.2017 02:11:57] frame rate: 25/1
--[Information] [2.7.2017 02:11:57] frames: 152843
--[Information] [2.7.2017 02:11:57] aspect ratio: 9:5 (1.800)
--[Information] [2.7.2017 02:11:57] Job command line: "C:\Users\Administrator\Desktop\MeGUI-2760-32 X121UOF\tools\xvid_encraw\xvid_encraw.exe" -i "C:\Users\Administrator\Desktop\NYZGL\VIDEO_TS\VTS_01_1.avs" -pass1 "C:\Users\Administrator\Desktop\NYZGL\VIDEO_TS\VTS_01_1.stats" -bitrate 1593 -max_key_interval 250 -chigh 30 -clow 15 -max_bframes 1 -bquant_ratio 162 -bquant_offset 0 -vhqmode 4 -bvhq -qmatrix "C:\Users\Administrator\Desktop\MeGUI-2760-32 X121UOF\matrices\eqm_v3lr.xcm" -nopacked -imin 1 -bmin 1 -pmin 1 -threads 2 -par 1
--[Information] [2.7.2017 02:11:57] Process started
--[Information] [2.7.2017 02:11:57] Standard output stream
---[Information] [2.7.2017 02:11:57] xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
--[Information] [2.7.2017 02:11:57] Standard error stream
--[Information] [2.7.2017 02:12:02] Process exits with error: 0xFFFFFFFF (-1)
--[Information] Deleting aborted output
---[Information] [2.7.2017 02:12:03] Delete aborted output set: True
--[Information] [2.7.2017 02:12:03] Job completed
--[Information] [2.7.2017 02:12:03] Current job was aborted
-[Information] Log for job2 (video, VTS_01_1.avs -> VTS_01_1.m4v)
--[Information] [2.7.2017 02:12:07] Deleting intermediate files
---[Information] [2.7.2017 02:12:08] Successfully deleted C:\Users\Administrator\Desktop\NYZGL\VIDEO_TS\VTS_01_1.stats
-[Error] Log for job1 (video, VTS_01_1.avs -> )
--[Information] [2.7.2017 02:12:17] Started handling job
--[Information] [2.7.2017 02:12:17] Preprocessing
--[Information] [2.7.2017 02:12:17] AviSynth input script
---[NoImage] LoadPlugin("C:\Users\Administrator\Desktop\MeGUI-2760-32 X121UOF\tools\dgindex\DGDecode.dll")
---[NoImage] DGDecode_mpeg2source("C:\Users\Administrator\Desktop\NYZGL\VIDEO_TS\VTS_01_1.d2v", info=3)
---[NoImage] LoadPlugin("C:\Users\Administrator\Desktop\MeGUI-2760-32 X121UOF\tools\avisynth_plugin\ColorMatrix.dll")
---[NoImage] ColorMatrix(hints=true, threads=0)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] Spline36Resize(720,400) # Spline36 (Neutral)
---[NoImage] #denoise
--[Information] [2.7.2017 02:12:17] resolution: 720x400
--[Information] [2.7.2017 02:12:17] frame rate: 25/1
--[Information] [2.7.2017 02:12:17] frames: 152843
--[Information] [2.7.2017 02:12:17] aspect ratio: 9:5 (1.800)
--[Information] [2.7.2017 02:12:17] Job command line: "C:\Users\Administrator\Desktop\MeGUI-2760-32 X121UOF\tools\xvid_encraw\xvid_encraw.exe" -i "C:\Users\Administrator\Desktop\NYZGL\VIDEO_TS\VTS_01_1.avs" -pass1 "C:\Users\Administrator\Desktop\NYZGL\VIDEO_TS\VTS_01_1.stats" -bitrate 1593 -max_key_interval 250 -chigh 30 -clow 15 -max_bframes 1 -bquant_ratio 162 -bquant_offset 0 -vhqmode 4 -bvhq -qmatrix "C:\Users\Administrator\Desktop\MeGUI-2760-32 X121UOF\matrices\eqm_v3lr.xcm" -nopacked -masking 1 -imin 1 -bmin 1 -pmin 1 -threads 2 -par 1
--[Information] [2.7.2017 02:12:17] Process started
--[Information] [2.7.2017 02:12:17] Standard output stream
---[Information] [2.7.2017 02:12:17] xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
--[Error] [2.7.2017 02:12:17] Standard error stream
---[Information] [2.7.2017 02:12:17] xvid_encraw built at 10:22:53 on Aug 31 2007
---[Error] [2.7.2017 02:12:17] Usage : xvid_encraw [OPTIONS]
---[Information] [2.7.2017 02:12:17] Input options:
---[Information] [2.7.2017 02:12:17] -i string : input filename (stdin)
---[Information] [2.7.2017 02:12:17] -type integer : input data type (yuv=0, pgm=1, avi/avs=2)
---[Information] [2.7.2017 02:12:17] -w integer : frame width ([1.2048])
---[Information] [2.7.2017 02:12:17] -h integer : frame height ([1.2048])
---[Information] [2.7.2017 02:12:17] -frames integer : number of frames to encode
---[Information] [2.7.2017 02:12:17] Output options:
---[Information] [2.7.2017 02:12:17] -dump : save decoder output
---[Information] [2.7.2017 02:12:17] -save : save an Elementary Stream file per frame
---[Information] [2.7.2017 02:12:17] -o string : save an Elementary Stream,
---[Information] [2.7.2017 02:12:17] or AVI file,
---[Information] [2.7.2017 02:12:17] or MKV file,
---[Information] [2.7.2017 02:12:17] based on filename extension
---[Information] [2.7.2017 02:12:17] -avi string : save an AVI file for the complete sequence
---[Information] [2.7.2017 02:12:17] -mkv string : save a MKV file for the complete sequence
---[Information] [2.7.2017 02:12:17] BFrames options:
---[Information] [2.7.2017 02:12:17] -max_bframes integer : max bframes (2)
---[Information] [2.7.2017 02:12:17] -bquant_ratio integer : bframe quantizer ratio (150)
---[Information] [2.7.2017 02:12:17] -bquant_offset integer : bframe quantizer offset (100)
---[Information] [2.7.2017 02:12:17] Rate control options:
---[Information] [2.7.2017 02:12:17] -framerate float : target framerate (25.0)
---[Information] [2.7.2017 02:12:17] -bitrate [integer] : target bitrate (700)
---[Information] [2.7.2017 02:12:17] values <= 10000 are treated as kbit/s
---[Information] [2.7.2017 02:12:17] values > 10000 are treated as bit/s
---[Information] [2.7.2017 02:12:17] -size integer : target size in kilobytes
---[Information] [2.7.2017 02:12:17] -single : single pass mode (default)
---[Information] [2.7.2017 02:12:17] -cq float : single pass constant quantizer
---[Information] [2.7.2017 02:12:17] -pass1 [filename] : twopass mode (first pass)
---[Information] [2.7.2017 02:12:17] -full1pass : perform full first pass
---[Information] [2.7.2017 02:12:17] -pass2 [filename] : twopass mode (2nd pass)
---[Information] [2.7.2017 02:12:17] -altpass2 [filename] : twopass mode (2nd pass alt)
---[Information] [2.7.2017 02:12:17] -zq starting_frame float : bitrate zone; quant
---[Information] [2.7.2017 02:12:17] -zw starting_frame float : bitrate zone; weight
---[Information] [2.7.2017 02:12:17] -zones : see xvid_encraw -help zones
---[Information] [2.7.2017 02:12:17] -max_key_interval integer : maximum keyframe interval (300)
---[Information] [2.7.2017 02:12:17] Single Pass options:
---[Information] [2.7.2017 02:12:17] -reaction integer : reaction delay factor (16)
---[Information] [2.7.2017 02:12:17] -averaging integer : averaging period (100)
---[Information] [2.7.2017 02:12:17] -smoother integer : smoothing buffer (100)
---[Information] [2.7.2017 02:12:17] Second Pass options:
---[Information] [2.7.2017 02:12:17] -kboost integer : I frame boost (10)
---[Information] [2.7.2017 02:12:17] -kthresh integer : I frame reduction threshold (1)
---[Information] [2.7.2017 02:12:17] -kreduction integer : I frame reduction amount (20)
---[Information] [2.7.2017 02:12:17] -ostrength integer : overflow control strength (5)
---[Information] [2.7.2017 02:12:17] -oimprove integer : max overflow improvement (5)
---[Information] [2.7.2017 02:12:17] -odegrade integer : max overflow degradation (5)
---[Information] [2.7.2017 02:12:17] -chigh integer : high bitrate scenes degradation (0)
---[Information] [2.7.2017 02:12:17] -clow integer : low bitrate scenes improvement (0)
---[Information] [2.7.2017 02:12:17] -overhead integer : container frame overhead (24)
---[Information] [2.7.2017 02:12:17] -vbvsize integer : use vbv buffer size
---[Information] [2.7.2017 02:12:17] -vbvmax integer : vbv max bitrate
---[Information] [2.7.2017 02:12:17] -vbvpeak integer : vbv peak bitrate over 1 second
---[Information] [2.7.2017 02:12:17] Other options
---[Information] [2.7.2017 02:12:17] -noasm : do not use assembly optmized code
---[Information] [2.7.2017 02:12:17] -turbo : use turbo presets for higher encoding speed
---[Information] [2.7.2017 02:12:17] -quality integer : quality ([0..6]) (6)
---[Information] [2.7.2017 02:12:17] -vhqmode integer : level of R-D optimizations ([0..4]) (1)
---[Information] [2.7.2017 02:12:17] -bvhq : use R-D optimizations for B-frames
---[Information] [2.7.2017 02:12:17] -qpel : use quarter pixel ME
---[Information] [2.7.2017 02:12:17] -gmc : use global motion compensation
---[Information] [2.7.2017 02:12:17] -qtype integer : quantization type (H263:0, MPEG4:1) (0)
---[Information] [2.7.2017 02:12:17] -qmatrix filename : use custom MPEG4 quantization matrix
---[Information] [2.7.2017 02:12:17] -interlaced [integer] : interlaced encoding (BFF:1, TFF:2) (1)
---[Information] [2.7.2017 02:12:17] -nopacked : Disable packed mode
---[Information] [2.7.2017 02:12:17] -noclosed_gop : Disable closed GOP mode
---[Information] [2.7.2017 02:12:17] -lumimasking : use lumimasking algorithm
---[Information] [2.7.2017 02:12:17] -hvs_aq string : use custom adaptive quantisation equation
---[Information] [2.7.2017 02:12:17] -hvs_lmb string : use custom lambda equation
---[Information] [2.7.2017 02:12:17] -stats : print stats about encoded frames
---[Information] [2.7.2017 02:12:17] -ssim [integer] : prints ssim for each frame ([0..4]) (2)
---[Information] [2.7.2017 02:12:17] -ssim_file filename : outputs the ssim stats into a file
---[Information] [2.7.2017 02:12:17] -debug : activates xvidcore internal debugging output
---[Information] [2.7.2017 02:12:17] -vop_debug : print some info directly into encoded frames
---[Information] [2.7.2017 02:12:17] -nochromame : Disable chroma motion estimation
---[Information] [2.7.2017 02:12:17] -notrellis : Disable trellis quantization
---[Information] [2.7.2017 02:12:17] -imin integer : Minimum I Quantizer (1..31) (2)
---[Information] [2.7.2017 02:12:17] -imax integer : Maximum I quantizer (1..31) (31)
---[Information] [2.7.2017 02:12:17] -bmin integer : Minimum B Quantizer (1..31) (2)
---[Information] [2.7.2017 02:12:17] -bmax integer : Maximum B quantizer (1..31) (31)
---[Information] [2.7.2017 02:12:17] -pmin integer : Minimum P Quantizer (1..31) (2)
---[Information] [2.7.2017 02:12:17] -pmax integer : Maximum P quantizer (1..31) (31)
---[Information] [2.7.2017 02:12:17] -drop integer : Frame Drop Ratio (0..100) (0)
---[Information] [2.7.2017 02:12:17] -start integer : Starting frame number
---[Information] [2.7.2017 02:12:17] -threads integer : Number of threads
---[Information] [2.7.2017 02:12:17] -nothreadedinput : Disable threaded input reading
---[Information] [2.7.2017 02:12:17] -progress [integer] : Show progress updates every n frames (10)
---[Information] [2.7.2017 02:12:17] -par integer[:integer] : Set Pixel Aspect Ratio.
---[Information] [2.7.2017 02:12:17] 1 = 1:1
---[Information] [2.7.2017 02:12:17] 2 = 12:11 (4:3 PAL)
---[Information] [2.7.2017 02:12:17] 3 = 10:11 (4:3 NTSC)
---[Information] [2.7.2017 02:12:17] 4 = 16:11 (16:9 PAL)
---[Information] [2.7.2017 02:12:17] 5 = 40:33 (16:9 NTSC)
---[Information] [2.7.2017 02:12:17] other = custom (width:height)
---[Information] [2.7.2017 02:12:17] -help : prints this help message
---[Information] [2.7.2017 02:12:17] -help zones : prints zones help message
---[Information] [2.7.2017 02:12:17] NB: You can define 64 zones repeating the -z[qw] option as needed.
--[Error] [2.7.2017 02:12:17] Process exits with error: 0xFFFFFFFF (-1)
--[Information] [2.7.2017 02:12:17] Job completed
Zathor
2nd July 2017, 09:38
It may help to change the masking settings. If not:
The last version with support for that ancient xvid version was MeGUI 2546. Either use xvid 1.3.x with the recent MeGUI or xvid 1.2.x with MeGUI 2546 (or older).
Btw why do you want to use such an old version?
Morku
2nd July 2017, 10:41
Anything new about my crashing MeGUI at the step "[job1] Finalizing encoder" for audiofiles?
Preliminary log file only. During closing of MeGUI the well formed log file will be written.
-[Information] Versions
--[Information] MeGUI: 2760 x86
-[Information] Operating System: Windows 10 Professional 1703 x64 (10.0.15063.447)
-[Information] .NET Framework: 4.0 (4.0.0.0)
-[Information] .NET Framework: 4.7 (4.7.02046)
--[Information] System Information
-[Information] Update detection
--[Information] [02.07.2017 11:33:31] Automatic update is disabled
-[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
-[Information] Haali DSS2: not installed
-[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
-[Information] MediaInfo: 0.7.97.0 (29-06-2017)
--[Information] [02.07.2017 11:33:31] Using cached update config and server: http://megui.org/auto/
-[Information] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
-[Information] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
-[Information] 7z: 9.20 (18-11-2010)
--[Information] Component Information
-[Information] Version: 1.0.2721.0
-[Information] Date: 29-04-2017
-[Information] Interface: 3
-[Information] AviSynth Wrapper
-[Information] File Version: 0.1
-[Information] Date: 29-06-2017
-[Information] Name: AviSynth+ 0.1 (r2508, MT, i386)
--[Information] [02.07.2017 11:33:31] No package requires an update
-[Information] Version: AviSynth+ 0.1 (r2508, MT, i386)
-[Information] AviSynth+: true
-[Information] MT: true
-[Information] Status: active
-[Information] AviSynth
-[Information] File Version: 0.1
-[Information] Date: 29-06-2017
-[Information] Name: AviSynth+ 0.1 (r2508, MT, i386)
-[Information] Status: inactive
-[Information] AviSynth portable
--[Information] AviSynth Information
-[Information] Log for job1 (audio, 2.avs -> 2.mp3)
--[Information] [02.07.2017 11:33:50] Started handling job
--[Information] [02.07.2017 11:33:52] Preprocessing
--[Information] [02.07.2017 11:33:52] MediaInfo
---[Information] [02.07.2017 11:33:52] File: G:\2.avs
---[Information] AVS input file detected. Getting media information from AviSynth.
-[Information] Format: AVS
-[Information] FormatString: AviSynth Script
-[Information] FileSize: 306
-[Information] PlayTime: 00:13:20.0400000
---[Information] General
-[Information] ID: 0
-[Information] StreamOrder:
-[Information] Width: 704
-[Information] Height: 576
-[Information] FrameCount: 40002
-[Information] FrameRate: 50
-[Information] FrameRateOriginal:
-[Information] FrameRateMode:
-[Information] ScanType: Progressive
-[Information] Codec: AVS Video
-[Information] CodecString: AVS
-[Information] Bits Depth:
-[Information] Format: AVS
-[Information] AspectRatio: 4:3
-[Information] AspectRatioString:
-[Information] Delay: 0
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Video
-[Information] ID: 0
-[Information] StreamOrder:
-[Information] Format: AVS
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] Muxing Mode:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48000
-[Information] Channels: 2
-[Information] ChannelsString: 2 channels
-[Information] ChannelPositionsString2:
-[Information] BitRateMode: CBR
-[Information] Delay: 0
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
-[Information] [02.07.2017 11:33:53] The language information is not available for this track. The default MeGUI language has been selected.
---[Information] Audio
--[Information] [02.07.2017 11:33:53] ignoring downmix as there is only 2 channel(s)
-[NoImage] Import("G:\2.avs")
-[NoImage] # detected channels: 2
-[NoImage] # detected channel positions:
-[NoImage] ConvertAudioToFloat(last)
-[NoImage] SSRC(48000)
-[NoImage] Normalize()
-[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
-[NoImage] return last
-[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> stereo + LFE
-[NoImage] function c6_stereo(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] lf = GetChannel(a, 4)
-[NoImage] sl = GetChannel(a, 5)
-[NoImage] sr = GetChannel(a, 6)
-[NoImage] fl_sl = MixAudio(fl, sl, 0.2929, 0.2929)
-[NoImage] fr_sr = MixAudio(fr, sr, 0.2929, 0.2929)
-[NoImage] fc_lf = MixAudio(fc, lf, 0.2071, 0.2071)
-[NoImage] l = MixAudio(fl_sl, fc_lf, 1.0, 1.0)
-[NoImage] r = MixAudio(fr_sr, fc_lf, 1.0, 1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5 Channels L,R,C,SL,SR or L,R,LFE,SL,SR-> Stereo
-[NoImage] function c5_stereo(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] sl = GetChannel(a, 4)
-[NoImage] sr = GetChannel(a, 5)
-[NoImage] fl_sl = MixAudio(fl, sl, 0.3694, 0.3694)
-[NoImage] fr_sr = MixAudio(fr, sr, 0.3694, 0.3694)
-[NoImage] l = MixAudio(fl_sl, fc, 1.0, 0.2612)
-[NoImage] r = MixAudio(fr_sr, fc, 1.0, 0.2612)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5 Channels L,R,C,LFE,S -> Stereo
-[NoImage] function c52_stereo(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] lf = GetChannel(a, 4)
-[NoImage] bc = GetChannel(a, 5)
-[NoImage] fl_bc = MixAudio(fl, bc, 0.3205, 0.2265)
-[NoImage] fr_bc = MixAudio(fr, bc, 0.3205, 0.2265)
-[NoImage] fc_lf = MixAudio(fc, lf, 0.2265, 0.2265)
-[NoImage] l = MixAudio(fl_bc, fc_lf, 1.0, 1.0)
-[NoImage] r = MixAudio(fr_bc, fc_lf, 1.0, 1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 4 Channels Quadro L,R,SL,SR -> Stereo
-[NoImage] function c4_stereo(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] sl = GetChannel(a, 3)
-[NoImage] sr = GetChannel(a, 4)
-[NoImage] l = MixAudio(fl, sl, 0.5, 0.5)
-[NoImage] r = MixAudio(fr, sr, 0.5, 0.5)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 4 Channels L,R,C,LFE or L,R,S,LFE or L,R,C,S -> Stereo
-[NoImage] function c42_stereo(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] lf = GetChannel(a, 4)
-[NoImage] fc_lf = MixAudio(fc, lf, 0.2929, 0.2929)
-[NoImage] l = MixAudio(fl, fc_lf, 0.4142, 1.0)
-[NoImage] r = MixAudio(fr, fc_lf, 0.4142, 1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 3 Channels L,R,C or L,R,S or L,R,LFE -> Stereo
-[NoImage] function c3_stereo(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] l = MixAudio(fl, fc, 0.5858, 0.4142)
-[NoImage] r = MixAudio(fr, fc, 0.5858, 0.4142)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic
-[NoImage] function c6_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] sl = GetChannel(a, 5)
-[NoImage] sr = GetChannel(a, 6)
-[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
-[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
-[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
-[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
-[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic
-[NoImage] function c5_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] sl = GetChannel(a, 4)
-[NoImage] sr = GetChannel(a, 5)
-[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
-[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
-[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
-[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
-[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic
-[NoImage] function c52_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] sl = GetChannel(a, 4)
-[NoImage] sr = GetChannel(a, 5)
-[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
-[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
-[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5 Channels L,R,C,LFE,S -> Dolby ProLogic
-[NoImage] function c53_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] bc = GetChannel(a, 5)
-[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
-[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
-[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
-[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic
-[NoImage] function c4_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] sl = GetChannel(a, 3)
-[NoImage] sr = GetChannel(a, 4)
-[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
-[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
-[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 4 Channels L,R,LFE,S -> Dolby ProLogic
-[NoImage] function c42_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] bc = GetChannel(a, 4)
-[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
-[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 4 Channels L,R,C,S -> Dolby ProLogic
-[NoImage] function c43_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] bc = GetChannel(a, 4)
-[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
-[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
-[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
-[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 3 Channels L,R,S -> Dolby ProLogic
-[NoImage] function c3_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] bc = GetChannel(a, 3)
-[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
-[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic II
-[NoImage] function c6_dpl2(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] sl = GetChannel(a, 5)
-[NoImage] sr = GetChannel(a, 6)
-[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
-[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
-[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
-[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
-[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
-[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic II
-[NoImage] function c5_dpl2(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] sl = GetChannel(a, 4)
-[NoImage] sr = GetChannel(a, 5)
-[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
-[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
-[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
-[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
-[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
-[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic II
-[NoImage] function c52_dpl2(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] sl = GetChannel(a, 4)
-[NoImage] sr = GetChannel(a, 5)
-[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
-[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
-[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
-[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic II
-[NoImage] function c4_dpl2(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] sl = GetChannel(a, 3)
-[NoImage] sr = GetChannel(a, 4)
-[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
-[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
-[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
-[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
--[Information] [02.07.2017 11:33:53] AviSynth script
--[Information] [02.07.2017 11:33:54] Command line used: -V0 - "{0}"
--[Information] [02.07.2017 11:33:54] AviSynth script environment opened
--[Information] [02.07.2017 11:33:54] Script loaded
--[Information] [02.07.2017 11:33:54] Output Decoder
---[Information] [02.07.2017 11:33:54] Channels: 2
---[Information] [02.07.2017 11:33:54] Bits per sample: 16
---[Information] [02.07.2017 11:33:54] Sample rate: 48000
--[Information] [02.07.2017 11:33:54] Job command line: D:\Sonstiges\Videotools\MeGUI x86\tools\lame\lame.exe -V0 - "G:\2.mp3"
--[Information] [02.07.2017 11:33:54] Process started
--[Information] [02.07.2017 11:33:54] Standard output stream
--[Information] [02.07.2017 11:33:54] Standard error stream
---[Information] [02.07.2017 11:34:05] LAME 3.99.5 64bits (http://lame.sf.net)
---[Information] [02.07.2017 11:34:05] CPU features: SSE (ASM used), SSE2 (ASM used)
---[Information] [02.07.2017 11:34:05] polyphase lowpass filter disabled
---[Information] [02.07.2017 11:34:05] Encoding <stdin> to G:\2.mp3
---[Information] [02.07.2017 11:34:05] Encoding as 48 kHz j-stereo MPEG-1 Layer III VBR(q=0)
Crashdump of MeGUI 32-Bit: https://www.dropbox.com/s/9p0ydkx4w2gqcxy/MeGUI.exe.10376.dmp?dl=1
example script I used:
global MeGUI_darx = 4
global MeGUI_dary = 3
AVISource("1.avi", audio=true).AssumeFPS(25,1).Assumetff()
ConverttoYV12()
__film = last
__t0 = __film.trim(75033, 95033)
__t0
QTGMC(Denoiser="dfttest", Preset="Slow", EdiMode="NNEDI3", EdiThreads=8, Sharpness=1.0) #Preset="Slower" "Ultra Fast"
Or it's my PC? :confused:
Zathor
2nd July 2017, 11:35
Sorry, I cannot help much with that as AviSource + DirectShowSource may lead to unpredicted behaviour. Test it again with a simple script - e.g. lsmash with the extracted audio track and report back.
tebasuna51
2nd July 2017, 12:36
There is error at HVS Masking: Lumi setting. I using Megui 2760.
I changed xvid_encraw folder with this link
http://megui.tmebi.de/test/xvid_encraw-2009-05-30.zip
The HVS Masking error is related to Job 1, see later.
The error in Job 4:
-[Information] Log for job4 (video, VTS_01_1.avs -> )
...
"C:\Users\Administrator\Desktop\MeGUI-2760-32 X121UOF\tools\xvid_encraw\xvid_encraw.exe" -i "C:\Users\Administrator\Desktop\NYZGL\VIDEO_TS\VTS_01_1.avs" -pass1 "C:\Users\Administrator\Desktop\NYZGL\VIDEO_TS\VTS_01_1.stats" -bitrate 1593 -max_key_interval 250 -chigh 30 -clow 15 -max_bframes 1 -bquant_ratio 162 -bquant_offset 0 -vhqmode 4 -bvhq -qmatrix "C:\Users\Administrator\Desktop\MeGUI-2760-32 X121UOF\matrices\eqm_v3lr.xcm" -nopacked -imin 1 -bmin 1 -pmin 1 -threads 2 -par 1
...
--[Information] [2.7.2017 02:12:02] Process exits with error: 0xFFFFFFFF (-1)
I can't reproduce the error in my system (W 7, last Avs+, your xvid_encraw) and this .bat encode:
xvid_encraw -i "test.avs" -pass1 "test.stats" -bitrate 1593 -max_key_interval 250 -chigh 30 -clow 15 -max_bframes 1 -bquant_ratio 162 -bquant_offset 0 -vhqmode 4 -bvhq -qmatrix "eqm_v3ulr_rev3.xcm" -nopacked -imin 1 -bmin 1 -pmin 1 -threads 2 -par 1
pause
I used "eqm_v3ulr_rev3.xcm" from https://forum.doom9.org/showthread.php?p=551562#post551562 because I don't have any ...megui\matrices folder and don't found eqm_v3lr.xcm
Do you have MeGUI-2760-32 X121UOF\matrices\eqm_v3lr.xcm?
Try to make a .bat file with:
"C:\Users\Administrator\Desktop\MeGUI-2760-32 X121UOF\tools\xvid_encraw\xvid_encraw.exe" -i "C:\Users\Administrator\Desktop\NYZGL\VIDEO_TS\VTS_01_1.avs" -pass1 "C:\Users\Administrator\Desktop\NYZGL\VIDEO_TS\VTS_01_1.stats" -bitrate 1593 -max_key_interval 250 -chigh 30 -clow 15 -max_bframes 1 -bquant_ratio 162 -bquant_offset 0 -vhqmode 4 -bvhq -qmatrix "C:\Users\Administrator\Desktop\MeGUI-2760-32 X121UOF\matrices\eqm_v3lr.xcm" -nopacked -imin 1 -bmin 1 -pmin 1 -threads 2 -par 1
pause
And run it. If also crash is not a MeGUI problem.
-[Error] Log for job1 (video, VTS_01_1.avs -> )
...
"C:\Users\Administrator\Desktop\MeGUI-2760-32 X121UOF\tools\xvid_encraw\xvid_encraw.exe" -i "C:\Users\Administrator\Desktop\NYZGL\VIDEO_TS\VTS_01_1.avs" -pass1 "C:\Users\Administrator\Desktop\NYZGL\VIDEO_TS\VTS_01_1.stats" -bitrate 1593 -max_key_interval 250 -chigh 30 -clow 15 -max_bframes 1 -bquant_ratio 162 -bquant_offset 0 -vhqmode 4 -bvhq -qmatrix "C:\Users\Administrator\Desktop\MeGUI-2760-32 X121UOF\matrices\eqm_v3lr.xcm" -nopacked -masking 1 -imin 1 -bmin 1 -pmin 1 -threads 2 -par 1
---[Error] [2.7.2017 02:12:17] Usage : xvid_encraw [OPTIONS]
This job crash showing xvid_encraw HELP because the -masking parameter is not supported by this old xvid_encraw, yes with the MeGUI default:
-masking [integer] : HVS masking mode (None:0, Lumi:1, Variance:2) (0)
tebasuna51
2nd July 2017, 12:59
Anything new about my crashing MeGUI at the step "[job1] Finalizing encoder" for audiofiles?
Try this script:
AVISource("1.avi", audio=true).AssumeFPS(25,1)
trim(75033, 95033)
KillVideo()
SSRC(48000)
Normalize()
Morku
2nd July 2017, 14:37
Try this script:
AVISource("1.avi", audio=true).AssumeFPS(25,1)
trim(75033, 95033)
KillVideo()
SSRC(48000)
Normalize()
Gives error: Error parsing avs file
Input audio sample format to SSRC must be float. line 4
Without "SSRC(48000)", finalizing step makes MeGUI crash, too.
Next try, adding "ConvertAudioToFloat()"
AVISource("1.avi", audio=true).AssumeFPS(25,1)
trim(75033, 95033)
KillVideo()
ConvertAudioToFloat()
SSRC(48000)
Normalize()
MeGUI crash already by trying to open the avs file.
I also tried changing 'Prefered Decoder' from LWLibavAudioSource to NicAudio and DirectShow, but it still crash at finalizing.
There I found a little cosmetic bug. Changing to FFAudioSource, DirectShowSource and BassAudio and close MeGUI normally, the Prefered Decoder keeps saved. Changing to NicAudio, MeGUI changes Prefered Decoder to LWLibavAudioSource after restart MeGUI (currently testing with 32-Bit version).
Soooooo last try. I extracted wav with VirtualDub, put wav into Audio Input, Queue, Start, Encoding, Finalizing and crash...
Preliminary log file only. During closing of MeGUI the well formed log file will be written.
-[Information] Versions
--[Information] MeGUI: 2760 x86
-[Information] Operating System: Windows 10 Professional 1703 x64 (10.0.15063.447)
-[Information] .NET Framework: 4.0 (4.0.0.0)
-[Information] .NET Framework: 4.7 (4.7.02046)
--[Information] System Information
-[Information] Update detection
--[Information] [02.07.2017 15:27:37] Automatic update is disabled
-[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
-[Information] Haali DSS2: not installed
-[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
-[Information] MediaInfo: 0.7.97.0 (29-06-2017)
--[Information] [02.07.2017 15:27:37] Using cached update config and server: http://megui.tmebi.de/test/
-[Information] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
-[Information] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
-[Information] 7z: 9.20 (18-11-2010)
--[Information] Component Information
-[Information] Version: 1.0.2721.0
-[Information] Date: 29-04-2017
-[Information] Interface: 3
-[Information] AviSynth Wrapper
-[Information] File Version: 0.1
-[Information] Date: 29-06-2017
-[Information] Name: AviSynth+ 0.1 (r2508, MT, i386)
--[Information] [02.07.2017 15:27:37] No package requires an update
-[Information] Version: AviSynth+ 0.1 (r2508, MT, i386)
-[Information] AviSynth+: true
-[Information] MT: true
-[Information] Status: active
-[Information] AviSynth
-[Information] File Version: 0.1
-[Information] Date: 29-06-2017
-[Information] Name: AviSynth+ 0.1 (r2508, MT, i386)
-[Information] Status: inactive
-[Information] AviSynth portable
--[Information] AviSynth Information
-[Information] Log for job1 (audio, 2.wav -> 2.mp3)
--[Information] [02.07.2017 15:27:48] Started handling job
--[Information] [02.07.2017 15:27:48] Preprocessing
--[Information] [02.07.2017 15:27:48] MediaInfo
---[Information] [02.07.2017 15:27:48] File: G:\2.wav
-[Information] Format: Wave
-[Information] FormatString: Wave
-[Information] FileSize: 153607784
-[Information] PlayTime: 00:13:20.040
---[Information] General
-[Information] ID:
-[Information] StreamOrder:
-[Information] Format: PCM
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] Muxing Mode:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 kHz
-[Information] Channels: 2
-[Information] ChannelsString: 2 channels
-[Information] ChannelPositionsString2:
-[Information] BitRateMode: CBR
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
-[Information] [02.07.2017 15:27:48] The language information is not available for this track. The default MeGUI language has been selected.
---[Information] Audio
--[Information] [02.07.2017 15:27:51] Trying to open the file with LWLibavAudioSource()
--[Information] [02.07.2017 15:27:53] Successfully opened the file with LWLibavAudioSource()
--[Information] [02.07.2017 15:27:55] ignoring downmix as there is only 2 channel(s)
-[NoImage] LoadPlugin("D:\Sonstiges\Videotools\MeGUI x86\tools\lsmash\LSMASHSource.dll")
-[NoImage] LSMASHAudioSource("G:\2.wav")
-[NoImage] # detected channels: 2
-[NoImage] # detected channel positions:
-[NoImage] ConvertAudioToFloat(last)
-[NoImage] SSRC(48000)
-[NoImage] Normalize()
-[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
-[NoImage] return last
-[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> stereo + LFE
-[NoImage] function c6_stereo(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] lf = GetChannel(a, 4)
-[NoImage] sl = GetChannel(a, 5)
-[NoImage] sr = GetChannel(a, 6)
-[NoImage] fl_sl = MixAudio(fl, sl, 0.2929, 0.2929)
-[NoImage] fr_sr = MixAudio(fr, sr, 0.2929, 0.2929)
-[NoImage] fc_lf = MixAudio(fc, lf, 0.2071, 0.2071)
-[NoImage] l = MixAudio(fl_sl, fc_lf, 1.0, 1.0)
-[NoImage] r = MixAudio(fr_sr, fc_lf, 1.0, 1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5 Channels L,R,C,SL,SR or L,R,LFE,SL,SR-> Stereo
-[NoImage] function c5_stereo(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] sl = GetChannel(a, 4)
-[NoImage] sr = GetChannel(a, 5)
-[NoImage] fl_sl = MixAudio(fl, sl, 0.3694, 0.3694)
-[NoImage] fr_sr = MixAudio(fr, sr, 0.3694, 0.3694)
-[NoImage] l = MixAudio(fl_sl, fc, 1.0, 0.2612)
-[NoImage] r = MixAudio(fr_sr, fc, 1.0, 0.2612)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5 Channels L,R,C,LFE,S -> Stereo
-[NoImage] function c52_stereo(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] lf = GetChannel(a, 4)
-[NoImage] bc = GetChannel(a, 5)
-[NoImage] fl_bc = MixAudio(fl, bc, 0.3205, 0.2265)
-[NoImage] fr_bc = MixAudio(fr, bc, 0.3205, 0.2265)
-[NoImage] fc_lf = MixAudio(fc, lf, 0.2265, 0.2265)
-[NoImage] l = MixAudio(fl_bc, fc_lf, 1.0, 1.0)
-[NoImage] r = MixAudio(fr_bc, fc_lf, 1.0, 1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 4 Channels Quadro L,R,SL,SR -> Stereo
-[NoImage] function c4_stereo(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] sl = GetChannel(a, 3)
-[NoImage] sr = GetChannel(a, 4)
-[NoImage] l = MixAudio(fl, sl, 0.5, 0.5)
-[NoImage] r = MixAudio(fr, sr, 0.5, 0.5)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 4 Channels L,R,C,LFE or L,R,S,LFE or L,R,C,S -> Stereo
-[NoImage] function c42_stereo(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] lf = GetChannel(a, 4)
-[NoImage] fc_lf = MixAudio(fc, lf, 0.2929, 0.2929)
-[NoImage] l = MixAudio(fl, fc_lf, 0.4142, 1.0)
-[NoImage] r = MixAudio(fr, fc_lf, 0.4142, 1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 3 Channels L,R,C or L,R,S or L,R,LFE -> Stereo
-[NoImage] function c3_stereo(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] l = MixAudio(fl, fc, 0.5858, 0.4142)
-[NoImage] r = MixAudio(fr, fc, 0.5858, 0.4142)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic
-[NoImage] function c6_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] sl = GetChannel(a, 5)
-[NoImage] sr = GetChannel(a, 6)
-[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
-[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
-[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
-[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
-[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic
-[NoImage] function c5_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] sl = GetChannel(a, 4)
-[NoImage] sr = GetChannel(a, 5)
-[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
-[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
-[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
-[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
-[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic
-[NoImage] function c52_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] sl = GetChannel(a, 4)
-[NoImage] sr = GetChannel(a, 5)
-[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
-[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
-[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5 Channels L,R,C,LFE,S -> Dolby ProLogic
-[NoImage] function c53_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] bc = GetChannel(a, 5)
-[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
-[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
-[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
-[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic
-[NoImage] function c4_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] sl = GetChannel(a, 3)
-[NoImage] sr = GetChannel(a, 4)
-[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
-[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
-[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 4 Channels L,R,LFE,S -> Dolby ProLogic
-[NoImage] function c42_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] bc = GetChannel(a, 4)
-[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
-[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 4 Channels L,R,C,S -> Dolby ProLogic
-[NoImage] function c43_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] bc = GetChannel(a, 4)
-[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
-[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
-[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
-[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 3 Channels L,R,S -> Dolby ProLogic
-[NoImage] function c3_dpl(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] bc = GetChannel(a, 3)
-[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
-[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic II
-[NoImage] function c6_dpl2(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] sl = GetChannel(a, 5)
-[NoImage] sr = GetChannel(a, 6)
-[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
-[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
-[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
-[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
-[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
-[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic II
-[NoImage] function c5_dpl2(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] sl = GetChannel(a, 4)
-[NoImage] sr = GetChannel(a, 5)
-[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
-[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
-[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
-[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
-[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
-[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic II
-[NoImage] function c52_dpl2(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] sl = GetChannel(a, 4)
-[NoImage] sr = GetChannel(a, 5)
-[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
-[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
-[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
-[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
-[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic II
-[NoImage] function c4_dpl2(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] sl = GetChannel(a, 3)
-[NoImage] sr = GetChannel(a, 4)
-[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
-[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
-[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
-[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
--[Information] [02.07.2017 15:27:55] AviSynth script
--[Information] [02.07.2017 15:27:56] Command line used: -V0 - "{0}"
--[Information] [02.07.2017 15:27:56] AviSynth script environment opened
--[Information] [02.07.2017 15:27:58] Script loaded
--[Information] [02.07.2017 15:27:58] Output Decoder
---[Information] [02.07.2017 15:27:58] Channels: 2
---[Information] [02.07.2017 15:27:58] Bits per sample: 16
---[Information] [02.07.2017 15:27:58] Sample rate: 48000
--[Information] [02.07.2017 15:27:58] Job command line: D:\Sonstiges\Videotools\MeGUI x86\tools\lame\lame.exe -V0 - "G:\2.mp3"
--[Information] [02.07.2017 15:27:58] Process started
--[Information] [02.07.2017 15:27:58] Standard output stream
--[Information] [02.07.2017 15:27:58] Standard error stream
---[Information] [02.07.2017 15:29:03] LAME 3.99.5 64bits (http://lame.sf.net)
---[Information] [02.07.2017 15:29:03] CPU features: SSE (ASM used), SSE2 (ASM used)
---[Information] [02.07.2017 15:29:03] polyphase lowpass filter disabled
---[Information] [02.07.2017 15:29:03] Encoding <stdin> to G:\2.mp3
---[Information] [02.07.2017 15:29:03] Encoding as 48 kHz j-stereo MPEG-1 Layer III VBR(q=0)
olmicx
2nd July 2017, 19:38
It may help to change the masking settings. If not:
The last version with support for that ancient xvid version was MeGUI 2546. Either use xvid 1.3.x with the recent MeGUI or xvid 1.2.x with MeGUI 2546 (or older).
Btw why do you want to use such an old version?
Encode is better quality with the sharpening filter in the old version
And run it. If also crash is not a MeGUI problem.
This job crash showing xvid_encraw HELP because the -masking parameter is not supported by this old xvid_encraw, yes with the MeGUI default:
-masking [integer] : HVS masking mode (None:0, Lumi:1, Variance:2) (0)
i deleted -masking 1 value and added -lumimasking.
problem fixed. now i am using xvid_encraw-2009-05-30.
thanks:)
Zetti
2nd July 2017, 20:53
x264 r2851 kmod is released.
tebasuna51
2nd July 2017, 23:37
... I extracted wav with VirtualDub,..
Maybe the audio is not a PCM WAV.
To extract audio from avi use ..\megui\tools\avimux_gui\AVIMux_GUI.exe
- Load avi
- Select avi
- Generate data source from files
- Select desired audio track (remember Delay if any)
- Right click mouse button
- Extract binary
Gives error: Error parsing avs file
Input audio sample format to SSRC must be float. line 4
SSRC (http://avisynth.nl/index.php/SSRC) must convert the audio to float automatically.
Morku
3rd July 2017, 09:54
MediaIno reports for the avi file:
Audio
ID : 1
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Duration : 2 h 41 min
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 1.74 GiB (3%)
Alignment : Aligned on interleaves
Interleave, duration : 1000 ms (25.00 video frames)
Interleave, preload duratio : 1000 ms
I extracted a .raw file like you described with AVIMux-GUI.exe. It can't be loaded in MeGUI. Renaming to .wav doesn't work neither.
SSRC must convert the audio to float automatically.
Hm... seems like, it doesn't.
tebasuna51
3rd July 2017, 12:52
MediaIno reports for the avi file:
Duration : 2 h 41 min
Stream size : 1.74 GiB (3%)
Do you have a avi file of 58 GB?
That can be a problem.
Try:
...\megui\tools\ffmpeg\ffmpeg.exe -i "1.avi" -vn -acodec pcm_s16le audio.wav
Hm... seems like, it doesn't.
Yep, seems a Avs+ bug, I must report it.
-[Information] Version: AviSynth+ 0.1 (r2508, MT, i386)
-[Information] AviSynth+: true
-[Information] MT: true
-[Information] Status: active
Work fine with AviSynth 2.60
BTW the input is already 48000 Hz then the SSRC(48000) is not needed.
Morku
3rd July 2017, 14:18
Filesize is 68,1GB, but it never was a problem in past.
Now I think we are on the right track.
I replaced AVS+ with AVS260 ICL build.
When I load my avs and start encoding, I get an error:
--[Error] [03.07.2017 14:48:08] An error occurred: Input audio sample format to SSRC must be float.
Your example script still won't load, because of float error. So you are sure, it's a bug in AVS+?
This is interesting, because like you said my input already is 48000 Hz.
I wonder why it is a problem to keep the option "Sample Rate: Change to 48000 Hz".
When I check the log, MeGUI is able to detect when no change is needed, like this:
--[Information] [03.07.2017 14:48:07] ignoring downmix as there is only 2 channel(s)
So, I changed the option Sample Rate to: Keep Original Sample Rate.
Loaded my avs files and every audio encoding is fine! No Finalizing crash anymore!
Hz output is as input 48000 Hz.
But I like to keep the option Change to 48000 Hz for the case if input is not 48000 Hz and I don't need to check if I have to change the option.
So, going back to AVS+ r2508
now, keep the option to "Keep Original Sample Rate" and tried all my scripts in Queue twice. No crashes anymore!
sneaker_ger
3rd July 2017, 15:04
The SSRC() and float thing is because of AviSynth+:
https://forum.doom9.org/showthread.php?p=1669953#post1669953
So maybe ConvertAudioToFloat() should always be added. Or does it hurt when audio is already float?
But I believe SSRC() doesn't always work anyways. Sometimes you need ResampleAudio().
tebasuna51
3rd July 2017, 15:27
I replaced AVS+ with AVS260 ICL build.
...
Your example script still won't load, because of float error. So you are sure, it's a bug in AVS+?
Yes, work fine with AVS260 ICL build.
Check your log to see what is the active AviSynth version in MeGUI, seems than now use the Avs+ portable.
When I check the log, MeGUI is able to detect when no change is needed, like this:
--[Information] [03.07.2017 14:48:07] ignoring downmix as there is only 2 channel(s)
Maybe MeGUI can do the same checking SampleRate to avoid
ConvertAudioToFloat(last)
SSRC(48000)
Something like:
48000==AudioRate(last)?last:ConvertAudioToFloat(last).SSRC(48000)
So, going back to AVS+ r2508
now, keep the option to "Keep Original Sample Rate" and tried all my scripts in Queue twice. No crashes anymore!
At least you have a workaround, but still remain the problem if we need SSRC(48000).
Morku
3rd July 2017, 15:31
No, I replaced portable, too and SSRC(48000) did not work.
--[Information] AviSynth Information
---[Information] AviSynth Wrapper
----[Information] Version: 1.0.2721.0
----[Information] Date: 29-04-2017
----[Information] Interface: 3
---[Information] AviSynth
----[Information] File Version: 2.6.0.6
----[Information] Date: 27-04-2017
----[Information] Name: Avisynth 2.6
----[Information] Version: AviSynth 2.60 (ICL10)
----[Information] AviSynth+: false
----[Information] MT: false
----[Information] Status: active
---[Information] AviSynth portable
----[Information] File Version: 2.6.0.6
----[Information] Date: 27-04-2017
----[Information] Name: Avisynth 2.6
----[Information] Status: inactive
hello_hello
3rd July 2017, 17:48
Zather, the 8 bit version of x264 v2851 for 32 bit Windows is named x264.exe.exe in the 7z update file again, so MeGUI unpacks it and then wants to install it again when it can't find x264.exe and around in circles it goes.... ;)
Thanks.
PS. For anyone else who bumps into the problem before Zather replaces the update file, just rename "x264.exe.exe" in the "MeGUI\tools\x264" folder as "x264.exe" and restart MeGUI.
Atak_Snajpera
3rd July 2017, 18:33
Looks like zathor is using "hide file extensions ..." option in explorer. This would explain why files end up with duplicated extensions.
hello_hello
3rd July 2017, 19:30
Last time it happened x264-10b.exe was named x264-10b.exe.exe and x264.exe was okay (they're both in the same 7z file) and this time it's the other way round. You're probably right though.
Zathor
3rd July 2017, 19:38
Last time it happened x264-10b.exe was named x264-10b.exe.exe and x264.exe was okay (they're both in the same 7z file) and this time it's the other way round. You're probably right though.
Thanks for the report. The file extensions are visible for me - I simply have renamed them in a wrong way as I was (as always) in a hurry. Let us see what will happen the next time :-)
Zathor
3rd July 2017, 19:59
I also tried changing 'Prefered Decoder' from LWLibavAudioSource to NicAudio and DirectShow, but it still crash at finalizing.
There I found a little cosmetic bug. Changing to FFAudioSource, DirectShowSource and BassAudio and close MeGUI normally, the Prefered Decoder keeps saved. Changing to NicAudio, MeGUI changes Prefered Decoder to LWLibavAudioSource after restart MeGUI (currently testing with 32-Bit version).
Thanks, fixed in 2762
Zathor
3rd July 2017, 20:31
Maybe MeGUI can do the same checking SampleRate to avoid
ConvertAudioToFloat(last)
SSRC(48000)
Thanks, will be in 2763
hello_hello
3rd July 2017, 20:43
Zathor,
Are there any plans to add one more frame to the total frame count and duration displayed by MeGUI's preview? :)
https://forum.doom9.org/showthread.php?p=1810823#post1810823
I guess the frame count could be correct if you look at frame 44460 being the last frame in my screenshot and not the total number of frames, but the duration probably should be the same as the duration Avisynth displays.
And was I imagining things or did you give us a button to pause encoding and then take it away? Or was that just a test build? I'm sure I wasn't dreaming...
Thanks for the hard work.
Zathor
3rd July 2017, 20:58
Zathor,
Are there any plans to add one more frame to the total frame count and duration displayed by MeGUI's preview? :)
https://forum.doom9.org/showthread.php?p=1810823#post1810823
I guess the frame count could be correct if you look at frame 44460 being the last frame in my screenshot and not the total number of frames, but the duration probably should be the same as the duration Avisynth displays.
It starts with frame number 0 and therefore it goes to the total number of frames - 1. So a video with 10 frames goes from 0 to 9. I could change it to start with number 1 but most (all?) avisynth frame functions are 0-based. Am I wrong here?
And was I imagining things or did you give us a button to pause encoding and then take it away? Or was that just a test build? I'm sure I wasn't dreaming...
You should not update your build with the MeGUI updater :) and instead each time you should use this build: http://megui.org/megui_test.zip I update it also each time with a new public release. I will commit it to the development branch as soon as I feel it is ready - but this will not happen before the next stable release.
Btw the test build is what I am using in my "production".
Zathor
3rd July 2017, 22:07
2764 [OneClick] fixed external audio file handling (regression of 2759). bug #889
2763 [Audio Encoder] ignore a requested sample rate change if source and target are identical
2762 [Audio Encoder] fixed "NicAudio" not being saved as preferred decoder (regression of 2693)
2761 [OneClick] + [AVS SC] select AviSource() or DirectShowSource() only if suitable
locotus
3rd July 2017, 22:21
Just curios, is still necessary that megui requires Haali media and Haali Dss,
both with 4 years long without update?
Zathor
3rd July 2017, 22:38
If you want to use eac3to or DSS - yes
Morku
3rd July 2017, 22:39
2763 [Audio Encoder] ignore a requested sample rate change if source and target are identical
And MeGUI does not crash anymore, even when option 'Change to 48000 Hz' is set. Thanks to all for having patience with me and your hard work :) :thanks:
locotus
3rd July 2017, 23:44
If you want to use eac3to or DSS - yes
Thanks.
bilditup1
3rd July 2017, 23:54
After upgrading to the latest builds of MeGUI and x264, any encode done is at 10-bit, even though the checkbox in the presets I use enabling 10-bit is *not* checked. After further investigation it appears that the builds have been misnamed - the new x264.exe should be named x264-10b.exe, and the new x264-10b.exe should be named x264.
https://image.ibb.co/h3s5ua/x264_switch.png
hello_hello
4th July 2017, 00:30
It starts with frame number 0 and therefore it goes to the total number of frames - 1. So a video with 10 frames goes from 0 to 9. I could change it to start with number 1 but most (all?) avisynth frame functions are 0-based. Am I wrong here?
You're not wrong, but for a video with ten frames, MeGUI would display frame #3 as 3/9 whereas Info() says 3 of 10.
If you go to the tenth frame (frame number 9), MeGUI displays 9/9 while Info() says 9 of 10.
I'd always assumed MeGUI displays frames as x/y the same way Avisynth does.
ie "something of something"
Even though the frame count starts at zero it never occurred to me it might effectively mean
"something of something -1"
Same for the time positions. ie
Assumefps(25)
Trim(0,9)
10 frames x 40ms = 400ms
At frame #3 Avisynth/Info() says:
00:00:00:120/00:00:00:400
MeGUI says:
00:00:00:120/00:00:00:360
Different ways of looking at it... but I'll confess I prefer the Avisynth method, especially for the "time positions". Knowing the total duration can be quite useful, but knowing (total duration - (1000ms/fps)).... maybe not so much. :)
Zathor
4th July 2017, 07:01
After upgrading to the latest builds of MeGUI and x264, any encode done is at 10-bit, even though the checkbox in the presets I use enabling 10-bit is *not* checked. After further investigation it appears that the builds have been misnamed - the new x264.exe should be named x264-10b.exe, and the new x264-10b.exe should be named x264.
:scared: Thanks, fixed
wthreex
4th July 2017, 08:29
MeGui Freezed with no reason and error on Multi Worker.
Zathor
4th July 2017, 09:16
Please post a log nevertheless to see which OS, ... you are using.
Also are you able to reproduce it? And what does "freezed" mean?
wthreex
4th July 2017, 10:20
it means, nothing can be done at that moment , I can't even see the "Not responding error" or log becuase megui freezed ، All I can do that moment close the program through the Task manager.
OS = windows server 2008 r2
Melan
4th July 2017, 10:31
I have a similar problem.
https://forum.doom9.org/showpost.php?p=1811069&postcount=8342
wthreex
4th July 2017, 10:34
I think i found this bug :
http://uupload.ir/files/5em8_112.png (http://uupload.ir/)
3 worker, one of them is busy, and 2 another waiting (x264, x265)
And we start the other two workers at same, And we'll see megui freezed.
Zathor
4th July 2017, 11:25
Please post your log nevertheless.
Zathor
4th July 2017, 18:11
You're not wrong, but for a video with ten frames, MeGUI would display frame #3 as 3/9 whereas Info() says 3 of 10.
If you go to the tenth frame (frame number 9), MeGUI displays 9/9 while Info() says 9 of 10.
I still think that Info() is displaying it in a wrong way but... I have changed it now. However you wont be able to reach frame 11 (10 of 10).
olmicx
5th July 2017, 00:06
I am using FFmpeg AC-3 Preferred Decoder: NicAudio for audio encode. (DTS-->448AC3, 640AC3-->448AC3)
Megui 2764. Which is the best audio decoder? NicAudio, FFAudioSource, DirectShow, BassAudio, LWLibavAudioSource
Zathor
5th July 2017, 07:08
LWLibavAudioSource is the default one. DirectShow should be avoided.
hello_hello
5th July 2017, 15:26
I still think that Info() is displaying it in a wrong way but... I have changed it now. However you wont be able to reach frame 11 (10 of 10).
You can't reach frame 11 with Info() either, but I think it's probably best that MeGUI and Avisynth display that sort of thing the same way.
It'd never occurred to me until recently they didn't. Well I kind of knew, because you only have to navigate to the end of a clip to see something like 40582/40582 at the top of the preview, but for some reason when it came to calculating frame totals or durations it never stuck and my brain defaulted to the Info() way of looking at it.
Do you know what the logic is behind starting the frame count at zero rather than one? I assume it's because it makes more sense to a computer.
Thanks for the changes!
stax76
5th July 2017, 16:03
If you want to know exactly this probably fits best:
https://en.wikipedia.org/wiki/Zero-based_numbering
hello_hello
5th July 2017, 20:17
Thanks for the link. I think I understood a portion of it, but I guess I was really asking why Avisynth doesn't translate it's counting convention into human counting convention when displaying frame numbers with Info() etc as it does for the total number of frames. If it did when you entered a frame number in a script it'd have to subtract 1, but is there a reason that would've been hard, or maybe not considered to be worth the effort etc?
sneaker_ger
5th July 2017, 20:25
Most plugins expect zero based frame numbers anyways. It would be even more confusing if info() used a different system. Like you said it didn't even occur to you until recently. Exactly because of that.
Some calculations are much easier if the offset is zero-based.
And programmers can handle that. -- Aren't AviSynth users all programmers, a little bit? ;)
StainlessS
5th July 2017, 21:38
First frame @ Start Time + (0 / FrameRate) secs.
Last frame @ Start Time + ((Framecount-1) / FrameRate) secs.
Also, if you have a printer that prints @ 300DPI, then to print a line that is exactly 1" long, requires 301 dots (601 for 2").
Incidentally, there are 12 inches in a Foot, but there are 13 inch apart graduations on a 12" ruler (dont forget 0 inches).
EDIT: Ignoring all other graduations other than full inch grads (ie not 1 + 1/8 -> 2 + 1/8, being also an inch apart).
S_G link below is Access Denied, site does not allow hot linking.
So HERE (same image):- https://www.qualitylogoproducts.com/desktop-items/12clear-lacquer-wood-ruler.htm
The grads at 0 inches and 12 inches are clearly visible (despite that particular ruler being about an 1/8 inch short at each end
compared to most other wooden 12" rulers).
EDIT: Many 12" rulers today seem to be missing the extra end bits (or only a millimeter or so extra, perhaps economizing):- https://www.google.co.uk/search?q=twelve+inch+wooden+ruler&tbm=isch&tbo=u&source=univ&sa=X&ved=0ahUKEwiugYGDifPUAhVhF8AKHUBgDbIQ7AkIuwE&biw=1280&bih=821&dpr=1#imgrc=GmkwF5khecnLlM:
sneaker_ger
5th July 2017, 21:40
but there are 13 inch apart graduations on a 12 " ruler
No, there aren't. (https://www.qualitylogoproducts.com/desktop-items/12clear-lacquer-wood-ruler-jumboextralarge.jpg)
hello_hello
6th July 2017, 02:54
Most plugins expect zero based frame numbers anyways. It would be even more confusing if info() used a different system. Like you said it didn't even occur to you until recently. Exactly because of that.
I knew MeGUI and Avisynth both started counting frames at zero, it's just the way they displayed the total that was different, because MeGUI displayed the last frame number instead of the total.
Plus... displaying "current frame/last frame" rather than "current frame/total frames" almost seems kind of arbitrary. I'm not sure the last frame is so special I need to see it's frame number all the time. Displaying "current frame/middle frame" wouldn't be any less logical and it'd make it easier to navigate to the middle of the video.
Thinking back I'm sure I remember occasions where I've had to calculate a duration or frame count and after feeling mathematically challenged, realised I needed to add a frame or a frame's duration to the "totals" MeGUI was displaying, so it's not really a new discovery, but something I appear to be forced to re-discover every so often, although now Zathor's changed it for me the old method will probably stick at last, and I'll have to re-discover how it works again in 6 months time.
No, there aren't. (https://www.qualitylogoproducts.com/desktop-items/12clear-lacquer-wood-ruler-jumboextralarge.jpg)
See how confusing this zero based counting is?? ;)
If the ruler represented a video frame per inch and the left tip of the ruler represented frame zero, the ruler would be displaying 12 frames. You'd have to assume the 12 inch mark on the ruler only represents the end of frame number 11, or the end of the 12th frame, as frame number 12 has no duration. Unless the ruler was one of those with an extra 1/4 inch either end, in which case ffms2 and LSmash would probably assume it's a 13 frame, variable frame rate ruler, and decode it at a constant 0.94" frame rate, so you'd need to add FPSNum=1.0" and FPSDen=1 to maintain audio sync, or extract the ruler timecodes to use when muxing etc. :)
StainlessS
6th July 2017, 14:36
If the ruler represented a video frame per inch and the left tip of the ruler represented frame zero, the ruler would be displaying 12 frames.
A single frame has zero duration [EDIT: representing a single instant in time], like a pixel is an infinitely small sample, also a printer dot is like a pixel, of zero dimension (theoretically of course).
@ 12 FPS, you need 13 frames to span 1.0 second exactly. [EDIT: So a frame ~= a ruler grad : time ~= distance between any two grads]
Formal objection...
A frame is displayed with a duration of 1/framerate before the next frame appears. If it had 0 duration, every movie would have a playtime of 0 (because 0 * x = 0). A frame does not represent an infinitely short duration, it has a shutter (https://en.wikipedia.org/wiki/Shutter#Optical_devices) time (maybe except for stop-motion clips, cartoons, or simple computer graphic movies which don't care about that, thus don't use motion blur).
And a pixel has a width of 1/resolution. If every pixel had a dimension of 0, there would be no visible pictures.
sneaker_ger
6th July 2017, 14:57
A single frame has zero duration
Naturally, we assign a duration to it (or construct something with the shutter duration like LigH said). Then at 12 fps we use exactly 12 frames to cover exactly 1 second. Like the ruler.
StainlessS
6th July 2017, 15:21
Nope, theoretically, a pixel has zero dimension, of course in reality on eg monitor display or printer dot on printed page, they do have some physical size.
In instance of printer dot, you can actually measure it, print 72 dots on eg 72 DPI 9 pin dot matrix printer, and it will be just
under 1 inch in length, print that 1 extra dot and it will be bang on exactly 1 inch (100% for sure).
Talking about shutter speed etc, is confusing the issue with technicalities and limitations of the technologies currently used.
And a pixel has a width of 1/resolution. If every pixel had a dimension of 0, there would be no visible pictures.
Nope, theoretically, that is spacing between infinitely small samples that gives dimension, and time between frames that produces duration.
EDIT: It may well be practice to display a single frame for a certain duration, eg 1 frame @ 24FPS = 1/24 sec duration, but the
frame itself has 0.0 duration.
Watching a movie where you had 24 frames per second, each of which was displayed for 0.0 seconds, would not make for interesting viewing.
EDIT: Where last frame is displayed for 1/FPS secs (and not 0.0 secs), then I guess I have to do a little back-peddling and admit to being wrong (to some degree) :( [Although total time elapsed between first and last frame captured, is that of one frame less then total displayed time.)
https://s10.postimg.org/6vzo24p49/frame3.jpg (https://postimg.org/image/q12xbw3s5/)
Above, on last frame, total time elapsed between first and last frame captured is 0.958 secs, but due to each frame being displayed for an extended (and false duration, imitating persistence of vision), so total display duration is 1.0 seconds (or ever so slightly less as any next frame would start at 1.0 seconds).
I believe a moderator should move most of the recent posts to a "philosophy" thread...
sneaker_ger
6th July 2017, 15:34
Nope, theoretically, a pixel has zero dimension, of course in reality on eg monitor display or printer dot on printed page, they do have some physical size.
Not just display, also camera.
https://forum.doom9.org/showthread.php?p=1803629#post1803629
StainlessS
6th July 2017, 15:53
Not just display, also camera.
Yep, they are called physical devices and do not always conform to theory.
hello_hello
7th July 2017, 02:55
I think it'd be reasonable to look at a frame displaying a period of time, not just an infinitely small point in time.
If I took a photo while leaving the film exposed for a full second, it'd be capturing 1 second of time, but due to a limitation of the format it can't display the information the same way, so you'd have 1 second condensed to a single moment, but still one whole second. That's obviously used to help create the illusion of motion for film.
A frame of film mightn't capture the whole 41.67ms of time for which it'll eventually display, but it must capture more than an infinitely small amount of it, and unlike audio samples converted to a waveform, motion isn't reconstructed by a DAC, so at a particular frame rate a frame has a specific display duration.
It's probably semantics to a certain extent, but don't our brains provide us with picture and sound by processing tiny moments in time one after the other, or does the information arriving from our eyes and ears travel to our brains in continuous waves?
hello_hello
7th July 2017, 07:04
Whenever I try to encode lossy audio (AC3 & MP3 tested) MeGUI 2764 adds the job to the queue, then crashes as soon as I try to run it (the familiar "MeGUI has encountered a problem" error window pops up). Re-encoding a wave file seems okay.
I'm sure it's somehow related to LWLibavAudioSource decoding as when I change the preferred decoder to NicAudio it's fine. The problem occurs using both MeGUI's portable AVS+ and the installed AVS 2.6.
LSmash itself seems fine as I can create a simple script such as the one below and open it with MPC-HC and there's no problem.
LoadPlugin("C:\Program Files\MeGUI\tools\lsmash\LSMASHSource.dll")
LWLibavAudioSource("D:\DW 64_VTS_06_1 T80 2_0ch 192Kbps DELAY 0ms.ac3")
I've included the log file but it's extremely uninformative. I'm still running MeGUI on XP and using LSmash r784.
Thanks.
Preliminary log file only. During closing of MeGUI the well formed log file will be written.
-[Information] Versions
--[Information] MeGUI: 2764 x86
-[Information] Operating System: Windows XP Professional x86 SP3 (5.1.196608.2600)
-[Information] .NET Framework: 4.0 (4.0.30319)
--[Information] System Information
-[Information] Update detection
-[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
-[Information] Haali DSS2: (14-04-2013)
-[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
-[Information] MediaInfo: 0.7.97.0 (29-06-2017)
-[Information] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
-[Information] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
-[Information] 7z: 9.20 (18-11-2010)
--[Information] Component Information
--[Information] [07/07/17 3:42:22 PM] Using cached update config and server: http://megui.tmebi.de/test/
-[Information] Version: 1.0.2721.0
-[Information] Date: 29-04-2017
-[Information] Interface: 3
-[Information] AviSynth Wrapper
-[Information] File Version: 2.6.0.6
-[Information] Date: 31-03-2015
-[Information] Name: Avisynth 2.6
--[Information] [07/07/17 3:42:22 PM] No package requires an update
-[Information] Version: AviSynth 2.60, build:Mar 31 2015 [16:38:54]
-[Information] AviSynth+: false
-[Information] MT: false
-[Information] Status: active
-[Information] AviSynth
-[Information] File Version: 0.1
-[Information] Date: 29-06-2017
-[Information] Name: AviSynth+ 0.1 (r2508, MT, i386)
-[Information] Status: inactive
-[Information] AviSynth portable
--[Information] AviSynth Information
-[Information] Log for job14 (audio, DW 64_VTS_06_1 T80 2_0ch 192Kbps DELAY 0ms.ac3 -> DW 64_VTS_06_1 T80 2_0ch 192Kbps DELAY 0ms.m4a)
--[Information] [07/07/17 3:42:43 PM] Started handling job
--[Information] [07/07/17 3:42:43 PM] Preprocessing
--[Information] [07/07/17 3:42:43 PM] MediaInfo
---[Information] [07/07/17 3:42:43 PM] File: D:\DW 64_VTS_06_1 T80 2_0ch 192Kbps DELAY 0ms.ac3
-[Information] Format: AC-3
-[Information] FormatString: AC-3
-[Information] FileSize: 36046848
-[Information] PlayTime: 00:25:01.952
---[Information] General
-[Information] ID:
-[Information] StreamOrder:
-[Information] Format: AC-3
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] Muxing Mode:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 kHz
-[Information] Channels: 2
-[Information] ChannelsString: 2 channels
-[Information] ChannelPositionsString2: 2/0/0
-[Information] BitRateMode: CBR
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
-[Information] [07/07/17 3:42:43 PM] The language information is not available for this track. The default MeGUI language has been selected.
---[Information] Audio
Zathor
7th July 2017, 14:00
As I do not have any XP machine to test it may be either the used l-smash or a combination with your OS. The recent l-smash with Windows 10 at least does not produce any errors for me.
Zathor
7th July 2017, 18:46
2766 [OneClick] fixed an issue if the input audio codec cannot be used for direct muxing (regression of 2759). bug #890
2765 [Video Preview] aligned the total time and frame count in the title bar with the Info() output
hello_hello
8th July 2017, 02:24
It must be something that's changed in MeGUI (I'm still using the last XP compatible L-Smash). Maybe it's XP specific, but in case anyone reports the same issue with a newer flavour of Windows, version 2755 is fine so the problem was introduced after that. Versions 2760 and 2764 both crash.
Maybe fixing this will fix it, because it seems a bit co-incidental. ;)
https://forum.doom9.org/showthread.php?p=1811460#post1811460
Thanks.
olmicx
8th July 2017, 09:42
Zathor: When will the new stable megui version be available?
I using DirectShowSource indexer with MEGUI 2764. But Auto crop section is often incorrect. (some Remux Videos, some x264 videos)
File Indexer (FFVideoSource,LWLibavVideoSource) no problem. Which better? Also is there fix for DirectShowSource indexer
I tested Avisyth 2.6 and Avisyth+ 2508.
hello_hello
8th July 2017, 17:56
It might be an XP thing, or something that changed to upset the older version of LSmash, but I discovered I can't index video with LSmash any more either. The progress window opens and shortly after MeGUI decides it encountered an error etc..... Once again the log file isn't very helpful.
Preliminary log file only. During closing of MeGUI the well formed log file will be written.
-[Information] Versions
--[Information] MeGUI: 2766 x86
-[Information] Operating System: Windows XP Professional x86 SP3 (5.1.196608.2600)
-[Information] .NET Framework: 4.0 (4.0.30319)
--[Information] System Information
-[Information] Update detection
-[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
-[Information] Haali DSS2: (14-04-2013)
-[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
-[Information] MediaInfo: 0.7.97.0 (29-06-2017)
-[Information] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
-[Information] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
-[Information] 7z: 9.20 (18-11-2010)
--[Information] Component Information
-[Information] Version: 1.0.2721.0
-[Information] Date: 29-04-2017
-[Information] Interface: 3
-[Information] AviSynth Wrapper
-[Information] File Version: 2.6.0.6
-[Information] Date: 31-03-2015
-[Information] Name: Avisynth 2.6
-[Information] Version: AviSynth 2.60, build:Mar 31 2015 [16:38:54]
-[Information] AviSynth+: false
-[Information] MT: false
-[Information] Status: active
-[Information] AviSynth
-[Information] File Version: 0.1
-[Information] Date: 29-06-2017
-[Information] Name: AviSynth+ 0.1 (r2508, MT, i386)
-[Information] Status: inactive
-[Information] AviSynth portable
--[Information] AviSynth Information
--[Information] [09/07/17 2:48:19 AM] Connected to server: http://megui.tmebi.de/test/
--[Information] [09/07/17 2:48:19 AM] No package requires an update
-[Information] FileIndexer
--[Information] [09/07/17 2:48:23 AM] MediaInfo
---[Information] [09/07/17 2:48:23 AM] File: E:\To Save\Mum\Sunset Blvd (1950).mkv
-[Information] Format: Matroska
-[Information] FormatString: Matroska
-[Information] FileSize: 4688033931
-[Information] PlayTime: 01:50:17.664
---[Information] General
-[Information] ID: 1
-[Information] StreamOrder: 0
-[Information] Width: 976
-[Information] Height: 720
-[Information] FrameCount: 158665
-[Information] FrameRate: 23.976
-[Information] FrameRateOriginal:
-[Information] FrameRateMode: CFR
-[Information] ScanType: Progressive
-[Information] Codec: V_MPEG4/ISO/AVC
-[Information] CodecString: AVC
-[Information] Bits Depth: 8
-[Information] Format: AVC
-[Information] AspectRatio: 1.356
-[Information] AspectRatioString: 4:3
-[Information] Delay: 0
-[Information] Title:
-[Information] Language: en
-[Information] LanguageString: English
-[Information] Default: Yes
-[Information] DefaultString: Yes
-[Information] Forced: No
-[Information] ForcedString: No
---[Information] Video
-[Information] ID: 2
-[Information] StreamOrder: 1
-[Information] Format: AC-3
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] Muxing Mode:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 kHz
-[Information] Channels: 2
-[Information] ChannelsString: 2 channels
-[Information] ChannelPositionsString2: 2/0/0
-[Information] BitRateMode: CBR
-[Information] Delay: 0
-[Information] Title:
-[Information] Language: en
-[Information] LanguageString: English
-[Information] Default: Yes
-[Information] DefaultString: Yes
-[Information] Forced: No
-[Information] ForcedString: No
---[Information] Audio
-[Information] ID: 3
-[Information] StreamOrder: 2
-[Information] Codec: S_TEXT/UTF8
-[Information] CodecString: UTF-8
-[Information] Delay:
-[Information] Title:
-[Information] Language: en
-[Information] LanguageString: English
-[Information] Default: No
-[Information] DefaultString: No
-[Information] Forced: No
-[Information] ForcedString: No
---[Information] Text
-[Information] 00:00:00.000: en:00:00:00.000
-[Information] 00:02:45.207: en:00:02:45.207
-[Information] 00:10:20.620: en:00:10:20.620
-[Information] 00:13:29.017: en:00:13:29.017
-[Information] 00:17:47.775: en:00:17:47.775
-[Information] 00:24:02.399: en:00:24:02.399
-[Information] 00:29:17.089: en:00:29:17.089
-[Information] 00:33:10.989: en:00:33:10.989
-[Information] 00:37:43.761: en:00:37:43.761
-[Information] 00:41:14.055: en:00:41:14.055
-[Information] 00:56:09.783: en:00:56:09.783
-[Information] 01:01:09.916: en:01:01:09.916
-[Information] 01:04:01.504: en:01:04:01.504
-[Information] 01:07:28.670: en:01:07:28.670
-[Information] 01:15:53.799: en:01:15:53.799
-[Information] 01:21:17.331: en:01:21:17.331
-[Information] 01:30:01.146: en:01:30:01.146
-[Information] 01:38:38.204: en:01:38:38.204
-[Information] 01:43:26.867: en:01:43:26.867
---[Information] Chapters
--[Information] [09/07/17 2:50:45 AM] MediaInfo
---[Information] [09/07/17 2:50:45 AM] File: E:\0701.mkv
-[Information] Format: Matroska
-[Information] FormatString: Matroska
-[Information] FileSize: 378095604
-[Information] PlayTime: 00:23:39.720
---[Information] General
-[Information] ID: 1
-[Information] StreamOrder: 0
-[Information] Width: 640
-[Information] Height: 468
-[Information] FrameCount: 35493
-[Information] FrameRate: 25.000
-[Information] FrameRateOriginal:
-[Information] FrameRateMode: CFR
-[Information] ScanType: Progressive
-[Information] Codec: V_MPEG4/ISO/AVC
-[Information] CodecString: AVC
-[Information] Bits Depth: 8
-[Information] Format: AVC
-[Information] AspectRatio: 1.368
-[Information] AspectRatioString: 4:3
-[Information] Delay: 0
-[Information] Title:
-[Information] Language: en
-[Information] LanguageString: English
-[Information] Default: Yes
-[Information] DefaultString: Yes
-[Information] Forced: No
-[Information] ForcedString: No
---[Information] Video
-[Information] ID: 2
-[Information] StreamOrder: 1
-[Information] Format: AC-3
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] Muxing Mode:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 kHz
-[Information] Channels: 1
-[Information] ChannelsString: 1 channel
-[Information] ChannelPositionsString2: 1/0/0
-[Information] BitRateMode: CBR
-[Information] Delay: 0
-[Information] Title:
-[Information] Language: en
-[Information] LanguageString: English
-[Information] Default: Yes
-[Information] DefaultString: Yes
-[Information] Forced: No
-[Information] ForcedString: No
---[Information] Audio
-[Information] ID: 3
-[Information] StreamOrder: 2
-[Information] Format: AC-3
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] Muxing Mode:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 kHz
-[Information] Channels: 2
-[Information] ChannelsString: 2 channels
-[Information] ChannelPositionsString2: 2/0/0
-[Information] BitRateMode: CBR
-[Information] Delay: 0
-[Information] Title: Commentary
-[Information] Language: en
-[Information] LanguageString: English
-[Information] Default: No
-[Information] DefaultString: No
-[Information] Forced: No
-[Information] ForcedString: No
---[Information] Audio
-[Information] ID: 4
-[Information] StreamOrder: 3
-[Information] Codec: S_TEXT/UTF8
-[Information] CodecString: UTF-8
-[Information] Delay:
-[Information] Title:
-[Information] Language: en
-[Information] LanguageString: English
-[Information] Default: No
-[Information] DefaultString: No
-[Information] Forced: No
-[Information] ForcedString: No
---[Information] Text
-[Information] ID: 5
-[Information] StreamOrder: 4
-[Information] Codec: S_VOBSUB
-[Information] CodecString: VobSub
-[Information] Delay:
-[Information] Title: Info Text
-[Information] Language: en
-[Information] LanguageString: English
-[Information] Default: No
-[Information] DefaultString: No
-[Information] Forced: No
-[Information] ForcedString: No
---[Information] Text
-[Information] 00:00:00.000: en:Chapter 01
-[Information] 00:03:03.467: en:Chapter 02
-[Information] 00:08:12.867: en:Chapter 03
-[Information] 00:13:41.934: en:Chapter 04
-[Information] 00:18:37.101: en:Chapter 05
-[Information] 00:22:16.835: en:Chapter 06
---[Information] Chapters
-[Information] Log for job11 (idx, 0701.mkv -> 0701.mkv.lwi)
--[Information] [09/07/17 2:50:51 AM] Started handling job
--[Information] [09/07/17 2:50:51 AM] Preprocessing
--[Information] [09/07/17 2:50:51 AM] Job command line: "C:\WINDOWS\system32\ping.exe" 127.0.0.1 -t
--[Information] [09/07/17 2:50:51 AM] Process started
--[Information] [09/07/17 2:50:51 AM] Standard output stream
--[Information] [09/07/17 2:50:51 AM] Standard error stream
From 24th May 2017: I just discovered that some of my encodes muxed with the mp4 muxer have been stripped of encoder library and encoder settings info, checking with MediaInfo. This seems to happen when I use the muxer manually - files encoded with AutoEncode or One-Click still have this info intact.
Using MeGUI 2743 development server, mp4box 0.7.0 rev3 (gpac)
Have been busy for some weeks, just did an encode and encoder info is still stripped, using autoencode. MeGUI 2766.
log - https://pastebin.com/BPBsTQaE
sample - https://mega.nz/#!K5RzjRjR!r86jH_iA6lRWogiliIMFJIQnL1f7aLArOxXQ3n2yA1M (9 kB)
Taurus
8th July 2017, 21:15
mmmh,
here all encoder library and encoder settings in MediaInfo show the correct value.
Tried Autoencode and manual mp4 muxing-
Both show the correct entries in mediainfo.
Latest and greatest MeGui. Fully updated.
:confused: What?
Encoder settings doesn't show up for me in the older mediainfo in mpc-hc either...
In a hex editor I can see the info is there, but for some reason it doesn't show up in mediainfo.
http://i.imgur.com/yiSHq91.png
This is how it looks for me if I encode to mkv instead:
http://i.imgur.com/1ElnJYz.png
In a hex editor I can see the info is there
So it appears possible that the SEI auxiliary info is not displayed for raw HEVC video streams by MediaInfo (in contrast to multiplexed video streams in an MKV container), despite being present in the raw HEVC video stream; so it is rather an issue of MediaInfo than of MeGUI, correct?
Well, it's not a raw stream but an mp4 muxed with megui in AutoEncode mode. And seeing that the info is there does not mean much, it could have been put in there the wrong way by the muxer and therefor made it unaccessible.
If I mux it "manually" with the megui mp4 muxer, the encoder settings can be seen in mediainfo.
It could very well be a problem with mediainfo. I have no clue so far but continue to look into it, and I very much appreciate suggestions on what to do and check for...
What version of mediainfo are you using, Taurus? And 64 or 32 bit?
Could some more people please confirm that my sample above _do_ show encoder settings in their setup of medianfo, and also which version of mediainfo they are using? I just don't understand why my system/setup should have problems...
Taurus
9th July 2017, 12:51
What version of mediainfo are you using, Taurus?
0.7.97
All relevant settings are shown in mp4, mkv files. Autoencode, OneClick and manual muxing.
But this is for x264 files only.
Just tested x265/hevc, you are right, nothing shown in mp4 files.
Mkv files are allright.
Zathor
9th July 2017, 14:02
It might be an XP thing, or something that changed to upset the older version of LSmash, but I discovered I can't index video with LSmash any more either. The progress window opens and shortly after MeGUI decides it encountered an error etc..... Once again the log file isn't very helpful.
Should be fixed?
http://megui.org/test.zip
Zathor
9th July 2017, 14:07
Zathor: When will the new stable megui version be available?
No clue, maybe next week, maybe in one year. Between the last two stable builds have been > 15 months, the last stable build has been released in April so there is some time :)
I using DirectShowSource indexer with MEGUI 2764. But Auto crop section is often incorrect. (some Remux Videos, some x264 videos)
File Indexer (FFVideoSource,LWLibavVideoSource) no problem. Which better? Also is there fix for DirectShowSource indexer
I tested Avisyth 2.6 and Avisyth+ 2508.
I cannot and will not support DirectShowSource. Maybe it is time to remove that completly from MeGUI.
hello_hello
9th July 2017, 14:29
Should be fixed?
http://megui.org/test.zip
That did the trick. Both audio and video can be indexed again. May I ask what the cause was?
I cannot and will not support DirectShowSource. Maybe it is time to remove that completely from MeGUI.
It is handy sometimes, although I suppose if you really want to use it you can create a DorectShowSource script manually.
wthreex
14th July 2017, 13:55
I'm not sure if this is the right thread, But why does the Megui choose the English audio as the main sound while the main sound is something else? (I'm sure Japanese audio is a default track) :
http://uupload.ir/files/bth9_capture.png (http://uupload.ir/)
How can I get the megui to automatically choose/encode the original audio without changing myself ?
LigH
14th July 2017, 14:36
For many media formats, MeGUI can't know a "main" audio language because there is no preference defined in the container (even if the container supports it at all, not every author selected one).
And for many people there may be a preference of languages they actually understand, over any other original language the movie was produced in first. So MeGUI offers two "Default languages" in its "Main Configuration"; but it seems there is no choice to "prefer none" and just assume the track with the first number is your preferred one.
wthreex
14th July 2017, 15:20
Honestly, I've encode a lot of movies in the form of a folder with OneClick encoder, Most of the films inside the folder contain "English commentary", And if the main audio is the non-English, MeGui Choose the "English commentary" track for the main audio , And since I've automatically encoded a lot of movies, I can not manually select the original audio.
I hope Zathor finds a solution to this problem.
LigH
14th July 2017, 15:26
For such cases, you may need a new option to ignore preferred languages from the options and prefer the original order instead...
Zathor
14th July 2017, 17:49
Select the languages and the order you want in the OneClick profile settings. If you do not select anything on the left and the option "all" for "Languages to select if selection does not match" it should retain all tracks in the original order. I have never tried that to be honest. Please report back if it does not work and I will change it.
ratpack
15th July 2017, 03:27
In the past I've been able to enter a custom sar in the x264 configuration field, and it's generally worked ok.
For a while now, it has no effect. Whatever the 'force sar' setting is will overrule any custom setting.
So having the custom sar in the screenshot attached has absolutely no effect.
It means I'm limited to only being able to use the presets in the force sar drop-down list.
Is this a regression, or has something else changed that I don't know about?
https://i.imgbox.com/XNPD0de3.png
tebasuna51
15th July 2017, 08:53
Whatever the 'force sar' setting is will overrule any custom setting.
It means I'm limited to only being able to use the presets in the force sar drop-down list.
Like you can see in command line window there are:
--sar 33:34 --sar 32:27
and always work the last parameter.
Select "Default" in 'Force sar' box when you use a custom sar.
Zathor
15th July 2017, 11:39
Thanks for reporting this. The first custom parameter will currently not been detected properly and matched with settings of the GUI.
EDIT: fixed in 2768 (not online yet)
bilditup1
15th July 2017, 17:12
I've written some patches to fix various issues with MP4BoxMuxer. Long story short - AppleXML chapters weren't getting written, AppleXML chapters embedded in an mp4/m4v were not getting parsed properly, and due to an apparently undocumented change in mp4box, the par and name options to the '-add' parameter stopped being parsed properly. So, I rewrote the Apple chapters function to work like the other rewritten chapters functions, made a minor change that gets AppleXML chapters to parse the right way, and changed the syntax used to specify par and tracknames for MP4Box. These are IMHO critical so pls take a look soon. Thanks!
https://sourceforge.net/p/megui/patches/70/
bilditup1
15th July 2017, 17:26
Like you can see in command line window there are:
--sar 33:34 --sar 32:27
and always work the last parameter.
Select "Default" in 'Force sar' box when you use a custom sar.
Thanks for reporting this. The first custom parameter will currently not been detected properly and matched with settings of the GUI.
EDIT: fixed in 2768 (not online yet)
Actually, what I've found recently when using a custom --sar (in my case, 20:11, for an old 352x480 video from some random camera), is that it got ignored by x264 and mp4box even if "Default" is used in the 'Force sar' box. The latest patch fixes this, however. Thanks zathor!
olmicx
16th July 2017, 09:43
Thanks for reporting this. The first custom parameter will currently not been detected properly and matched with settings of the GUI.
EDIT: fixed in 2768 (not online yet)
we are waiting for 2768:)
bilditup1
17th July 2017, 19:28
https://sourceforge.net/p/megui/patches/70/
Thanks to fixes to mp4box in response to bug reports I filed at gpac, one of my patches, the one for tracknames and PAR, should no longer be relevant, as long as you update the version of mp4box to the very latest nightly including those fixes (which isn't out yet). I encourage you to make the switch to this nightly if only this once, because of a different bug, which I described in a bug report here (https://github.com/gpac/gpac/issues/874) and which can't really be worked around by MeGUI itself. If you don't switch to this build then my fix for tracknames/par remains relevant, though. More about this in a comment I left at the original patch submission at sourceforge, quoted above.
olmicx
18th July 2017, 07:33
Hi Zathor.
I am using Megui 2767 version. When you share a new version of Megui.exe, despite the x264 version of the program does not change there is difference in the quality of the encoded video. I only downloaded a new version of Megui.exe. Do you think the difference in video quality is a normal thing?
LigH
18th July 2017, 09:47
@ olmicx: You ... downloaded. Zathor uploads. ;)
Apart from that, this complaint is way too vague. Hard to help without any facts and numbers: Complete logs of both encodes, complete MediaInfo reports, possibly even cut-out video samples of comparable scenes with obvious differences...
In general, with the same encoder version and the same script and the same plugins, there should not be a noticable difference. So if there is any, there must also be a reason. Maybe a change in the handling of the material, anything that changes either the generated script content or the command line calling the encoder.
sneaker_ger
18th July 2017, 11:02
In general, with the same encoder version and the same script and the same plugins, there should not be a noticable difference.
There should be no difference at all (unless you force x264 into non-deterministic mode).
So I agree: something must have changed. Best would be to compare the log files.
Taurus
18th July 2017, 11:19
Hi Zathor.
I am using Megui 2767 version. When you share a new version of Megui.exe, despite the x264 version of the program does not change there is difference in the quality of the encoded video. I only uploaded a new version of Megui.exe. Do you think the difference in video quality is a normal thing?
Look at the x264 settings tab if there is something changed during a new MeGui install.
I always make a backup of my favourit settings and store it under a new name. Just in case somethings going wrong :p.
But the best you can do, post a log file of a known "good" encode
and one from a "bad" encode.
So we might have a look at them.
stax76
18th July 2017, 11:39
@olmicx
To share full logs and find and share full log differences you can use www.pastebin.com and www.diffchecker.com, I recommend to use the option to store it only for one month and not post torrent file paths.
Zetti
23rd July 2017, 12:13
MKVToolNix v14.0.0 is released.
Zathor
23rd July 2017, 13:05
MKVToolNix v14.0.0 is released.
Thanks, uploaded
bilditup1
25th July 2017, 00:51
(I made a minor update to my patch to MediaInfoWrapper - when you get around to trying the patch out, pls use the newer version.)
wthreex
3rd August 2017, 09:06
Why does megui sometimes change the video framerate? some of my video is out of sync because of it.
I'd like make it as source , what is the avisynth code?
LigH
3rd August 2017, 09:19
Please post a complete MeGUI session log of such a case, preferably including a full MediaInfo analysis of the source.
Where does your video source come from? May it have a variable framerate? - AviSynth can only handle constant frame rates. Some source plugins can resample the video to a constant frame rate, with the right parameters. But don't try that if it is not necessary; there are other possible reasons for a change. First we need to know details what you tried so far.
wthreex
3rd August 2017, 09:45
Source MediaInfo (Frame rate mode: Variable:24.616 FPS)
https://pastebin.com/gDtFQDFG
Full Log:
https://pastebin.com/PJc3MnX0
My Profile:
http://www82.zippyshare.com/v/Tsq80Ji2/file.html
Encode MediaInfo (Frame rate mode: Constant 24.617 FPS
https://pastebin.com/0LDdm5Fq
you right fps has changed to the Constant mode, What are the solutions to this problem?
LigH
3rd August 2017, 10:10
Two possible solutions:
a) You may manually edit the generated AviSynth script to use the fpsnum/fpsden parameters in LwLibavVideoSource (http://avisynth.nl/index.php/LSMASHSource/LWLibavVideoSource) to resample the video to a constant and convenient frame rate. Disadvantage: Choppy playback due to inserted or skipped frames.
b) You may extract per-frame timecodes before converting, and restore them in your result. Disadvantage: I don't know details about it, and it is only supported for specific target containers. Please try to find more about this technique on your own (or have patience and wait for links provided by other members). This may require more manual labor outside MeGUI.
Barough
8th August 2017, 21:37
FFmpeg v3.3.3 binaries is now available @ Zeranoe's FFmpeg site
http://ffmpeg.zeranoe.com/builds/
hello_hello
12th August 2017, 03:00
Source MediaInfo (Frame rate mode: Variable:24.616 FPS)
Encode MediaInfo (Frame rate mode: Constant 24.617 FPS
you right fps has changed to the Constant mode, What are the solutions to this problem?
I'd try converting to a better constant frame rate. On it's own LSmash will just use the average frame rate. It might be worth going back to 29.970fps (replacing all the missing frames with duplicates) and then decimating as required.
LWLibavVideoSource("D:\video.mkv.lwi", fpsnum=30000, fpsden=1001)
TFM().TDecimate()
Alternatively, extract the timecodes from the source MKV with gMKVExtractGUI or MKVCleaver, then use the timecodes file to encode in variable frame rate mode..
If the timecodes file you extracted is called "timecodes.txt" (for example) you'd add it to the x264 custom command line section like this:
--tcfile-in "D:\timecodes.txt"
Save the encoder configuration and add the job to the queue as usual. The frame rate of the video as it's being decoded by LSMash is then irrelevant.
Zetti
19th August 2017, 18:42
MKVToolNix v15.0.0 is released.
wthreex
19th August 2017, 18:47
Add an option automatically remove subtitles from a video file. Sometimes there are a lot of subtitles attached to the video and manually erasing them with a bored amount. (OneClick Enocder):
http://uupload.ir/files/tmnb_capture.png (http://uupload.ir/)
sneaker_ger
19th August 2017, 19:05
Try to config OneClick profile, in languages tab move "[none]" to the left box (as only item) of the subtitle languages. I think that should do the trick.
wthreex
19th August 2017, 19:16
Yes, It's worked! thanks..
Zathor
20th August 2017, 17:28
MKVToolNix v15.0.0 is released.
FFmpeg v3.3.3 binaries is now available @ Zeranoe's FFmpeg site
http://ffmpeg.zeranoe.com/builds/
Thanks, both have been updated
GRKNGLR
28th August 2017, 22:19
Hey guys,
I have a problem. Where is DirectShowSource on Avisynth SC? I want to use Lavfilters.
https://i.imgbox.com/AML0xjnj.png
https://i.imgbox.com/4uKBONjT.png
2761 [OneClick] + [AVS SC] select AviSource() or DirectShowSource() only if suitable
I saw it, I know. Is there a setting? How can I choose?
PS: Sorry, my english is very bad.
LigH
28th August 2017, 22:30
This change seems to make this choice only relevant if you select the One Click Encoder.
AviSource is only suitable if the source is an AVI (and possibly only necessary if it doesn't use a codec LibAV decoders can't handle reliably). And DirectShowSource will probably be offered only if nothing else is obviously more suitable (I guess...).
hello_hello
31st August 2017, 18:53
Hey guys,
I have a problem. Where is DirectShowSource on Avisynth SC? I want to use Lavfilters.
I have the DirectShowSource option when opening m2ts files that way (MeGUI 2768 on XP). Is this one of those instances where the Haali Media Splitter needs to be installed? If those screenshots are taken from two versions of MeGUI running on the same PC, then I've no idea what's happening. When are AviSource() & DirectShowSource() deemed to be suitable?
That change seems to have the potential to be annoying.
Other than that, you can create your own DirectShowSource script to open the file in question, and use the script as the input video for the script creator.
dissory
3rd September 2017, 06:30
@Zathor
When transcoding audio using OneClick, it shifts the audio tracks to the wrong position in the output file (even though tracks were in the right order while in the OneClick GUI).
I've included a sample file + steps to reproduce: https://mega.nz/#!ZHpjWIBI!VRLZnCWDyQU4Z1Aufmre_KwR4ERdRxGVYaedT9rRY1Q
Barough
7th September 2017, 16:29
@ Zathor
New DGDecNV is out....
DGDecNV 2053 slipstream 111 (2017-08-28)
- Added an error popup for cases of filenames containing illegal characters
(or other cases of file open failure). Previously, it would fail silently.
Zathor
9th September 2017, 10:29
2761 [OneClick] + [AVS SC] select AviSource() or DirectShowSource() only if suitable
MeGUI tries to open the source with these two options (AviSource for AVIs, rest with DS). If it fails (silently) then you do not have the option.
Zathor
9th September 2017, 10:49
@ Zathor
New DGDecNV is out....
DGDecNV 2053 slipstream 111 (2017-08-28)
- Added an error popup for cases of filenames containing illegal characters
(or other cases of file open failure). Previously, it would fail silently.
Thanks, updated
j8ee
9th September 2017, 15:21
There's an issue with the generated .avs file for audio when indexing a video with 6 channel aac audio. In the scripts it says
# detected channels: 2 channels
# detected channel positions: 3/2/0.1
regardless of ffmsindex or l-smash being used. MeGUI throw warnings when encoding:
--[Warning] [2017-09-08 17:00:32] Channel count mismatch! The input file is reporting 2 channels and the AviSynth script is reporting 6 channels
--[Warning] [2017-09-08 17:00:32] Ignoring downmix because of the channel count mismatch
and the resulting encode ends up being multi-channel. Trying to encode an mp3 fails with the error message "Unsupported number of channels: 6"
Manually changing the .avs files to
# detected channels: 6 channels
makes everything work fine.
Using MeGUI 2768 development server
(By the way, is there an easy way of verifying that video/audio files actually are multi-channel without having any matching hardware for playback? A longer-than-normal google session only came up with tools and ways for checking playback and hardware, nothing for verifying the files.
Maybe not on topic, but I'm also curious of the big difference in bitrate for the resulting audio file, depending of the l-smash or ffms indexer being used, and other decoding methods. With the l-smash indexer the encoded 2-channel audio had 51 kbps, and with ffms it had 40 kbps. Just encoding the extracted aac file directly in MeGUI resulted in a 2-channel file with 66 kbps, and encoding in foobar2000 with it's downmix filter produced a file with 42 kbps. Encoding settings being the same of course. Is this all good and perfectly normal, especially the difference between l-smash and ffms indexers?)
Morku
9th September 2017, 16:06
Feature request:
1. Is it possible to support Hybrid shutdown for Windows 8 (and newer)? It should look like that:
shutdown.exe /s /hybrid /t 0
2. Is a more detailed GUI for x265 planed?
Thanks a lot!
hello_hello
9th September 2017, 18:58
There's an issue with the generated .avs file for audio when indexing a video with 6 channel aac audio. In the scripts it says
# detected channels: 2 channels
# detected channel positions: 3/2/0.1
regardless of ffmsindex or l-smash being used. MeGUI throw warnings when encoding:
--[Warning] [2017-09-08 17:00:32] Channel count mismatch! The input file is reporting 2 channels and the AviSynth script is reporting 6 channels
--[Warning] [2017-09-08 17:00:32] Ignoring downmix because of the channel count mismatch
You might have to wait for Zathor to weigh in on that one, but what was the container? MKA, MP4, or raw AAC etc?
Some AAC encoders save 2 channel info to the MP4 header (or something along those lines) for backwards compatibility as MP4 originally only supported 2 channels, so maybe that's confusing MeGUI.
As a workaround, you could re-encode as flac, as based on your MP3 test the flac output would have 6 channels, and then you could downmix and re-encode the flac file.
(By the way, is there an easy way of verifying that video/audio files actually are multi-channel without having any matching hardware for playback? A longer-than-normal google session only came up with tools and ways for checking playback and hardware, nothing for verifying the files.
As you're already using it, foobar2000's "peak meter" displays the number of output channels according to the source.
It's under "Playback Visualisations" in the list of UI Elements. You don't have to let it take up much space if it's at a premium as it has a full screen mode (right click on it).
Keep in mind it's an output meter so if you have a DSP in the playback chain downmixing etc, it'll display the DSP's output, but that aside, I tend to trust what it's displaying.
https://files.videohelp.com/u/210984/foobar2000.gif
Maybe not on topic, but I'm also curious of the big difference in bitrate for the resulting audio file, depending of the l-smash or ffms indexer being used, and other decoding methods. With the l-smash indexer the encoded 2-channel audio had 51 kbps, and with ffms it had 40 kbps. Just encoding the extracted aac file directly in MeGUI resulted in a 2-channel file with 66 kbps, and encoding in foobar2000 with it's downmix filter produced a file with 42 kbps. Encoding settings being the same of course. Is this all good and perfectly normal, especially the difference between l-smash and ffms indexers?)
I extracted a stereo HE-AAC stream (is the source HE-AAC from an MKV and encoded it with QAAC's V91 quality settinge, comparing foobar2000 to ffms2/MeGUI and the bitrate was the same.
I'm using an older LSmash and it seemed to be confused by raw HE-AAC and was getting the sample rate wrong. For comparing decoders I'd convert to flac or wave first, or at least mux the raw AAC into an MKA or M4A. Re-encoding raw HE-AAC streams is probably something to avoid.
Barough
12th September 2017, 05:47
@Zathor
MediaInfo 0.7.99 is out. :)
LigH
18th September 2017, 09:16
No cross-posting please. You already asked in the other thread (https://forum.doom9.org/showthread.php?p=1817170#post1817170).
Zathor
18th September 2017, 18:04
@Zathor
MediaInfo 0.7.99 is out. :)
Thanks!
LeMoi
23rd September 2017, 22:48
When I want to rip a movie from a Blu-Ray ISO mounted in a virtual drive (an M2TS file), MEGui doesn't allow me to use 'L-SMASH Works' with File Indexer, only FFMSIndex (which is way slower that the other option...), is there a way to solve this? I have no such problem if I extract the files in a folder on my HDD...
Zathor
23rd September 2017, 23:22
The Index file has to be created in the directory of the input file.
LeMoi
27th September 2017, 22:48
Even if I choose another folder in the output section? So the only way is to copy the m2ts file in the HDD?
LigH
27th September 2017, 23:20
The AviSynth plugin will look for an existing index file in the same directory as the source file, and create a new one just there if it does not exist (and if you did not disable creating it – which LwLibavSource does not support; only FFMS2 supports keeping the index in the RAM, and LSMASHVideoSource would rely on an index chunk present in the source file, but only works with ISO Media container formats like MOV and MP4, not with M2TS).
So yes: First copy the file to the harddisk where an index file can be written. Your optical drive will enjoy less stress as well, converting directly from it may cause a lot more seek operations than just one straight copy.
LeMoi
28th September 2017, 16:30
OK, thanks for your answers, and BTW I was talking about a virtual drive, not optical, so I think read speed would be the same ^^
LigH
1st October 2017, 14:25
MeGUI 2768 Dev. / Updater: While no update is available, the "Abort" button does not close the updater, only disables itself. So what is its intended function?
Zathor
3rd October 2017, 10:46
Good question, it was "always there". I am not even sure if it really aborts when an update is running :(
Maybe best thing is to remove it.
dissory
6th October 2017, 08:39
@Zathor
When transcoding audio using OneClick, it shifts the audio tracks to the wrong position in the output file (even though tracks were in the right order while in the OneClick GUI).
I've included a sample file + steps to reproduce: https://mega.nz/#!ZHpjWIBI!VRLZnCWDyQU4Z1Aufmre_KwR4ERdRxGVYaedT9rRY1Q
Zathor, any chance you found out why this occurs?
Zathor
8th October 2017, 15:43
No, I have not had a look into the source code since July. Only a quick one today for:
2770 [Chapter] added support for alternative TXT chapter files (regression of 2753). bug #893
2769 [Chapter] improved Apple XML handling. patch #70 by Eli Bildirici
Zetti
10th October 2017, 23:16
eac3to v3.32 is released.
tebasuna51
11th October 2017, 11:06
With eac3to v3.32 we can extract HEVC tracks like .h265 (only, can't output mkv even with haali installed)
You need modify the HD Stream Extractor to allow that in:
Zathor
11th October 2017, 21:37
Thanks, has the eac3 demux also been fixed?
tebasuna51
11th October 2017, 22:37
[Nope, the demux always output elementary video streams, before video outputs can be .h264, .m2v or .vc1
Now can output also .h265]
Sorry I confused your question.
Nope, the changelog is only:
* added support for UHD Blu-Ray playlists and clip infos
* added support for h265/HEVC bitstream parsing
* added support for m2ts h265/HEVC splitting
* added support for MKV h265/HEVC splitting
* added support for h265/HEVC framerate modifications
* added detection for Dolby Vision Enhancement Layer
hello_hello
12th October 2017, 02:10
Zathor,
any chance of adding an avc extension to the supported file types list for the muxers? It's easy enough to change the extension to to h264, but MKVToolNix is happy with avc (and gMKVExtractGUI extracts it that way).
Cheers.
tebasuna51
12th October 2017, 10:46
Now the muxer support .264 and .h264 for RAW MPEG-4 AVC Files
Maybe Zathor can add .avc
BTW any GUI for mkvextract.exe can select the extension without limits, maybe is more easy change gMKVExtractGUI to output .h264
Now my GUI for mkvextract.exe (UsEac3to) output .264 and can modify this to .h264 (in next version 1.2.7) to match the extension than eac3to demux output.
MkvToolNix (and eac3to) accept any extension because identify the stream by the header, not by extension.
Now the muxer accept only .hevc for RAW MPEG-H HEVC Files, must add .h265 (please Zathor) like eac3to output.
skywalker
14th October 2017, 01:42
Good evening!
I'm new here, and I have a problem that haunts me for a long time and I do not know how to solve it.
I can not do coder in Megui in 2pass 1st pass. It always happens the same error and could not solve, whether you helped me?
The bug is this:
Error starting job
Exception message: Calling setup failed with 'Required file' error C: \ User \ THS.264' is missing
Starcktrace: in MeGUI.core.gui.JobWorker.startEncoding (TaggedJob job)
Inner exception: null
Whenever you change encoder mode to 2pass, this appears. And it always says:
program --preset veryslow --tune film --pass 1 --bitrate 30000 --stats ".stats" --keyint 300 --output NUL "input"
Could someone help me solve this?
Thanks!
Zathor
14th October 2017, 11:53
Please post a full log
Zetti
14th October 2017, 17:11
MKVToolNix v17.0.0 is released.
Zathor
14th October 2017, 17:58
Thx, new versions of eac3to, mkvtoolnix and mp4box are not online. mp4box update is required to properly support hevc/h265.
sneaker_ger
14th October 2017, 18:02
mp4box update is required to properly support hevc/h265.
Can you link to further info about this?
Zathor
14th October 2017, 18:19
Sure, I run with the sample file I have in this issue:
https://github.com/gpac/gpac/issues/834
Interestingly only if demuxed with eac3to in a hevc file extension. If demuxed to h265 it did not occur. In any case the update of mp4box fixed it.
EDIT: ffmpeg also updated
Zathor
14th October 2017, 18:50
2771 [HD Streams Extractor] added support for HEVC video tracks (requires eac3to 3.32+)
[Muxer] added support for the h265 file extension
Megalith
15th October 2017, 21:28
I updated eac3to to 3.32, but the Streams Extractor is unable to extract any h265/HEVC files despite having them listed (Type: Unknown). Is this normal?
Zathor
15th October 2017, 21:29
Do you have updated MeGUI also to 2771? If yes, please post a log - if not, please update MeGUI.
Megalith
15th October 2017, 21:39
Thank you; updating did the trick. I did not realize I had to go into the options menu and change the update server to the development one.
skywalker
24th October 2017, 15:58
Hi, good morning!
Could someone help me with the error below.
I can not encode any videos in 2pss 1st pass, this same error always occurs.
Does anyone know what is happening and could help me?
[Error] Log
-[Information] Versions
--[Information] [24/10/2017 12:36:46] MeGUI: 2715
--[Information] [24/10/2017 12:36:46] Operating System: Windows 10 Home x86 (10.0.0.15063)
--[Information] [24/10/2017 12:36:46] .NET Framework: 4.0 (4.0.0.0)
--[Information] [24/10/2017 12:36:46] .NET Framework: 4.7 (4.7.02046)
--[Information] [24/10/2017 12:36:50] AviSynth: 2.6.0.6 (31-03-2015) (active)
--[Information] [24/10/2017 12:36:50] AviSynth portable: 2.6.0.6 (21-09-2015) (inactive)
--[Information] [24/10/2017 12:36:50] AvisynthWrapper: (02-01-2009)
--[Information] [24/10/2017 12:36:50] Haali Media Splitter: not installed
--[Information] [24/10/2017 12:36:50] Haali DSS2: not installed
--[Information] [24/10/2017 12:36:50] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [24/10/2017 12:36:50] MediaInfo: 0.7.94.0 (30-03-2017)
--[Information] [24/10/2017 12:36:50] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [24/10/2017 12:36:50] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [24/10/2017 12:36:50] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [24/10/2017 12:36:50] 7z: 9.20 (18-11-2010)
-[Information] Update detection
--[Information] [24/10/2017 12:36:46] Using cached update config and server: http://megui.org/auto/stable/
--[Information] [24/10/2017 12:36:46] No package requires an update
-[Warning] Log for job9 (video, FGTR3.avs -> FGTR3.264)
--[Information] [24/10/2017 12:37:37] Started handling job
--[Information] [24/10/2017 12:37:37] Preprocessing
--[Information] [24/10/2017 12:37:38] Avisynth input script
---[NoImage] LoadPlugin ("C:\Program Files\AviSynth\plugins\DGDecode.dll")
---[NoImage] Video = mpeg2source ("C:\Users\danni\Videos\FGTR\FGTR.d2v", cpu=4, info=3)
---[NoImage] Audio = FFAudioSource ("C:\Users\danni\Videos\FGTR\FGTR.ac3")
---[NoImage] AudioDub (Video, Audio)
---[NoImage] ColorMatrix (interlaced=true, hints=true, threads=0)
---[NoImage] TDeint (mode=1, order=1, mtnmode=1)
---[NoImage] BlendBob ()
---[NoImage] Decimate (cycle=5, mode=2, quality=3)
---[NoImage] Crop (10, 4, -6, 0, align=true)
---[NoImage] BlackmanResize (1464, 1080)
---[NoImage] Deblock (quant=25, aOffset=0, bOffset=0)
---[NoImage] AddGrain (var=7)
---[NoImage] EnsureVBRMP3Sync ()
--[Information] [24/10/2017 12:37:38] resolution: 1464x1080
--[Information] [24/10/2017 12:37:38] frame rate: 24000/1001
--[Information] [24/10/2017 12:37:38] aspect ratio: 61:45 (1.356)
--[Information] [24/10/2017 12:37:38] changing --ref to 5
--[Information] [24/10/2017 12:37:38] Job command line: "C:\Users\danni\Documents\MeGUI\tools\x264\x264.exe" --level 4.2 --preset veryslow --tune film --pass 1 --bitrate 29999 --stats "C:\Users\danni\Videos\FGTR\FGTR3.stats" --keyint 288 --min-keyint 28 --vbv-bufsize 78125 --vbv-maxrate 62500 --sar 1:1 --output NUL "C:\Users\danni\Videos\FGTR\FGTR3.avs"
--[Information] [24/10/2017 12:37:38] Process started
--[Information] [24/10/2017 12:37:38] Standard output stream
--[Warning] [24/10/2017 12:37:38] Standard error stream
---[Information] [24/10/2017 12:37:48] avs [info]: 1464x1080p 1:1 @ 24000/1001 fps (cfr)
---[Information] [24/10/2017 12:37:48] x264 [info]: using SAR=1/1
---[Warning] [24/10/2017 12:37:48] x264 [warning]: VBV bitrate (62500) > level limit (50000)
---[Warning] [24/10/2017 12:37:48] x264 [warning]: VBV buffer (78125) > level limit (62500)
---[Information] [24/10/2017 12:37:48] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
---[Information] [24/10/2017 12:37:48] x264 [info]: profile Main, level 4.2
---[Information] [24/10/2017 12:47:32] x264 [info]: frame I:67 Avg QP:15.73 size:346311
---[Information] [24/10/2017 12:47:32] x264 [info]: frame P:1569 Avg QP:19.56 size:184281
---[Information] [24/10/2017 12:47:32] x264 [info]: frame B:4244 Avg QP:20.18 size:143176
---[Information] [24/10/2017 12:47:33] x264 [info]: consecutive B-frames: 7.0% 6.1% 7.9% 18.3% 20.1% 34.2% 4.4% 0.8% 1.2%
---[Information] [24/10/2017 12:47:33] x264 [info]: mb I I16..4: 33.4% 0.0% 66.6%
---[Information] [24/10/2017 12:47:33] x264 [info]: mb P I16..4: 73.4% 0.0% 0.0% P16..4: 26.6% 0.0% 0.0% 0.0% 0.0% skip: 0.0%
---[Information] [24/10/2017 12:47:33] x264 [info]: mb B I16..4: 47.9% 0.0% 0.0% B16..8: 30.0% 0.0% 0.0% direct:20.0% skip: 2.1% L0:15.6% L1:17.3% BI:67.1%
---[Information] [24/10/2017 12:47:33] x264 [info]: final ratefactor: 17.09
---[Information] [24/10/2017 12:47:33] x264 [info]: direct mvs spatial:99.8% temporal:0.2%
---[Information] [24/10/2017 12:47:33] x264 [info]: coded y,uvDC,uvAC intra: 99.9% 22.0% 1.0% inter: 80.2% 24.5% 0.1%
---[Information] [24/10/2017 12:47:33] x264 [info]: i16 v,h,dc,p: 3% 3% 75% 19%
---[Information] [24/10/2017 12:47:33] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 12% 19% 9% 9% 9% 10% 9% 11%
---[Information] [24/10/2017 12:47:33] x264 [info]: i8c dc,h,v,p: 67% 14% 17% 3%
---[Information] [24/10/2017 12:47:33] x264 [info]: Weighted P-Frames: Y:6.4% UV:3.3%
---[Information] [24/10/2017 12:47:33] x264 [info]: kb/s:30010.07
---[Information] [24/10/2017 12:47:33] encoded 5880 frames, 9.92 fps, 30010.06 kb/s
--[Information] [24/10/2017 12:47:33] Postprocessing
---[Information] [24/10/2017 12:47:33] Deleting intermediate files
--[Information] [24/10/2017 12:47:33] Job completed
-[Error] Log for job10 (mux, FGTR3.264 -> FGTR3.mkv)
--[Information] [24/10/2017 12:47:33] Started handling job
--[Information] [24/10/2017 12:47:33] Preprocessing
--[Error] [24/10/2017 12:47:33] Error starting job
---[Error] [24/10/2017 12:47:33] Exception message: Calling setup of processor failed with error 'Required file 'C:\Users\danni\Videos\FGTR\FGTR3.264' is missing.'
---[Error] [24/10/2017 12:47:33] Stacktrace: em MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
---[Error] [24/10/2017 12:47:33] Inner exception: null
LigH
24th October 2017, 17:53
Apparently you run a 1st pass with x264 which generates no video output (--output NUL), but it is still supposed to be multiplexed to an MKV?!
Zathor
28th October 2017, 19:23
Hi, good morning!
Could someone help me with the error below.
I can not encode any videos in 2pss 1st pass, this same error always occurs.
Does anyone know what is happening and could help me?
How do you have created these jobs?
mini-moose
29th October 2017, 16:03
from what I can tell x265 config is only showing very basic options:
preset / encoding method / crf #.
Are there plans to add a more detailed view with all the various setting the encoder offers (like in x264 config show advanced settings) ?
thanks.
disklib
29th October 2017, 20:16
I'm getting a muxing error that seems to be caused by using MKVmerge 17.0 with an audio delay.
When I let MKV Muxer GUI auto-set the delay I get...
Error: Invalid sync option specified in '--sync 0:20ms'.
When I manually change the delay to 0 in the GUI it muxes without issue.
When I revert MKVmerge to the previous 15.0 version it muxes the delay without issue.
Here's the full log...
[Error] Log
-[Information] Versions
--[Information] MeGUI: 2771 x86
--[Information] System Information
---[Information] Operating System: Windows 7 Professional x64 SP1 (6.1.65536.7601)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.7 (4.7.02053)
--[Information] Component Information
---[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
---[Information] Haali DSS2: (14-04-2013)
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
---[Information] MediaInfo: 0.7.99.0 (12-09-2017)
---[Information] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
---[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.2721.0
----[Information] Date: 29-04-2017
----[Information] Interface: 3
---[Information] AviSynth
----[Information] File Version: 2.6.0.6
----[Information] Date: 31-03-2015
----[Information] Name: Avisynth 2.6
----[Information] Version: AviSynth 2.60, build:Mar 31 2015 [16:38:54]
----[Information] AviSynth+: false
----[Information] MT: false
----[Information] Status: active
---[Information] AviSynth portable
----[Information] File Version: 0.1
----[Information] Date: 29-06-2017
----[Information] Name: AviSynth+ 0.1 (r2508, MT, i386)
----[Information] Status: inactive
-[Information] Update detection
--[Information] [2017.10.29 11:54:27 am] Using cached update config and server: http://megui.org/auto/
--[Information] [2017.10.29 11:54:27 am] No package requires an update
-[Error] Log for job1 (mux, VTS_01_1.mp4 -> VTS_01_1-muxed with delay.mkv)
--[Information] [2017.10.29 11:56:01 am] Started handling job
--[Information] [2017.10.29 11:56:01 am] Preprocessing
--[Information] [2017.10.29 11:56:01 am] frame rate (job): 23.976
--[Information] [2017.10.29 11:56:01 am] device type: Standard
--[Information] [2017.10.29 11:56:01 am] MediaInfo
---[Information] [2017.10.29 11:56:01 am] File: C:\test\VTS_01_1.mp4
---[Information] General
----[Information] Format: MPEG-4
----[Information] FormatString: MPEG-4
----[Information] FileSize: 948342991
----[Information] PlayTime: 01:50:56.398
---[Information] Video
----[Information] ID: 1
----[Information] StreamOrder: 0
----[Information] Width: 712
----[Information] Height: 272
----[Information] FrameCount: 159594
----[Information] FrameRate: 23.976
----[Information] FrameRateOriginal:
----[Information] FrameRateMode: CFR
----[Information] ScanType: Progressive
----[Information] Codec: AVC
----[Information] CodecString: AVC
----[Information] Bits Depth: 8
----[Information] Format: AVC
----[Information] AspectRatio: 2.387
----[Information] AspectRatioString: 2.40:1
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [2017.10.29 11:56:01 am] MediaInfo
---[Information] [2017.10.29 11:56:01 am] File: C:\test\VTS_01_1 T80 3_2ch 384Kbps DELAY 20ms.ac3
---[Information] General
----[Information] Format: AC-3
----[Information] FormatString: AC-3
----[Information] FileSize: 319506432
----[Information] PlayTime: 01:50:56.384
---[Information] Audio
----[Information] ID:
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
----[Information] [2017.10.29 11:56:02 am] The language information is not available for this track. The default MeGUI language has been selected.
--[Information] [2017.10.29 11:56:02 am] Job command line: "C:\Program Files (x86)\MeGUI\tools\mkvmerge\mkvmerge.exe" -o "C:\test\VTS_01_1-muxed with delay.mkv" --engage keep_bitstream_ar_info --default-duration 0:24000/1001fps "--compression" "0:none" -d "0" --no-chapters -A -S "C:\test\VTS_01_1.mp4" --sync 0:20ms "--compression" "0:none" -a 0 --no-chapters -D -S "C:\test\VTS_01_1 T80 3_2ch 384Kbps DELAY 20ms.ac3" --engage no_cue_duration --engage no_cue_relative_position --ui-language en
--[Information] [2017.10.29 11:56:02 am] Process started
--[Error] [2017.10.29 11:56:02 am] Standard output stream
---[Information] [2017.10.29 11:56:02 am] mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
---[Error] [2017.10.29 11:56:02 am] Error: Invalid sync option specified in '--sync 0:20ms'.
--[Information] [2017.10.29 11:56:02 am] Standard error stream
--[Error] [2017.10.29 11:56:02 am] Process exits with error: 2
--[Information] [2017.10.29 11:56:02 am] Job completed
-[Information] Log for job2 (mux, VTS_01_1.mp4 -> VTS_01_1-muxed without delay.mkv)
--[Information] [2017.10.29 11:56:02 am] Started handling job
--[Information] [2017.10.29 11:56:02 am] Preprocessing
--[Information] [2017.10.29 11:56:02 am] frame rate (job): 23.976
--[Information] [2017.10.29 11:56:02 am] device type: Standard
--[Information] [2017.10.29 11:56:02 am] MediaInfo
---[Information] [2017.10.29 11:56:02 am] File: C:\test\VTS_01_1.mp4
---[Information] General
----[Information] Format: MPEG-4
----[Information] FormatString: MPEG-4
----[Information] FileSize: 948342991
----[Information] PlayTime: 01:50:56.398
---[Information] Video
----[Information] ID: 1
----[Information] StreamOrder: 0
----[Information] Width: 712
----[Information] Height: 272
----[Information] FrameCount: 159594
----[Information] FrameRate: 23.976
----[Information] FrameRateOriginal:
----[Information] FrameRateMode: CFR
----[Information] ScanType: Progressive
----[Information] Codec: AVC
----[Information] CodecString: AVC
----[Information] Bits Depth: 8
----[Information] Format: AVC
----[Information] AspectRatio: 2.387
----[Information] AspectRatioString: 2.40:1
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [2017.10.29 11:56:02 am] MediaInfo
---[Information] [2017.10.29 11:56:02 am] File: C:\test\VTS_01_1 T80 3_2ch 384Kbps DELAY 20ms.ac3
---[Information] General
----[Information] Format: AC-3
----[Information] FormatString: AC-3
----[Information] FileSize: 319506432
----[Information] PlayTime: 01:50:56.384
---[Information] Audio
----[Information] ID:
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
----[Information] [2017.10.29 11:56:02 am] The language information is not available for this track. The default MeGUI language has been selected.
--[Information] [2017.10.29 11:56:02 am] Job command line: "C:\Program Files (x86)\MeGUI\tools\mkvmerge\mkvmerge.exe" -o "C:\test\VTS_01_1-muxed without delay.mkv" --engage keep_bitstream_ar_info --default-duration 0:24000/1001fps "--compression" "0:none" -d "0" --no-chapters -A -S "C:\test\VTS_01_1.mp4" "--compression" "0:none" -a 0 --no-chapters -D -S "C:\test\VTS_01_1 T80 3_2ch 384Kbps DELAY 20ms.ac3" --engage no_cue_duration --engage no_cue_relative_position --ui-language en
--[Information] [2017.10.29 11:56:02 am] Process started
--[Information] [2017.10.29 11:56:02 am] Standard output stream
---[Information] [2017.10.29 11:56:02 am] mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
---[Information] [2017.10.29 11:56:02 am] 'C:\test\VTS_01_1.mp4': Using the demultiplexer for the format 'QuickTime/MP4'.
---[Information] [2017.10.29 11:56:02 am] 'C:\test\VTS_01_1 T80 3_2ch 384Kbps DELAY 20ms.ac3': Using the demultiplexer for the format 'AC-3'.
---[Information] [2017.10.29 11:56:02 am] 'C:\test\VTS_01_1.mp4' track 0: Using the output module for the format 'AVC/h.264'.
---[Information] [2017.10.29 11:56:02 am] 'C:\test\VTS_01_1 T80 3_2ch 384Kbps DELAY 20ms.ac3' track 0: Using the output module for the format 'AC-3'.
---[Information] [2017.10.29 11:56:02 am] The file 'C:\test\VTS_01_1-muxed without delay.mkv' has been opened for writing.
---[Information] [2017.10.29 11:56:12 am] The cue entries (the index) are being written...
---[Information] [2017.10.29 11:56:12 am] Multiplexing took 10 seconds.
--[Information] [2017.10.29 11:56:02 am] Standard error stream
--[Information] [2017.10.29 11:56:12 am] MediaInfo
---[Information] [2017.10.29 11:56:12 am] File: C:\test\VTS_01_1-muxed without delay.mkv
---[Information] General
----[Information] Format: Matroska
----[Information] FormatString: Matroska
----[Information] FileSize: 1267612690
----[Information] PlayTime: 01:50:56.400
---[Information] Video
----[Information] ID: 1
----[Information] StreamOrder: 0
----[Information] Width: 712
----[Information] Height: 272
----[Information] FrameCount: 159594
----[Information] FrameRate: 23.976
----[Information] FrameRateOriginal:
----[Information] FrameRateMode: CFR
----[Information] ScanType: Progressive
----[Information] Codec: V_MPEG4/ISO/AVC
----[Information] CodecString: AVC
----[Information] Bits Depth: 8
----[Information] Format: AVC
----[Information] AspectRatio: 2.386
----[Information] AspectRatioString: 2.40:1
----[Information] Delay: 0
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default: Yes
----[Information] DefaultString: Yes
----[Information] Forced: No
----[Information] ForcedString: No
---[Information] Audio
----[Information] ID: 2
----[Information] StreamOrder: 1
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] Muxing Mode:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay: 0
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default: Yes
----[Information] DefaultString: Yes
----[Information] Forced: No
----[Information] ForcedString: No
----[Information] [2017.10.29 11:56:12 am] The language information is not available for this track. The default MeGUI language has been selected.
--[Information] [2017.10.29 11:56:12 am] Postprocessing
---[Information] [2017.10.29 11:56:12 am] Deleting intermediate files
--[Information] [2017.10.29 11:56:12 am] Job completed
tebasuna51
30th October 2017, 11:03
Seems than MkvMerge 17.0 now:
* mkvmerge: command line options: an error message will be output if the single-value-form of the `--sync` option is used and it isn't a number (e.g. `--sync 0:asd`). Fixes #2121.
then '--sync 0:20ms' must be now '--sync 0:20' without the 'ms'
Zathor
31st October 2017, 17:43
Seems than MkvMerge 17.0 now:
* mkvmerge: command line options: an error message will be output if the single-value-form of the `--sync` option is used and it isn't a number (e.g. `--sync 0:asd`). Fixes #2121.
then '--sync 0:20ms' must be now '--sync 0:20' without the 'ms'
Thanks, fixed in 2772.
from what I can tell x265 config is only showing very basic options:
preset / encoding method / crf #.
Are there plans to add a more detailed view with all the various setting the encoder offers (like in x264 config show advanced settings) ?
As I am not using x265 myself and have very limited time: yes, it is on the road map but do not expect it soon.
wthreex
10th November 2017, 22:03
1/1 - updating package LAME
Error: Failed to download package LAME: File cannot be found on the server.
Zathor
11th November 2017, 14:36
Please try it again. If it still fails please post the full log.
wthreex
11th November 2017, 19:22
Fixed.
ratpack
12th November 2017, 20:48
https://imgur.com/SDPjwj0Aargh, I eagerly got the new MeGUI 2774 but the sar issue still isn't working. Additionally now it also ignores the option to not demux the entire video stream.
So if I try and add a custom sar, the space between sar and the numbers gets entered as a letter r. This throws an error in the job. If I don't use a space then the custom sar values get ignored.
https://imgur.com/SDPjwj0
Also, now when I try and start off using the File Indexer (FILE > Open > browse to the first VOB) it always creates a duplicate set of all the VOBs. Checking or unchecking the box to "Demux Video Stream" now has no effect - it's getting demuxed every time and creating an additional 7.9GB of duplicate VOB files.
Zathor
12th November 2017, 22:00
Please add always proper custom command lines otherwise they cannot be parsed. Therefore add "--sar 95:79" with the leading --.
Regarding the file indexer - please post the full log.
ratpack
13th November 2017, 03:36
OK thanks for the answer on the sar.
Attached is the log. The box to demux video stream was not checked, but the files were still created.
If it's not occurred in general testing then I wonder if it's because MeGUI isn't installed in the normal default location? It looks like it's been installed in the same folder on my system since back at version 2624.
laurentje
13th November 2017, 12:12
Problems with update 2774 and audio
Yesterday version 2774 was installed on top of an existing 2715 version on Windows 10.
Result: problems of audio. The audio is messed and a clicking noise (like a gun is shooting) is produced in the audio.
What want I to do with Megui? I have m2ts-files and I want to convert them to mp4-files (h264-video en aac-audio). I do this with an avs-file like this:
LoadPlugin("C:\programs\megui\tools\avs\plugins\DirectShowSource.dll")
LoadPlugin("C:\programs\megui\tools\avisynth_plugin\TDeint.dll")
DirectShowSource("D:\roland\Videos\can\m2ts\04-08-17\20170804141228.m2ts",fps=25.000)
TDeint() #Deinterlaces the clip
#Crop(4,0,-4,0) #Crops video to get rid of black bars
Spline36Resize(640,360) #Resize the clip
ConvertToYV12()
The audio in the original file is:
Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Format settings, Endianness : Big
Codec ID : 129
Duration : 2 min 16 s
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 7.28 MiB (3%)
Service kind : Complete Main
I want this audio tranfered to :LC-AAC format
Before the last update I did this several years, without problems!! The last year I use the QAAC-encoder. Testing with several options of the audio-dialog shows that the problem is with the "Downmix multichannel to Stereo"-option is.
When I download the version 2774 from the official site and I run this version, the QAAC-encoder is not anymore present. Is this normal or a bug?
So my question is now: how to encode the audio to format lc-aac if QAAC-package is not present?
tebasuna51
13th November 2017, 12:23
Also, now when I try and start off using the File Indexer (FILE > Open > browse to the first VOB) it always creates a duplicate set of all the VOBs.
Thats hapens when VOB's have more than a PGC stream:
---[Information] [2017-11-12 8:39:45 PM] File: C:\Backups\WE_BOUGHT_A_ZOO\VIDEO_TS\VTS_02_0.IFO
...
----[Information] PGCCount: 4
and the VOB's created aren't duplicated but with only the main PGC stream.
The others PGC's can have copyright message, credits, extras, etc. than must be eliminated from original VOB's using pgcdemux:
--[Information] [2017-11-12 8:40:10 PM] Preprocessing
--[Information] [2017-11-12 8:40:10 PM] Job command line: "C:\Program Files (x86)\MeGUI_2624_x86\tools\pgcdemux\pgcdemux.exe" -pgc 1 -noaud -nosub -customvob n,v,a,s,l "C:\Backups\WE_BOUGHT_A_ZOO\VIDEO_TS\VTS_02_0.IFO" "C:\Backups\WE_BOUGHT_A_ZOO\VIDEO_TS\WE_BOUGHT_A_ZOO_VTS_02_1"
LigH
13th November 2017, 12:43
@laurentje:
QAAC is only a command line interface tool to the Apple CoreAudio encoder. To use it, you need to have either QuickTime or iTunes installed, or at least unpack the required DLL's from their installer (preferably from iTunes 64-bit), using the "makeportable" batch provided by the QAAC author. Furthermore, to use QAAC, you have to enable it in the "Settings" dialog in the "External Program Configuration" tab.
LigH
13th November 2017, 12:47
The "Abort" button in the updater window still does nothing...
Maybe best thing is to remove it.
tebasuna51
13th November 2017, 13:05
Yesterday version 2774 was installed on top of an existing 2715 version on Windows 10.
Result: problems of audio. The audio is messed and a clicking noise (like a gun is shooting) is produced in the audio.
I don't know if changes in last version modify the MeGUI behaviour, but if you use DirectShowSource to open a file we can't know what happens with the audio.
The correct way is extract the AC3 file (Tools -> HD Streams Extractor)
and recode it to aac-lc (using LWLibavAudioSource or NicAudio)
The QAAC package (and NeroAacEnc than can be equivalent for aac-lc) must be enabled (Options -> Settings -> External Program Configuration) and maybe manually download the first time or update.
Check if you have already, from your previous MeGUI version:
...\megui\tools\qaac\QTfiles...
...\megui\tools\eac3to\neroAacEnc.exe
Zathor
13th November 2017, 14:34
@laurentje: In any case a full log of the encoding (including versions header) is required for proper support - currently we can only guess that you have used DirectShowSource also for the audio encoding, which architecture you are using (32/64bit), ...
@All: If not noticed already I have released yesterday a new "stable" build 2774.
laurentje
13th November 2017, 17:06
@Zathor:
No problem for the log list but the audio is terrible. And the system is Windows 10, which is 64bit.
The log is here (https://rolandvl.stackstorage.com/s/pFY4YTNCmuoP35h).
The result video is here (https://rolandvl.stackstorage.com/s/GmSAJBHmDiaVV4B).
In the beginning of the clip you hear clicks like gunshots... which are not in the original clip.
laurentje
13th November 2017, 17:31
@tebasuna51
1) audio encoding AAC
Well, this was quite simple: in the Settings, 3rd tab 'External Program Contifuration', activate checkbox QAAC. Then the program shall ask for update, etc...
2) The splitting task via the tool is an extra step in the workflow, too much... A better solution is to put the name of the mts-file directly in the input field of the audio file. (the standard beheviour is that Megui put the same name here als the viedofilename)
Zathor
13th November 2017, 17:52
What is in this script?
Import("C:\tmp\video\can\m2ts_raw\can_dag01_raw2.avs")
Btw you can try OneClick. You have to setup it once but then you can drag your m2ts files on it or even use batch encoding if you drag multiple files on it. It will then be properly processed without DirectShowSource.
laurentje
13th November 2017, 18:53
@Zathor
Here is the avs:
LoadPlugin("C:\programs\megui\tools\avs\plugins\DirectShowSource.dll")
LoadPlugin("C:\programs\megui\tools\avisynth_plugin\TDeint.dll")
DirectShowSource("D:\roland\Videos\can\m2ts\04-08-17\20170804141228.m2ts",fps=25.000)
TDeint() #Deinterlaces the clip
#Crop(4,0,-4,0) #Crops video to get rid of black bars
Spline36Resize(640,360) #Resize the clip
ConvertToYV12()
For the Oneclick-solution: I'll see, but I want also resize the frames at the same time. Thanks for your suggestion.
LigH
13th November 2017, 20:45
And again, the "Groundhog Day" of AviSynth in general, and MeGUI specifically: How old is the guide which recommends DirectShowSource over the File Indexer? We don't, rather the opposite.
Zathor
13th November 2017, 22:21
For the Oneclick-solution: I'll see, but I want also resize the frames at the same time. Thanks for your suggestion.
Give it a try, you can also resize in there if you need no preview.
Regarding your audio issues - I cannot support DirectShowSource. Either use the old MeGUI version if that works for you (change should only be the AVS+ version used) or switch to file indexer / OneClick.
hello_hello
15th November 2017, 10:11
Hi Zathor.
Is there any chance of an option to disable the disabling of the "Improve AVS opening" setting when MeGUI thinks it's crashed or there's been a preview error or a light shower within 30 miles while previewing a video? :)
I ask, because when you're fiddling with scripts and experimenting with plugins etc it's inevitable you'll do something to hurt MeGUI's feelings, and I swear I must go back into Options at least 354 times per day to re-enable "Improve AVS opening".
Under what sort of circumstance would disabling that option allow MeGUI to open a script it otherwise couldn't open?
Thank you!
PS. When you open a source, MeGUI always sets the Input DAR in the script creator, but if it's not a standard DAR and you change the Input DAR yourself, you can't change it back to what it was. An InputDAR "scratchpad" maybe? Otherwise you have to reload the source and start again or create a custom Input DAR, which will force you to delete any currently saved custom DAR's when you want to eventually remove it (which is annoying because MeGUI still uses the old ITU PARs rather than the mpeg4 PARs).
PPS I've noticed MeGUI is fairly attached to choosing an ITU or generic Input DAR if the source is of a DVD-type resolution. For instance if you open an MKV at 720x576 with something close to 4:3 written to the container/video stream, MeGUI will ignore it and choose ITU or generic instead. When the aspect ratio differs enough from a standard generic or ITU PAR, MeGUI starts to pay attention, but to my way of thinking it should always do so.
PPPS. Is there any chance one day MeGUI could display the resizing resolution in the script creator? Somewhere near the aspect error area maybe? So if you set 640x480 as the resizing for example, MeGUI would tell you it's 4:3. While 640x480 is fairly obvious, often it's not.
I'm sure I had something else to complain about, but I seem to have forgotten what it was. ;)
Thanks for the continued work. It's appreciated.
PPPPS. I remembered. :)
Do you think the option to add a pre-recording job to the queue gets much use? I ask, because I use it, but mainly to encode to a lossless output, and then I re-encode that, but usually after manually creating a new script and adding more filtering etc. Theretofore, I always have to delete the other jobs MeGUI adds to the queue, but it's the only way to losslessly encode with huffYUV.
I assume the original purpose of the "pre-rendering" option was to automatically encode to an intermediate file while running slow filtering and MeGUI would then busy itself running a 2 pass encode, which is why I asked how much use it's likely to get these days. I was wondering if it'd be more useful now if it simply ran a lossless encode and let the user do the rest.
I'm done now. :)
laurentje
16th November 2017, 19:52
Btw you can try OneClick. You have to setup it once but then you can drag your m2ts files...
I tried OneClick, but Megui crashed.
Log file is here (https://rolandvl.stackstorage.com/s/8Gec3uB7cfg0SaI).
Tried several files with same result (crashing...)
Crashed at job3: Creating LSMASH index....
Zathor
16th November 2017, 20:15
Is there any chance of an option to disable the disabling of the "Improve AVS opening" setting when MeGUI thinks it's crashed or there's been a preview error or a light shower within 30 miles while previewing a video? :)
I ask, because when you're fiddling with scripts and experimenting with plugins etc it's inevitable you'll do something to hurt MeGUI's feelings, and I swear I must go back into Options at least 354 times per day to re-enable "Improve AVS opening".
Under what sort of circumstance would disabling that option allow MeGUI to open a script it otherwise couldn't open?
Not sure anymore why I added that. It had something to do with preventing crashes. It may be time to remove it and see what will happen. Btw. it did not happen for me in years so not sure why it will be raised for you so often.
PS. When you open a source, MeGUI always sets the Input DAR in the script creator, but if it's not a standard DAR and you change the Input DAR yourself, you can't change it back to what it was. An InputDAR "scratchpad" maybe? Otherwise you have to reload the source and start again or create a custom Input DAR, which will force you to delete any currently saved custom DAR's when you want to eventually remove it (which is annoying because MeGUI still uses the old ITU PARs rather than the mpeg4 PARs).
The last point is easy - disable "use ITU aspect ratio" in the settings. The part with the lost aspect ratio information is not so easy :-(
PPS I've noticed MeGUI is fairly attached to choosing an ITU or generic Input DAR if the source is of a DVD-type resolution. For instance if you open an MKV at 720x576 with something close to 4:3 written to the container/video stream, MeGUI will ignore it and choose ITU or generic instead. When the aspect ratio differs enough from a standard generic or ITU PAR, MeGUI starts to pay attention, but to my way of thinking it should always do so.
Do you have a sample file for that? What does MediaInfo report?
PPPS. Is there any chance one day MeGUI could display the resizing resolution in the script creator? Somewhere near the aspect error area maybe? So if you set 640x480 as the resizing for example, MeGUI would tell you it's 4:3. While 640x480 is fairly obvious, often it's not.
Mhm, need to check that.
Do you think the option to add a pre-recording job to the queue gets much use? I ask, because I use it, but mainly to encode to a lossless output, and then I re-encode that, but usually after manually creating a new script and adding more filtering etc. Theretofore, I always have to delete the other jobs MeGUI adds to the queue, but it's the only way to losslessly encode with huffYUV.
I assume the original purpose of the "pre-rendering" option was to automatically encode to an intermediate file while running slow filtering and MeGUI would then busy itself running a 2 pass encode, which is why I asked how much use it's likely to get these days. I was wondering if it'd be more useful now if it simply ran a lossless encode and let the user do the rest.
I never have used that option myself likely because I am not doing multi-pass encodings.
I'm done now. :)
Ideally you raise for the changes feature requests on sourceforge. Likely it will not be faster, but your points are also no points I can implement / change right now. So it may happen that it will be burried here which I want to avoid. :)
Btw great to have you here!
I tried OneClick, but Megui crashed.
Log file is here (https://rolandvl.stackstorage.com/s/8Gec3uB7cfg0SaI).
Tried several files with same result (crashing...)
Crashed at job3: Creating LSMASH index....
Glad that you would like to try it - not so good that it crashes MeGUI. MeGUI itself should never crash itself so when it happens when the first time lsmash is called the crash very likely is related to it. Are there additional information? E.g. an error window? Maybe a redist is not installed.
As a workaround you can try to change the priorities in the oneclick profile so that ffms will be used as primary indexer.
Sorry for the trouble... :(
hello_hello
18th November 2017, 00:49
Not sure anymore why I added that. It had something to do with preventing crashes. It may be time to remove it and see what will happen. Btw. it did not happen for me in years so not sure why it will be raised for you so often.
I think it's just because I fiddle with scripts a lot while previewing. Naturally I couldn't make it happen when I tried. Next time MeGUI resets AVS opening, I'll make a note of what happened so I can reproduce it.
The last point is easy - disable "use ITU aspect ratio" in the settings. The part with the lost aspect ratio information is not so easy :-(
I maybe didn't explain it well.
I don't use the old ITU pixel aspect ratios because they were never exactly correct to begin with (MeGUI is the only current GUI I know of that still uses them). The mpeg4 aspect ratios are simpler and easier to work with, they match the SARs in the x264 encoder configuration, they generally make it easier to crop to exactly 16:9 or 4:3, and they apply to both PAL and NTSC.
I was just having a little whine about MeGUI removing the custom MPEG4 DAR's every time I create a temporary InputDAR and then delete it.
https://files.videohelp.com/u/210984/MeGUI%20DAR.gif
Do you have a sample file for that? What does MediaInfo report?
Here's two.
NTSC & PAL.zip (https://files.videohelp.com/u/210984/NTSC%20_%20PAL.zip) (6MB)
I started with an NTSC DVD (using an Input DAR of 15:11), cropped 2 pixels from each side and resized back to 720x480. I then encoded it again, resizing to 720x576. The script itself:
# Set DAR in encoder to 179 : 132. The following line is for automatic signalling
global MeGUI_darx = 179
global MeGUI_dary = 132
<source>
crop(2, 0, -2, 0)
Spline36Resize(720,480) # or 720x576
MPC-HC (File/Properties) reports a DAR of 72:53 for the NTSC encode and 781:576 for the PAL resolution. Aside from some very minor rounding, both are correct. MeGUI opens both as 4:3 (or ITU).
It only applies when the resolution is exactly 720x480 or 720x576 and I haven't tried to work out how far the DAR needs to be from 4:3 or 16:9 before MeGUI starts using it, but there's obviously a point at which it does.
I never have used that option myself likely because I am not doing multi-pass encodings.
I only use it because it's the only way to encode as huffyuv. The pre-rendering option is possibly obsolete, but there's probably no need to remove it, however it'd be nice to have huffyuv as an encoder choice along with x264 and xvid etc.
Ideally you raise for the changes feature requests on sourceforge. Likely it will not be faster, but your points are also no points I can implement / change right now. So it may happen that it will be burried here which I want to avoid. :)
Btw great to have you here!
Thanks. I think I've still got a few requests waiting in the queue over there but I'll add some later. ;)
Did you ever read my request for adding filtering to each trim you add with the AVS Cutter? I'm longing for the day....
The idea was to be able to include filtering with each Trim so not only could the AVS Cutter do basic cutting, you could use it as an editor of sorts. Like so:
Trim(0,100).ThisFilter().ThatFilter()
MeGUI's preview is already open and ready to preview the changes, all that's required is a way to enter them and life would be joyous once again... :)
As a workaround you can try to change the priorities in the oneclick profile so that ffms will be used as primary indexer.
On the subject of indexing, when the output folder is something other than the input folder, MeGUI no longer deletes the lsmash index file from the source directory after copying it to the output directory. Was that an intentional change?
Thanks
raymondjpg
19th November 2017, 03:25
Is it possible to change the order of preference of source filters in the File Indexer (e.g. always FFMS2 over L-SMASH Source)?
Also asked in the VideoHelp forum (https://forum.videohelp.com/threads/383449-FFVideoSource-vs-LWLibavVideoSource) by someone else...
Was this question ever answered? I can't find it.
Regards
Edit: Looks like ability to change priority of indexer has been implemented in One-Click under the 'Other' tab.
LigH
19th November 2017, 10:04
An issue with xvid_encraw has just been discussed in the German doom9/Gleitz board. It turned out that xvid_encraw (in contrast to other encoders) only accepts an avisynth.dll located in a directory where a registry value of the AviSynth installation points at, but not from its base directory or %PATH%.
Recompiling an enhanced xvid_encraw (after adding such code) would require Visual Studio. I can't offer this service. Any other volunteers? — Until that, MeGUI may have to temporarily manipulate this registry value (and "temporarily" means, there may be a risk of getting permanent in case it crashes before it restores the original value).
Groucho2004
19th November 2017, 13:56
It turned out that xvid_encraw (in contrast to other encoders) only accepts an avisynth.dll located in a directory where a registry value of the AviSynth installation points at, but not from its base directory or %PATH%.
That is not correct.
xvid_encraw (and I presume similar tools that use the VfW API) will work just fine with these registry entries present:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AVIFile\Extensions\avs]
@="{E6D6B700-124D-11D4-86F3-DB80AFD98778}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}]
@="AviSynth"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32]
@="avisynth.dll"
"ThreadingModel"="Apartment"
Tools that use the native Avisynth API don't need them to work.
LigH
19th November 2017, 14:05
Well, maybe I misinterpreted these brief reports (https://forum.gleitz.info/showthread.php?47949-MeGui-Error-Diagnostik-hilfe&p=459748&viewfull=1#post459748).
Your analysis seems to suggest that MeGUI should "temporarily register AviSynth to the local copy" if AviSynth was not yet installed in the system? I hope I understood this time.
Groucho2004
19th November 2017, 14:12
Your analysis seems to suggest that MeGUI should "temporarily register AviSynth to the local copy" if AviSynth was not yet installed in the system?Yes. Installing Avisynth is not necessary but these 3 entries must be there. Xvid will then use the standard Windows search hierarchy to look for avisynth.dll/devil.dll. However, auto-loading plugins will not work without additional registry entries.
LigH
19th November 2017, 14:19
I guess these will have been redirected to MeGUI's selection while it is active, anyway.
_
P.S.: But that also means that making xvid_encraw use native AviSynth API would be quite an overhaul? That may not be worth the efforts, with an expectable obsolescence...
Groucho2004
19th November 2017, 14:51
But that also means that making xvid_encraw use native AviSynth API would be quite an overhaul?Definitely not worth it.
Zetti
19th November 2017, 15:10
eac3to v3.33 is released.
MKVToolNix v18.0.0 is released.
Zathor
19th November 2017, 18:08
My report in the other forum really was not very precise. But the reg keys pointed out by Groucho are the ones who have been reported missing by Process Monitor and after writing them everything is fine. MeGUI will now check first if those exist and if not it will create them (in the HKCU part). Directly after xvid starts they will be removed again.
These are the keys (stripped down to the bare minimum):
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AVIFile\Extensions\avs]
@="{E6D6B700-124D-11D4-86F3-DB80AFD98778}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32]
@="avisynth.dll"
2779 [Xvid] added a workaround to be able to use Xvid in portable AviSynth mode
2778 [Chapter] fixed non-ASCII handling (regression of 2753). bug #898
2777 [Settings] changed the default value of "delete completed jobs" to be enabled
2776 [OneClick] added support for MKV attachments. If the MKV source does have such attachments, it will be copied to the target MKV. feature request #617
Zathor
19th November 2017, 18:08
eac3to v3.33 is released.
MKVToolNix v18.0.0 is released.
Thx, uploaded as well.
Zathor
19th November 2017, 18:24
Thanks. I think I've still got a few requests waiting in the queue over there but I'll add some later. ;)
I usually do not have much time and searching in threads and posts for a topic is very time consuming. E.g. your posts contain several items and it is quite hard to follow in a time efficient way (and therefore I postpone the answers and forgot then about them...)
Was this question ever answered? I can't find it.
Regards
Edit: Looks like ability to change priority of indexer has been implemented in One-Click under the 'Other' tab.
No, it has not been implemented for the file indexer.
With the recent issue posts about lsmash I think about to move the default priority back to ffms.
Zathor
19th November 2017, 19:46
On the subject of indexing, when the output folder is something other than the input folder, MeGUI no longer deletes the lsmash index file from the source directory after copying it to the output directory. Was that an intentional change?
Sort of - it will only be deleted if "delete intermediate files" is enabled. While thinking about it, as it is copied I believe the original file can be deleted in any case. I will change it.
Zathor
19th November 2017, 22:37
2784 [AVS Script Creator] fixed DirectShowSource/AVISource not available if the portable AviSynth is used. bug #896
DirectShowSource/AVISource are disabled by default and have to be enabled in the MeGUI settings
2783 [AVS Script Creator] improved the file extension filters of the "video input" file open dialogue
2782 [L-SMASH Indexer] delete always the index file after it has been copied (and not only when "delete intermediate files" is selected)
2781 [Settings] removed "improved AVS opening" setting. It is now always enabled.
2780 [Update] removed the abort button
Zetti
20th November 2017, 08:38
eac3to v3.34 is released.
Zathor
20th November 2017, 19:03
Thanks, but I will wait for 3.35:
https://forum.doom9.org/showthread.php?p=1824950#post1824950
3.33 seems to be fine for the MeGUI functions used for the moment.
Morku
21st November 2017, 10:49
There are also new LAME binaries: http://www.rarewares.org/mp3-lame-bundle.php
EDIT:
Bug:
Since Build 2784 (propably 2783) I can't select *.mpls files in the AVS script creator at video input as "All supported files". I have to change to "All files(*.*)"
Zathor
21st November 2017, 20:43
There are also new LAME binaries: http://www.rarewares.org/mp3-lame-bundle.php
Thanks, I will have a look.
Since Build 2784 (propably 2783) I can't select *.mpls files in the AVS script creator at video input as "All supported files". I have to change to "All files(*.*)"
Not really a bug, but a good catch! Before *.* was preselected which allowed also to select totally wrong files.
MPLS is also not in the default file open filter of the file indexer. Are there any other filters missing?
Zathor
21st November 2017, 21:10
There are also new LAME binaries: http://www.rarewares.org/mp3-lame-bundle.php
lame.exe in both versions (32/64) is detected as a virus by my virus scanner. this will only be a false alert very likely based on reputation - however if I upload it MeGUI will also get a bad reputation score as it is downloading such a thing. Therefore I will not update it for the moment.
Morku
21st November 2017, 21:31
Thats weird. I use Windows Defender and it's not detecting a virus. Also virustotal gives a good reputation: https://www.virustotal.com/de/file/36525f3f84c6512228152b9899265652e8c4e1bcd18d1a84ed74db1a612c7fd0/analysis/1511295863/
If not a bug, can I change the behaviour to make "All files (*.*)" as default? Since DGIndexNV supports mpls files, I prefer this way over finding out the m2ts files (especially when the movie is parted in many m2ts files).
Barough
21st November 2017, 21:43
lame.exe in both versions (32/64) is detected as a virus by my virus scanner. this will only be a false alert very likely based on reputation - however if I upload it MeGUI will also get a bad reputation score as it is downloading such a thing. Therefore I will not update it for the moment.It's a false positive and nothing to worry about. Have used the lame.exe's from Rarewares on 4 different computers with 3 different AV's (2 x Avira, Comodo, Bitdefender) and non of these detects anything. I don't see how MeGUI would get a bad rep due to using good lame.exe compiles.
Care to tell what AV your using Zathor?
Sent from my SM-G935F via Tapatalk
Zathor
21st November 2017, 21:43
If not a bug, can I change the behaviour to make "All files (*.*)" as default? Since DGIndexNV supports mpls files, I prefer this way over finding out the m2ts files (especially when the movie is parted in many m2ts files).
No, that was the reason for the change. *.* does catch all files and therefore also exe, bat, cmd, txt, ... so that mpls has been left out is a mistake but it has also been left out in the file indexer.
Btw why do you open the mpls in AVS Creator? Why not directly with file indexer / oneclick?
Morku
21st November 2017, 22:04
Uh, good question. I have never tried the One Click before, so I use the "manual way" for years. I use AVS Creator to index the file and crop if necessary, "HD streams extractor" to get subtitles and audio. Convert audio with a bat, convert subs with SubtitleEdit and after all bring together with MeGUI. But I will have a look into the One Click Encoder :)
Zathor
21st November 2017, 22:29
OK, but then AVS Script Creator will just open the File Indexer, a bit faster would be to open directly the file indexer.
I will implement MPLS support in the same way as with IFO so that also the other indexers will work. DGIndexIM/NV will directly use the mpls, for the others eac3to will demux it.
Pko
23rd November 2017, 02:06
The One Click Encoder window is not resizeable and the input selector field is too wide and part of it, the part that allows to select an option, is outside the window limits:
https://www.dropbox.com/s/hn0v75nqo0ezhj6/captura.png?dl=0
https://www.dropbox.com/s/hn0v75nqo0ezhj6/captura.png?dl=0
Pko
23rd November 2017, 02:51
Also, the audio processing gets hung forever for some files:
Log: https://www.dropbox.com/s/s9j3ztspkevs73h/log1.log?dl=0
Capture: https://www.dropbox.com/s/5tw3vocnucgu0cq/2017-11-23%20%283%29.png?dl=0
The task uses 31% CPU permanently and never ends
MeGUI 2774 updated
tebasuna51
23rd November 2017, 10:54
Also, the audio processing gets hung forever for some files:
Your log seems ok, but sometimes the NeroAacEnc have troubles with not congruent parameters:
-lc -q 0.3
In Automatic profile (always recomended with Variable BitRate) a quality of 0.3 output -he profile, use 0.32 at least to obtain -lc quality.
EDIT:
With a music sample file (48 KHz) I obtain a
HE 88 Kb/s with -q 0.3
LC 90 Kb/s with -q 0.32
LC 94 Kb/s with -q 0.35
I recommend at least 0.35 for LC (it's not good work in limits)
@Zathor
Maybe in Nero AAC configuration dialog you can disable the AAC Profile, and let in Automatic, when Variable Bitrate is selected.
And replace the label with:
Variable Bitrate, Q > 0,31 for AAC LC (Q=selected)
tuanden0
25th November 2017, 09:23
After update to MeGUI 2784 Dev, I can't open video as DirectShowSource.
The Message Box to chose way to open source is disappeared.
MeGUI automaticaly open source as index file.
How can I fixed it?
LigH
25th November 2017, 09:28
This is intentional. Read the changelog.
DirectShoiwSource is the most unreliable way to process media files. If you really want to use it, enable it manually. It's your own risk.
tuanden0
25th November 2017, 10:31
@LigH:
Thank You
This is my mistake because I didn't read changelog after update :(
Zathor
25th November 2017, 12:36
@Zathor
Maybe in Nero AAC configuration dialog you can disable the AAC Profile, and let in Automatic, when Variable Bitrate is selected.
And replace the label with:
Variable Bitrate, Q > 0,31 for AAC LC (Q=selected)
Thanks & done in 2785
Zathor
25th November 2017, 16:18
Since DGIndexNV supports mpls files, I prefer this way over finding out the m2ts files (especially when the movie is parted in many m2ts files).
Does this work for you? I tried it now in order to implement MPLS support and noticed this issue:
http://rationalqm.us/board/viewtopic.php?f=8&t=605
EDIT: Solution found
Zathor
26th November 2017, 19:57
2787 [AVS Script Creator] added mpls as supported input type
[File Indexer] added mpls as supported input type
[File Indexer] do not reset the output path when selecting a different indexer if the path has already been set
2786 [DGIndex* Indexer] all: support absolute paths in the index files when written with Full_Path_In_Files=0
IM/NV: ensure that ResponseOnAudioMismatch=0 is not set (if set, it will be set to 1)
2785 [Nero AAC Encoder] if VBR is used the profile will automatically be selected
Morku
27th November 2017, 09:47
Does this work for you?
No :(
https://i.imgur.com/ZMWtLF1.png
[Error] Log
-[Information] Versions
--[Information] MeGUI: 2787 x64
--[Information] System Information
---[Information] Operating System: Windows 10 Professional 1709 x64 (10.0.16299.64)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.7 (4.7.02556)
--[Information] Component Information
---[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
---[Information] Haali DSS2: not installed
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
---[Information] MediaInfo: 17.10.0.0 (02-11-2017)
---[Information] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
---[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.2721.0
----[Information] Date: 29-04-2017
----[Information] Interface: 3
---[Information] AviSynth
----[Information] File Version: 0.1
----[Information] Date: 15-11-2017
----[Information] Name: AviSynth+ 0.1 (r2544, MT, x86_64)
----[Information] Version: AviSynth+ 0.1 (r2544, MT, x86_64)
----[Information] AviSynth+: true
----[Information] MT: true
----[Information] Status: active
---[Information] AviSynth portable
----[Information] File Version: 0.1
----[Information] Date: 15-11-2017
----[Information] Name: AviSynth+ 0.1 (r2544, MT, x86_64)
----[Information] Status: inactive
-[Information] Update detection
--[Information] [27.11.2017 09:41:48] Automatic update is disabled
--[Information] [27.11.2017 09:41:48] Using cached update config and server: http://megui.tmebi.de/test/
--[Information] [27.11.2017 09:41:48] No package requires an update
-[Information] HD Streams Extractor
--[Information] [27.11.2017 09:42:17] Input: D:\Temp\BluRay\GIRL_NEXT_DOOR_F2\BDMV\PLAYLIST\00800.mpls
--[Information] [27.11.2017 09:42:17] Arguments: "D:\Temp\BluRay\GIRL_NEXT_DOOR_F2\BDMV\PLAYLIST\00800.mpls"
--[Information] [27.11.2017 09:42:18] 1) 00800.mpls, 00800.m2ts, 1:49:29
--[Information] [27.11.2017 09:42:18] - Chapters, 28 chapters
--[Information] [27.11.2017 09:42:19] - h264/AVC, 1080p24 /1.001 (16:9)
--[Information] [27.11.2017 09:42:19] - DTS Master Audio, English, multi-channel, 48kHz
--[Information] [27.11.2017 09:42:19] - DTS, French, multi-channel, 48kHz
--[Information] [27.11.2017 09:42:19] - DTS, German, multi-channel, 48kHz
--[Information] [27.11.2017 09:42:19] - DTS, Italian, multi-channel, 48kHz
--[Information] [27.11.2017 09:42:19] - DTS, Spanish, multi-channel, 48kHz
--[Information] [27.11.2017 09:42:19] - AC3, Czech, stereo, 48kHz
--[Information] [27.11.2017 09:42:19] - AC3, Hungarian, multi-channel, 48kHz
--[Information] [27.11.2017 09:42:19] - AC3, Polish, stereo, 48kHz
--[Information] [27.11.2017 09:42:19] - AC3, Turkish, stereo, 48kHz
--[Information] [27.11.2017 09:42:20] - AC3, English, stereo, 48kHz
--[Information] [27.11.2017 09:42:20] Feature Retrieval Completed
--[Information] [27.11.2017 09:42:20] Arguments: "D:\Temp\BluRay\GIRL_NEXT_DOOR_F2\BDMV\PLAYLIST\00800.mpls" 1) -progressnumbers
--[Information] [27.11.2017 09:42:22] M2TS, 1 video track, 10 audio tracks, 24 subtitle tracks, 1:49:29, 24p /1.001
--[Information] [27.11.2017 09:42:22] 1: Chapters, 28 chapters
--[Information] [27.11.2017 09:42:22] 2: h264/AVC, 1080p24 /1.001 (16:9)
--[Information] [27.11.2017 09:42:22] 3: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
--[Information] [27.11.2017 09:42:23] (core: DTS, 5.1 channels, 1509kbps, 48kHz)
--[Information] [27.11.2017 09:42:23] 4: DTS, French, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 09:42:23] 5: DTS, German, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 09:42:23] 6: DTS, Italian, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 09:42:23] 7: DTS, Spanish, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 09:42:23] 8: AC3 Surround, Czech, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 09:42:23] 9: AC3, Hungarian, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 09:42:23] 10: AC3, Polish, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 09:42:23] 11: AC3 Surround, Turkish, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 09:42:23] 12: AC3, English, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 09:42:24] 13: Subtitle (PGS), English
--[Information] [27.11.2017 09:42:24] 14: Subtitle (PGS), French
--[Information] [27.11.2017 09:42:24] 15: Subtitle (PGS), Danish
--[Information] [27.11.2017 09:42:24] 16: Subtitle (PGS), Finnish
--[Information] [27.11.2017 09:42:24] 17: Subtitle (PGS), German
--[Information] [27.11.2017 09:42:24] 18: Subtitle (PGS), Italian
--[Information] [27.11.2017 09:42:24] 19: Subtitle (PGS), Dutch
--[Information] [27.11.2017 09:42:24] 20: Subtitle (PGS), Norwegian
--[Information] [27.11.2017 09:42:24] 21: Subtitle (PGS), Spanish
--[Information] [27.11.2017 09:42:24] 22: Subtitle (PGS), Swedish
--[Information] [27.11.2017 09:42:25] 23: Subtitle (PGS), Czech
--[Information] [27.11.2017 09:42:25] 24: Subtitle (PGS), Arabic
--[Information] [27.11.2017 09:42:25] 25: Subtitle (PGS), Modern Greek
--[Information] [27.11.2017 09:42:25] 26: Subtitle (PGS), Hungarian
--[Information] [27.11.2017 09:42:25] 27: Subtitle (PGS), Icelandic
--[Information] [27.11.2017 09:42:25] 28: Subtitle (PGS), Hebrew
--[Information] [27.11.2017 09:42:25] 29: Subtitle (PGS), Polish
--[Information] [27.11.2017 09:42:25] 30: Subtitle (PGS), Portuguese
--[Information] [27.11.2017 09:42:25] 31: Subtitle (PGS), Turkish
--[Information] [27.11.2017 09:42:25] 32: Subtitle (PGS), French
--[Information] [27.11.2017 09:42:26] 33: Subtitle (PGS), German
--[Information] [27.11.2017 09:42:26] 34: Subtitle (PGS), Italian
--[Information] [27.11.2017 09:42:26] 35: Subtitle (PGS), Dutch
--[Information] [27.11.2017 09:42:26] 36: Subtitle (PGS), Spanish
--[Information] [27.11.2017 09:42:26] Stream Retrieval Completed
--[Information] [27.11.2017 09:42:37] Input: D:\Temp\BluRay\GIRL_NEXT_DOOR_F2\BDMV\PLAYLIST\00800.mpls
--[Information] [27.11.2017 09:42:37] Arguments: "D:\Temp\BluRay\GIRL_NEXT_DOOR_F2\BDMV\PLAYLIST\00800.mpls"
--[Information] [27.11.2017 09:42:37] 1) 00800.mpls, 00800.m2ts, 1:49:29
--[Information] [27.11.2017 09:42:37] - Chapters, 28 chapters
--[Information] [27.11.2017 09:42:37] - h264/AVC, 1080p24 /1.001 (16:9)
--[Information] [27.11.2017 09:42:37] - DTS Master Audio, English, multi-channel, 48kHz
--[Information] [27.11.2017 09:42:37] - DTS, French, multi-channel, 48kHz
--[Information] [27.11.2017 09:42:37] - DTS, German, multi-channel, 48kHz
--[Information] [27.11.2017 09:42:37] - DTS, Italian, multi-channel, 48kHz
--[Information] [27.11.2017 09:42:37] - DTS, Spanish, multi-channel, 48kHz
--[Information] [27.11.2017 09:42:37] - AC3, Czech, stereo, 48kHz
--[Information] [27.11.2017 09:42:38] - AC3, Hungarian, multi-channel, 48kHz
--[Information] [27.11.2017 09:42:38] - AC3, Polish, stereo, 48kHz
--[Information] [27.11.2017 09:42:38] - AC3, Turkish, stereo, 48kHz
--[Information] [27.11.2017 09:42:38] - AC3, English, stereo, 48kHz
--[Information] [27.11.2017 09:42:38] Feature Retrieval Completed
--[Information] [27.11.2017 09:42:38] Arguments: "D:\Temp\BluRay\GIRL_NEXT_DOOR_F2\BDMV\PLAYLIST\00800.mpls" 1) -progressnumbers
--[Information] [27.11.2017 09:42:39] M2TS, 1 video track, 10 audio tracks, 24 subtitle tracks, 1:49:29, 24p /1.001
--[Information] [27.11.2017 09:42:39] 1: Chapters, 28 chapters
--[Information] [27.11.2017 09:42:39] 2: h264/AVC, 1080p24 /1.001 (16:9)
--[Information] [27.11.2017 09:42:40] 3: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
--[Information] [27.11.2017 09:42:40] (core: DTS, 5.1 channels, 1509kbps, 48kHz)
--[Information] [27.11.2017 09:42:40] 4: DTS, French, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 09:42:40] 5: DTS, German, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 09:42:40] 6: DTS, Italian, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 09:42:40] 7: DTS, Spanish, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 09:42:40] 8: AC3 Surround, Czech, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 09:42:40] 9: AC3, Hungarian, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 09:42:40] 10: AC3, Polish, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 09:42:40] 11: AC3 Surround, Turkish, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 09:42:41] 12: AC3, English, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 09:42:41] 13: Subtitle (PGS), English
--[Information] [27.11.2017 09:42:41] 14: Subtitle (PGS), French
--[Information] [27.11.2017 09:42:41] 15: Subtitle (PGS), Danish
--[Information] [27.11.2017 09:42:41] 16: Subtitle (PGS), Finnish
--[Information] [27.11.2017 09:42:41] 17: Subtitle (PGS), German
--[Information] [27.11.2017 09:42:41] 18: Subtitle (PGS), Italian
--[Information] [27.11.2017 09:42:41] 19: Subtitle (PGS), Dutch
--[Information] [27.11.2017 09:42:41] 20: Subtitle (PGS), Norwegian
--[Information] [27.11.2017 09:42:41] 21: Subtitle (PGS), Spanish
--[Information] [27.11.2017 09:42:42] 22: Subtitle (PGS), Swedish
--[Information] [27.11.2017 09:42:42] 23: Subtitle (PGS), Czech
--[Information] [27.11.2017 09:42:42] 24: Subtitle (PGS), Arabic
--[Information] [27.11.2017 09:42:42] 25: Subtitle (PGS), Modern Greek
--[Information] [27.11.2017 09:42:42] 26: Subtitle (PGS), Hungarian
--[Information] [27.11.2017 09:42:42] 27: Subtitle (PGS), Icelandic
--[Information] [27.11.2017 09:42:42] 28: Subtitle (PGS), Hebrew
--[Information] [27.11.2017 09:42:42] 29: Subtitle (PGS), Polish
--[Information] [27.11.2017 09:42:42] 30: Subtitle (PGS), Portuguese
--[Information] [27.11.2017 09:42:42] 31: Subtitle (PGS), Turkish
--[Information] [27.11.2017 09:42:43] 32: Subtitle (PGS), French
--[Information] [27.11.2017 09:42:43] 33: Subtitle (PGS), German
--[Information] [27.11.2017 09:42:43] 34: Subtitle (PGS), Italian
--[Information] [27.11.2017 09:42:43] 35: Subtitle (PGS), Dutch
--[Information] [27.11.2017 09:42:43] 36: Subtitle (PGS), Spanish
--[Information] [27.11.2017 09:42:43] Stream Retrieval Completed
-[Information] FileIndexer
-[Error] Unhandled error
--[Information] [27.11.2017 09:42:43] Exception message
---[NoImage] Der Wert darf nicht NULL sein.
---[NoImage] Parametername: path1
--[Information] [27.11.2017 09:42:43] Stacktrace
---[NoImage] bei System.IO.Path.Combine(String path1, String path2)
---[NoImage] bei MeGUI.FileIndexerWindow.GetDVDSource(String fileName, MediaInfoFile& iFileTemp)
---[NoImage] bei MeGUI.FileIndexerWindow.openVideo(String fileName)
---[NoImage] bei MeGUI.FileIndexerWindow.setConfig(String input, String projectName, Int32 demuxType, Boolean showCloseOnQueue, Boolean closeOnQueue, Boolean loadOnComplete, Boolean updateMode)
---[NoImage] bei MeGUI.AviSynthWindow.openVideoSource(String videoInput, String indexFileTemp)
---[NoImage] bei MeGUI.AviSynthWindow.input_FileSelected(FileBar sender, FileBarEventArgs args)
---[NoImage] bei MeGUI.FileBar.triggerEvent()
---[NoImage] bei MeGUI.FileBar.openButton_Click(Object sender, EventArgs e)
---[NoImage] bei System.Windows.Forms.Control.OnClick(EventArgs e)
---[NoImage] bei System.Windows.Forms.Button.OnClick(EventArgs e)
---[NoImage] bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
---[NoImage] bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
---[NoImage] bei System.Windows.Forms.Control.WndProc(Message& m)
---[NoImage] bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
---[NoImage] bei System.Windows.Forms.Button.WndProc(Message& m)
---[NoImage] bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[Information] [27.11.2017 09:42:43] Inner exception: null
It worked fine before...
LigH
27th November 2017, 10:02
At least the stack trace at the end of this log should narrow down the reason a bit...
numaios
27th November 2017, 19:19
Hello to everyone.
I've been encoding several files in MeGUI 2787, with x264 codec, using preset Slow, and ticking the "show advanced settings" checkbox to change ME method from hex to uneven multihex and "adaptive b-frames" to 2 (Optimal) (the default option for x264's slow preset now is 1 (fast), but in fact the default option in MeGUI is 2).
The thing is I want to use --b-adapt 2 but even when I set it in the GUI, the command line is:
program --preset slow --tune film --crf 21.0 --me umh --output "output" "input"
(See this screenshot: https://forum.doom9.org/showthread.php?p=1825604#post1825604)
So, the encoded file is reported by Mediainfo as:
Writing library : x264 core 152 r2851 ba24899
Encoding settings : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
I know I can add --b-adapt 2 as a custom command line in "Misc" tab, but maybe this could be fixed in the next version?
Thank you very much.
Zathor
27th November 2017, 19:49
No :(
https://i.imgur.com/ZMWtLF1.png
Thanks, please test it with the debug build: http://megui.org/megui_debug.zip
EDIT: Ignore it, I found the line. But I do not know what is causing it... I tried several Blu-ray files and it does work as intended. Searching...
Zathor
27th November 2017, 19:53
program --preset slow --tune film --crf 21.0 --me umh --output "output" "input"
As you wrote MeGUI is not adding anything related to --b-adapt as it is the default. So the problem likely is somewhere else. Could you maybe upload an encoding log if it is added there? Have you already tried to reset the profile to default?
sneaker_ger
27th November 2017, 20:02
as it is the default.
It's not anymore.
http://git.videolan.org/?p=x264/x264-sandbox.git;a=commit;h=4e5adb87070c82b937c03e0cc030eae3578c251d
Morku
27th November 2017, 20:16
Thanks, please test it with the debug build: http://megui.org/megui_debug.zip
https://i.imgur.com/u2olNnH.png
Preliminary log file only. During closing of MeGUI the well formed log file will be written.
-[Information] Versions
--[Information] MeGUI: 2787 x86
--[Information] MeGUI Debug Data: available
-[Information] Operating System: Windows 10 Professional 1709 x64 (10.0.16299.64)
-[Information] .NET Framework: 4.0 (4.0.0.0)
-[Information] .NET Framework: 4.7 (4.7.02556)
--[Information] System Information
-[Information] Update detection
--[Information] [27.11.2017 20:12:09] Automatic update is disabled
-[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
-[Information] Haali DSS2: not installed
-[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [27.11.2017 20:12:09] Using cached update config and server: http://megui.org/auto/
-[Information] MediaInfo: 17.10.0.0 (02-11-2017)
-[Information] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
-[Information] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
-[Information] 7z: 9.20 (18-11-2010)
--[Information] Component Information
--[Information] [27.11.2017 20:12:09] There are 14 packages which can be updated: MeGUI, MeGUI Libraries, MediaInfo, DGIndex, DGIndexNV, Xvid, FFmpeg, FFMS, AviSynth portable, AviSynth plugins, DGIndexIM, L-SMASH Works, x265, Runtime Files
-[Information] Version: 1.0.2721.0
-[Information] Date: 29-04-2017
-[Information] Interface: n/a
-[Information] AviSynth Wrapper
-[Information] File Version: 0.1
-[Information] Date: 15-11-2017
-[Information] Name: AviSynth+ 0.1 (r2544, MT, i386)
-[Error] Unhandled error
--[Information] [27.11.2017 20:12:09] Exception message: Es wurde versucht, eine Datei mit einem falschen Format zu laden. (Ausnahme von HRESULT: 0x8007000B)
-[NoImage] bei MeGUI.AviSynthClip.dimzon_avs_init_2(IntPtr& avs, String func, String arg, AVSDLLVideoInfo& vi, AviSynthColorspace& originalColorspace, AudioSampleType& originalSampleType, String cs)
-[NoImage] bei MeGUI.AviSynthClip.CheckAvisynthInstallation(String& strVersion, Boolean& bIsAVS26, Boolean& bIsAVSPlus, Boolean& bIsMT) in D:\MeGUI\_MeGUI_clean\packages\tools\avscreator\AvisynthWrapper.cs:Zeile 481.
-[NoImage] bei MeGUI.core.util.FileUtil.CheckAviSynth(LogItem& oLog) in D:\MeGUI\_MeGUI_clean\core\util\FileUtil.cs:Zeile 705.
-[NoImage] bei MeGUI.MainForm.getVersionInformation() in D:\MeGUI\_MeGUI_clean\core\gui\MainForm.cs:Zeile 1385.
-[NoImage] bei MeGUI.MainForm..ctor() in D:\MeGUI\_MeGUI_clean\core\gui\MainForm.cs:Zeile 170.
-[NoImage] bei MeGUI.MainForm.Main(String[] args) in D:\MeGUI\_MeGUI_clean\core\gui\MainForm.cs:Zeile 1087.
--[Information] [27.11.2017 20:12:09] Stacktrace
--[Information] [27.11.2017 20:12:09] Inner exception: null
numaios
27th November 2017, 20:23
As you wrote MeGUI is not adding anything related to --b-adapt as it is the default.
But the default (nowadays) b-adapt option is 1 (fast), since last year:
http://git.videolan.org/?p=x264/x264-sandbox.git;a=commit;h=4e5adb87070c82b937c03e0cc030eae3578c251d
It's like if MeGUI "thought" it has an outdated x264 version.
Could you maybe upload an encoding log if it is added there?
[Warning] Log
-[Information] Versions
--[Information] MeGUI: 2787 x86
--[Information] System Information
---[Information] Operating System: Windows 10 Home 1607 x64 (10.0.14393.1884)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.7 (4.7.02053)
--[Information] Component Information
---[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
---[Information] Haali DSS2: (14-04-2013)
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (16-11-2017)
---[Information] MediaInfo: 17.10.0.0 (16-11-2017)
---[Information] MessageBoxExLib: 1.0.2218.28317 (16-11-2017)
---[Information] SevenZipSharp: 0.64.3890.29348 (16-11-2017)
---[Information] 7z: 9.20 (16-11-2017)
--[Information] AviSynth Information
---[Information] AviSynth Wrapper
----[Information] Version: 1.0.2721.0
----[Information] Date: 16-11-2017
----[Information] Interface: 3
---[Information] AviSynth
----[Information] not installed
---[Information] AviSynth portable
----[Information] File Version: 0.1
----[Information] Date: 15-11-2017
----[Information] Name: AviSynth+ 0.1 (r2544, MT, i386)
----[Information] Version: AviSynth+ 0.1 (r2544, MT, i386)
----[Information] AviSynth+: true
----[Information] MT: true
----[Information] Status: active
[...]
-[Information] Log for job505 (video, Cameo.mkv.avs -> Cameo_Video.264)
--[Information] [27/11/2017 20:09:48] Started handling job
--[Information] [27/11/2017 20:09:48] Preprocessing
--[Information] [27/11/2017 20:09:48] AviSynth input script
---[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI-2774-32\tools\lsmash\LSMASHSource.dll")
---[NoImage] LWLibavVideoSource("D:\Users\J\Videos\0r51zqlt.40r\Cameo.mkv.lwi")
---[NoImage] #Not enough useful sections for source detection. Doing no processing
---[NoImage] #crop
---[NoImage] LanczosResize(720,404) # Lanczos (Sharp)
---[NoImage] #denoise
--[Information] [27/11/2017 20:09:49] resolution: 720x404
--[Information] [27/11/2017 20:09:49] frame rate: 25/1
--[Information] [27/11/2017 20:09:49] frames: 439
--[Information] [27/11/2017 20:09:49] aspect ratio (avs): 180:101 (1.782)
--[Information] [27/11/2017 20:09:49] Job command line: "C:\Program Files (x86)\MeGUI-2774-32\tools\x264\avs4x26x.exe" --x26x-binary "C:\Program Files (x86)\MeGUI-2774-32\tools\x264\x264.exe" --preset slow --tune film --crf 21.0 --me umh --sar 1:1 --output "D:\Users\J\Videos\0r51zqlt.40r\Cameo_Video.264" "D:\Users\J\Videos\0r51zqlt.40r\Cameo.mkv.avs"
Have you already tried to reset the profile to default?
Yes, I have.
-If you select "0-Off" in the dropdown list, " --b-adapt 0" is added to the command line.
-If you select "1-Fast" in the dropdown list, " --b-adapt 1" is added to the command line.
-If you select "2-Optimal" in the dropdown list, nothing is added to the command line (as if the default option was 2, but it isn't, so the x264 version used by MeGUI won't apply the correct setting)
Zathor
27th November 2017, 21:04
Thanks, I have adjusted last year the "Swap --me umh for --trellis 2" part, but it seems I have missed the --b-adapt change :rolleyes:
Zathor
27th November 2017, 21:10
https://i.imgur.com/u2olNnH.png
[code]Preliminary log file only. During closing of MeGUI the well for
Oh, you are using the x64 version... the debug files will not work for that. Give me a few minutes and I will post another link...
Zathor
27th November 2017, 21:17
Please use: http://megui.org/megui_debug_x64.zip
numaios
27th November 2017, 21:25
Thanks, I have adjusted last year the "Swap --me umh for --trellis 2" part, but it seems I have missed the --b-adapt change :rolleyes:
Thank you! Should I post this issue in the Project page?
Zathor
27th November 2017, 21:28
Thank you! Should I post this issue in the Project page?
No, it is already fixed in 2788. But I wait for other changes before I upload it.
Btw you will have to reset your profile to defaults or it will stay with --b-adapt 2. So only new installations/profiles will have that changed value.
numaios
27th November 2017, 21:30
No, it is already fixed in 2788. But I wait for other changes before I upload it.
Btw you will have to reset your profile to defaults or it will stay with --b-adapt 2. So only new installations/profiles will have that changed value.
OK :-)
:thanks:
Zathor
27th November 2017, 23:01
2789 [Chapter] fixed non-ASCII handling (regression of 2753). bug #898
2788 [x264] adjusted --b-adapt default value for "--preset slow"
Morku
27th November 2017, 23:39
Please use: http://megui.org/megui_debug_x64.zip
Same error:
[Error] Log
-[Information] Versions
--[Information] MeGUI: 2788 x64
--[Information] MeGUI Debug Data: available
--[Information] System Information
---[Information] Operating System: Windows 10 Professional 1709 x64 (10.0.16299.64)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.7 (4.7.02556)
--[Information] Component Information
---[Information] Haali Media Splitter: 1.13.138.14 (14-04-2013)
---[Information] Haali DSS2: not installed
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
---[Information] MediaInfo: 17.10.0.0 (02-11-2017)
---[Information] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
---[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.2721.0
----[Information] Date: 29-04-2017
----[Information] Interface: 3
---[Information] AviSynth
----[Information] File Version: 0.1
----[Information] Date: 15-11-2017
----[Information] Name: AviSynth+ 0.1 (r2544, MT, x86_64)
----[Information] Version: AviSynth+ 0.1 (r2544, MT, x86_64)
----[Information] AviSynth+: true
----[Information] MT: true
----[Information] Status: active
---[Information] AviSynth portable
----[Information] File Version: 0.1
----[Information] Date: 15-11-2017
----[Information] Name: AviSynth+ 0.1 (r2544, MT, x86_64)
----[Information] Status: inactive
-[Information] Update detection
--[Information] [27.11.2017 23:38:24] Automatic update is disabled
--[Information] [27.11.2017 23:38:24] Using cached update config and server: http://megui.org/auto/
--[Information] [27.11.2017 23:38:24] No package requires an update
-[Information] HD Streams Extractor
--[Information] [27.11.2017 23:38:35] Input: D:\Temp\BluRay\GIRL_NEXT_DOOR_F2\BDMV\PLAYLIST\00800.mpls
--[Information] [27.11.2017 23:38:35] Arguments: "D:\Temp\BluRay\GIRL_NEXT_DOOR_F2\BDMV\PLAYLIST\00800.mpls"
--[Information] [27.11.2017 23:38:35] 1) 00800.mpls, 00800.m2ts, 1:49:29
--[Information] [27.11.2017 23:38:35] - Chapters, 28 chapters
--[Information] [27.11.2017 23:38:35] - h264/AVC, 1080p24 /1.001 (16:9)
--[Information] [27.11.2017 23:38:35] - DTS Master Audio, English, multi-channel, 48kHz
--[Information] [27.11.2017 23:38:35] - DTS, French, multi-channel, 48kHz
--[Information] [27.11.2017 23:38:35] - DTS, German, multi-channel, 48kHz
--[Information] [27.11.2017 23:38:36] - DTS, Italian, multi-channel, 48kHz
--[Information] [27.11.2017 23:38:36] - DTS, Spanish, multi-channel, 48kHz
--[Information] [27.11.2017 23:38:36] - AC3, Czech, stereo, 48kHz
--[Information] [27.11.2017 23:38:36] - AC3, Hungarian, multi-channel, 48kHz
--[Information] [27.11.2017 23:38:36] - AC3, Polish, stereo, 48kHz
--[Information] [27.11.2017 23:38:36] - AC3, Turkish, stereo, 48kHz
--[Information] [27.11.2017 23:38:36] - AC3, English, stereo, 48kHz
--[Information] [27.11.2017 23:38:36] Feature Retrieval Completed
--[Information] [27.11.2017 23:38:36] Arguments: "D:\Temp\BluRay\GIRL_NEXT_DOOR_F2\BDMV\PLAYLIST\00800.mpls" 1) -progressnumbers
--[Information] [27.11.2017 23:38:38] M2TS, 1 video track, 10 audio tracks, 24 subtitle tracks, 1:49:29, 24p /1.001
--[Information] [27.11.2017 23:38:38] 1: Chapters, 28 chapters
--[Information] [27.11.2017 23:38:38] 2: h264/AVC, 1080p24 /1.001 (16:9)
--[Information] [27.11.2017 23:38:38] 3: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
--[Information] [27.11.2017 23:38:38] (core: DTS, 5.1 channels, 1509kbps, 48kHz)
--[Information] [27.11.2017 23:38:38] 4: DTS, French, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 23:38:38] 5: DTS, German, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 23:38:38] 6: DTS, Italian, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 23:38:38] 7: DTS, Spanish, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 23:38:38] 8: AC3 Surround, Czech, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 23:38:38] 9: AC3, Hungarian, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 23:38:39] 10: AC3, Polish, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 23:38:39] 11: AC3 Surround, Turkish, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 23:38:39] 12: AC3, English, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 23:38:39] 13: Subtitle (PGS), English
--[Information] [27.11.2017 23:38:39] 14: Subtitle (PGS), French
--[Information] [27.11.2017 23:38:39] 15: Subtitle (PGS), Danish
--[Information] [27.11.2017 23:38:39] 16: Subtitle (PGS), Finnish
--[Information] [27.11.2017 23:38:39] 17: Subtitle (PGS), German
--[Information] [27.11.2017 23:38:39] 18: Subtitle (PGS), Italian
--[Information] [27.11.2017 23:38:39] 19: Subtitle (PGS), Dutch
--[Information] [27.11.2017 23:38:40] 20: Subtitle (PGS), Norwegian
--[Information] [27.11.2017 23:38:40] 21: Subtitle (PGS), Spanish
--[Information] [27.11.2017 23:38:40] 22: Subtitle (PGS), Swedish
--[Information] [27.11.2017 23:38:40] 23: Subtitle (PGS), Czech
--[Information] [27.11.2017 23:38:40] 24: Subtitle (PGS), Arabic
--[Information] [27.11.2017 23:38:40] 25: Subtitle (PGS), Modern Greek
--[Information] [27.11.2017 23:38:40] 26: Subtitle (PGS), Hungarian
--[Information] [27.11.2017 23:38:40] 27: Subtitle (PGS), Icelandic
--[Information] [27.11.2017 23:38:40] 28: Subtitle (PGS), Hebrew
--[Information] [27.11.2017 23:38:40] 29: Subtitle (PGS), Polish
--[Information] [27.11.2017 23:38:41] 30: Subtitle (PGS), Portuguese
--[Information] [27.11.2017 23:38:41] 31: Subtitle (PGS), Turkish
--[Information] [27.11.2017 23:38:41] 32: Subtitle (PGS), French
--[Information] [27.11.2017 23:38:41] 33: Subtitle (PGS), German
--[Information] [27.11.2017 23:38:41] 34: Subtitle (PGS), Italian
--[Information] [27.11.2017 23:38:41] 35: Subtitle (PGS), Dutch
--[Information] [27.11.2017 23:38:41] 36: Subtitle (PGS), Spanish
--[Information] [27.11.2017 23:38:41] Stream Retrieval Completed
--[Information] [27.11.2017 23:38:45] Input: D:\Temp\BluRay\GIRL_NEXT_DOOR_F2\BDMV\PLAYLIST\00800.mpls
--[Information] [27.11.2017 23:38:45] Arguments: "D:\Temp\BluRay\GIRL_NEXT_DOOR_F2\BDMV\PLAYLIST\00800.mpls"
--[Information] [27.11.2017 23:38:45] 1) 00800.mpls, 00800.m2ts, 1:49:29
--[Information] [27.11.2017 23:38:45] - Chapters, 28 chapters
--[Information] [27.11.2017 23:38:45] - h264/AVC, 1080p24 /1.001 (16:9)
--[Information] [27.11.2017 23:38:45] - DTS Master Audio, English, multi-channel, 48kHz
--[Information] [27.11.2017 23:38:45] - DTS, French, multi-channel, 48kHz
--[Information] [27.11.2017 23:38:45] - DTS, German, multi-channel, 48kHz
--[Information] [27.11.2017 23:38:45] - DTS, Italian, multi-channel, 48kHz
--[Information] [27.11.2017 23:38:45] - DTS, Spanish, multi-channel, 48kHz
--[Information] [27.11.2017 23:38:46] - AC3, Czech, stereo, 48kHz
--[Information] [27.11.2017 23:38:46] - AC3, Hungarian, multi-channel, 48kHz
--[Information] [27.11.2017 23:38:46] - AC3, Polish, stereo, 48kHz
--[Information] [27.11.2017 23:38:46] - AC3, Turkish, stereo, 48kHz
--[Information] [27.11.2017 23:38:46] - AC3, English, stereo, 48kHz
--[Information] [27.11.2017 23:38:46] Feature Retrieval Completed
--[Information] [27.11.2017 23:38:46] Arguments: "D:\Temp\BluRay\GIRL_NEXT_DOOR_F2\BDMV\PLAYLIST\00800.mpls" 1) -progressnumbers
--[Information] [27.11.2017 23:38:47] M2TS, 1 video track, 10 audio tracks, 24 subtitle tracks, 1:49:29, 24p /1.001
--[Information] [27.11.2017 23:38:47] 1: Chapters, 28 chapters
--[Information] [27.11.2017 23:38:47] 2: h264/AVC, 1080p24 /1.001 (16:9)
--[Information] [27.11.2017 23:38:48] 3: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
--[Information] [27.11.2017 23:38:48] (core: DTS, 5.1 channels, 1509kbps, 48kHz)
--[Information] [27.11.2017 23:38:48] 4: DTS, French, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 23:38:48] 5: DTS, German, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 23:38:48] 6: DTS, Italian, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 23:38:48] 7: DTS, Spanish, 5.1 channels, 768kbps, 48kHz
--[Information] [27.11.2017 23:38:48] 8: AC3 Surround, Czech, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 23:38:48] 9: AC3, Hungarian, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 23:38:48] 10: AC3, Polish, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 23:38:48] 11: AC3 Surround, Turkish, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 23:38:49] 12: AC3, English, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB
--[Information] [27.11.2017 23:38:49] 13: Subtitle (PGS), English
--[Information] [27.11.2017 23:38:49] 14: Subtitle (PGS), French
--[Information] [27.11.2017 23:38:49] 15: Subtitle (PGS), Danish
--[Information] [27.11.2017 23:38:49] 16: Subtitle (PGS), Finnish
--[Information] [27.11.2017 23:38:49] 17: Subtitle (PGS), German
--[Information] [27.11.2017 23:38:49] 18: Subtitle (PGS), Italian
--[Information] [27.11.2017 23:38:49] 19: Subtitle (PGS), Dutch
--[Information] [27.11.2017 23:38:49] 20: Subtitle (PGS), Norwegian
--[Information] [27.11.2017 23:38:49] 21: Subtitle (PGS), Spanish
--[Information] [27.11.2017 23:38:50] 22: Subtitle (PGS), Swedish
--[Information] [27.11.2017 23:38:50] 23: Subtitle (PGS), Czech
--[Information] [27.11.2017 23:38:50] 24: Subtitle (PGS), Arabic
--[Information] [27.11.2017 23:38:50] 25: Subtitle (PGS), Modern Greek
--[Information] [27.11.2017 23:38:50] 26: Subtitle (PGS), Hungarian
--[Information] [27.11.2017 23:38:50] 27: Subtitle (PGS), Icelandic
--[Information] [27.11.2017 23:38:50] 28: Subtitle (PGS), Hebrew
--[Information] [27.11.2017 23:38:50] 29: Subtitle (PGS), Polish
--[Information] [27.11.2017 23:38:50] 30: Subtitle (PGS), Portuguese
--[Information] [27.11.2017 23:38:50] 31: Subtitle (PGS), Turkish
--[Information] [27.11.2017 23:38:51] 32: Subtitle (PGS), French
--[Information] [27.11.2017 23:38:51] 33: Subtitle (PGS), German
--[Information] [27.11.2017 23:38:51] 34: Subtitle (PGS), Italian
--[Information] [27.11.2017 23:38:51] 35: Subtitle (PGS), Dutch
--[Information] [27.11.2017 23:38:51] 36: Subtitle (PGS), Spanish
--[Information] [27.11.2017 23:38:51] Stream Retrieval Completed
-[Information] FileIndexer
--[Information] [27.11.2017 23:38:51] SourcePath:
-[Error] Unhandled error
--[Information] [27.11.2017 23:38:51] Exception message
---[NoImage] Der Wert darf nicht NULL sein.
---[NoImage] Parametername: path1
--[Information] [27.11.2017 23:38:51] Stacktrace
---[NoImage] bei System.IO.Path.Combine(String path1, String path2)
---[NoImage] bei MeGUI.FileIndexerWindow.GetDVDorBluraySource(String fileName, MediaInfoFile& iFileTemp) in D:\MeGUI\MeGUI_patch\packages\tools\fileindexer\FileIndexerWindow.cs:Zeile 384.
---[NoImage] bei MeGUI.FileIndexerWindow.openVideo(String fileName) in D:\MeGUI\MeGUI_patch\packages\tools\fileindexer\FileIndexerWindow.cs:Zeile 273.
---[NoImage] bei MeGUI.FileIndexerWindow.setConfig(String input, String projectName, Int32 demuxType, Boolean showCloseOnQueue, Boolean closeOnQueue, Boolean loadOnComplete, Boolean updateMode) in D:\MeGUI\MeGUI_patch\packages\tools\fileindexer\FileIndexerWindow.cs:Zeile 59.
---[NoImage] bei MeGUI.AviSynthWindow.openVideoSource(String videoInput, String indexFileTemp) in D:\MeGUI\MeGUI_patch\packages\tools\avscreator\AviSynthWindow.cs:Zeile 439.
---[NoImage] bei MeGUI.AviSynthWindow.input_FileSelected(FileBar sender, FileBarEventArgs args) in D:\MeGUI\MeGUI_patch\packages\tools\avscreator\AviSynthWindow.cs:Zeile 188.
---[NoImage] bei MeGUI.FileBar.triggerEvent() in D:\MeGUI\MeGUI_patch\core\gui\FileBar.cs:Zeile 161.
---[NoImage] bei MeGUI.FileBar.openButton_Click(Object sender, EventArgs e) in D:\MeGUI\MeGUI_patch\core\gui\FileBar.cs:Zeile 141.
---[NoImage] bei System.Windows.Forms.Control.OnClick(EventArgs e)
---[NoImage] bei System.Windows.Forms.Button.OnClick(EventArgs e)
---[NoImage] bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
---[NoImage] bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
---[NoImage] bei System.Windows.Forms.Control.WndProc(Message& m)
---[NoImage] bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
---[NoImage] bei System.Windows.Forms.Button.WndProc(Message& m)
---[NoImage] bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[Information] [27.11.2017 23:38:51] Inner exception: null
Zathor
28th November 2017, 00:00
Thanks, that is strange. Could you please epxlain what you are doing? E.g. where is the mpls file located which you select (or do you have selected something else?)? Is this a proper Blu-ray strcuture? Do you get the popup asking you which playlist to choose? ...
Morku
28th November 2017, 00:32
Hm... I start MeGUI, go to Tools, AVS Script Creator, Video input and select the mpls. After few seconds it asks for decoder, I select File Indexer. Than the fatal error occur.
Normally I was able to pick between LSMASH, DGIndexNV etc. and add to Queue.
Yes, it's a proper Blu-ray which I check with BDInfo before I start. In this case, the mpls refers to ..\GIRL_NEXT_DOOR_F2\BDMV\STREAM\00800.M2TS and it is currently located under D:\Temp\BluRay\
EDIT:
I have tested little more and found a workaround:
Instead of picking the mpls file, I chosed the 00800.m2ts file under BDMV\STREAM -> File Indexer -> now I get asked to chose a playlist (thats a new behavior), I chose 00800.mpls -> OK -> the Input file changes to BDMV\PLAYLIST\00800.mpls -> I chose DGIndexNV for Queue.
To start the task also works.
But I wonder if it is a wanted behavior? There are mpls which refer to multiple m2ts files. But maybe I want pick out only one m2ts file and not a whole playlist. How I do now? In my opinion, to chose a playlist makes sense when I chose a mpls file (which currently doesn't work for me).
numaios
28th November 2017, 00:54
2789 [Chapter] fixed non-ASCII handling (regression of 2753). bug #898
2788 [x264] adjusted --b-adapt default value for "--preset slow"
:thanks::thanks::thanks::thanks::thanks::thanks::thanks:
Zathor
28th November 2017, 21:44
Hm... I start MeGUI, go to Tools, AVS Script Creator, Video input and select the mpls. After few seconds it asks for decoder, I select File Indexer. Than the fatal error occur.
Thanks, issue found. A fix however may not be available before the weekend.
But I wonder if it is a wanted behavior? There are mpls which refer to multiple m2ts files. But maybe I want pick out only one m2ts file and not a whole playlist. How I do now? In my opinion, to chose a playlist makes sense when I chose a mpls file (which currently doesn't work for me).
Intended was that if you abort the playlist selection window that then the originally selected file will be used (e.g. the m2ts file). This does not work as intended currently and will be included in the fix.
LeMoi
28th November 2017, 23:51
I just updated (automatically) with latest 2789 development server built, and I'm not comfortable with latest changes (especially the disparition of the DSSource, and the more annoying new File Indexer tool, which uses mpls file instead of just the m2ts file, which doubles the indexing time). How could I go back to the latest version that has the old File Indexer? Is this the 2774 I found in some other sites, or is there another one between the two builds?
Thanks in advance!
EDIT: I found some files in the update_cache folder, I'll try to fix it manually!
Zathor
29th November 2017, 07:45
It will be fixed/changed at the weekend. Dss can be enabled in the settings if really needed.
LeMoi
29th November 2017, 11:43
Thanks!
When I load an m2ts file from a blu-ray STREAM Folder, is there way to choose to index only the m2ts file, without looking for mpls file and creating a big MKV File ? Or is this the new way to do it?
LigH
29th November 2017, 14:13
BTW, the warning for FFMS2 that it strongly prefers MKV as input format is not so serious anymore since FFMS2 got rid of dependencies to Haali and uses now libavformat like L-SMASH Works.
hajj_3
30th November 2017, 09:37
x265 v2.6 is out now if you didn't already know.
numaios
30th November 2017, 19:01
Hello.
In One Click Encoder, after you select a file as input, if you are editing the name field of an audio track (before hitting "Queue"), and you misspell something and press backspace key to edit, that audio track is removed.
I've found this strange behaviour both in Windows 7 and Windows 10 machines.
Thank you.
Zathor
30th November 2017, 21:46
x265 v2.6 is out now if you didn't already know.
Thanks, updated.
In One Click Encoder, after you select a file as input, if you are editing the name field of an audio track (before hitting "Queue"), and you misspell something and press backspace key to edit, that audio track is removed.
Thanks, changed.
When I load an m2ts file from a blu-ray STREAM Folder, is there way to choose to index only the m2ts file, without looking for mpls file and creating a big MKV File ? Or is this the new way to do it?
Update to 2791 and click on "cancel".
2791 [OneClick] added video track name. feature request #537
removed the possibility to delete tracks with DEL/BACKSPACE
2790 [File Indexer] fixed MPLS handling (regression of 2787)
Morku
30th November 2017, 23:41
Thanks a lot :)
LouieChuckyMerry
1st December 2017, 02:53
thanks a lot :)
+1 :)
numaios
1st December 2017, 19:21
2791 [OneClick] added video track name. feature request #537
removed the possibility to delete tracks with DEL/BACKSPACE
2790 [File Indexer] fixed MPLS handling (regression of 2787)
:thanks:
LeMoi
1st December 2017, 22:48
Update to 2791 and click on "cancel".
Perfect, thanks :)
Zathor
2nd December 2017, 16:12
2796 [Chapter] added UHD Blu-ray support
2795 [MessageBoxEx] cosmetics
2794 [MessageBoxEx] remove external dependency to MessageBoxExLib.dll
2793 [AVS Script Creator] added information about DirectShowSource/AVISource when opening a file
2792 [File Indexer] removed the container warning when using the FFMS indexer
nandoom
2nd December 2017, 19:13
Hi Zathor,
As always been, I greatly appreciate your effort in releasing the update to the wonderful MeGUI. If I may, I would like request these two things.
Will it possible to provide a pop-up in the "update" showing the release notes like you do on here and the release notes links of the pkgs being updated ?
Although there are guide online ( many of them seems out-dated though ), would it be possible for you or anyone who are experts in the encoding area on here prepare some encoding guides for various entities/options MeGUI provides?
Thanks a lot
Melan
2nd December 2017, 22:06
Is it possible to remove this warning from logs?
https://i.imgur.com/3q6Fa8R.jpg
Zathor
3rd December 2017, 11:48
I have added qaa support in 2797.
Zathor
3rd December 2017, 12:34
2798 [OneClick] fixed MPLS handling (regression of 2790)
2797 [Language] added "reserved for local use"/qaa language support
Zathor
3rd December 2017, 12:35
Will it possible to provide a pop-up in the "update" showing the release notes like you do on here and the release notes links of the pkgs being updated ?
You can always open the changelog yourself - there is the option in MeGUI: Help\Changelog
Although there are guide online ( many of them seems out-dated though ), would it be possible for you or anyone who are experts in the encoding area on here prepare some encoding guides for various entities/options MeGUI provides?
Sadly not by myself as I do not have the time to do that.
tebasuna51
3rd December 2017, 13:05
@Melan
I can reproduce your log with a capture from a spanish TV, using MeGUI 2791:
command line: eac3to "D:\Video\Captura\Telecinco HD\data0001.ts"
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 0:01:04, 50i
1: h264/AVC, 1080i50 (16:9)
2: MP2, Spanish, 2.0 channels, 192kbps, 48kHz, -2690ms
3: MP2, qaa, 2.0 channels, 192kbps, 48kHz, -2610ms
The unique WARNING (but many times repeated) is:
--[Warning] [03/12/2017 12:14:52] The language information "qaa/qaa" is unknown. The default MeGUI language has been selected instead.
You can ignore the WARNINGS (both audios are extracted ok), is only the "qaa" not recognized like a language code.
Sometimes the "qaa" track is the original language, sometimes is the same "Spanish" dup.
Updating MeGUI to 2798 the "qaa" WARNING's disapear.
BTW other spanish TV's put "v.o" in that second track (Original Version) without identify the language.
eac3to "D:\Video\Captura\laSexta3\data0001.ts"
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 1 subtitle track, 0:03:05, 50i
1: MPEG2, 576i50 (16:9)
2: MP2, Spanish, 2.0 channels, 128kbps, 48kHz, -964ms
3: MP2, v.o, 1.0 channels, 96kbps, 48kHz, -1013ms
And I get multiple:
----[Warning] [03/12/2017 12:48:59] The language information "v.o/v.o" is unknown. The default MeGUI language has been selected instead.
We can't expect than MeGUI support anything than TV's want add to identify the languages used.
tebasuna51
3rd December 2017, 13:41
Although there are guide online ( many of them seems out-dated though ), would it be possible for you or anyone who are experts in the encoding area on here prepare some encoding guides for various entities/options MeGUI provides?
You are right the guides become updated quickly, and is a big effort try to maintain a MeGUI guide with so many options.
Lets Zathor with our job, ask here for bugs or feature request, or in MeGUI: General Questions and Troubleshooting Thread (https://forum.doom9.org/showthread.php?t=105920), with specific data (source files and desired output) and some experienced user can help you.
Zathor
3rd December 2017, 13:47
BTW other spanish TV's put "v.o" in that second track (Original Version) without identify the language
qaa is a valid ISO language code, while v.o is none. I wil therefore not add that.
http://www.loc.gov/standards/iso639-2/php/code_list.php
tebasuna51
3rd December 2017, 13:58
qaa is a valid ISO language code, while v.o is none. I wil therefore not add that.
Of course, and is correct than MeGUI send a WARNING, the user must know than the language is not identified, even with "qaa" than MeGUI identify like "spanish" (my default language) when it is not always true.
xara
4th December 2017, 14:04
Hi,
I have been using this script for ages, but since the last megui update to 2774 (03/dec/2017) it doesn't work anymore.
DirectShowSource("D:\lixo2\arqueologia.engenheiros.edit.tem.anuncio.M2TS", fps=59.940, audio=false, convertfps=true).AssumeFPS(60000,1001)
#LoadPlugin("E:\Program Files (x86)\MeGUI\tools\avs\plugins\VDubFilter.dll")
LoadVirtualDubPlugin("E:\Program Files\VirtualDub 1.9.7\plugins\delogo.vdf","delogo")
#LoadPlugin("E:\Program Files\VirtualDub 1.9.7\plugins\RemoveGrain.dll")
#LoadPlugin("E:\Program Files\VirtualDub 1.9.7\plugins\Repair.dll")
#LoadPlugin("E:\Program Files (x86)\MeGUI\tools\avisynth_plugin\mt_masktools-25.dll")
ConvertToRGB()
delogo(1, "21800-22350,24450-25264,88700-89270", "", "", "", "E:\captura\mascaras\curta-esquerda-720-2.bmp", 15, 40, 0, 0)
#delogo(1, "24450-25264,88700-89270", "", "", "", "E:\captura\mascaras\curta-esquerda-720-2.bmp", 15, 40, 0, 0)
ConvertToYV12()
I can open the Video Preview (MeGui) and see the filter working where it shoud, but when encoding a receive this error:
[Error] Log
-[Error] Versions
--[Information] MeGUI: 2774 x86
--[Information] System Information
---[Information] Operating System: Windows 10 Professional 1703 x64 (10.0.15063.726)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.7 (4.7.02046)
--[Information] Component Information
---[Information] Haali Media Splitter: 1.11.233.7 (15-07-2011)
---[Information] Haali DSS2: (15-07-2011)
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
---[Information] MediaInfo: 17.10.0.0 (02-11-2017)
---[Information] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
---[Information] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
---[Information] 7z: 9.20 (18-11-2010)
--[Error] AviSynth Information
---[Information] AviSynth Wrapper
----[Information] Version: 1.0.2721.0
----[Information] Date: 29-04-2017
----[Information] Interface: 3
---[Warning] AviSynth
----[Information] File Version: 2.5.8.5
----[Information] Date: 21-12-2008
----[Information] Name: Avisynth 2.5
----[Information] Version: AviSynth 2.58, build:Dec 22 2008 [08:46:51]
----[Information] AviSynth+: false
----[Information] MT: false
----[Warning] Status: Installed AviSynth build is out of date. Switching to the portable build.
---[Error] AviSynth portable
----[Information] File Version: 0.1
----[Information] Date: 29-06-2017
----[Information] Name: AviSynth+ 0.1 (r2508, MT, i386)
----[Information] Version: AviSynth 2.58, build:Dec 22 2008 [08:46:51]
----[Information] AviSynth+: false
----[Information] MT: false
----[Error] Status: Installed AviSynth build is out of date.
----[Information] Status: inactive
---[Error] AviSynth: not found
-[Information] Update detection
--[Information] [04/12/2017 10:49:26] Using cached update config and server: http://megui.tmebi.de/stable/
--[Information] [04/12/2017 10:49:26] No package requires an update
-[Error] Log for job3 (video, arqueologia.engenheiros.edit.tem.anuncio.avs -> )
--[Information] [04/12/2017 10:58:18] Started handling job
--[Information] [04/12/2017 10:58:18] Preprocessing
--[Information] [04/12/2017 10:58:18] AviSynth input script
---[NoImage] DirectShowSource("D:\lixo2\arqueologia.engenheiros.edit.tem.anuncio.M2TS", fps=59.940, audio=false, convertfps=true).AssumeFPS(60000,1001)
---[NoImage] #LoadPlugin("E:\Program Files (x86)\MeGUI\tools\avs\plugins\VDubFilter.dll")
---[NoImage] LoadVirtualDubPlugin("E:\Program Files\VirtualDub 1.9.7\plugins\delogo.vdf","delogo")
---[NoImage] #LoadPlugin("E:\Program Files\VirtualDub 1.9.7\plugins\RemoveGrain.dll")
---[NoImage] #LoadPlugin("E:\Program Files\VirtualDub 1.9.7\plugins\Repair.dll")
---[NoImage] #LoadPlugin("E:\Program Files (x86)\MeGUI\tools\avisynth_plugin\mt_masktools-25.dll")
---[NoImage] ConvertToRGB()
---[NoImage] delogo(1, "21800-22350,24450-25264,88700-89270", "", "", "", "E:\captura\mascaras\curta-esquerda-720-2.bmp", 15, 40, 0, 0)
---[NoImage] #delogo(1, "24450-25264,88700-89270", "", "", "", "E:\captura\mascaras\curta-esquerda-720-2.bmp", 15, 40, 0, 0)
---[NoImage] ConvertToYV12()
--[Information] [04/12/2017 10:58:19] resolution: 1280x720
--[Information] [04/12/2017 10:58:19] frame rate: 60000/1001
--[Information] [04/12/2017 10:58:19] frames: 169945
--[Information] [04/12/2017 10:58:19] aspect ratio: 16:9 (1.778)
--[Information] [04/12/2017 10:58:19] Job command line: "E:\Program Files (x86)\MeGUI\tools\x264\avs4x26x.exe" --x26x-binary "E:\Program Files (x86)\MeGUI\tools\x264\x264.exe" --tune film --pass 1 --bitrate 5999 --stats "E:\captura1\arqueologia.engenheiros.edit.tem.anuncio.stats" --keyint 599 --sar 1:1 --output NUL "D:\lixo2\arqueologia.engenheiros.edit.tem.anuncio.avs"
--[Information] [04/12/2017 10:58:19] Process started
--[Information] [04/12/2017 10:58:19] Standard output stream
--[Error] [04/12/2017 10:58:19] Standard error stream
---[Error] [04/12/2017 10:58:19] avs [error]: Script error: There is no function named 'LoadVirtualDubPlugin'.
---[Information] [04/12/2017 10:58:21] (D:\lixo2\arqueologia.engenheiros.edit.tem.anuncio.avs, line 3)
--[Error] [04/12/2017 10:58:21] Process exits with error: 0xFFFFFFFF (-1)
--[Information] [04/12/2017 10:58:23] Job completed
Any tip will be appreciate!
hajj_3
4th December 2017, 16:12
qaa is a valid ISO language code, while v.o is none. I wil therefore not add that.
http://www.loc.gov/standards/iso639-2/php/code_list.php
"v.o" could possibly mean voice-over.
LigH
4th December 2017, 18:56
@xara:
Both your system-installed AviSynth (2.58) and the portable AviSynth+ (r2508 MT) in MeGUI are considered "out of date"; something is strange with the update state of your MeGUI version.
Zathor
4th December 2017, 18:58
---[NoImage] #LoadPlugin("E:\Program Files (x86)\MeGUI\tools\avs\plugins\VDubFilter.dll")
---[NoImage] LoadVirtualDubPlugin("E:\Program Files\VirtualDub 1.9.7\plugins\delogo.vdf","delogo")
Remove the # in front of the LoadPLugin call for VDubFilter.dll and it may work. In AviSynth+ the LoadVirtualDubPlugin call is an external filter.
Zathor
4th December 2017, 19:00
@xara:
Both your system-installed AviSynth (2.58) and the portable AviSynth+ (r2508 MT) in MeGUI are considered "out of date"; something is strange with the update state of your MeGUI version.
And that is also a good catch.
StainlessS
4th December 2017, 19:42
Me gots r2508 MT too, for MeGUI 2774 Stable, 'no update available', just tested works fine (although I've got v2.6 standard installed).
I usually use the Development ver$.
https://s20.postimg.org/ftlnxf8q5/Megui.jpg (https://postimages.org/)
No problem here, just saying same version installed.
xara
4th December 2017, 20:24
Remove the # in front of the LoadPLugin call for VDubFilter.dll and it may work. In AviSynth+ the LoadVirtualDubPlugin call is an external filter.
Didn't say this but I already tried that, even I never needed this call before the update. When enable, I get this error:
[Error] MediaInfo
-[Error] [04/12/2017 16:58:04] Error parsing media file D:\lixo2\arqueologia.engenheiros.edit.tem.anuncio.avs
--[NoImage] Plugin E:\Program Files (x86)\MeGUI\tools\avs\plugins\VDubFilter.dll is not an AviSynth 2.5 plugin.
--[NoImage] (D:\lixo2\arqueologia.engenheiros.edit.tem.anuncio.avs, line 2)
@xara:
Both your system-installed AviSynth (2.58) and the portable AviSynth+ (r2508 MT) in MeGUI are considered "out of date"; something is strange with the update state of your MeGUI version.
I think that is the question. I uninstall and reinstall AviSynth 2.58, restart the machine, didn't help.
Next step will be a MeGUI reinstall from scratch. I'm picking up several filters in MeGUI/tools/avisynth_plugin directory, painfully collected over the years. Don't want to lose them.
xara
4th December 2017, 21:12
Well... I put a new MeGUI instance in another disk and loaded the script... is encoding right now without error messages.
DirectShowSource("D:\lixo2\arqueologia.engenheiros.edit.tem.anuncio.M2TS", fps=59.940, audio=false, convertfps=true).AssumeFPS(60000,1001)
#LoadPlugin("E:\Program Files (x86)\MeGUI\tools\avs\plugins\VDubFilter.dll")
LoadVirtualDubPlugin("E:\Program Files\VirtualDub 1.9.7\plugins\delogo.vdf","delogo")
#LoadPlugin("E:\Program Files\VirtualDub 1.9.7\plugins\RemoveGrain.dll")
#LoadPlugin("E:\Program Files\VirtualDub 1.9.7\plugins\Repair.dll")
#LoadPlugin("E:\Program Files (x86)\MeGUI\tools\avisynth_plugin\mt_masktools-25.dll")
ConvertToRGB()
delogo(1, "21800-22350", "", "", "", "E:\captura\mascaras\curta-esquerda-720-1.bmp", 15, 40, 0, 0)
delogo(1, "24450-25264,88700-89270", "", "", "", "E:\captura\mascaras\curta-esquerda-720-2.bmp", 15, 40, 0, 0)
ConvertToYV12()
StainlessS
4th December 2017, 21:13
Plugin E:\Program Files (x86)\MeGUI\tools\avs\plugins\VDubFilter.dll is not an AviSynth 2.5 plugin.
You need install v2.6 or v2.6+.
EDIT: Presume that new version installed v2.6/+
StainlessS
4th December 2017, 21:35
#LoadPlugin("E:\Program Files\VirtualDub 1.9.7\plugins\RemoveGrain.dll")
#LoadPlugin("E:\Program Files\VirtualDub 1.9.7\plugins\Repair.dll")
Why do you have Avisynth plugs in Vdub plugins folder ? (VD plugs have vdf extension).
xara
4th December 2017, 21:45
Why do you have Avisynth plugs in Vdub plugins folder ? (VD plugs have vdf extension).
Oh man... its a long history.
Those quoted are from 10 years ago when I still were working with VirtualDub and VirtualDubMod.
Zathor
10th December 2017, 13:21
2800 [L-SMASH Indexer] improved detection of LSMASH/LWLibav (regression of 2767). bug #899
2799 [OneClick] fixed PCM handling. bug #900
Zetti
13th December 2017, 16:29
FFmpeg v3.4.1 is released.
Morku
14th December 2017, 17:52
LAME also have a new releasedate (two days ago).
Maybe your Antivirus is fine now with that version? http://www.rarewares.org/mp3-lame-bundle.php
Zathor
17th December 2017, 14:33
FFmpeg v3.4.1 is released.
LAME also have a new releasedate (two days ago).
Maybe your Antivirus is fine now with that version? http://www.rarewares.org/mp3-lame-bundle.php
Thanks, updated (no issues with AV anymore).
Carlo75
17th December 2017, 16:25
After I have buy some new equipment for playback, I started to encode in x265 some days ago. I record animated series for my kids almost every day and encode them to archive.
I noticed that in x265 tuning the settings are missing, that are in x265 included (see attached pictures). For me the setting "Animation" are important.
So the question is, do you will insert these settings in the x265 tuning? I would be very grateful to you for that.
Greets
Carlo
tebasuna51
17th December 2017, 16:39
x265 don't have the same tunning than x264, like your image show only are allowed:
-t/--tune <string> Tune the settings for a particular type of source or situation:
psnr, ssim, grain, zerolatency, fastdecode
olmicx
18th December 2017, 02:33
Hi
I have PAL 25.000 FPS Interlaced source. I selected Megui-Source Type: Interlaced, Deinterlace:Yadif. And added this code.
LoadPlugin("C:\Users\Administrator\Desktop\MeGUI.2767\tools\avisynth_plugin\yadifmod2.dll")
Yadifmod2(order=-1)
Yadifmod2 05.07.2016 version. Do you have a better Deinterlace filter or code for x264? I using AviSynth_260.
Video quality is important for me
Thanks
LigH
18th December 2017, 08:37
Yadif is not the worst, are you not satisfied in a specific case? TDeint is not bad either, possibly a bit more elaborate. The top quality deinterlacer today is probably QTGMC, but it's not so easy to maintain all used plugins, and it's not provided via AVS Script Creator in MeGUI, you may have to write such an AviSynth script manually and open it as source.
But do not rely only on MediaInfo reporting an encoding mode flag. Some media is encoded in interlaced mode for different reasons, despite the video content being progressive. Or it may be a result of norm conversions with blending. In both cases, applying a deinterlacer would not be the optimal strategy (either superfluous, or not effective).
Gser
18th December 2017, 16:06
it's not provided via AVS Script Creator in MeGUI, you may have to write such an AviSynth script manually and open it as source.
You can write whatever script you want in the AVS Script Creator in the Script tab. IMO all the rest of that autoencode one click nonsense could be removed.
LigH
18th December 2017, 16:15
Of course, you can type there whatever you know, and even save a new AviSynth template for re-use.
I just mean that QTGMC is not available in the drop list selection of deinterlacers, code wise. You can't use QTGMC in MeGUI only by clicking with the mouse (yet?).
LouieChuckyMerry
18th December 2017, 18:26
Hi
I have PAL 25.000 FPS Interlaced source. I selected Megui-Source Type: Interlaced, Deinterlace:Yadif. And added this code.
LoadPlugin("C:\Users\Administrator\Desktop\MeGUI.2767\tools\avisynth_plugin\yadifmod2.dll")
Yadifmod2(order=-1)
Yadifmod2 05.07.2016 version. Do you have a better Deinterlace filter or code for x264? I using AviSynth_260.
Video quality is important for me
Thanks
For a PAL source I've always been pleased with the results using TIVTC (http://avisynth.nl/index.php/TIVTC)'s default settings for TFM (http://avisynth.nl/index.php/TIVTC/TFM). It's quite simple:
LoadPlugin("WhateverPath\TIVTC.dll")
TFM()
Drag your source onto MeGUI and index it. When the "Avisynth script creator" window opens click on the "Filters" tab, then under "Deinterlacing" click on "Analyse" (be sure to tick the box if the source is Anime), then select TIVTC from the drop-down menu.
After this apply any cropping, noise reduction, etc. in the following order (to the best of my knowledge):
<deinterlace>
<crop>
<denoise>
<resize>
<sharpen>
<deband>
<dither>
Barough
18th December 2017, 18:49
MKVToolNix v19.0.0 is released
https://mkvtoolnix.download/doc/NEWS.md
https://mkvtoolnix.download/windows/releases/19.0.0/
LeMoi
18th December 2017, 18:59
It looks like there's a regression in latest build, when opening an m2ts file, I cannot choose a single m2ts anymore, the File Indexer automatically loads an mpls without even letting me choose, I cannot cancel and keep opening the m2ts file alone like I did in the previous builds
LouieChuckyMerry
18th December 2017, 19:04
You can write whatever script you want in the AVS Script Creator in the Script tab. IMO all the rest of that autoencode one click nonsense could be removed.
I'm with you; I never could figure out the One Click Encoder ;) . I've found having a couple dozen templates covering various types of video much simpler; choose the template for, for example, "DVD[NTSC(Hybrid=1)]", then open the script with Notepad++ (with the user defined language (http://docs.notepad-plus-plus.org/index.php/User_Defined_Language_Files) "AVISynth") and adjust any necessary cropping-resizing-denoising settings. Batch the videos, batch the audios, then batch them together with MKVToolNix (https://mkvtoolnix.download/).
Zathor
18th December 2017, 19:30
You can write whatever script you want in the AVS Script Creator in the Script tab. IMO all the rest of that autoencode one click nonsense could be removed.
Different users, different use cases. I myself use mainly OneClick as for me(!) it is the best way to process my files.
But in general good point, maybe it is worth to think about to remove AutoEncode in favor of OneClick.
It looks like there's a regression in latest build, when opening an m2ts file, I cannot choose a single m2ts anymore, the File Indexer automatically loads an mpls without even letting me choose, I cannot cancel and keep opening the m2ts file alone like I did in the previous builds
It does work for me (using 2800). I select a M2TS file, playlist opens and I click on cancel - m2ts only selected.
MKVToolNix v19.0.0 is released
https://mkvtoolnix.download/doc/NEWS.md
https://mkvtoolnix.download/windows/releases/19.0.0/
Thanks, downloading it right now.
LigH
18th December 2017, 20:13
For a PAL source I've always been pleased with the results using TIVTC (http://avisynth.nl/index.php/TIVTC)'s default settings for TFM (http://avisynth.nl/index.php/TIVTC/TFM).
That surprises me a lot. What does TFM do on its own, beyond helping TIVTC finding the Telecine pattern? And PAL does not have a 3:2 Telecine at all, that's only valid for the NTSC/Film relation.
Would it also help reverting a 25:24 pulldown of a choppy half-second norm conversion? And does it have any meaning for a real PAL interlaced TV recording?
_
P.S.:
... then open the script with Notepad++ (with the user defined language (http://docs.notepad-plus-plus.org/index.php/User_Defined_Language_Files) "AVISynth") ...
VDubFilterMod has an integrated script editor too. Unfortunately the syntax highlighting appears to be rather basic, not analyzing the available function set of the AviSynth installation. Might be a valid Feature Request to make the highlighting more customizable?! :rolleyes:
LeMoi
18th December 2017, 22:44
It does work for me (using 2800). I select a M2TS file, playlist opens and I click on cancel - m2ts only selected.
I have 2800 DEVELOPMENT UPDATE SERVER.
I have a folder with full Blu-Ray Structure.
I launch the File indexer and choose the main m2ts file.
http://nsa39.casimages.com/img/2017/12/18//171218104257292214.jpg
Then I have this screen
http://nsa39.casimages.com/img/2017/12/18//171218104256683729.jpg
I can only wait, there's no choosing mpls file window, I can't do anything but wait, then the screen turns into this:
http://nsa39.casimages.com/img/2017/12/18//171218104256793090.jpg
Without clicking on anything, it automatically opened the 00100 mpls file...
Did I do something wrong?
LouieChuckyMerry
19th December 2017, 00:25
That surprises me a lot. What does TFM do on its own, beyond helping TIVTC finding the Telecine pattern? And PAL does not have a 3:2 Telecine at all, that's only valid for the NTSC/Film relation.
Would it also help reverting a 25:24 pulldown of a choppy half-second norm conversion? And does it have any meaning for a real PAL interlaced TV recording?
I live in NTSCland, so I've only ever encountered a couple PAL sources, always DVD's. These rare instances I've followed the TIVTC (http://avisynth.nl/index.php/TIVTC) recommendations:
PAL Cases:
1.) PAL, no decimation (just field matching)
mpeg2source("c:\oursource.d2v")
tfm(d2v="c:\oursource.d2v")
and the results have been fine. However, it seems perhaps these are simply instances where my ignorance has gone unpunished :D .
VDubFilterMod has an integrated script editor too. Unfortunately the syntax highlighting appears to be rather basic, not analyzing the available function set of the AviSynth installation. Might be a valid Feature Request to make the highlighting more customizable?! :rolleyes:
I find Notepad++ with the AVISynth user defined language (http://docs.notepad-plus-plus.org/index.php/User_Defined_Language_Files) very useful. Maybe you could borrow the syntax highlighting from it for VDubFilterMod?
LigH
19th December 2017, 00:52
Instead, I would prefer the AVSMeter method: Request a list of available functions from the used AviSynth.dll; but I am not one of its programmers.
LouieChuckyMerry
19th December 2017, 17:15
Instead, I would prefer the AVSMeter method: Request a list of available functions from the used AviSynth.dll; but I am not one of its programmers.
You could always try to convince Groucho2004 to join the VDubFilterMod team ;) .
Gser
19th December 2017, 17:22
That surprises me a lot. What does TFM do on its own, beyond helping TIVTC finding the Telecine pattern? And PAL does not have a 3:2 Telecine at all, that's only valid for the NTSC/Film relation.
Would it also help reverting a 25:24 pulldown of a choppy half-second norm conversion? And does it have any meaning for a real PAL interlaced TV recording?
VDubFilterMod has an integrated script editor too. Unfortunately the syntax highlighting appears to be rather basic, not analyzing the available function set of the AviSynth installation. Might be a valid Feature Request to make the highlighting more customizable?! :rolleyes:
PAL DVD's, 25fps 1080 blu-ray's and tv is still interlaced, in this case I'm talking about original progressive frames separated into fields, so TFM makes sure the fields are properly combined without combing or heaven forbid using some kind of other deinterlacing. For hybrid material you can specify an externally deinterlaced source which is nice also, so if tfm detects a frame to be interlaced it will use that instead. I haven't seen any material that has added duplicated frames instead of speeding the material up from film speed but technically is is possible so you would want to remove those with tdecimate and tfm can flag those for removal (I'm only guessing the flagging works with PAL material).
Personally if I make more complicated scripts I use AvsPmod.
Groucho2004
19th December 2017, 18:01
Instead, I would prefer the AVSMeter method: Request a list of available functions from the used AviSynth.dll; but I am not one of its programmers.
The internal functions for syntax highlighting are hard-coded in CAvisynth.cpp in the VDub script editor code. Modifying the code to retrieve the functions dynamically should be rather simple.
LigH
19th December 2017, 18:42
@Gser:
That's what I mean ... AFAIR, TFM only flags frames, but it does not alter the clip's frame content. So, to remove duplicate fields, one would need a "TFM flag aware" other filter after TFM. Am I wrong here?
LeMoi
19th December 2017, 19:40
It does work for me (using 2800). I select a M2TS file, playlist opens and I click on cancel - m2ts only selected.
I tried today with another BD, and this time it worked fine, I don't know if the problem came from the other BD or anything else...
I'll tell you if it ever happens again with another disc
Megalith
19th December 2017, 19:49
Can MeGUI be updated so it remembers window size and positioning?
LigH
19th December 2017, 22:06
For me, the main window remembers its size.
Check if it is able to update its settings.xml (one of the reasons why it should not be installed in an UAC protected directory like C:\Program Files...).
LouieChuckyMerry
21st December 2017, 17:51
MeGUI 2800 Development Server (Portable Version): My main window remembers its size and position, and once I adjust my Worker 1 window position it remembers every time it's used until I close MeGUI (not that I ever do ;) ). None of my Tool windows (Stream Extractor, Bitrate Calculator, etc.) remembers its position, but this isn't an issue for me.
Zathor
21st December 2017, 17:54
Only the main window and the update window will remember size & position between MeGUI sessions
Zathor
21st December 2017, 23:24
2804 [OneClick] + [FileIndexer] show playlist selection window for DVD/Blu-ray structures also if only one playlist is found
2803 [HD Streams Extractor] added support for "E-AC3 Surround"
2802 [OneClick] enhanced suitable container type detection
2801 [OneClick] fixed video name not written sometimes (regression of 2791). bug #901
Zathor
21st December 2017, 23:49
I have 2800 DEVELOPMENT UPDATE SERVER.
Without clicking on anything, it automatically opened the 00100 mpls file...
Did I do something wrong?
Should be working now with 2804 :o
hello_hello
23rd December 2017, 01:01
@Gser:
That's what I mean ... AFAIR, TFM only flags frames, but it does not alter the clip's frame content. So, to remove duplicate fields, one would need a "TFM flag aware" other filter after TFM. Am I wrong here?
It's not uncommon for the "fields" in a progressive PAL source to be out of alignment, or out of phase, or whatever the description is. Before I discovered that, I'm sure I would have de-interlaced progressive PAL in the past, thinking it was interlaced because it looked interlaced. It wasn't until I started de-interlacing to 50fps and realised the output had repeated frames that I discovered something was wrong.
So TFM definitely gets an occasional look in when encoding PAL, although usually only when it's needed for field matching as I usually disable it's de-interlacing anyway TFM(pp=1).
If the source is interlaced or partially interlaced I prefer to run QTGMC the standard way rather than create an external de-interlaced clip for TFM to use, and TFM won't de-interlace to "double frame rate" anyway.
Actually TFM could use an update in that respect. When it's in VFR mode it'd be nice if it could de-interlace to 50fps/59.940fps rather than 25fps/29.970fps. I should ask about it in the TIVTC thread.
LigH
23rd December 2017, 01:19
I believe your reply does not answer my question. And I still believe you missed the whole point.
Does TFM on its own (without a following TIVTC or TDecimate) change the number or order of fields or frames, at all?
hello_hello
23rd December 2017, 07:13
I believe your reply does not answer my question. And I still believe you missed the whole point.
Does TFM on its own (without a following TIVTC or TDecimate) change the number or order of fields or frames, at all?
Yes it does. For telecined NTSC, TFM does all the shuffling, dropping and duplication of fields (and de-interlacing if need be), and sends whole frames to TDecimate for duplicate removal. That's easy enough to confirm by adding TFM to a script without TDecimate when the source is telecined, although I think TFM keeps TDecimate fairly well informed to help it decide what's video and what's film etc, because TDecimate removes the duplicates and/or converts from 29.970fps to 23.976fps when the source is hybrid, or from 23.976fps to 29.970fp as the case may be. TDecimate also creates the timecodes file for VFR encoding, if you don't want to be dropping/adding/blending frames for a constant frame rate
There's a sample of the type of PAL source I referred to in my last post, attached to the opening post here (https://forum.videohelp.com/threads/368124-Interlaced-scanning-progressive-video).
It looks interlaced and smells interlaced but it's progressive and all that's required to fix it is TFM(pp=0).
For progressive PAL sources with shifted fields it's usually quite safe to disable TFM's de-interlacing as I'd assume they're shifted by the same amount from beginning to end so there shouldn't be any de-interlacing required. When a PAL source appears to be interlaced but I think it should be progressive, I'm in the habit of disabling TFMs de-interlacing for testing anyway, so then if the combing disappears I know it must be the result of field matching and I won't be fooled into thinking it's not interlaced when it is.
hello_hello
24th December 2017, 15:15
It must be a while since I've encoded a PAL source with phase shifted fields, but I was reading through the VideoHelp thread I linked to for a memory refresh, and it reminded me I've used jagabo's suggestion from post #7 for outputting progressive frames successfully, no TFM required, because generally the fields will be phase shifted from beginning to end. All you need to do is separate them, remove the first one, then weave them back together again.
SeparateFields()
Trim(1,0)
Weave()
Zetti
26th December 2017, 11:02
x264 r2893 is released.
Barough
26th December 2017, 18:53
Seems like with the latest x264 release so is there no longer separate builds for 8 & 10 bit EXE's. Now it's just a single multilib EXE
Barough
26th December 2017, 19:53
Opus-tools v0.1.10-12-g1a79305 (using libopus 1.2.1) (http://www.mediafire.com/file/y8k9hx6072i1zdg/) (GCC 7.2.0, 32 & 64-bit Windows Binaries )
https://git.xiph.org/?p=opus.git;a=summary
https://git.xiph.org/?p=opus-tools.git;a=summary
Zathor
27th December 2017, 11:21
x264 r2893 is released.
Thanks, waiting for the komisar builds.
Opus-tools v0.1.10-12-g1a79305 (using libopus 1.2.1) (http://www.mediafire.com/file/y8k9hx6072i1zdg/) (GCC 7.2.0, 32 & 64-bit Windows Binaries )
Thanks, is there any reason to update (I am not using opus myself)?
Barough
27th December 2017, 11:57
Thanks, is there any reason to update (I am not using opus myself)?
Dont know. I only made it available since it compiled on my last run of 'media autobuild suite'
Sent from my SM-G935F via Tapatalk
hello_hello
27th December 2017, 15:21
MeGUI (XP or 32 bit OS) wants to keep updating LAME every time it runs. The only thing I've found that looks odd is the following line in the AutoUpdate.xml file:
<UploadDate>0001-01-01T00:00:00</UploadDate>
Zathor
28th December 2017, 11:48
Thanks, there was a typo in the xml file for the 32 bit branch. Should be fixed now (with the next update.xml download)
Zathor
28th December 2017, 16:03
2805 [Update] added a first startup question if the updater should be enabled or disabled (message will be shown also once to existing users)
if disabled no downloads will be made without confirmation. therefore e.g. no information of new updates will be available.
Zathor
29th December 2017, 19:11
2808 [OneClick] added button to remove tracks. feature request #632
2807 [OneClick] fixed output file path is not updated properly. bug #891
removed "project name" and moved the video track name to the "advanced config" page
2806 [QAAC] increased maximum bitrate to 1280. feature request #631
Zathor
29th December 2017, 19:39
2808 [OneClick] added button to remove tracks. feature request #632
2807 [OneClick] fixed output file path is not updated properly. bug #891
removed "project name" and moved the video track name to the "advanced config" page
2806 [QAAC] increased maximum bitrate to 1280. feature request #631
Zathor
30th December 2017, 14:55
2810 added High DPI support
Please test if this is working as intended as I could not test every possible DPI value. This is one of the largest changes as every window had to be touched.
stax76
31st December 2017, 19:29
num control looks bad on win10 288 DPI, with some luck you can fix it using 'EnableWindowsFormsHighDpiAutoResizing'
https://imgur.com/BnLsVKT
Zathor
1st January 2018, 14:10
Thanks, I can test at maximum with 150% = 144 DPI.
However as I have to use .NET 4.0 this fix is not available as it seems it starts to kick in with 4.5.1 or 4.6 (for numeric up/down).
EDIT: But I will test it.
Zathor
6th January 2018, 13:08
2813 [x265] added support for --tune grain
2812 [OneClick] fixed not updating the output folder path properly (regression of 2807)
2811 [OneClick] fixed "-" button behaviour if only one track is available (regression of 2808)
j8ee
13th January 2018, 22:08
When opening an avisynth script with a 1080 video in megui on my laptop which I think has a 768 px vertical resolution, the video preview window is so large that the controls are below the screen and therefore unusable. I hope something can be done about that...? I seem to recall some 4K video I was working on appeared in a resized preview window. Using megui development version 2814.
edit: OK, now when I opened another script with the same resolution, the window suddenly _did_ fit the screen. The window had sliders to scroll since the content resolution is pixel by pixel on screen. Guess I actually need a proper description for when the window actually misbehaves. The problem script used FFVideoSource for an .afs file, and the good one LWLibavVideoSource for an .mkv file, but maybe there's more to it. Sorry, will be back...
Zathor
14th January 2018, 12:17
If you provide more information please include also the "versions" part of the MeGUI log.
Zetti
15th January 2018, 22:16
MKVToolNix v20.0.0 is released.
Zathor
28th January 2018, 16:52
2818 [Jobs] added option to pause/resume jobs
2817 [HD Streams Extractor] improved deletion of log and gaps files
2816 [Jobs] aborting a job also deletes the temporary files assigned to it
hajj_3
28th January 2018, 17:15
new libvpx is out.
hello_hello
29th January 2018, 06:41
Zathor, thanks for the update.
I'm posting this here because I uploaded a sample (DVD files) to another thread and thought you might want to look at it.
The sample contains closed caption subtitles and regular bitmap subtitles. The closed captions don't show up when you open the IFO with MeGUI's VobSubber but MeGUI does extract them as SRT along with the regular subtitles. I thought you might want to look at getting the CCs to display in the VobSubber window.
Cheers.
https://ufile.io/6b6k5 (18MB)
PS Possibly because it's such a small sample, I only get one shot at extracting the subtitles unless I delete the chunks file added to the source folder during extraction. If it's present, subsequent extractions will probably fail. I don't know what the chunks file does, but I thought I should mention it in case you have the same problem.
Zathor
29th January 2018, 23:00
Thanks, not sure how to detect that properly based on the IFO file format.
j8ee
11th February 2018, 07:59
Feature request: Being able to put a trailing/suffix project name for encoded files in the one-click configuration instead of only a leading/prefix addition. It's a small thing, but for me it would be much more convenient to have encoded files show up adjacent to the originals in a file listing when they are in the same directory..
Zathor
11th February 2018, 22:59
Only in the OneClick configuration or also when asked at the start of a batch job?
j8ee
12th February 2018, 00:16
hmm... I have never started a batch job I believe. Is it when you add a whole folder in the one-click encoder? But I guess it would be convenient in any case.
LigH
16th February 2018, 14:28
qaac 2.65 (announcement (https://sites.google.com/site/qaacpage/news/qaacrelease265refalac165) / downloads (https://sites.google.com/site/qaacpage/cabinet))
Zathor
17th February 2018, 19:15
qaac 2.65 (announcement (https://sites.google.com/site/qaacpage/news/qaacrelease265refalac165) / downloads (https://sites.google.com/site/qaacpage/cabinet))
Thanks, uploaded.
Also I have switched to the plain x264 builds as the komisar builds are outdated.
2824 [OneClick] added a profile option to set an output file suffix
2823 [x264] added support for unified 8/10 bit binaries (requires x264 2901+)
2822 [AVC Levels Tool] removed the AVC Levels Tool
2821 [x264] added support for AVC level 6, 6.1 and 6.2 (requires x264 2851+)
2820 [Worker] removed the individual worker queue view. part II
2819 [Worker] removed the individual worker queue view
LigH
17th February 2018, 19:21
Did komisar builds contain anything beyond libav input modules? ... If not, MABS can produce a similar build, I believe (also limiting ffmpeg to video decoders only, audio codecs would be superfluous anyway).
sneaker_ger
17th February 2018, 19:29
komisar's builds have ffms input and mp4 output, VideoLAN's builds do not.
LigH
17th February 2018, 19:39
Then I will upload MABS builds right soon. They include both as well.
__
x264 core:155 r2901 7d0ff22 (https://www.mediafire.com/file/aik3fb9926avl19/x264_c155_r2901_7d0ff22.7z) (media-autobuild_suite "x264 mode 6"*, MSYS2/MinGW, GCC 7.3.0)
Infile can be raw (in which case resolution is required),
or YUV4MPEG (*.y4m),
or Avisynth if compiled with support (yes).
or libav* formats if compiled with lavf support (yes) or ffms support (yes).
Outfile type is selected by filename:
.264 -> Raw bytestream
.mkv -> Matroska
.flv -> Flash Video
.mp4 -> MP4 if compiled with GPAC or L-SMASH support (lsmash)
Output bit depth: 8/10
* mode 6 = Lib/binary with 8 and 10-bit, and libavformat and ffms2 with video codecs only
sneaker_ger
17th February 2018, 19:51
Are those features relevant to MeGUI?
LigH
17th February 2018, 20:06
Saving as MP4 or MKV, possibly, marginally. Multiplexing raw AVC is supported quite well, too, even by providing attributes possibly missing in raw streams.
So, the best reason may be: MeGUI as a quite reliable source for an allround-useful x264 binary.
Melan
17th February 2018, 23:30
How can I delete job2 from a queue?
https://i.imgur.com/ti1D74L.png
LigH
18th February 2018, 00:53
With the "Delete" button in the bottom of the window?
Melan
18th February 2018, 05:53
Yes, but it works only after restarting MeGUI.
hello_hello
18th February 2018, 06:49
Yes, but it works only after restarting MeGUI.
Are you trying to delete it while it's paused, or after you abort the job?
Melan
18th February 2018, 07:38
After "Suspend"
https://i.imgur.com/ui9kPFy.png
hello_hello
18th February 2018, 10:14
I'd imagine you'd have to abort the job before deleting it. If it's only suspended then it's probably effectively still running.
Morku
18th February 2018, 12:23
Why MeGUI always ask me to search for definition and packages updates online? Of course, it's not available offline??
Zathor
18th February 2018, 12:55
What do you mean with always? Could you please give me more details?
Morku
18th February 2018, 19:31
When I start to search for Online updates:
https://i.imgur.com/VSLMpFM.png
When updates are available. It ask for every single package...
https://i.imgur.com/G2LNcMB.png
LigH
18th February 2018, 19:42
Strange behaviour ... did you install MeGUI in an UAC protected directory – like C:\Program Files (x86) – what you should not do?
Morku
18th February 2018, 19:44
No. It's an user directory. All I did is, disabled "UseAutoUpdate".
And when I say yes, it updates fine (no UAC). But it's annyoing.
Zathor
18th February 2018, 22:42
There was a request that if "AutoUpdate" is disabled for each communication user confirmation should be raised. However I will check if this cannot be reduced (e.g. a never ask again checkbox for the second one)
How can I delete job2 from a queue?
https://i.imgur.com/ti1D74L.png
2825 [Jobs] improved handling of jobs which cannot be paused (e.g. L-SMASH Indexer)
Thanks for the hint, there are 2 job types (L-SMASH + Cleanup) which cannot be paused. Pausing them before 2825 caused issues in the job queue handling.
Morku
18th February 2018, 23:43
I prefer the old way. I don't like automatic checks. I do myself.
And when I do, I don't need to get asked a second time. Why? When updates are found, I have to click update again anyway, which is fine, because there might be a package I don't want update yet and can be unchecked. The old way was perfect. I can't figure out, whats the benefit of this extra box. My opinion.
EDIT: qpmax defaults was changed from 69 to 81. Whats the cause of it? How it does impact the encoding result?
Barough
19th February 2018, 16:47
Seems like MeGUI have issues with indexing MKV file. It's a AVC stream extracted from a BluRay structure through the HD Streams Extractor.
I try and load the MKV file but then the indexer ask to select a playlist. Don't know what's going on....... it have never been like this earlier to my knowledge.
File Index Issues
Log : https://pastebin.com/VFe4t6aX
Screenshot : https://imgur.com/a1RvWR4
Last time i used MeGUI was with rev2808 or 2810 (or something like that). Worked just fine then.
[EDIT]
Could have been earlier then rev2808. The last encode i made through MeGUI was bk in the middle of December last year
sneaker_ger
19th February 2018, 16:59
In the screenshot you have "00348.mpls" selected, not any mkv file. Are you saying MeGUI automatically selected "00348.mpls"?
sneaker_ger
19th February 2018, 17:08
EDIT: qpmax defaults was changed from 69 to 81. Whats the cause of it? How it does impact the encoding result?
Probably because builds are now multi-bitdepth. qpmax is 69 for 8 bit and 81 for 10 bit.
Barough
19th February 2018, 17:09
In the screenshot you have "00348.mpls" selected, not any mkv file. Are you saying MeGUI automatically selected "00348.mpls"?
"I try and load the MKV file but then the indexer ask to select a playlist." and the playlist i selected was '00348.mpls'.
Something have changed in MeGUI. It wasn't like this earlier. No issues at all with loading MKV files.
sneaker_ger
19th February 2018, 17:15
No problem here.
Same problem with other mkv files or just that one?
Barough
19th February 2018, 17:22
Have 3 mkv files and it's the same with all of them. When i load the MKV file so do i have to select a playlist instead. This is so wierd.......
Gonna start over with a fresh MeGUI 'setup' and see what happens
[EDIT]
No difference with a 'fresh setup'. Still getting the same 'Warning' and why the hell is MeGUI's Indexer make me select a playlist when i load the extracted MKV file that just contain the video stream..........
This makes me nuts. :confused: :mad:
Morku
19th February 2018, 18:48
Probably because builds are now multi-bitdepth. qpmax is 69 for 8 bit and 81 for 10 bit.
Thanks. When loading defaults in MeGUI, x264 is set to qpmax 81 in 8-Bit.
Should I change...?
sneaker_ger
19th February 2018, 18:53
No, not necessary. It will probably be silently lowered to 69 in 8 bit mode.
Zathor
19th February 2018, 18:54
I prefer the old way. I don't like automatic checks. I do myself.
And when I do, I don't need to get asked a second time. Why? When updates are found, I have to click update again anyway, which is fine, because there might be a package I don't want update yet and can be unchecked. The old way was perfect. I can't figure out, whats the benefit of this extra box. My opinion.
In the old way MeGUI did always check (at program start and when you have opened the updater) if there are new files available. This did even take place when the AutoUpdate was disabled. Because of that you could not downgrade to an older version (while online) as always the new files have been used and not the ones in the update_cache folder.
Also it would have been downloaded any package automatically if detected as missing/outdated.
Maybe a third option is needed between autoupdate enabled and disabled.
EDIT: qpmax defaults was changed from 69 to 81. Whats the cause of it? How it does impact the encoding result?
I only changed it as the recent x264 has changed the qp max value range from 69 to 81.
--qp <integer> Force constant QP (0-81, 0=lossless)
Also I noticed this here but have not changed it:
--crf <float> Quality-based VBR (-12-51) [23.0]
--qpmax <integer> Set max QP [2147483647]
sneaker_ger
19th February 2018, 18:55
qpmax is an error in the help. devs already know about it.
crf is correct. Can be negative for 10 bit.
sneaker_ger
19th February 2018, 18:58
I only changed it as the recent x264 has changed the qp max value range from 69 to 81.
The range didn't change. It's the difference between 8 bit and 10 bit encoding. Not new.
Zathor
19th February 2018, 19:00
So 69 for 8 bit and 81 for 10bit?
sneaker_ger
19th February 2018, 19:03
Yes. (Luckily x264cli accepts "81" for 8 bit output and silently assumes 69. So nothing is really broken, only cosmetics.)
Barough
19th February 2018, 19:14
Ok...... here we go. Found a 'solution' for my issue. If i move the extrated MKV file out of the BR folder structure and then index it, so does it work just fine. But the thing is, something must have changed with MeGUI since i've NEVER needed to do this earlier. Hope to hear what Zathor have to say about this.
Zathor
19th February 2018, 19:14
Yes. (Luckily x264cli accepts "81" for 8 bit output and silently assumes 69. So nothing is really broken, only cosmetics.)
Thank you very much, then I will not modify it further.
Zathor
19th February 2018, 19:15
Ok...... here we go. Found a 'solution' for my issue. If i move the extrated MKV file out of the BR folder structure and then index it, so does it work just fine. But the thing is, something must have changed with MeGUI since i've NEVER needed to do this earlier. Hope to hear what Zathor have to say about this.
What is the issue?
EDIT: Nevermind, missed the other posts from today...
LigH
19th February 2018, 19:23
I never noticed a negative CRF being allowed. Surprises every day... is it only reported for a single-depth build? I usually create multilib builds.
Zathor
19th February 2018, 19:23
Seems like MeGUI have issues with indexing MKV file. It's a AVC stream extracted from a BluRay structure through the HD Streams Extractor.
I try and load the MKV file but then the indexer ask to select a playlist. Don't know what's going on....... it have never been like this earlier to my knowledge.
File Index Issues
Log : https://pastebin.com/VFe4t6aX
Screenshot : https://imgur.com/a1RvWR4
Last time i used MeGUI was with rev2808 or 2810 (or something like that). Worked just fine then.
[EDIT]
Could have been earlier then rev2808. The last encode i made through MeGUI was bk in the middle of December last year
Since 2787 MeGUI does always show the playlist selection dialogue if something inside of a proper Blu-ray or DVD structure is opened. Click the window away (e.g. with cancel) and your selected file is used instead.
What maykes me more wonder is why you get an error with the playlist.
Barough
19th February 2018, 19:25
Thnx for the reply/info m8. :)
The playlist error surely is wierd, since it's a vaild playlist in the BD structure
Zathor
19th February 2018, 19:43
Found the error:
Yours:
[Information] Format: Blu-ray Playlist / Blu-ray Playlist
Mine:
[Information] Format: Blu-ray Playlist
I use that one instead of FormatString to get the name which then lateron does not match.
Barough
19th February 2018, 20:18
Good to hear u found the issue. :)
Will there be an update/fix or you gonna leave it as it is?
Zathor
19th February 2018, 21:34
It will be changed for sure. I assume you get this because of the multi-angle disc.
Barough
19th February 2018, 21:40
It will be changed for sure. I assume you get this because of the multi-angle disc.
As u said.... It was an multi-angle disc.
Zathor
19th February 2018, 22:20
2826 should hopefully fix it (I could not reproduce it with my test discs)
Barough
19th February 2018, 22:25
2826 should hopefully fix it (I could not reproduce it with my test discs)Thnx for the quick fix.
I'll try and test it tomorrow if i get some time over or so will i do it on Wednesday.
Sent from my SM-G935F via Tapatalk
Barough
22nd February 2018, 13:12
@Zathor - Ur fix works fine. :)
----------------
x265 v2.7 is released. :)
x265 v2.7+1-2aa737a99f51 (http://www.mediafire.com/file/pqabb8z0pk344jk/) (GCC 7.3.0, 32 & 64-bit 8/10/12bit Multilib Windows Binaries)
https://bitbucket.org/multicoreware/x265/commits/all
Barough
24th February 2018, 18:41
MKVToolNix v21.0.0.0 is released
Sent from my SM-G935F via Tapatalk
LeMoi
25th February 2018, 00:29
What are the new conditions for using DSS ? I tried to open an m2ts file, an mkv and an mp4 in the AVS script creator, it was not available... Option is checked in the settings.
LigH
25th February 2018, 20:11
MeGUI 2826, DirectShowSource enabled in settings: It's available for me, testing with one MP4 file. Maybe MeGUI detected that your system is unable to build an automatic DS filter graph due to missing filters? Do you possibly have a log file of your attempt to open such a file? Maybe there are details logged why it failed, and DirectShowSource was withheld?
LeMoi
26th February 2018, 22:46
Sorry I don't know what happened, I just closed and opened MeGUI and it worked again... It looks some filter was busy or not recognized, but when I restarted MeGUI I had no problem using DSS
legal
3rd March 2018, 12:34
I have windows 10 Pro Workstations (1709) and megui refuses to start it gives allways error (tested with x86 and x64).
I have MeGUI 2826 DEVELOPEMENT UPDATE SERVER (tested with stable versions and gives allways the same error).
Zathor
3rd March 2018, 12:38
Please post more details e.g. if something is written to the log the log and/or a screenshot of the error.
legal
3rd March 2018, 17:20
Please post more details e.g. if something is written to the log the log and/or a screenshot of the error.
After double click on megui it shows this error on desktop:
https://i.imgur.com/0XasmlV.png
Windows event's (it's in Portuguese):
Aplicação: MeGUI.exe
Versão do Framework: v4.0.30319
Descrição: O processo foi terminado devido a uma excepção não processada.
Informações da Excepção: System.NullReferenceException
em MeGUI.OSInfo.GetOSName()
em MeGUI.MainForm.getVersionInformation()
em MeGUI.MainForm..ctor()
em MeGUI.MainForm.Main(System.String[])
Nome da aplicação com falha: MeGUI.exe, versão: 1.0.2826.0, carimbo de data/hora: 0x5a8b3f4e
Nome do módulo com falha: unknown, versão: 0.0.0.0, carimbo de data/hora: 0x00000000
Código de exceção: 0xc0000005
Desvio de falha: 0x00007fff0b300e9f
ID do processo com falha: 0x296c
Hora de início da aplicação com falha: 0x01d3b30a118e58d0
Caminho da aplicação com falha: C:\Portable\MeGUIx64\MeGUI.exe
Caminho do módulo com falha: unknown
ID do Relatório: 4a4a6a6c-85d9-4ac6-920c-351de3378f7e
Nome completo do pacote com falha:
ID da aplicação relativa ao pacote com falha:
Zathor
4th March 2018, 12:43
Please extract these files (choose x64 subfolder if your are using the 64bit one) and replace the existing ones. The error will still be there but it should show in which lines in code it does not work. I will then provide a fix.
http://megui.org/megui_debug.7z
legal
4th March 2018, 17:26
Please extract these files (choose x64 subfolder if your are using the 64bit one) and replace the existing ones. The error will still be there but it should show in which lines in code it does not work. I will then provide a fix.
http://megui.org/megui_debug.7z
Hi Zathor, Windows 10 Pro for Workstations file with report (cloud: Mega):
https://mega.nz/#!KVoxABBR!HyxZjEisFYq2kVrqUs_QCPbRRvH9J0kII0v4Wuq6YBo
MeGUI LogFile (cloud: Mega):
https://mega.nz/#!XYQxALqQ!OcxNeQhGwJwZs5_1PfvBdB4COtgrXrrTAJlvSAQuEnE
Windows Event's:
Error 1026
Aplicação: MeGUI.exe
Versão do Framework: v4.0.30319
Descrição: O processo foi terminado devido a uma excepção não processada.
Informações da Excepção: System.NullReferenceException
em MeGUI.OSInfo.GetOSName()
em MeGUI.MainForm.getVersionInformation()
em MeGUI.MainForm..ctor()
em MeGUI.MainForm.Main(System.String[])
Error 1000
Nome da aplicação com falha: MeGUI.exe, versão: 1.0.2826.0, carimbo de data/hora: 0x5a8b3f4e
Nome do módulo com falha: unknown, versão: 0.0.0.0, carimbo de data/hora: 0x00000000
Código de exceção: 0xc0000005
Desvio de falha: 0x00007fff01780e9f
ID do processo com falha: 0x1ac4
Hora de início da aplicação com falha: 0x01d3b3d475d9379e
Caminho da aplicação com falha: C:\Portable\MeGUIx64\MeGUI.exe
Caminho do módulo com falha: unknown
ID do Relatório: 5c2e15cf-0002-442d-96d5-bd8c1b835524
Nome completo do pacote com falha:
ID da aplicação relativa ao pacote com falha:
Zathor, if you need more log's or information just tell me and i will give ASAP.
Windows 10 for Workstations is a new version from microsoft:
https://blogs.windows.com/business/2017/08/10/microsoft-announces-windows-10-pro-workstations/
Zathor
4th March 2018, 19:11
Thanks, 2827 is online which should fix the issue.
Zetti
4th March 2018, 20:33
What about updates in post #6026 and #6027 ??
legal
4th March 2018, 21:04
Thanks, 2827 is online which should fix the issue.
This new version (2827) works with Windows 10 Pro Workstations but not with the others windows (Tested in one virtual machine with windows 7 x64).
Edit: it's working now.
Zathor
4th March 2018, 21:09
Please post the log
EDIT: Ok, seems to work :-)
Zathor
4th March 2018, 21:11
What about updates in post #6026 and #6027 ??
Thanks for the reminder
MKVToolNix v21.0.0.0 is released
x265 v2.7 is released
Thank you very much, packages updated
legal
4th March 2018, 21:20
Please post the log
It's working now... peharps i was too fast on update... or something messed on my virtual machine.
Tiny Mud
5th March 2018, 14:08
Haven't used MeGUI for a few weeks but when I did MeGUI 2818 Developer crashed upon opening and I was greeted with this error:
MeGUI encountered a fatal error and may not be able to proceed. Reason: Object reference not set to an instance of an object.
I checked Event Viewer/Windows Logs/Application and noticed that the crash was a conflict between MeGUI and .NET Framework 4.7.1.
I had resonantly installed a .NET Framework 4.7.1 update KB4054852 through Windows Update.
I uninstalled the KB4054852 update and MeGUI worked fine.
I've used MeGUI Developer for years and love it - This is my 1st real issue with it.
Win7 Ultimate 64-bit
Looks an issue with MeGUI not handling this .NET Framework 4.7.1 update.
Thanks for any info - RON
--------------------------------------
Update: After uninstalling the .NET Framework 4.7.1 update KB4054852, I updated MeGUI to v2827 developer then downloaded
NDP471-KB4054856-x86-x64-AllOS.exe and installed it manually and all is well.
My only guess is that MeGUI v2818 becomes dead in the water if you install the .NET Framework 4.7.1 update KB4054852 before updating
MeGUI to v2827.
So the lessen learned is to update Megui to the latest version before updating .NET Framework ;o)
Barough
7th March 2018, 16:21
FFmpeg v3.4.2 is available
https://ffmpeg.zeranoe.com/builds/
DDoS
7th March 2018, 23:43
Hi! Good day! I would like to ask some help if possible on how to make a hardsub video using MeGUI with an MP4 output.
Sources are almost MKV, small chances on MP4.
I think hardsub is the solution for videos I uploaded. The original videos I uploaded has softsub but it won't show on video hosting sites.
I hope you can help me. Thank you!
Best regards,
-Me
hello_hello
8th March 2018, 03:17
If you have the subtitles ready to go, open a source file with the File Indexer, add the job to the queue, switch to the Queue tab and run it. When the indexing is done, the Script Creator should open with a preview. Subtitles are added to a script under the Script Creator's Filters tab.
Or use the OneClick encoder. It'll also batch encode. I assume it can extract any subtitles contained in the source files. I'm not sure about using separate subtitles though (individual srt or ass subtitle files etc). Someone else will probably know.
DDoS
8th March 2018, 10:00
If you have the subtitles ready to go, open a source file with the File Indexer, add the job to the queue, switch to the Queue tab and run it. When the indexing is done, the Script Creator should open with a preview. Subtitles are added to a script under the Script Creator's Filters tab.
Or use the OneClick encoder. It'll also batch encode. I assume it can extract any subtitles contained in the source files. I'm not sure about using separate subtitles though (individual srt or ass subtitle files etc). Someone else will probably know.
Hi! Thank you for your reply. It's still softsub. What I want to know is how to make a hardsub video in MeGUI. Please help.
LigH
8th March 2018, 10:10
"Hardsub" means to render the subtitles into the converted video, using AviSynth video filters, so you best look in the "AVS Script Creator" in its "Filters" tab at the bottom.
DDoS
8th March 2018, 15:50
"Hardsub" means to render the subtitles into the converted video, using AviSynth video filters, so you best look in the "AVS Script Creator" in its "Filters" tab at the bottom.
Can you teach me step x step?
1st ctrl + r for AVS Script Creator
2nd select source file for video input
after that this prompt, what should I choose?
https://s20.postimg.org/grm6qx9f1/Capture.png
I am really sorry, I am a newbie in this program. Wanted to learn. Thank you!
hello_hello
8th March 2018, 21:47
Hi! Thank you for your reply. It's still softsub. What I want to know is how to make a hardsub video in MeGUI. Please help.
I realise you want to encode the subtitles, which is why I explained how to encode the subtitles in my previous post. ;)
Can you teach me step x step?
1st ctrl + r for AVS Script Creator
2nd select source file for video input
after that this prompt, what should I choose?
https://s20.postimg.org/grm6qx9f1/Capture.png
I am really sorry, I am a newbie in this program. Wanted to learn. Thank you!
You'll have to index if you want to modify scripts with the Script Creator or preview each script for adding it to the queue for encoding. The OneClick encoder is designed to make the whole process automatic.
My previous post described one way of doing indexing, step x step. If you open a source file with the File Indexer as I suggested, MeGUI will add the indexing job to the job queue, and from there you can run it by switching to the Queue tab.
I'll confess I didn't include instructions on how to open the File Indexer, because I assumed you knew all the Tools are found under the Tools menu, the File Indexer included.
If you open a source another way, via the File/Open menu for example, or by opening the Script Creator and selecting the source as the video input, MeGUI should offer to open the File Indexer for you, and from there the steps would be much the same as the steps I described in my previous post.
DDoS
9th March 2018, 04:53
I realise you want to encode the subtitles, which is why I explained how to encode the subtitles in my previous post. ;)
You'll have to index if you want to modify scripts with the Script Creator or preview each script for adding it to the queue for encoding. The OneClick encoder is designed to make the whole process automatic.
My previous post described one way of doing indexing, step x step. If you open a source file with the File Indexer as I suggested, MeGUI will add the indexing job to the job queue, and from there you can run it by switching to the Queue tab.
I'll confess I didn't include instructions on how to open the File Indexer, because I assumed you knew all the Tools are found under the Tools menu, the File Indexer included.
If you open a source another way, via the File/Open menu for example, or by opening the Script Creator and selecting the source as the video input, MeGUI should offer to open the File Indexer for you, and from there the steps would be much the same as the steps I described in my previous post.
Thank you for the reply. My apologize, I can't understand English well.
Zathor
10th March 2018, 13:59
FFmpeg v3.4.2 is available
https://ffmpeg.zeranoe.com/builds/
Thanks, uploaded (+ Avisynth+, DGindexNV).
Also 2828 has been released as stable build.
Barough
26th March 2018, 15:14
MediaInfo v18.03 is released
Zetti
27th March 2018, 10:44
MediaInfo v18.03.1 is released.
Zathor
27th March 2018, 11:10
Thanks to you both, it has been uploaded to the server.
nurbs
2nd April 2018, 10:49
Hi Zathor! Thanks for your great work.
I have a feature request for mp4 muxing:
Can you add an option to use the -ipod switch when you use the muxer. The reason for it is that in my experience DLNA servers usually don't recognise embedded subtitles in the file without it, but they work fine if it is used. Haven't had any negative experiences or incompatibilities using it yet.
An option for -itags 'name' and 'cover' would also be nice, but I suspect that's much more work compared to the benefit.
Barough
2nd April 2018, 12:17
MKVToolNix v22.0.0 is released
Zathor
2nd April 2018, 14:23
I have a feature request for mp4 muxing:
Can you add an option to use the -ipod switch when you use the muxer. The reason for it is that in my experience DLNA servers usually don't recognise embedded subtitles in the file without it, but they work fine if it is used. Haven't had any negative experiences or incompatibilities using it yet.
If you select the device tpye iPod in the muxer the command -ipod is already added to the mp4muxer command line.
MKVToolNix v22.0.0 is released
Thanks, uploaded.
Zathor
2nd April 2018, 15:52
2833 [Video Player] improved High DPI support
2832 [File Indexer] show DGIndexIM/NV only if enabled in the settings
[File Indexer] enabled "select audio tracks" for DGIndexIM/NV
2831 [Audio Encoder] x64: improved the downmix functions for 7.1/6.1 to 5.1
2830 reset view settings once to properly adjust for 2829
2829 improved High DPI support (e.g. when changing DPI values)
[HD Streams Extractor] removed the custom "+ Options" column by default and added an option to show it
nurbs
2nd April 2018, 16:24
If you select the device tpye iPod in the muxer the command -ipod is already added to the mp4muxer command line.
I never noticed that dropdown, thanks!
tuanden0
2nd April 2018, 16:33
After Update to 2830, I can't use DirectSourceShow even I enable it in setting
https://i.imgur.com/LrWxf4r.png
https://i.imgur.com/F9xiiSo.png
This's video setting:
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 6 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 6 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 24 min 9 s
Bit rate : 1 776 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 (23976/1000) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.080
Stream size : 306 MiB (93%)
Writing library : x264 core 120 r2120 0c7dab9
Encoding settings : cabac=1 / ref=6 / deblock=1:1:1 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=1776 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=3552 / vbv_bufsize=8880 / nal_hrd=none / ip_ratio=1.40 / aq=1:0.60
Default : Yes
Forced : No
I want to upgrade my PC to improve perf and encode speed from using meGUI, but I don't know what to chose, ryzen 7 1700 or i7 8700K.
Could someone help me?
Thank.
Zathor
2nd April 2018, 18:14
As written there "DirectShowSource or AVISource" is not supported. So this file cannot be opened at all with DSS - maybe a splitter or filter is missing.
But you should really use one of the indexing options as DSS may not be frame accurate.
tuanden0
3rd April 2018, 02:33
As written there "DirectShowSource or AVISource" is not supported. So this file cannot be opened at all with DSS - maybe a splitter or filter is missing.
But you should really use one of the indexing options as DSS may not be frame accurate.
:thanks:
Thank you, I fixed it.
I forgot to setting splitter.
Zathor
3rd April 2018, 22:22
2834 [OneClick] fixed a crash when using DGIndexIM/NV with a MKV source file (regression of 2832)
[File Indexer] improved High DPI support (regression of 2832)
videoh
3rd April 2018, 23:39
Working great for me. Thank you.
Zetti
4th April 2018, 19:17
This i first time i see MeGUI get blocked by Malwarebytes Premium.
https://i.gyazo.com/6d5a386faf032aaae094592abb234275.png
I think its false positive.
LigH
4th April 2018, 19:45
Most probably. The "smarter" the anti-malware engine, the more suspicious. Already an update check may appear malicious then.
I find it entertaining that "suspicious" can have quite opposite meanings in English, whereas German has separate terms for them.
Zathor
4th April 2018, 22:51
This i first time i see MeGUI get blocked by Malwarebytes Premium.
https://i.gyazo.com/6d5a386faf032aaae094592abb234275.png
I think its false positive.
This happens sometimes sadly. I cannot do much. A file which doenloads other files is detected sometimes as a malicious program.
LigH
4th April 2018, 23:52
Malware experts even recommend not to trust 3rd-party security suites too much, because they are rather an additional attack vector, compared to Microsoft's own antivirus tools (e.g. exploiting previously secure connections insecurely to cloud services and opening unnecessary ports for company specific network services). With enough "common sense", it may even be safer to disable dedicated antivirus services and trust only your wit and the built-in firewall ... well, if you trust your wit. :o The fact that large companies still get compromised by "social malware" (email attachments with luring mail bodies) and ransomware (lacking OS updates due to "service contract" restrictions) prove that "common sense" is not common enough.
kuchikirukia
5th April 2018, 15:43
I haven't updated MeGUI in forever so I don't know if there's been a change to this, but is there a reason Abort doesn't just kill the x264 process? It's irritating when I'm encoding at 0.5fps and it locks the filename I want to use for 15 minutes until x264 finishes doing whatever it's doing unless I kill it in Task Manager.
Having the encoding stats logged is nice, but IMO that's not worth the interminable lag.
Zetti
5th April 2018, 17:00
Thanks for info Zathor and LigH
LigH
5th April 2018, 21:26
@kuchikirukia - do you use the x64 mode with avs4x26x bridge? I guess that MeGUI may stop the pipe bridge process, but that does not reliably stop the x264 encoder process as well?
kuchikirukia
6th April 2018, 01:20
@kuchikirukia - do you use the x64 mode with avs4x26x bridge? I guess that MeGUI may stop the pipe bridge process, but that does not reliably stop the x264 encoder process as well?
Yes. It doesn't stop x264 ever.
I'm guessing x264 queues up a bunch of frames (perhaps the lookahead number?) and it doesn't exit until it's done with those frames, because the lag certainly seems to be encoding-speed based.
videoh
6th April 2018, 04:12
I find it entertaining that "suspicious" can have quite opposite meanings in English Nah, that's false. What are these supposedly opposite meanings?
https://www.merriam-webster.com/dictionary/suspicious
LigH
6th April 2018, 07:32
a) I find some specific person (a suspect) or incident suspicious (ominous, fishy). Someone/something is "verdächtig", focus is on the subject.
b) I am quite suspicious (distrustful) on the average, possibly even without a specific reason. I am "argwöhnisch", focus is on myself.
Well, not opposite meanings, but opposite focus. If I said about myself being "verdächtig", I would be the suspect, I would e.g. be supposed to have commited a crime.
So, until further refinement, "I am suspicious" in English appears ambiguous to me, whereas in German, I am either "verdächtig" (blame on me) or "argwöhnisch" (blame on everything else), that's quite a difference.
LeMoi
6th April 2018, 09:42
I cannot change output path for the .lwi file anymore when I use File indexer, the opened window tries to open the lwi file instead of saving, is it normal?
Barough
6th April 2018, 10:29
I cannot change output path for the .lwi file anymore when I use File indexer, the opened window tries to open the lwi file instead of saving, is it normal?Sounds like a bug to me.
Sent from my SM-G965F via Tapatalk
videoh
6th April 2018, 12:56
Well, not opposite meanings Thanks for acknowledging the falsity of your statement. ;)
mini-moose
7th April 2018, 18:11
I noticed in rev 2835 all the runtime dlls are dumped into the megui directory (close to 100 dlls). Is this intentional?
Zathor
7th April 2018, 18:45
"Only" 63 dlls :)
And yes, it is on purpose as MS is using a lot of files for the 2017 ones.
If anyone knows how to easily and reliable check if they are properly installed I do not have to do that.
mini-moose
7th April 2018, 23:07
"Only" 63 dlls :)
And yes, it is on purpose as MS is using a lot of files for the 2017 ones.
OK :)
Could they possibly be dumped into a folder rather than to root?
LeMoi
7th April 2018, 23:12
I cannot change output path for the .lwi file anymore when I use File indexer, the opened window tries to open the lwi file instead of saving, is it normal?
Seems to be fixed in lastest update, thanks :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.