View Full Version : MeGUI: General Questions and Troubleshooting Thread
Ripmann
11th July 2021, 14:23
In Windows 64 bits (with qaac.exe 64 bits):
Directorio de C:\Portable\megui\tools\qaac\QTfiles64
15/05/2018 18:58 87.352 ASL.dll
15/05/2018 18:59 9.112.888 CoreAudioToolbox.dll
15/05/2018 18:58 2.251.064 CoreFoundation.dll
17/09/2015 20:09 3.072 icudt55.dll
15/05/2018 18:58 97.080 libdispatch.dll
15/05/2018 18:59 1.987.896 libicuin.dll
15/05/2018 18:59 1.358.136 libicuuc.dll
11/06/2011 01:15 608.080 msvcp100.dll
11/06/2011 01:15 829.264 msvcr100.dll
15/05/2018 18:58 216.376 objc.dll
Perfect reply. Thank you.
LeXXuz
11th July 2021, 16:33
I don't want to install QT on my system. Is there another way to get these files installed for qaac? Or does this belong to the "things you're not allowed to do" department? Never mind then.
hello_hello
12th July 2021, 09:48
You can use the make portable.cmd file to extract the required files from the full itunes installer.
https://sites.google.com/site/qaacpage/
tebasuna51
12th July 2021, 14:38
Like you can see I use a old (2018) version of iTunes, see this thread (https://forum.doom9.org/showthread.php?p=1925430#post1925430)
LigH
12th July 2021, 19:59
I mirrored some older downloads from QAAC when there was a "cabinet" directory...
makeportable.zip (https://www.ligh.de/software/makeportable.zip) + makeportable2.zip (https://www.ligh.de/software/makeportable2.zip)
LeXXuz
12th July 2021, 20:20
Thank you guys! :)
wthreex
18th July 2021, 15:50
MeGUI deleted all of profiles, this is just ruined my day
GAP
12th October 2021, 10:28
How do upscale in MeGUI? I want to do a four times PointResize but I also want to use a Lanzcos or Spline. I also want to maintain the aspect ratio of the video in question.
LeXXuz
12th October 2021, 13:01
How do upscale in MeGUI? I want to do a four times PointResize but I also want to use a Lanzcos or Spline. I also want to maintain the aspect ratio of the video in question.
In AVS script creator klick the 'config' button.
Under the 'extra setup' tab tick the checkbox on 'upsizing allowed'. You can also select a preferred resize filter on that page.
doomleox999
13th October 2021, 05:39
Does anyone know if MeGUI will ever get a new STABLE update? Should I change to development update server or keep my stable version?
tebasuna51
13th October 2021, 12:06
I always recommend use the development update server.
kalehrl
13th October 2021, 14:41
There have been no changes for a long time so the development is actually as stable as it can be :D
GAP
13th October 2021, 23:18
What is the difference between the 32 bit version and 64 bit version of MeGUI?
LigH
14th October 2021, 09:07
The original MeGUI based on a 32 bit AviSynth, thus required the use of 32 bit applications, and 64 bit encoders had to be used via piping tools.
MeGUI64 will use 64 bit applications and expect a 64 bit version of AviSynth(+) to be available (or will provide its own copy). Now that most important plugins are available in 64 bit as well, and AviSynth+ matured, it should be preferable, as it has memory and speed advantages.
GAP
14th October 2021, 20:35
So the MeGUI 64 is the better one for now?
tebasuna51
14th October 2021, 23:09
Encoders can be 64 bits with both, the GUI is the same, the difference is Avs+ 64 bits over Avs+ 32 bits, of course better.
florinandrei
15th October 2021, 21:05
I have a bunch of MP4 files, AVC/AAC. The video tracks are encoded at a bitrate that's a bit higher than what I like.
What I do is: I open the file in MeGUI. I re-encode video with the default Constant Quality x264 settings (Q=23). I change nothing else in the video. I re-encode audio with the default ffmpeg VBR settings (Q=60). I convert output channels to mono. I mux the re-encoded tracks into a new MP4 file, using Tools / Muxer / MP4 Muxer.
Done manually, this is tedious. Does anyone have a recipe for automating this? Assume the input is a folder full of MP4 files and I want this done to every one of them.
I'm comfortable with scripting, even on Windows, so feel free to throw anything at me.
tebasuna51
16th October 2021, 00:18
Try with:
FOR %I in (*.mp4) DO FFMPEG -i "%I" -c:v libx264 -x264-params crf=23 -map 0:1 -acodec aac -ac 1 -aq 1.2 "%~nI_mono.mp4"
The ffmpeg VBR settings (Q=60) is converted to -aq 1.2, maybe 1.0 is more than enough now for this video quality, see actual bitrates here:https://forum.doom9.org/showthread.php?p=424070#post424070
LeXXuz
17th October 2021, 07:25
Done manually, this is tedious. Does anyone have a recipe for automating this? Assume the input is a folder full of MP4 files and I want this done to every one of them.
That's what the One-click encoder can help you with. After setting up your desired options for audio, video and muxer you can process an entire directory of source files with it not just only one file.
florinandrei
21st October 2021, 01:07
That's what the One-click encoder can help you with. After setting up your desired options for audio, video and muxer you can process an entire directory of source files with it not just only one file.
That works great, thanks!
Danette
8th November 2021, 00:42
My first foray into MT land:
MeGUI 2913, Avisynth+ 3.7, 4 cores and Prefetch set to 2 threads and 2 frames.
I load the job into the One-Click encoder (which I’ve used for many years without MT), and MeGUI crashes as soon as encoding begins, after the pre-processing operation. When I re-open MeGUI, the job is still in the queue and showing as “Waiting.” I click the start button and the job begins encoding normally.
Why the initial crash …every time? It’s almost like an initiation procedure for MT jobs.
VoodooFX
8th November 2021, 04:08
MeGUI crashes as soon as encoding begins, after the pre-processing operation.
Did you installed that new AvisynthWrapper from pinterf?
StainlessS
8th November 2021, 12:40
AvisynthWrapper from pinterf?
https://forum.doom9.org/showthread.php?p=1913117#post1913117
Danette
8th November 2021, 14:21
Did you installed that new AvisynthWrapper from pinterf?
https://forum.doom9.org/showthread.php?p=1913117#post1913117
No, I did not (didn't know about it). Now installed and it works fine.
Thanks to you both.
Pulp Catalyst
15th November 2021, 01:34
after a very long time, i though i would have a look at megui to see how things have come along...however does megui not support tone mapping out of the box (hdr to sdr)
LeXXuz
19th November 2021, 12:06
No. it does not.
Kill3rWolf
28th November 2021, 00:47
Why I'm unable to encode with 2pass - 2nd pass? Bitrate 3505
--level 5.0 --preset slow --pass 2 --bitrate 3505 --stats ".stats" --keyint 240 --min-keyint 21 --bframes 9 --b-adapt 2 --ref 9 --vbv-bufsize 168750 --vbv-maxrate 168750 --no-mbtree --rc-lookahead 80 --no-mixed-refs --no-dct-decimate --no-fast-pskip --nal-hrd vbr --colorprim bt709 --transfer bt709 --colormatrix bt709 --subme 9
&/or
--preset slow --pass 2 --bitrate 3505 --stats ".stats" --keyint 240 --min-keyint 21 --bframes 9 --b-adapt 2 --ref 9 --no-mbtree --rc-lookahead 80 --no-mixed-refs --no-dct-decimate --no-fast-pskip --colorprim bt709 --transfer bt709 --colormatrix bt709 --subme 9
Both times I got error, encode not start.
Log:
x264 [error]: ratecontrol_init: can't open stats file
x264 [error]: x264_encoder_open failed
--stats ".stats"
What should I do? But If I set CRF value then I'm free to go...
tebasuna51
28th November 2021, 11:30
Why I'm unable to encode with 2pass - 2nd pass? Bitrate 3505
...
Log:
x264 [error]: ratecontrol_init: can't open stats file
You need create the .stats file in a previous job '2pass - 1st pass', or use the 'Automated 2pass'
Danette
8th December 2021, 14:15
I'm not certain that this is an MeGUI issue, Avisynth issue, conflict issue (often have AvsPmod, which is prone to crashing, and other programs open), or something else. Since it occurs when using MeGUI (haven't tested other encoders), I thought that I'd start here.
I am using MT for the first time. I use the One-click feature and batch encode folders containing 30-40 files. Running MT (script below), I am seeing encoding times of 3.5 hours / file. If not using MT, it is about 45 minutes longer / file. However, I often take a look at the process, which can run for a week, and find that the encoding time for a file has slipped from 3.5 hours to ~20 hours. So, I have to abort, clear the job, re-load and re-start to resume normal functioning. Given this frequent occurrence, I'm not really saving any time by using MT.
Are there any ideas about how to address this problem?
Script:
Video=MPEG2Source("C:\Users\Main\Desktop\Videos\Combat!\Season 4\2 Demuxed\16 The Raider_Track01.d2v", cpu=0)
Audio=DirectShowSource("C:\Users\Main\Desktop\Videos\Combat!\Season 4\2 Demuxed\16 The Raider_Track02.ac3")
AudioDub(Video,Audio)
SetFilterMTMode("DEFAULT_MT_MODE",2)
Greyscale()
AssumeTFF()
QTGMC(InputType=0,Preset="Very Slow")
AssumeFPS(55.175)
AudioSpeed(55.175,59.94,PitchCorrect=True,Info=False)
VagueDenoiser(chromaT=0)
LimitedSharpenFaster(strength=300)
CropResize(0,0, 8, 0, -6, -0,InDAR=15.0/11.0,ResizeWO=True,Resizer="Lanczos4Resize")
GradFun3()
Prefetch(4)
LeXXuz
10th December 2021, 12:32
Probably an Avisynth/Filter problem. But hard to tell without proper info about your Avisynth version and the versions of the filters you use.
First of all you should end you script with a Return(Last) command. Maybe that already helps.
You should also use a proper MT-Modes script file to make sure all your filters are adressed properly regarding multithreading.
See: http://avisynth.nl/index.php/AviSynth+#Help_filling_MT_modes
If this doesn't help you may want to ask over in the Avisynth forums for a proper MT-setup of your script as this is most likely not an issue with MeGUI.
StainlessS
10th December 2021, 14:07
Danette, if you've got avstp.dll in plugins, take it out.
Danette
10th December 2021, 17:17
Danette, if you've got avstp.dll in plugins, take it out.
I do (now gone). If, during the coming week of running, the problem returns, I'll report back.
Thanks.
pommesmatte
19th December 2021, 23:06
after a very long time, i though i would have a look at megui to see how things have come along...however does megui not support tone mapping out of the box (hdr to sdr)
Its easy to use though. I use DGHDRtoSDR. Fits well, as I also use DGDecNV.
The ting that I am missing is support for HDR to HDR encoding (even better with integration of DoVi toolchain).
nandoom
25th December 2021, 23:03
I've not been following this forum for a while. I don't see any updates to MeGui since 2913 and the pkgs there in from the "stable server". Is it expected or am I supposed to update the pkgs my own?
Thanks
LigH
28th December 2021, 10:08
"Stable" is very rarely updated. Better switch to the "Development" update server. This is our "Groundhog Day" advice...
raymondjpg
1st January 2022, 07:34
I'm encountering an error extracting tracks from an mkv created by MeGUI from an mp4:
...Reason:index was out of range. Must be non-negative....etc
Log attached.
I do not get any error processing an mkv created from the same mp4 using MKVToolNix GUI.
Re-installing mkvmerge from the update server does not resolve the issue.
TIA
jlw_4049
2nd January 2022, 05:13
I'm encountering an error extracting tracks from an mkv created by MeGUI from an mp4:
...Reason:index was out of range. Must be non-negative....etc
Log attached.
I do not get any error processing an mkv created from the same mp4 using MKVToolNix GUI.
Re-installing mkvmerge from the update server does not resolve the issue.
TIATry gmkvextract GUI to see if you get the same problem.
Sent from my SM-G986U1 using Tapatalk
raymondjpg
2nd January 2022, 06:08
Try gmkvextract GUI to see if you get the same problem.
Sent from my SM-G986U1 using Tapatalk
Thanks for the response.
Running gmkvextract GUI on the mkv created by MeGUI extracts two tracks, video and audio, without error.
According to MediaInfo the original mp4 contains three tracks, video, audio and Timed Text. Both MeGUI and MKVToolNix GUI produce an mkv with only the video and audio tracks.
The Timed Text stream is definitely there in the original mp4 and can be extracted using Subtitle Edit.
MeGUI can process the mkv generated by MKVToolNix GUI, but throws an error when running mlvextract on the mkv file in the temporary directory created by MeGUI.
The problem appears to originate with the presence of the Timed Text stream, but I don't know why it manifests itself only in the mkv created by MeGUI.
GAP
3rd January 2022, 11:00
How do you upscale videos in MeGUI? And should you upscale in 32 bit or 64 bit?
tebasuna51
3rd January 2022, 11:37
How do you upscale videos in MeGUI?
If you want waste space and time use the AviSynth function nnedi3_rpow2 (http://avisynth.nl/index.php/Nnedi3).
No matter the bits, but better 64.
GAP
4th January 2022, 00:34
Is that an option in MeGUI?
StainlessS
4th January 2022, 01:37
Its an Avisynth plugin, see Teb's Link.
hello_hello
4th January 2022, 07:14
Is that an option in MeGUI?
No. For MeGUI you'd have to add it to the script manually. MeGUI only uses the native Avisynth resizers.
LeXXuz
6th January 2022, 23:35
How do you upscale videos in MeGUI? And should you upscale in 32 bit or 64 bit?
In Avisynth Creator select <Config> of the Avisynth file you actually use.
In the configuration dialogue goto <Extra Setup>.
Activate checkbox <Upsizing allowed>.
Update your preset and finally select <OK>.
Now you can increase resolution beyond the resolution of your source video.
GAP
7th January 2022, 23:42
Alright I got it. Thanks.
tebasuna51
8th January 2022, 11:48
In Avisynth Creator select <Config> ...
Now you can increase resolution beyond the resolution of your source video.
But MeGUI can't offer the recommended AviSynth upsize filter, nnedi3_rpow2, and you need modify the script manually.
Bazzu85
8th January 2022, 15:47
Guys..
I had the problem described here:
https://sourceforge.net/p/megui/bugs/963/
with the 2.0.0.6 version of dgindex resolve the problem..
can you insert in the update channel?
LeXXuz
9th January 2022, 15:20
But MeGUI can't offer the recommended AviSynth upsize filter, nnedi3_rpow2, and you need modify the script manually.
True. But if maximum quality is not the biggest concern, the internal filter does its job quite alright.
LeMoi
12th January 2022, 17:13
Hello there,
I just changed my PC and I'm stucked with an old sharpen filter I used to apply (for exemple scriptname()).
It's an .avsi file, in which folder should I put that file to be able to call and use it with the scriptname() in the ripping file? I tried C:\Program Files (x86)\MeGUI\tools\avisynth_plugin but it's not recognized...
tebasuna51
12th January 2022, 21:44
Use instead scriptname():
import("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\scriptname.avsi")
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.